Lines Matching refs:slot_width
94 int slot_width; member
644 mcasp->slot_width = div / mcasp->tdm_slots; in __davinci_mcasp_set_clkdiv()
758 int slots, int slot_width) in davinci_mcasp_set_tdm_slot() argument
767 __func__, tx_mask, rx_mask, slots, slot_width); in davinci_mcasp_set_tdm_slot()
776 if (slot_width && in davinci_mcasp_set_tdm_slot()
777 (slot_width < 8 || slot_width > 32 || slot_width % 4 != 0)) { in davinci_mcasp_set_tdm_slot()
779 __func__, slot_width); in davinci_mcasp_set_tdm_slot()
786 mcasp->slot_width = slot_width; in davinci_mcasp_set_tdm_slot()
795 u32 tx_rotate, rx_rotate, slot_width; in davinci_config_channel_size() local
798 if (mcasp->slot_width) in davinci_config_channel_size()
799 slot_width = mcasp->slot_width; in davinci_config_channel_size()
801 slot_width = mcasp->max_format_width; in davinci_config_channel_size()
803 slot_width = sample_width; in davinci_config_channel_size()
815 tx_rotate = (slot_width / 4) & 0x7; in davinci_config_channel_size()
819 rx_rotate = (slot_width - sample_width) / 4; in davinci_config_channel_size()
823 fmt = (slot_width >> 1) - 1; in davinci_config_channel_size()
1263 if (mcasp->slot_width) in davinci_mcasp_hw_params()
1264 sbits = mcasp->slot_width; in davinci_mcasp_hw_params()
1331 int i, slot_width; in davinci_mcasp_hw_rule_slot_width() local
1334 slot_width = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_slot_width()
1338 if (snd_pcm_format_width(i) <= slot_width) { in davinci_mcasp_hw_rule_slot_width()
1387 if (rd->mcasp->slot_width) in davinci_mcasp_hw_rule_rate()
1388 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate()
1450 if (rd->mcasp->slot_width) in davinci_mcasp_hw_rule_format()
1451 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_format()
1559 else if (mcasp->slot_width) { in davinci_mcasp_startup()