tdm 327 drivers/clk/meson/axg-audio.c AUD_MUX(tdm##_name##_sclk_sel, _reg, 0xf, 24, \ tdm 340 drivers/clk/meson/axg-audio.c AUD_GATE(tdm##_name##_sclk_pre_en, _reg, 31, \ tdm 352 drivers/clk/meson/axg-audio.c AUD_GATE(tdm##_name##_sclk_post_en, _reg, 30, \ tdm 411 drivers/clk/meson/axg-audio.c AUD_MUX(tdm##_name##_lrclk, _reg, 0xf, 20, \ tdm 1957 drivers/gpu/drm/bridge/sil-sii8620.c u8 tdm = sii8620_readb(ctx, REG_TRXSTA2); tdm 1959 drivers/gpu/drm/bridge/sil-sii8620.c if ((tdm & MSK_TDM_SYNCHRONIZED) == VAL_TDM_SYNCHRONIZED) { tdm 202 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c SND_SOC_DAILINK_DEFS(tdm, tdm 356 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c SND_SOC_DAILINK_REG(tdm), tdm 186 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c SND_SOC_DAILINK_DEFS(tdm, tdm 389 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c SND_SOC_DAILINK_REG(tdm), tdm 186 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; tdm 219 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->nslots_per_frame = slots; tdm 220 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->slot_width = slot_width; tdm 222 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->slot_mask = (dai->id & 0x1 ? tx_mask : rx_mask) & cap_mask; tdm 239 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; tdm 257 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->ch_mapping[i] = tx_slot[i]; tdm 260 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; tdm 262 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->num_channels = tx_num; tdm 276 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->ch_mapping[i] = rx_slot[i]; tdm 279 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; tdm 281 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->num_channels = rx_num; tdm 299 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; tdm 301 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->bit_width = params_width(params); tdm 302 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->sample_rate = params_rate(params); tdm 303 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->num_channels = params_channels(params); tdm 304 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->data_align_type = dai_data->priv[dai->id].data_align; tdm 305 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->sync_src = dai_data->priv[dai->id].sync_src; tdm 306 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->sync_mode = dai_data->priv[dai->id].sync_mode; tdm 363 sound/soc/qcom/qdsp6/q6afe-dai.c &dai_data->port_config[dai->id].tdm); tdm 191 sound/soc/qcom/qdsp6/q6afe.h struct q6afe_tdm_cfg tdm; tdm 329 sound/soc/samsung/i2s.c int tdm = priv->quirks & QUIRK_SUPPORTS_TDM; tdm 333 sound/soc/samsung/i2s.c if (!tdm && bfs > 48) { tdm 83 sound/soc/zte/zx-tdm.c static inline u32 zx_tdm_readl(struct zx_tdm_info *tdm, u16 reg) tdm 85 sound/soc/zte/zx-tdm.c return readl_relaxed(tdm->regbase + reg); tdm 88 sound/soc/zte/zx-tdm.c static inline void zx_tdm_writel(struct zx_tdm_info *tdm, u16 reg, u32 val) tdm 90 sound/soc/zte/zx-tdm.c writel_relaxed(val, tdm->regbase + reg); tdm 93 sound/soc/zte/zx-tdm.c static void zx_tdm_tx_en(struct zx_tdm_info *tdm, bool on) tdm 97 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_PROCESS_CTRL); tdm 102 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_PROCESS_CTRL, val); tdm 105 sound/soc/zte/zx-tdm.c static void zx_tdm_rx_en(struct zx_tdm_info *tdm, bool on) tdm 109 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_PROCESS_CTRL); tdm 114 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_PROCESS_CTRL, val); tdm 117 sound/soc/zte/zx-tdm.c static void zx_tdm_tx_dma_en(struct zx_tdm_info *tdm, bool on) tdm 121 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_TX_FIFO_CTRL); tdm 127 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TX_FIFO_CTRL, val); tdm 130 sound/soc/zte/zx-tdm.c static void zx_tdm_rx_dma_en(struct zx_tdm_info *tdm, bool on) tdm 134 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_RX_FIFO_CTRL); tdm 140 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_RX_FIFO_CTRL, val); tdm 165 sound/soc/zte/zx-tdm.c struct zx_tdm_info *tdm = snd_soc_dai_get_drvdata(cpu_dai); tdm 168 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_TIMING_CTRL); tdm 174 sound/soc/zte/zx-tdm.c tdm->master = 1; tdm 178 sound/soc/zte/zx-tdm.c tdm->master = 0; tdm 187 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TIMING_CTRL, val); tdm 196 sound/soc/zte/zx-tdm.c struct zx_tdm_info *tdm = snd_soc_dai_get_drvdata(socdai); tdm 218 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_TIMING_CTRL); tdm 220 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TIMING_CTRL, val); tdm 221 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TS_MASK0, mask); tdm 223 sound/soc/zte/zx-tdm.c if (tdm->master) tdm 224 sound/soc/zte/zx-tdm.c ret = clk_set_rate(tdm->dai_wclk, tdm 322 sound/soc/zte/zx-tdm.c static void zx_tdm_init_state(struct zx_tdm_info *tdm) tdm 326 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_PROCESS_CTRL, PROCESS_DISABLE_ALL); tdm 328 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_TIMING_CTRL); tdm 332 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TIMING_CTRL, val); tdm 334 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_INT_EN, INT_DISABLE_ALL); tdm 338 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_INT_STATUS, INT_STATUS_MASK); tdm 339 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_RX_FIFO_CTRL, FIFOCTRL_RX_FIFO_RST); tdm 340 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TX_FIFO_CTRL, FIFOCTRL_TX_FIFO_RST); tdm 342 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_RX_FIFO_CTRL); tdm 345 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_RX_FIFO_CTRL, val); tdm 347 sound/soc/zte/zx-tdm.c val = zx_tdm_readl(tdm, REG_TX_FIFO_CTRL); tdm 350 sound/soc/zte/zx-tdm.c zx_tdm_writel(tdm, REG_TX_FIFO_CTRL, val);