Home
last modified time | relevance | path

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

/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()
/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()
/drivers/hid/
Dhid-prodikeys.c390 u32 bit_index; in pcmidi_handle_report4() local
397 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
398 key = pm->last_key[bit_index]; in pcmidi_handle_report4()
399 if (!((0x01 << bit_index) & bit_mask)) { in pcmidi_handle_report4()
401 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
402 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
407 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
409 switch ((0x01 << bit_index) & bit_mask) { in pcmidi_handle_report4()
492 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
/drivers/clk/shmobile/
Dclk-mstp.c50 u32 bit_index; member
60 u32 bitmask = BIT(clock->bit_index); in cpg_mstp_clock_endisable()
87 group->smstpcr, clock->bit_index); in cpg_mstp_clock_endisable()
115 return !(value & BIT(clock->bit_index)); in cpg_mstp_clock_is_enabled()
144 clock->bit_index = index; in cpg_mstp_clock_register()
/drivers/crypto/ux500/hash/
Dhash_alg.h240 u8 bit_index; member
Dhash_core.c1126 __func__, req_ctx->state.index, req_ctx->state.bit_index); in hash_hw_update()