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

/linux-4.4.14/sound/soc/sti/
H A Duniperif_reader.c82 int transfer_size, trigger_limit; uni_reader_prepare() local
98 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; uni_reader_prepare()
105 trigger_limit = transfer_size; uni_reader_prepare()
108 if ((!trigger_limit % 2) || uni_reader_prepare()
109 (trigger_limit != 1 && transfer_size % 2) || uni_reader_prepare()
110 (trigger_limit > UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(reader))) { uni_reader_prepare()
111 dev_err(reader->dev, "invalid trigger limit %d", trigger_limit); uni_reader_prepare()
115 SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(reader, trigger_limit); uni_reader_prepare()
H A Duniperif_player.c707 int transfer_size, trigger_limit; uni_player_prepare() local
722 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; uni_player_prepare()
729 trigger_limit = transfer_size; uni_player_prepare()
733 if ((!trigger_limit % 2) || (trigger_limit != 1 && transfer_size % 2) || uni_player_prepare()
734 (trigger_limit > UNIPERIF_CONFIG_DMA_TRIG_LIMIT_MASK(player))) { uni_player_prepare()
735 dev_err(player->dev, "invalid trigger limit %d", trigger_limit); uni_player_prepare()
739 SET_UNIPERIF_CONFIG_DMA_TRIG_LIMIT(player, trigger_limit); uni_player_prepare()

Completed in 117 milliseconds