Home
last modified time | relevance | path

Searched refs:left_slot (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/sound/soc/codecs/
Dssm2518.c527 int left_slot, right_slot; in ssm2518_set_tdm_slot() local
541 left_slot = 0; in ssm2518_set_tdm_slot()
545 left_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot()
546 tx_mask &= ~(1 << left_slot); in ssm2518_set_tdm_slot()
548 right_slot = left_slot; in ssm2518_set_tdm_slot()
555 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
593 (left_slot << SSM2518_CHAN_MAP_LEFT_SLOT_OFFSET) | in ssm2518_set_tdm_slot()
Dtas2780.c375 int left_slot, right_slot; in tas2780_set_dai_tdm_slot() local
383 left_slot = __ffs(tx_mask); in tas2780_set_dai_tdm_slot()
384 tx_mask &= ~(1 << left_slot); in tas2780_set_dai_tdm_slot()
386 right_slot = left_slot; in tas2780_set_dai_tdm_slot()
392 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2780_set_dai_tdm_slot()
395 slots_cfg = (right_slot << TAS2780_TDM_CFG3_RXS_SHIFT) | left_slot; in tas2780_set_dai_tdm_slot()
Dtas2770.c392 int left_slot, right_slot; in tas2770_set_dai_tdm_slot() local
398 left_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot()
399 tx_mask &= ~(1 << left_slot); in tas2770_set_dai_tdm_slot()
401 right_slot = left_slot; in tas2770_set_dai_tdm_slot()
407 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2770_set_dai_tdm_slot()
412 (left_slot << TAS2770_TDM_CFG_REG3_30_SHIFT)); in tas2770_set_dai_tdm_slot()
Dtas2764.c433 int left_slot, right_slot; in tas2764_set_dai_tdm_slot() local
441 left_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot()
442 tx_mask &= ~(1 << left_slot); in tas2764_set_dai_tdm_slot()
444 right_slot = left_slot; in tas2764_set_dai_tdm_slot()
450 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2764_set_dai_tdm_slot()
453 slots_cfg = (right_slot << TAS2764_TDM_CFG3_RXS_SHIFT) | left_slot; in tas2764_set_dai_tdm_slot()
Dtas2562.c150 int left_slot, right_slot; in tas2562_set_dai_tdm_slot() local
163 left_slot = 0; in tas2562_set_dai_tdm_slot()
166 left_slot = __ffs(tx_mask); in tas2562_set_dai_tdm_slot()
167 tx_mask &= ~(1 << left_slot); in tas2562_set_dai_tdm_slot()
169 right_slot = left_slot; in tas2562_set_dai_tdm_slot()
175 slots_cfg = (right_slot << TAS2562_RIGHT_SLOT_SHIFT) | left_slot; in tas2562_set_dai_tdm_slot()
/Linux-v6.1/sound/pci/
Dcs4281.c429 unsigned char left_slot; /* FIFO left slot */ member
753 if (dma->left_slot == chip->src_left_play_slot) { in snd_cs4281_mode()
759 if (dma->left_slot == chip->src_left_rec_slot) { in snd_cs4281_mode()
770 dma->valFCR = BA0_FCR_LS(dma->left_slot) | in snd_cs4281_mode()
880 dma->left_slot = 0; in snd_cs4281_playback_open()
899 dma->left_slot = 10; in snd_cs4281_capture_open()