Home
last modified time | relevance | path

Searched refs:bit_index (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/scsi/isci/
Dremote_node_table.c83 u32 bit_index; in sci_remote_node_table_get_group_index() local
89 for (bit_index = 0; bit_index < 32; bit_index++) { in sci_remote_node_table_get_group_index()
90 if ((group_table[dword_index] & (1 << bit_index)) != 0) { in sci_remote_node_table_get_group_index()
91 return (dword_index * 32) + bit_index; in sci_remote_node_table_get_group_index()
117 u32 bit_index; in sci_remote_node_table_clear_group_index() local
124 bit_index = group_index % 32; in sci_remote_node_table_clear_group_index()
127 group_table[dword_index] = group_table[dword_index] & ~(1 << bit_index); in sci_remote_node_table_clear_group_index()
147 u32 bit_index; in sci_remote_node_table_set_group_index() local
154 bit_index = group_index % 32; in sci_remote_node_table_set_group_index()
157 group_table[dword_index] = group_table[dword_index] | (1 << bit_index); in sci_remote_node_table_set_group_index()
/linux-3.4.99/drivers/uwb/
Dallocator.c326 int bit_index; in uwb_rsv_find_best_allocation() local
337 for_each_clear_bit(bit_index, available->bm, UWB_NUM_MAS) in uwb_rsv_find_best_allocation()
338 ai->bm[bit_index] = UWB_RSV_MAS_NOT_AVAIL; in uwb_rsv_find_best_allocation()
368 for (bit_index = 0; bit_index < UWB_NUM_MAS; bit_index++) { in uwb_rsv_find_best_allocation()
369 if (ai->bm[bit_index] == UWB_RSV_MAS_SAFE) in uwb_rsv_find_best_allocation()
370 set_bit(bit_index, result->bm); in uwb_rsv_find_best_allocation()
371 else if (ai->bm[bit_index] == UWB_RSV_MAS_UNSAFE) in uwb_rsv_find_best_allocation()
372 set_bit(bit_index, result->unsafe_bm); in uwb_rsv_find_best_allocation()
/linux-3.4.99/drivers/hid/
Dhid-prodikeys.c391 u32 bit_index; in pcmidi_handle_report4() local
398 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
399 key = pm->last_key[bit_index]; in pcmidi_handle_report4()
400 if (!((0x01 << bit_index) & bit_mask)) { in pcmidi_handle_report4()
402 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
403 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
408 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
410 switch ((0x01 << bit_index) & bit_mask) { in pcmidi_handle_report4()
493 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
/linux-3.4.99/sound/pci/asihpi/
Dhpi_internal.h911 u16 bit_index; member