Home
last modified time | relevance | path

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

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