Searched refs:bit_idx (Results 1 – 2 of 2) sorted by relevance
1111 int word_idx, bit_idx; in __xen_evtchn_do_upcall() local1148 bit_idx = 0; in __xen_evtchn_do_upcall()1154 bit_idx = 0; /* usually scan entire word from start */ in __xen_evtchn_do_upcall()1159 bit_idx = start_bit_idx; in __xen_evtchn_do_upcall()1162 bit_idx &= (1UL << start_bit_idx) - 1; in __xen_evtchn_do_upcall()1170 bits = MASK_LSBS(pending_bits, bit_idx); in __xen_evtchn_do_upcall()1176 bit_idx = __ffs(bits); in __xen_evtchn_do_upcall()1179 port = (word_idx * BITS_PER_LONG) + bit_idx; in __xen_evtchn_do_upcall()1191 bit_idx = (bit_idx + 1) % BITS_PER_LONG; in __xen_evtchn_do_upcall()1195 bit_idx ? word_idx : in __xen_evtchn_do_upcall()[all …]
1772 u16 io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local1794 if ((perm >> bit_idx) & mask) in emulator_io_port_access_allowed()