Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dssm2518.c527 int left_slot, right_slot; in ssm2518_set_tdm_slot() local
542 right_slot = 0; in ssm2518_set_tdm_slot()
548 right_slot = left_slot; in ssm2518_set_tdm_slot()
550 right_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot()
551 tx_mask &= ~(1 << right_slot); in ssm2518_set_tdm_slot()
555 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
594 (right_slot << SSM2518_CHAN_MAP_RIGHT_SLOT_OFFSET)); in ssm2518_set_tdm_slot()
Dtas2780.c375 int left_slot, right_slot; in tas2780_set_dai_tdm_slot() local
386 right_slot = left_slot; in tas2780_set_dai_tdm_slot()
388 right_slot = __ffs(tx_mask); in tas2780_set_dai_tdm_slot()
389 tx_mask &= ~(1 << right_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
401 right_slot = left_slot; in tas2770_set_dai_tdm_slot()
403 right_slot = __ffs(tx_mask); in tas2770_set_dai_tdm_slot()
404 tx_mask &= ~(1 << right_slot); in tas2770_set_dai_tdm_slot()
407 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in tas2770_set_dai_tdm_slot()
417 (right_slot << TAS2770_TDM_CFG_REG3_RXS_SHIFT)); in tas2770_set_dai_tdm_slot()
Dtas2764.c433 int left_slot, right_slot; in tas2764_set_dai_tdm_slot() local
444 right_slot = left_slot; in tas2764_set_dai_tdm_slot()
446 right_slot = __ffs(tx_mask); in tas2764_set_dai_tdm_slot()
447 tx_mask &= ~(1 << right_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
164 right_slot = 0; in tas2562_set_dai_tdm_slot()
169 right_slot = left_slot; in tas2562_set_dai_tdm_slot()
171 right_slot = __ffs(tx_mask); in tas2562_set_dai_tdm_slot()
175 slots_cfg = (right_slot << TAS2562_RIGHT_SLOT_SHIFT) | left_slot; in tas2562_set_dai_tdm_slot()
/sound/pci/
Dcs4281.c430 unsigned char right_slot; /* FIFO right slot */ member
755 snd_BUG_ON(dma->right_slot != chip->src_right_play_slot); in snd_cs4281_mode()
761 snd_BUG_ON(dma->right_slot != chip->src_right_rec_slot); in snd_cs4281_mode()
771 BA0_FCR_RS(capture && (dma->valDMR & BA0_DMR_MONO) ? 31 : dma->right_slot) | in snd_cs4281_mode()
881 dma->right_slot = 1; in snd_cs4281_playback_open()
900 dma->right_slot = 11; in snd_cs4281_capture_open()