Searched refs:kv_shift (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c92 int kv_shift; member in struct:keyval
114 *bits |= (((uint64_t)val8 & kv->kv_mask) << kv->kv_shift);
127 *bits &= ~(kv->kv_mask << kv->kv_shift);
140 *bits |= (kv->kv_mask << kv->kv_shift);
371 xpcr->pic[0] = (uint8_t)((pcr >> kv[D_pic0].kv_shift) &
373 xpcr->pic[1] = (uint8_t)((pcr >> kv[D_pic1].kv_shift) &
375 xpcr->usr = (pcr >> kv[D_nouser].kv_shift) &
377 xpcr->sys = (pcr >> kv[D_sys].kv_shift) &
/osnet-11/usr/src/lib/libcpc/i386/
H A Devent_pentium.c104 int kv_shift; member in struct:keyval
125 bits[kv->kv_regno] |= ((uint8_t)l & kv->kv_mask) << kv->kv_shift;
163 bits[kv->kv_regno] |= (val8 & kv->kv_mask) << kv->kv_shift;
176 bits[kv->kv_regno] &= ~(kv->kv_mask << kv->kv_shift);
189 bits[kv->kv_regno] |= (kv->kv_mask << kv->kv_shift);

Completed in 23 milliseconds