Lines Matching defs:pic
1347 * Routine to create a kstat for each %pic that
1349 * kstats export event names that the respective %pic
1360 int event, pic;
1369 for (pic = 0; pic < AXQ_NUM_PICS; pic++) {
1373 (void) sprintf(pic_name, "pic%d", pic);
1375 num_events = (pic <= 1) ? AXQ_PIC0_1_NUM_EVENTS :
1378 if ((axq_picN_ksp[pic] = kstat_create("axq",
1384 /* remove pic kstats that was created earlier */
1385 for (i = 0; i < pic; i++) {
1393 (struct kstat_named *)(axq_picN_ksp[pic]->ks_data);
1395 pic_shift = pic * AXQ_PIC_SHIFT;
1413 * Add the clear pic event and mask as the last
1422 kstat_install(axq_picN_ksp[pic]);
1447 * instance that provides access to the %pcr and %pic
1499 * The pic register is read-only so we don't
1505 * Read %pcr and %pic register values and write them