Home
last modified time | relevance | path

Searched refs:ilog2 (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/watchdog/
Dwdt_dw_common.c78 period = ilog2(period); in dw_wdt_calc_period()
Dwdt_intel_adsp.c151 ilog2(DT_PROP(DEV_NODE, reset_pulse_length)) - 1; in intel_adsp_wdt_init()
Dwdt_dw.c258 .reset_pulse_length = ilog2(DT_INST_PROP_OR(inst, reset_pulse_length, 2)) - 1, \
/Zephyr-latest/include/zephyr/math/
Dilog2.h93 #define ilog2(n) \ macro
/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h348 #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/
Dmem_blocks.h132 .info = {num_blks, ilog2(blk_sz)}, \
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c204 int8_t new_shift = ilog2(header_scale - 1) + 1; in sensor_submit_fallback_sync()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32.c1470 .ucpd_params.psc_ucpdclk = ilog2(DT_INST_PROP(inst, psc_ucpdclk)), \