Searched refs:u32_count_trailing_zeros (Results 1 – 12 of 12) sorted by relevance
160 zassert_equal(u32_count_trailing_zeros(0), 32);161 zassert_equal(u32_count_trailing_zeros(1), 0);162 zassert_equal(u32_count_trailing_zeros(6), 1);163 zassert_equal(u32_count_trailing_zeros(0x00f00f00), 8);164 zassert_equal(u32_count_trailing_zeros(0xf00ffc00), 10);165 zassert_equal(u32_count_trailing_zeros(0xffffffff), 0);166 zassert_equal(u32_count_trailing_zeros(0x80000000), 31);
222 static inline int u32_count_trailing_zeros(uint32_t x) in u32_count_trailing_zeros() function227 static inline int u32_count_trailing_zeros(uint32_t x) in u32_count_trailing_zeros() function248 return u32_count_trailing_zeros((uint32_t)x); in u64_count_trailing_zeros()250 return 32 + u32_count_trailing_zeros(x >> 32); in u64_count_trailing_zeros()
156 static int u32_count_trailing_zeros(uint32_t x);
149 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()236 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_smartbond_isr()
150 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()242 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in sdadc_smartbond_isr()
179 uint8_t i = u32_count_trailing_zeros(requests); in wdt_event_handler()
149 sys_dlist_t *l = &pq->queues[i * 32 + u32_count_trailing_zeros(pq->bitmask[i])]; in z_priq_mq_best()
412 chan = u32_count_trailing_zeros(grtc_chan_mask); in z_nrf_grtc_wakeup_prepare()
775 int sz = u32_count_trailing_zeros(bytes) - 4; in coap_bytes_to_block_size()
101 cpu = m == 0 ? 0 : u32_count_trailing_zeros(m); in thread_runq()
1321 uint32_t ep_hw_idx = u32_count_trailing_zeros(epintsts); in numaker_udbd_isr()
1188 uint32_t ep_hw_idx = u32_count_trailing_zeros(epintsts); in numaker_udbd_isr()