Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/
Dinput_formatter_global.h41 #define _HIVE_INPUT_SWITCH_GET_LUT_FIELD(reg, bit_index) \ argument
42 (((reg) >> (bit_index)) & HIVE_SWITCH_M_SWITCH_CODE)
43 #define _HIVE_INPUT_SWITCH_SET_LUT_FIELD(reg, bit_index, val) \ argument
44 …reg) & ~(HIVE_SWITCH_M_SWITCH_CODE << (bit_index))) | (((hrt_data)(val) & HIVE_SWITCH_M_SWITCH_COD…
45 #define _HIVE_INPUT_SWITCH_GET_FSYNC_FIELD(reg, bit_index) \ argument
46 (((reg) >> (bit_index)) & HIVE_SWITCH_M_FSYNC)
47 #define _HIVE_INPUT_SWITCH_SET_FSYNC_FIELD(reg, bit_index, val) \ argument
48 …(((reg) & ~(HIVE_SWITCH_M_FSYNC << (bit_index))) | (((hrt_data)(val) & HIVE_SWITCH_M_FSYNC) << (bi…
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-bitset.c224 c->bit_index = 0; in cursor_next_array_entry()
248 c->bit_index = 0; in dm_bitset_cursor_begin()
269 if (++c->bit_index > 63) in dm_bitset_cursor_next()
281 uint32_t remaining_in_word = 64 - c->bit_index; in dm_bitset_cursor_skip()
287 c->bit_index += count; in dm_bitset_cursor_skip()
304 c->bit_index = count & 63; in dm_bitset_cursor_skip()
313 return test_bit(c->bit_index, (unsigned long *) &c->current_bits); in dm_bitset_cursor_get_value()
Ddm-bitset.h186 uint32_t bit_index; member
/kernel/linux/linux-5.10/drivers/hid/
Dhid-prodikeys.c385 u32 bit_index; in pcmidi_handle_report4() local
392 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
393 if (!((0x01 << bit_index) & bit_mask)) { in pcmidi_handle_report4()
395 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
396 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
401 for (bit_index = 0; bit_index < 24; bit_index++) { in pcmidi_handle_report4()
403 switch ((0x01 << bit_index) & bit_mask) { in pcmidi_handle_report4()
486 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
/kernel/linux/linux-5.10/drivers/clk/renesas/
Dclk-mstp.c57 u32 bit_index; member
79 u32 bitmask = BIT(clock->bit_index); in cpg_mstp_clock_endisable()
112 group->smstpcr, clock->bit_index); in cpg_mstp_clock_endisable()
140 return !(value & BIT(clock->bit_index)); in cpg_mstp_clock_is_enabled()
172 clock->bit_index = index; in cpg_mstp_clock_register()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c45 u32 bit_index = 0; in dwc_eth_dwmac_config_dt() local
89 for (bit_index = 0; bit_index < 7; bit_index++) { in dwc_eth_dwmac_config_dt()
90 if (burst_map & (1 << bit_index)) { in dwc_eth_dwmac_config_dt()
91 switch (bit_index) { in dwc_eth_dwmac_config_dt()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darm.c870 int bit_index; in vcpu_interrupt_line() local
875 bit_index = __ffs(HCR_VI); in vcpu_interrupt_line()
877 bit_index = __ffs(HCR_VF); in vcpu_interrupt_line()
881 set = test_and_set_bit(bit_index, hcr); in vcpu_interrupt_line()
883 set = test_and_clear_bit(bit_index, hcr); in vcpu_interrupt_line()
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/
Dhash_alg.h240 u8 bit_index; member
Dhash_core.c1120 __func__, req_ctx->state.index, req_ctx->state.bit_index); in hash_hw_update()
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
Disst-display.c56 int mask_index, bit_index; in printcpumask() local
62 bit_index = i % (sizeof(unsigned int) * 8); in printcpumask()
63 mask[mask_index] |= BIT(bit_index); in printcpumask()
/kernel/linux/linux-5.10/drivers/hwmon/
Dadt7475.c1464 u8 *config, u8 bit_index) in set_property_bit() argument
1472 *config |= (1 << bit_index); in set_property_bit()
1474 *config &= ~(1 << bit_index); in set_property_bit()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_int.c960 u32 aeu_en_reg, u8 bit_index) in qed_int_deassertion_parity() argument
966 p_aeu->bit_name, aeu_en_reg, bit_index); in qed_int_deassertion_parity()
981 mask = ~BIT(bit_index); in qed_int_deassertion_parity()
/kernel/linux/linux-5.10/sound/pci/asihpi/
Dhpi_internal.h904 u16 bit_index; member
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch24899 + unsigned int bit_index;
24953 + bit_index = ((phys >> bank_bit_first) & bank_bit_mask) % PG_ROUND;
24954 + list_add_tail(&info->list, &lists[bit_index]);
24955 + block_index[bit_index]++;