Home
last modified time | relevance | path

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

/linux-6.1.9/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…
/linux-6.1.9/drivers/scsi/isci/
Dremote_node_table.c81 u32 bit_index; in sci_remote_node_table_get_group_index() local
87 for (bit_index = 0; bit_index < 32; bit_index++) { in sci_remote_node_table_get_group_index()
88 if ((group_table[dword_index] & (1 << bit_index)) != 0) { in sci_remote_node_table_get_group_index()
89 return (dword_index * 32) + bit_index; in sci_remote_node_table_get_group_index()
115 u32 bit_index; in sci_remote_node_table_clear_group_index() local
122 bit_index = group_index % 32; in sci_remote_node_table_clear_group_index()
125 group_table[dword_index] = group_table[dword_index] & ~(1 << bit_index); in sci_remote_node_table_clear_group_index()
145 u32 bit_index; in sci_remote_node_table_set_group_index() local
152 bit_index = group_index % 32; in sci_remote_node_table_set_group_index()
155 group_table[dword_index] = group_table[dword_index] | (1 << bit_index); in sci_remote_node_table_set_group_index()
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/hte/
Dhte-tegra194.c107 u32 bit_index; member
259 *mapped = (m[eid].slice << 5) + m[eid].bit_index; in tegra_hte_map_to_line_id()
485 u32 tsh, tsl, src, pv, cv, acv, slice, bit_index, line_id; in tegra_hte_read_fifo() local
504 bit_index = __builtin_ctz(acv); in tegra_hte_read_fifo()
505 line_id = bit_index + (slice << 5); in tegra_hte_read_fifo()
509 acv &= ~BIT(bit_index); in tegra_hte_read_fifo()
/linux-6.1.9/arch/arm64/kvm/
Darm.c1032 int bit_index; in vcpu_interrupt_line() local
1037 bit_index = __ffs(HCR_VI); in vcpu_interrupt_line()
1039 bit_index = __ffs(HCR_VF); in vcpu_interrupt_line()
1043 set = test_and_set_bit(bit_index, hcr); in vcpu_interrupt_line()
1045 set = test_and_clear_bit(bit_index, hcr); in vcpu_interrupt_line()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/hwmon/
Dadt7475.c1556 u8 *config, u8 bit_index) in set_property_bit() argument
1564 *config |= (1 << bit_index); in set_property_bit()
1566 *config &= ~(1 << bit_index); in set_property_bit()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_int.c980 u32 aeu_en_reg, u8 bit_index) in qed_int_deassertion_parity() argument
986 p_aeu->bit_name, aeu_en_reg, bit_index); in qed_int_deassertion_parity()
1001 mask = ~BIT(bit_index); in qed_int_deassertion_parity()
/linux-6.1.9/sound/pci/asihpi/
Dhpi_internal.h904 u16 bit_index; member