Home
last modified time | relevance | path

Searched refs:tdm (Results 1 – 25 of 123) sorted by relevance

12345

/linux/sound/soc/starfive/
H A Djh7110_tdm.c136 static inline u32 jh7110_tdm_readl(struct jh7110_tdm_dev *tdm, u16 reg) in jh7110_tdm_readl() argument
138 return readl_relaxed(tdm->tdm_base + reg); in jh7110_tdm_readl()
141 static inline void jh7110_tdm_writel(struct jh7110_tdm_dev *tdm, u16 reg, u32 val) in jh7110_tdm_writel() argument
143 writel_relaxed(val, tdm->tdm_base + reg); in jh7110_tdm_writel()
146 static void jh7110_tdm_save_context(struct jh7110_tdm_dev *tdm, in jh7110_tdm_save_context() argument
150 tdm->saved_pcmtxcr = jh7110_tdm_readl(tdm, TDM_PCMTXCR); in jh7110_tdm_save_context()
152 tdm->saved_pcmrxcr = jh7110_tdm_readl(tdm, TDM_PCMRXCR); in jh7110_tdm_save_context()
155 static void jh7110_tdm_start(struct jh7110_tdm_dev *tdm, in jh7110_tdm_start() argument
160 data = jh7110_tdm_readl(tdm, TDM_PCMGBCR); in jh7110_tdm_start()
161 jh7110_tdm_writel(tdm, TDM_PCMGBCR, data | PCMGBCR_ENABLE); in jh7110_tdm_start()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt130 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
132 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
134 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
136 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
138 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
140 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk)
141 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
[all …]
H A Dmarvell,armada-xp-pinctrl.txt45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
46 mpp25 25 gpio, lcd(vsync), sata0(prsnt), tdm(pclk)
47 mpp26 26 gpio, lcd(clk), tdm(fsync)
48 mpp27 27 gpio, lcd(e), tdm(dtx), ptp(trig)
49 mpp28 28 gpio, lcd(pwm), tdm(drx), ptp(evreq)
50 mpp29 29 gpio, lcd(ref-clk), tdm(int0), ptp(clk)
51 mpp30 30 gpio, tdm(int1), sd0(clk)
52 mpp31 31 gpio, tdm(int2), sd0(cmd)
53 mpp32 32 gpio, tdm(int3), sd0(d0)
54 mpp33 33 gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
[all …]
H A Dmarvell,armada-370-pinctrl.txt22 mpp6 6 gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo)
23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk)
24 mpp8 8 gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk)
26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi)
31 mpp13 13 gpio, ge0(rxd2), i2c1(sck), sd0(d1), tdm(pclk),
37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
40 mpp19 19 gpio, ge0(txclk), ge1(txclkout), tdm(pclk)
77 mpp53 53 gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2),
79 mpp54 54 gpo, dev(ad15), tdm(dtx)
80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
[all …]
H A Dmarvell,armada-375-pinctrl.txt34 mpp18 18 gpio, tdm(int)
35 mpp19 19 gpio, tdm(rst)
36 mpp20 20 gpio, tdm(pclk)
37 mpp21 21 gpio, tdm(fsync)
38 mpp22 22 gpio, tdm(drx)
39 mpp23 23 gpio, tdm(dtx)
53 mpp37 37 gpio, pcie0(clkreq), tdm(int), ge(mdc)
/linux/drivers/soc/fsl/qe/
H A Dtsa.c166 struct tsa_tdm tdm[4]; /* TDMa, TDMb, TDMc and TDMd */ member
168 struct tsa_tdm tdm[2]; /* TDMa and TDMb */ member
605 struct tsa_tdm *tdm; in tsa_of_parse_tdm_route() local
649 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route()
651 serial_info->rx_fs_rate = clk_get_rate(tdm->l1rsync_clk); in tsa_of_parse_tdm_route()
652 serial_info->rx_bit_rate = clk_get_rate(tdm->l1rclk_clk); in tsa_of_parse_tdm_route()
655 serial_info->tx_fs_rate = tdm->l1tsync_clk ? in tsa_of_parse_tdm_route()
656 clk_get_rate(tdm->l1tsync_clk) : in tsa_of_parse_tdm_route()
657 clk_get_rate(tdm->l1rsync_clk); in tsa_of_parse_tdm_route()
658 serial_info->tx_bit_rate = tdm->l1tclk_clk ? in tsa_of_parse_tdm_route()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dtdm-slot.txt6 dai-tdm-slot-num : Number of slots in use.
7 dai-tdm-slot-width : Width in bits for each slot.
8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional
9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
12 dai-tdm-slot-num = <2>;
13 dai-tdm-slot-width = <8>;
14 dai-tdm-slot-tx-mask = <0 1>;
15 dai-tdm-slot-rx-mask = <1 0>;
H A Dst,sti-asoc-card.txt48 - st,tdm-mode: to declare to set TDM mode for unireader and uniplayer IPs.
63 st,tdm-mode = <1>;
128 dai-tdm-slot-width = <32>;
154 dai-tdm-slot-num = <16>;
155 dai-tdm-slot-width = <16>;
156 dai-tdm-slot-tx-mask =
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c127 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local
160 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot()
161 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot()
163 tdm->slot_mask = ((dai->id & 0x1) ? tx_mask : rx_mask) & cap_mask; in q6tdm_set_tdm_slot()
180 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local
198 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
201 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
203 tdm->num_channels = tx_num; in q6tdm_set_channel_map()
217 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map()
220 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12-common.dtsi1069 tdm_a_din0_pins: tdm-a-din0 {
1078 tdm_a_din1_pins: tdm-a-din1 {
1086 tdm_a_dout0_pins: tdm-a-dout0 {
1095 tdm_a_dout1_pins: tdm-a-dout1 {
1104 tdm_a_fs_pins: tdm-a-fs {
1113 tdm_a_sclk_pins: tdm-a-sclk {
1122 tdm_a_slv_fs_pins: tdm-a-slv-fs {
1131 tdm_a_slv_sclk_pins: tdm-a-slv-sclk {
1139 tdm_b_din0_pins: tdm-b-din0 {
1147 tdm_b_din1_pins: tdm-b-din1 {
[all …]
H A Dmeson-sm1-bananapi-m2-pro.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-sm1-a95xf3-air.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-sm1-x96-air.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-sm1-a95xf3-air-gbit.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-sm1-x96-air-gbit.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-g12b-gtking-pro.dts80 dai-tdm-slot-tx-mask-0 = <1 1>;
81 dai-tdm-slot-tx-mask-1 = <1 1>;
82 dai-tdm-slot-tx-mask-2 = <1 1>;
83 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-sm1-bananapi-m5.dts100 dai-tdm-slot-tx-mask-0 = <1 1>;
101 dai-tdm-slot-tx-mask-1 = <1 1>;
102 dai-tdm-slot-tx-mask-2 = <1 1>;
103 dai-tdm-slot-tx-mask-3 = <1 1>;
119 dai-tdm-slot-tx-mask-0 = <1 1>;
H A Dmeson-sm1-h96-max.dts53 dai-tdm-slot-tx-mask-0 = <1 1>;
54 dai-tdm-slot-tx-mask-1 = <1 1>;
55 dai-tdm-slot-tx-mask-2 = <1 1>;
56 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-g12b-gsking-x.dts79 dai-tdm-slot-tx-mask-0 = <1 1>;
80 dai-tdm-slot-tx-mask-1 = <1 1>;
81 dai-tdm-slot-tx-mask-2 = <1 1>;
82 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-g12b-odroid-n2l.dts82 dai-tdm-slot-tx-mask-0 = <1 1>;
83 dai-tdm-slot-tx-mask-1 = <1 1>;
84 dai-tdm-slot-tx-mask-2 = <1 1>;
85 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-g12b-dreambox.dtsi71 dai-tdm-slot-tx-mask-0 = <1 1>;
72 dai-tdm-slot-tx-mask-1 = <1 1>;
73 dai-tdm-slot-tx-mask-2 = <1 1>;
74 dai-tdm-slot-tx-mask-3 = <1 1>;
H A Dmeson-g12b-bananapi-cm4-cm4io.dts101 dai-tdm-slot-tx-mask-0 = <1 1>;
102 dai-tdm-slot-tx-mask-1 = <1 1>;
103 dai-tdm-slot-tx-mask-2 = <1 1>;
104 dai-tdm-slot-tx-mask-3 = <1 1>;
/linux/Documentation/devicetree/bindings/arm/marvell/
H A Dcp110-system-controller.txt91 mpp0 0 gpio, dev(ale1), au(i2smclk), ge0(rxd3), tdm(pclk), ptp(pulse), mss_i2c(sda), uart0(rxd), sa…
92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), …
93 mpp2 2 gpio, dev(ad15), au(i2sextclk), ge0(rxd1), tdm(dtx), mss_uart(rxd), ptp(pclk_out), i2c1(sck)…
94 mpp3 3 gpio, dev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda…
95 mpp4 4 gpio, dev(ad13), au(i2sbclk), ge0(rxctl), tdm(rstn), mss_uart(rxd), uart1(cts), pcie0(clkreq…
96 mpp5 5 gpio, dev(ad12), au(i2sdi), ge0(rxclk), tdm(intn), mss_uart(txd), uart1(rts), pcie1(clkreq),…
123 mpp32 32 gpio, mii(col), mii(txerr), mss_spi(miso), tdm(drx), au(i2sextclk), au(i2sdi), ge(mdio), s…
124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(md…
125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge…
126 mpp35 35 gpio, sata1(present_act), i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_…
[all …]
/linux/sound/soc/meson/
H A DMakefile14 snd-soc-meson-axg-tdm-formatter-y := axg-tdm-formatter.o
15 snd-soc-meson-axg-tdm-interface-y := axg-tdm-interface.o
33 obj-$(CONFIG_SND_MESON_AXG_TDM_FORMATTER) += snd-soc-meson-axg-tdm-formatter.o
34 obj-$(CONFIG_SND_MESON_AXG_TDM_INTERFACE) += snd-soc-meson-axg-tdm-interface.o
/linux/sound/soc/intel/avs/
H A Dutils.h62 #define AVS_STRING_FMT(prefix, suffix, ssp, tdm) \ argument
63 (tdm) ? prefix "%d:%d" suffix : prefix "%d" suffix, (ssp), (tdm)

12345