Searched refs:is_power_of_two (Results 1 – 9 of 9) sorted by relevance
16 __ASSERT(is_power_of_two(domain), "Only one bit can be set for the domain parameter"); in soc_lrcconf_poweron_request()40 __ASSERT(is_power_of_two(domain), "Only one bit can be set for the domain parameter"); in soc_lrcconf_poweron_release()
61 if (is_power_of_two(m)) { in lorawan_fec_parity_matrix_vector()
226 if (!is_power_of_two(*divider) || *divider > 16) { in r8a779f0_set_rate_helper()
225 if (!is_power_of_two(*divider) || *divider > 16) { in r8a7795_set_rate_helper()
741 if (!is_power_of_two(size)) { in dma_width_index()
439 static inline bool is_power_of_two(unsigned int x) in is_power_of_two() function
157 if (is_power_of_two(m)) { in frag_dec_parity_matrix_vector()
39 if (is_power_of_two(buffer->size)) { in mpsc_pbuf_init()
386 if (!is_power_of_two(1U + (0x0F & ~flags))) { in encode_alarm()