Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_common/
A 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.3-rc2/drivers/scsi/isci/
A 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.3-rc2/drivers/md/persistent-data/
A Ddm-bitset.c226 c->bit_index = 0; in cursor_next_array_entry()
250 c->bit_index = 0; in dm_bitset_cursor_begin()
271 if (++c->bit_index > 63) in dm_bitset_cursor_next()
283 uint32_t remaining_in_word = 64 - c->bit_index; in dm_bitset_cursor_skip()
289 c->bit_index += count; in dm_bitset_cursor_skip()
306 c->bit_index = count & 63; in dm_bitset_cursor_skip()
315 return test_bit(c->bit_index, (unsigned long *) &c->current_bits); in dm_bitset_cursor_get_value()
A Ddm-bitset.h187 uint32_t bit_index; member
/linux-6.3-rc2/drivers/hid/
A 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.3-rc2/drivers/clk/renesas/
A 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.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A 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.3-rc2/drivers/hte/
A 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.3-rc2/arch/arm64/kvm/
A Darm.c1043 int bit_index; in vcpu_interrupt_line() local
1048 bit_index = __ffs(HCR_VI); in vcpu_interrupt_line()
1050 bit_index = __ffs(HCR_VF); in vcpu_interrupt_line()
1054 set = test_and_set_bit(bit_index, hcr); in vcpu_interrupt_line()
1056 set = test_and_clear_bit(bit_index, hcr); in vcpu_interrupt_line()
/linux-6.3-rc2/tools/power/x86/intel-speed-select/
A 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.3-rc2/drivers/hwmon/
A 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.3-rc2/drivers/net/ethernet/qlogic/qed/
A 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.3-rc2/sound/pci/asihpi/
A Dhpi_internal.h904 u16 bit_index; member

Completed in 45 milliseconds