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

/linux-4.4.14/drivers/xen/events/
H A Devents_2l.c167 int word_idx, bit_idx; evtchn_2l_handle_events() local
176 word_idx = evtchn / BITS_PER_LONG; evtchn_2l_handle_events()
178 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) evtchn_2l_handle_events()
192 word_idx = start_word_idx; evtchn_2l_handle_events()
197 words = MASK_LSBS(pending_words, word_idx); evtchn_2l_handle_events()
203 word_idx = 0; evtchn_2l_handle_events()
207 word_idx = EVTCHN_FIRST_BIT(words); evtchn_2l_handle_events()
209 pending_bits = active_evtchns(cpu, s, word_idx); evtchn_2l_handle_events()
223 if (word_idx == start_word_idx) { evtchn_2l_handle_events()
241 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; evtchn_2l_handle_events()
251 bit_idx ? word_idx : evtchn_2l_handle_events()
252 (word_idx+1) % BITS_PER_EVTCHN_WORD); evtchn_2l_handle_events()
257 if ((word_idx != start_word_idx) || (i != 0)) evtchn_2l_handle_events()
258 pending_words &= ~(1UL << word_idx); evtchn_2l_handle_events()
260 word_idx = (word_idx + 1) % BITS_PER_EVTCHN_WORD; evtchn_2l_handle_events()
330 int word_idx = i / BITS_PER_EVTCHN_WORD; local
334 sync_test_bit(word_idx, BM(&v->evtchn_pending_sel))
/linux-4.4.14/drivers/staging/rtl8712/
H A Drtl8712_efuse.c198 u8 word_idx; calculate_word_cnts() local
200 for (word_idx = 0; word_idx < PGPKG_MAX_WORDS; word_idx++) calculate_word_cnts()
201 if (!(word_en & BIT(word_idx))) calculate_word_cnts()
210 u8 word_idx, byte_idx; pgpacket_copy_data() local
212 for (word_idx = 0; word_idx < PGPKG_MAX_WORDS; word_idx++) { pgpacket_copy_data()
213 if (!(word_en & BIT(word_idx))) { pgpacket_copy_data()
214 byte_idx = word_idx * 2; pgpacket_copy_data()

Completed in 104 milliseconds