Searched refs:ilog2 (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/watchdog/ |
D | wdt_dw_common.c | 78 period = ilog2(period); in dw_wdt_calc_period()
|
D | wdt_intel_adsp.c | 151 ilog2(DT_PROP(DEV_NODE, reset_pulse_length)) - 1; in intel_adsp_wdt_init()
|
D | wdt_dw.c | 258 .reset_pulse_length = ilog2(DT_INST_PROP_OR(inst, reset_pulse_length, 2)) - 1, \
|
/Zephyr-latest/include/zephyr/math/ |
D | ilog2.h | 93 #define ilog2(n) \ macro
|
/Zephyr-latest/include/zephyr/usb/ |
D | usb_ch9.h | 348 #define USB_HS_INT_EP_INTERVAL(us) CLAMP((ilog2((us) / 125U) + 1U), 1U, 16U) 354 #define USB_HS_ISO_EP_INTERVAL(us) CLAMP((ilog2((us) / 125U) + 1U), 1U, 16U)
|
/Zephyr-latest/include/zephyr/sys/ |
D | mem_blocks.h | 132 .info = {num_blks, ilog2(blk_sz)}, \
|
/Zephyr-latest/drivers/sensor/ |
D | default_rtio_sensor.c | 204 int8_t new_shift = ilog2(header_scale - 1) + 1; in sensor_submit_fallback_sync()
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_stm32.c | 1470 .ucpd_params.psc_ucpdclk = ilog2(DT_INST_PROP(inst, psc_ucpdclk)), \
|