Searched defs:pic1 (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
416 * it into the kstat data. Note: We only read/fill in pic1 if more
459 * If necessary, fill in the "pic1" counter for port 2.
461 * upper bits (corresponding to the counters for "pic1")
470 pic1 = ddi_get32(state->ts_reg_cmdhdl, (uint32_t *)
473 tmp = ((pic1 >> shift) & mask);
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara_perfctr.c722 uint64_t pic0, pic1, pcr; local
743 &pic1);
754 data_p[2].value.ui64 = pic1;
759 "pic0: %16lx pic1: %16lx\n",
780 uint32_t pic0, pic1; local
813 pic1 = (uint32_t)((pic >> ksinfop->pic_shift[1]) &
815 if (pic1 < ksinfop->pic_last_val[1])
817 ksinfop->pic_last_val[1] = pic1;
818 pic1 += (ksinfop->pic_overflow[1] & 1) << 31;
819 data_p[2].value.ui64 = (uint64_t)pic1;
[all...]
/illumos-gate/usr/src/uts/sun4v/pcbe/
H A Dniagara_pcbe.c120 uint8_t pcbe_picno; /* 0 for pic0 or 1 for pic1 */
397 ni_pcbe_config_t *pic1; local
407 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) {
408 pic1 = &empty;
423 pic0 = pic1;
424 pic1 = tmp;
427 if (pic0->pcbe_picno != 0 || pic1->pcbe_picno != 1)
432 * from pic1. If the flags on these two configurations are
436 ASSERT(pic0->pcbe_flags == pic1->pcbe_flags);
439 ultra_setpic(((uint64_t)pic1
482 ni_pcbe_config_t *pic1; 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
434 pic1 = (uint32_t)((pic >> PIC1_SHIFT) & PIC0_MASK);
455 pic_inrange = PIC_IN_OV_RANGE(pic1);
458 pic_inrange = SAMPLE_PIC_IN_OV_RANGE(pic1);
461 pic1 = 0;
467 ultra_setpic(((uint64_t)pic1 << PIC1_SHIFT) | pic0);
612 ni2_pcbe_config_t *pic1; local
619 /* enable trap-on-event for pic0 and pic1 */
750 ni2_pcbe_config_t *pic1; 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 */
820 us_pcbe_config_t *pic1; local
830 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) {
831 pic1 = &empty;
843 pic0 = pic1;
844 pic1 = tmp;
847 if (pic0->us_picno != 0 || pic1->us_picno != 1)
852 * from pic1. If the flags on these two configurations are
856 ASSERT(pic0->us_flags == pic1->us_flags);
859 ultra_setpic(((uint64_t)pic1
903 us_pcbe_config_t *pic1; 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 */
901 ptm_pcbe_config_t *pic1; local
903 ptm_pcbe_config_t empty = { 1, 0, 0 }; /* assume pic1 to start */
908 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL)
909 pic1 = &empty;
913 tmp = pic1;
914 pic1 = pic0;
918 ASSERT(pic0->ptm_picno == 0 && pic1->ptm_picno == 1);
931 wrmsr(P5_CTR1, pic1->ptm_rawpic);
932 wrmsr(P5_CESR, pic0->ptm_ctl | pic1
964 ptm_pcbe_config_t *pic1; local
[all...]

Completed in 54 milliseconds