Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/xen/events/
Devents_2l.c167 int word_idx, bit_idx; in evtchn_2l_handle_events() local
176 word_idx = evtchn / BITS_PER_LONG; in evtchn_2l_handle_events()
178 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) in evtchn_2l_handle_events()
192 word_idx = start_word_idx; in evtchn_2l_handle_events()
197 words = MASK_LSBS(pending_words, word_idx); in evtchn_2l_handle_events()
203 word_idx = 0; in evtchn_2l_handle_events()
207 word_idx = EVTCHN_FIRST_BIT(words); in evtchn_2l_handle_events()
209 pending_bits = active_evtchns(cpu, s, word_idx); in evtchn_2l_handle_events()
223 if (word_idx == start_word_idx) { in evtchn_2l_handle_events()
241 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; in evtchn_2l_handle_events()
[all …]
/linux-4.1.27/drivers/staging/rtl8712/
Drtl8712_efuse.c195 u8 word_idx; in calculate_word_cnts() local
197 for (word_idx = 0; word_idx < PGPKG_MAX_WORDS; word_idx++) in calculate_word_cnts()
198 if (!(word_en & BIT(word_idx))) in calculate_word_cnts()
207 u8 word_idx, byte_idx; in pgpacket_copy_data() local
209 for (word_idx = 0; word_idx < PGPKG_MAX_WORDS; word_idx++) { in pgpacket_copy_data()
210 if (!(word_en&BIT(word_idx))) { in pgpacket_copy_data()
211 byte_idx = word_idx * 2; in pgpacket_copy_data()