Home
last modified time | relevance | path

Searched refs:find_lsb_set (Results 1 – 25 of 79) sorted by relevance

1234

/Zephyr-latest/drivers/gpio/
Dgpio_cc13xx_cc26xx.c279 for (pin = find_lsb_set(map) - 1; map; in gpio_cc13xx_cc26xx_port_get_direction()
280 map &= ~BIT(pin), pin = find_lsb_set(map) - 1) { in gpio_cc13xx_cc26xx_port_get_direction()
288 for (pin = find_lsb_set(map) - 1; map; in gpio_cc13xx_cc26xx_port_get_direction()
289 map &= ~BIT(pin), pin = find_lsb_set(map) - 1) { in gpio_cc13xx_cc26xx_port_get_direction()
Dgpio_eos_s3.c372 for (pin = find_lsb_set(pins) - 1; pins; in gpio_eos_s3_port_get_direction()
373 pins &= ~BIT(pin), pin = find_lsb_set(pins) - 1) { in gpio_eos_s3_port_get_direction()
384 for (pin = find_lsb_set(pins) - 1; pins; in gpio_eos_s3_port_get_direction()
385 pins &= ~BIT(pin), pin = find_lsb_set(pins) - 1) { in gpio_eos_s3_port_get_direction()
Dgpio_emul.c786 for (i = find_lsb_set(map) - 1; map;
787 map &= ~BIT(i), i = find_lsb_set(map) - 1) {
795 for (i = find_lsb_set(map) - 1; map;
796 map &= ~BIT(i), i = find_lsb_set(map) - 1) {
Dgpio_nxp_s32.c443 pin = find_lsb_set(map) - 1; in nxp_s32_gpio_port_get_direction()
453 pin = find_lsb_set(map) - 1; in nxp_s32_gpio_port_get_direction()
/Zephyr-latest/include/zephyr/arch/common/
Dffs.h53 static ALWAYS_INLINE unsigned int find_lsb_set(uint32_t op) in find_lsb_set() function
/Zephyr-latest/arch/mips/core/
Dirq_manage.c79 index = find_lsb_set(ipending) - 1; in z_mips_enter_irq()
/Zephyr-latest/arch/nios2/core/
Dirq_manage.c96 index = find_lsb_set(ipending) - 1; in _enter_irq()
/Zephyr-latest/subsys/fs/ext2/
Dext2_bitmap.c66 int off = find_lsb_set(~bm[i]) - 1; in ext2_bitmap_find_free()
/Zephyr-latest/arch/x86/core/ia32/
Dirq_manage.c145 fsb = find_lsb_set(search_set); in priority_to_free_vector()
/Zephyr-latest/tests/kernel/common/src/
Dbitarray.c1027 zassert_equal(find_lsb_set(value), 0, "LSB is not matched"); in ZTEST()
1032 zassert_equal(find_lsb_set(value), 1, "LSB is not matched"); in ZTEST()
1037 zassert_equal(find_lsb_set(value), 32, "LSB is not matched"); in ZTEST()
1042 zassert_equal(find_lsb_set(value), 13, "LSB is not matched"); in ZTEST()
1047 zassert_equal(find_lsb_set(value), 1, "LSB is not matched"); in ZTEST()
1052 zassert_equal(find_lsb_set(value), 2, "LSB is not matched"); in ZTEST()
1058 zassert_equal(find_lsb_set(value), bit + 1, "LSB is not matched"); in ZTEST()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_dw_ace.c151 uint32_t bit = find_lsb_set(fs) - 1; in dwint_isr()
Dintc_dw.c31 intr_bitpos = find_lsb_set(intr_status) - 1; in dw_ictl_dispatch_child_isrs()
Dintc_cavs.c46 intr_bitpos = find_lsb_set(intr_status) - 1; in cavs_ictl_dispatch_child_isrs()
/Zephyr-latest/boards/native/native_posix/
Dirq_ctrl.c102 int irq_nbr = find_lsb_set(hw_irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq()
/Zephyr-latest/drivers/adc/
Dadc_rpi_pico.c241 ainsel = (uint8_t)(find_lsb_set(data->channels) - 1); in adc_rpi_isr()
277 adc_select_input(find_lsb_set(data->channels) - 1); in adc_context_start_sampling()
Dadc_gecko.c117 index = find_lsb_set(channels) - 1; in start_read()
151 data->channel_id = find_lsb_set(data->channels) - 1; in adc_gecko_start_channel()
Dadc_numaker.c144 module_id = find_lsb_set(module_mask) - 1; in adc_numaker_isr()
177 channel_id = find_lsb_set(channel_mask) - 1; in m_adc_numaker_start_scan()
Dadc_mchp_xec.c294 bit = find_lsb_set(channels); in xec_adc_get_sample()
302 bit = find_lsb_set(channels); in xec_adc_get_sample()
Diadc_gecko.c138 index = find_lsb_set(channels) - 1; in start_read()
174 data->channel_id = find_lsb_set(data->channels) - 1; in adc_gecko_start_channel()
Dadc_ene_kb1200.c107 ch_num = find_lsb_set(channels) - 1; in adc_kb1200_start_read()
/Zephyr-latest/arch/x86/core/intel64/
Dirq.c163 while ((fz = find_lsb_set(~atomic_get(&irq_reserved[i])))) { in arch_irq_allocate()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_has.c73 uint8_t index = find_lsb_set(has_presets); in has_remove_preset()
/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_qspi.c230 data->sw_cs = find_lsb_set(cfg->flags & NPCX_QSPI_SW_CS_MASK) - 1; in qspi_npcx_fiu_mutex_lock_configure()
/Zephyr-latest/drivers/clock_control/
Dclock_control_r8a779f0_cpg_mssr.c230 *divider = (find_lsb_set(*divider) - 1) << R8A779F0_CLK_SD0H_DIV_SHIFT; in r8a779f0_set_rate_helper()
/Zephyr-latest/arch/arc/core/
Darc_connect.c77 c = find_lsb_set(cpu) - 1; in z_arc_connect_ici_clear()

1234