Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sti/
Duniperif_reader.c192 int transfer_size, trigger_limit, ret; in uni_reader_prepare() local
212 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; in uni_reader_prepare()
219 trigger_limit = transfer_size; in uni_reader_prepare()
222 if ((!trigger_limit % 2) || in uni_reader_prepare()
223 (trigger_limit != 1 && transfer_size % 2) || in uni_reader_prepare()
224 (trigger_limit > UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(reader))) { in uni_reader_prepare()
226 trigger_limit); in uni_reader_prepare()
230 SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(reader, trigger_limit); in uni_reader_prepare()
Duniperif_player.c752 int transfer_size, trigger_limit; in uni_player_prepare() local
773 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; in uni_player_prepare()
780 trigger_limit = transfer_size; in uni_player_prepare()
784 if ((!trigger_limit % 2) || (trigger_limit != 1 && transfer_size % 2) || in uni_player_prepare()
785 (trigger_limit > UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(player))) { in uni_player_prepare()
787 trigger_limit); in uni_player_prepare()
791 SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(player, trigger_limit); in uni_player_prepare()