Home
last modified time | relevance | path

Searched refs:word_width (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h64 #define ESAI_WORD_WIDTH(inst) DT_INST_PROP_OR(inst, word_width, 24)
79 #define ESAI_SLOT_WORD_WIDTH_IS_VALID(slot_width, word_width)\ argument
81 _ESAI_SLOT_WORD_WIDTH_IS_VALID(word_width) && \
82 ((word_width) < 32) && ((word_width) <= (slot_width)))
94 #define ESAI_WORD_ALIGNMENT(word_width) ((32 - (word_width)) / 4) argument
180 uint32_t word_width; member
Desai.c243 static int esai_get_slot_format(uint32_t slot_width, uint32_t word_width, in esai_get_slot_format() argument
247 if (!ESAI_SLOT_WORD_WIDTH_IS_VALID(slot_width, word_width)) { in esai_get_slot_format()
249 slot_width, word_width); in esai_get_slot_format()
253 cfg->slot_format = ESAI_SLOT_FORMAT(slot_width, word_width); in esai_get_slot_format()
451 esai_cfg->word_width, &tx_config); in esai_config_set()
456 tx_config.word_alignment = ESAI_WORD_ALIGNMENT(esai_cfg->word_width); in esai_config_set()
747 .word_width = ESAI_WORD_WIDTH(inst), \