Searched refs:pic1 (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/sun4v/pcbe/ |
H A D | niagara2_pcbe.c | 420 uint32_t pic0, pic1; in ni2_pcbe_overflow_bitmap() local 434 pic1 = (uint32_t)((pic >> PIC1_SHIFT) & PIC0_MASK); in ni2_pcbe_overflow_bitmap() 455 pic_inrange = PIC_IN_OV_RANGE(pic1); in ni2_pcbe_overflow_bitmap() 458 pic_inrange = SAMPLE_PIC_IN_OV_RANGE(pic1); in ni2_pcbe_overflow_bitmap() 461 pic1 = 0; in ni2_pcbe_overflow_bitmap() 467 ultra_setpic(((uint64_t)pic1 << PIC1_SHIFT) | pic0); in ni2_pcbe_overflow_bitmap() 612 ni2_pcbe_config_t *pic1; in ni2_pcbe_program() local 626 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) { in ni2_pcbe_program() 627 pic1 = &nullcfg; in ni2_pcbe_program() 639 pic0 = pic1; in ni2_pcbe_program() [all …]
|
H A D | niagara_pcbe.c | 397 ni_pcbe_config_t *pic1; in ni_pcbe_program() local 407 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) { in ni_pcbe_program() 408 pic1 = ∅ in ni_pcbe_program() 423 pic0 = pic1; in ni_pcbe_program() 424 pic1 = tmp; in ni_pcbe_program() 427 if (pic0->pcbe_picno != 0 || pic1->pcbe_picno != 1) in ni_pcbe_program() 436 ASSERT(pic0->pcbe_flags == pic1->pcbe_flags); in ni_pcbe_program() 439 ultra_setpic(((uint64_t)pic1->pcbe_pic << PIC1_SHIFT) | in ni_pcbe_program() 443 pcr |= (pic1->pcbe_bits & pcr_pic1_mask) << CPC_PCR_PIC1_SHIFT; in ni_pcbe_program() 461 pic1->pcbe_pic = (uint32_t)(curpic >> PIC1_SHIFT); in ni_pcbe_program() [all …]
|
/titanic_41/usr/src/uts/sun4u/pcbe/ |
H A D | us234_pcbe.c | 820 us_pcbe_config_t *pic1; in us_pcbe_program() local 830 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) { in us_pcbe_program() 831 pic1 = ∅ in us_pcbe_program() 843 pic0 = pic1; in us_pcbe_program() 844 pic1 = tmp; in us_pcbe_program() 847 if (pic0->us_picno != 0 || pic1->us_picno != 1) in us_pcbe_program() 856 ASSERT(pic0->us_flags == pic1->us_flags); in us_pcbe_program() 859 ultra_setpic(((uint64_t)pic1->us_pic << 32) | (uint64_t)pic0->us_pic); in us_pcbe_program() 863 pcr |= (pic1->us_bits & pcr_pic_mask) << in us_pcbe_program() 883 pic1->us_pic = (uint32_t)(curpic >> 32); in us_pcbe_program() [all …]
|
/titanic_41/usr/src/uts/intel/pcbe/ |
H A D | p123_pcbe.c | 901 ptm_pcbe_config_t *pic1; in ptm_pcbe_program() local 908 if ((pic1 = kcpc_next_config(token, pic0, NULL)) == NULL) in ptm_pcbe_program() 909 pic1 = ∅ in ptm_pcbe_program() 913 tmp = pic1; in ptm_pcbe_program() 914 pic1 = pic0; in ptm_pcbe_program() 918 ASSERT(pic0->ptm_picno == 0 && pic1->ptm_picno == 1); in ptm_pcbe_program() 931 wrmsr(P5_CTR1, pic1->ptm_rawpic); in ptm_pcbe_program() 932 wrmsr(P5_CESR, pic0->ptm_ctl | pic1->ptm_ctl); in ptm_pcbe_program() 934 pic1->ptm_rawpic = rdmsr(P5_CTR1); in ptm_pcbe_program() 939 wrmsr(REG_PERFCTR1, pic1->ptm_rawpic); in ptm_pcbe_program() [all …]
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | niagara_perfctr.c | 722 uint64_t pic0, pic1, pcr; in zam_cntr_kstat_update() local 743 &pic1); in zam_cntr_kstat_update() 754 data_p[2].value.ui64 = pic1; in zam_cntr_kstat_update() 780 uint32_t pic0, pic1; in ni_cntr_kstat_update() local 813 pic1 = (uint32_t)((pic >> ksinfop->pic_shift[1]) & in ni_cntr_kstat_update() 815 if (pic1 < ksinfop->pic_last_val[1]) in ni_cntr_kstat_update() 817 ksinfop->pic_last_val[1] = pic1; in ni_cntr_kstat_update() 818 pic1 += (ksinfop->pic_overflow[1] & 1) << 31; in ni_cntr_kstat_update() 819 data_p[2].value.ui64 = (uint64_t)pic1; in ni_cntr_kstat_update()
|
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 384 uint32_t pic0, pic1, tmp; in tavor_kstat_cntr_update() local 470 pic1 = ddi_get32(state->ts_reg_cmdhdl, (uint32_t *) in tavor_kstat_cntr_update() 473 tmp = ((pic1 >> shift) & mask); in tavor_kstat_cntr_update()
|