Lines Matching defs:pic
792 * This provides access to the %pcr and %pic
828 * called from ac_add_kstats() to create a kstat for each %pic
830 * event names and %pcr masks that each %pic supports.
896 * array of clear masks for each pic.
898 * each pic.
908 int event, pic;
913 for (pic = 0; pic < AC_NUM_PICS; pic++) {
918 (void) sprintf(pic_name, "pic%d", pic); /* pic0, pic1 ... */
919 if ((ac_picN_ksp[pic] = kstat_create("ac",
927 if (pic == 1) {
934 (struct kstat_named *)(ac_picN_ksp[pic]->ks_data);
940 if (pic == 1)
965 ac_clear_pic[pic].pcr_mask;
969 ac_clear_pic[pic].event_name,
972 kstat_install(ac_picN_ksp[pic]);
981 int pic;
1008 for (pic = 0; pic < AC_NUM_PICS; pic++) {
1009 if (ac_picN_ksp[pic] != (kstat_t *)NULL) {
1010 kstat_delete(ac_picN_ksp[pic]);
1011 ac_picN_ksp[pic] = NULL;
1123 * %pic.
1129 * Read %pcr and %pic register values and write them
1138 * ac pic register:
1577 * We also program the pic register with the
1595 /* program the pic with the bus pause time value */