Searched defs:pic0 (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c384 uint32_t pic0, pic1, tmp; local
428 * portion (corresponding to the counters for "pic0")
435 * Fill in the "pic0" counter, corresponding to port 1.
439 * value for the counter and increment the "pic0" total by
447 pic0 = ddi_get32(state->ts_reg_cmdhdl, (uint32_t *)
450 tmp = ((pic0 >> shift) & mask);
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara_perfctr.c722 uint64_t pic0, pic1, pcr; local
739 &pic0);
753 data_p[1].value.ui64 = pic0;
759 "pic0: %16lx pic1: %16lx\n",
780 uint32_t pic0, pic1; local
802 pic0 = (uint32_t)((pic >> ksinfop->pic_shift[0]) &
804 if (pic0 < ksinfop->pic_last_val[0])
806 ksinfop->pic_last_val[0] = pic0;
807 pic0 += (ksinfop->pic_overflow[0] & 1) << 31;
808 data_p[1].value.ui64 = (uint64_t)pic0;
[all...]
/illumos-gate/usr/src/uts/sun4v/pcbe/
H A Dniagara_pcbe.c120 uint8_t pcbe_picno; /* 0 for pic0 or 1 for pic1 */
396 ni_pcbe_config_t *pic0; local
403 if ((pic0 = (ni_pcbe_config_t *)kcpc_next_config(token, NULL, NULL)) ==
407 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) {
409 empty.pcbe_flags = pic0->pcbe_flags;
412 if (pic0->pcbe_picno != 0) {
414 * pic0 is counter 1, so if we need the empty config it should
422 tmp = pic0;
423 pic0 = pic1;
427 if (pic0
481 ni_pcbe_config_t *pic0; local
[all...]
H A Dniagara2_pcbe.c128 uint_t pcbe_picno; /* 0 for pic0 or 1 for pic1 */
410 * Fortunately, both pic0 and pic1 can count all events.
420 uint32_t pic0, pic1; local
433 pic0 = (uint32_t)(pic & PIC0_MASK);
441 pic_inrange = PIC_IN_OV_RANGE(pic0);
444 pic_inrange = SAMPLE_PIC_IN_OV_RANGE(pic0);
447 pic0 = 0;
467 ultra_setpic(((uint64_t)pic1 << PIC1_SHIFT) | pic0);
611 ni2_pcbe_config_t *pic0; local
619 /* enable trap-on-event for pic0 an
749 ni2_pcbe_config_t *pic0; local
[all...]
/illumos-gate/usr/src/uts/sun4u/pcbe/
H A Dus234_pcbe.c121 uint8_t us_picno; /* 0 for pic0 or 1 for pic1 */
819 us_pcbe_config_t *pic0; local
826 if ((pic0 = (us_pcbe_config_t *)kcpc_next_config(token, NULL, NULL)) ==
830 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) {
832 empty.us_flags = pic0->us_flags;
835 if (pic0->us_picno != 0) {
837 * pic0 is counter 1, so if we need the empty config it should
842 tmp = pic0;
843 pic0 = pic1;
847 if (pic0
902 us_pcbe_config_t *pic0; local
[all...]
/illumos-gate/usr/src/uts/intel/pcbe/
H A Dp123_pcbe.c139 uint8_t ptm_picno; /* 0 for pic0 or 1 for pic1 */
900 ptm_pcbe_config_t *pic0; local
905 if ((pic0 = kcpc_next_config(token, NULL, NULL)) == NULL)
908 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL)
911 if (pic0->ptm_picno != 0) {
914 pic1 = pic0;
915 pic0 = tmp;
918 ASSERT(pic0->ptm_picno == 0 && pic1->ptm_picno == 1);
930 wrmsr(P5_CTR0, pic0->ptm_rawpic);
932 wrmsr(P5_CESR, pic0
963 ptm_pcbe_config_t *pic0; local
[all...]

Completed in 56 milliseconds