/Linux-v4.19/drivers/hsi/clients/ |
D | ssi_protocol.c | 213 static struct hsi_msg *ssip_alloc_data(struct ssi_protocol *ssi, in ssip_alloc_data() argument 223 msg->channel = ssi->channel_id_data; in ssip_alloc_data() 231 struct ssi_protocol *ssi = hsi_client_drvdata(msg->cl); in ssip_release_cmd() local 234 spin_lock_bh(&ssi->lock); in ssip_release_cmd() 235 list_add_tail(&msg->link, &ssi->cmdqueue); in ssip_release_cmd() 236 spin_unlock_bh(&ssi->lock); in ssip_release_cmd() 239 static struct hsi_msg *ssip_claim_cmd(struct ssi_protocol *ssi) in ssip_claim_cmd() argument 243 BUG_ON(list_empty(&ssi->cmdqueue)); in ssip_claim_cmd() 245 spin_lock_bh(&ssi->lock); in ssip_claim_cmd() 246 msg = list_first_entry(&ssi->cmdqueue, struct hsi_msg, link); in ssip_claim_cmd() [all …]
|
/Linux-v4.19/sound/soc/fsl/ |
D | fsl_ssi.c | 358 static bool fsl_ssi_is_ac97(struct fsl_ssi *ssi) in fsl_ssi_is_ac97() argument 360 return (ssi->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) == in fsl_ssi_is_ac97() 364 static bool fsl_ssi_is_i2s_master(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_master() argument 366 return (ssi->dai_fmt & SND_SOC_DAIFMT_MASTER_MASK) == in fsl_ssi_is_i2s_master() 370 static bool fsl_ssi_is_i2s_cbm_cfs(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_cbm_cfs() argument 372 return (ssi->dai_fmt & SND_SOC_DAIFMT_MASTER_MASK) == in fsl_ssi_is_i2s_cbm_cfs() 381 struct fsl_ssi *ssi = dev_id; in fsl_ssi_isr() local 382 struct regmap *regs = ssi->regs; in fsl_ssi_isr() 387 sisr2 = sisr & ssi->soc->sisr_write_mask; in fsl_ssi_isr() 392 fsl_ssi_dbg_isr(&ssi->dbg_stats, sisr); in fsl_ssi_isr() [all …]
|
D | imx-ssi.c | 64 struct imx_ssi *ssi = snd_soc_dai_get_drvdata(cpu_dai); in imx_ssi_set_dai_tdm_slot() local 67 sccr = readl(ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot() 70 writel(sccr, ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot() 72 sccr = readl(ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot() 75 writel(sccr, ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot() 77 writel(~tx_mask, ssi->base + SSI_STMSK); in imx_ssi_set_dai_tdm_slot() 78 writel(~rx_mask, ssi->base + SSI_SRMSK); in imx_ssi_set_dai_tdm_slot() 89 struct imx_ssi *ssi = snd_soc_dai_get_drvdata(cpu_dai); in imx_ssi_set_dai_fmt() local 92 scr = readl(ssi->base + SSI_SCR) & ~(SSI_SCR_SYN | SSI_SCR_NET); in imx_ssi_set_dai_fmt() 101 if (ssi->flags & IMX_SSI_USE_I2S_SLAVE) { in imx_ssi_set_dai_fmt() [all …]
|
D | Makefile | 18 snd-soc-fsl-ssi-y := fsl_ssi.o 19 snd-soc-fsl-ssi-$(CONFIG_DEBUG_FS) += fsl_ssi_dbg.o 27 obj-$(CONFIG_SND_SOC_FSL_SSI) += snd-soc-fsl-ssi.o 43 snd-soc-imx-ssi-objs := imx-ssi.o 45 obj-$(CONFIG_SND_SOC_IMX_SSI) += snd-soc-imx-ssi.o
|
/Linux-v4.19/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 53 struct hsi_controller *ssi = m->private; in ssi_debug_show() local 54 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_debug_show() 57 pm_runtime_get_sync(ssi->device.parent); in ssi_debug_show() 61 pm_runtime_put(ssi->device.parent); in ssi_debug_show() 68 struct hsi_controller *ssi = m->private; in ssi_debug_gdd_show() local 69 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_debug_gdd_show() 74 pm_runtime_get_sync(ssi->device.parent); in ssi_debug_gdd_show() 115 pm_runtime_put(ssi->device.parent); in ssi_debug_gdd_show() 144 static int ssi_debug_add_ctrl(struct hsi_controller *ssi) in ssi_debug_add_ctrl() argument 146 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_debug_add_ctrl() [all …]
|
D | omap_ssi_port.c | 64 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_debug_port_show() local 65 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_debug_port_show() 216 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_claim_lch() local 217 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_claim_lch() 234 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_start_dma() local 235 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_start_dma() 254 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() 257 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma() 271 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() 274 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma() [all …]
|
/Linux-v4.19/sound/soc/sh/rcar/ |
D | ssi.c | 104 ((pos) = ((struct rsnd_ssi *)(priv)->ssi + i)); \ 107 #define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id) 110 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument 120 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_hdmi_port() local 122 if (rsnd_flags_has(ssi, RSND_SSI_HDMI0)) in rsnd_ssi_hdmi_port() 125 if (rsnd_flags_has(ssi, RSND_SSI_HDMI1)) in rsnd_ssi_hdmi_port() 134 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_use_busif() local 140 if (!(rsnd_flags_has(ssi, RSND_SSI_NO_BUSIF))) in rsnd_ssi_use_busif() 269 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_master_clk_start() local 286 if (ssi->rate) { in rsnd_ssi_master_clk_start() [all …]
|
D | dma.c | 336 struct rsnd_mod *ssi = rsnd_io_to_mod_ssi(io); in rsnd_dmapp_get_id() local 343 if (mod == ssi) { in rsnd_dmapp_get_id() 540 {{{ RDMA_SSI_O_N(ssi, id), 0 }, in rsnd_gen2_dma_addr() 541 { RDMA_SSIU_O_P(ssi, id), 0 }, in rsnd_gen2_dma_addr() 542 { RDMA_SSIU_O_P(ssi, id), 0 } }, in rsnd_gen2_dma_addr() 544 {{ 0, RDMA_SSI_I_N(ssi, id) }, in rsnd_gen2_dma_addr() 545 { 0, RDMA_SSIU_I_P(ssi, id) }, in rsnd_gen2_dma_addr() 546 { 0, RDMA_SSIU_I_P(ssi, id) } } in rsnd_gen2_dma_addr() 550 {{{ RDMA_SSIU_O_N(ssi, id), 0 }, in rsnd_gen2_dma_addr() 551 { RDMA_SSIU_O_P(ssi, id), 0 }, in rsnd_gen2_dma_addr() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/hsi/ |
D | omap-ssi.txt | 9 - compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi" 27 Each port is represented as a sub-node of the ti,omap3-ssi device. 31 ti,omap3-ssi-port (applicable to OMAP34xx devices) 38 - ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE 49 ssi-controller@48058000 { 50 compatible = "ti,omap3-ssi"; 53 ti,hwmods = "ssi"; 74 ssi-port@4805a000 { 75 compatible = "ti,omap3-ssi-port"; 86 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ [all …]
|
/Linux-v4.19/sound/soc/sh/ |
D | ssi.c | 62 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg))) 92 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_startup() local 93 if (ssi->inuse) { in ssi_startup() 97 ssi->inuse = 1; in ssi_startup() 104 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_shutdown() local 106 ssi->inuse = 0; in ssi_shutdown() 112 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_trigger() local 132 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_hw_params() local 211 struct ssi_priv *ssi = &ssi_cpu_data[cpu_dai->id]; in ssi_set_sysclk() local 213 ssi->sysclk = freq; in ssi_set_sysclk() [all …]
|
D | Makefile | 8 snd-soc-ssi-objs := ssi.o 12 obj-$(CONFIG_SND_SOC_SH4_SSI) += snd-soc-ssi.o
|
/Linux-v4.19/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.txt | 360 - rcar_sound,ssi : Should contain SSI feature. 382 "ssi-all", "ssi.X", "src.X", "mix.X", "ctu.X", 393 "ssi-all", "ssi.X" 429 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 444 clock-names = "ssi-all", 445 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", 446 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0", 532 rcar_sound,ssi { 533 ssi0: ssi-0 { 538 ssi1: ssi-1 { [all …]
|
D | fsl,ssi.txt | 9 fsl,mpc8610-ssi 10 fsl,imx51-ssi 11 fsl,imx35-ssi 12 fsl,imx21-ssi 46 - fsl,ssi-asynchronous: 83 "fsl,ssi-dma-channel". The SOC-specific compatible string (e.g.
|
D | eukrea-tlv320.txt | 9 - ssi-controller : The phandle of the SSI controller. 23 ssi-controller = <&ssi2>;
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | r8a7778.dtsi | 269 clock-names = "ssi.8", "ssi.7", "ssi.6", "ssi.5", "ssi.4", 270 "ssi.3", "ssi.2", "ssi.1", "ssi.0", 287 rcar_sound,ssi { 288 ssi3: ssi-3 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; 289 ssi4: ssi-4 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; 290 ssi5: ssi-5 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 291 ssi6: ssi-6 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 292 ssi7: ssi-7 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 293 ssi8: ssi-8 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 294 ssi9: ssi-9 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
|
D | r8a7794.dtsi | 964 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 980 clock-names = "ssi-all", 981 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 982 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 983 "ssi.1", "ssi.0", 997 reset-names = "ssi-all", 998 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 999 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1000 "ssi.1", "ssi.0"; 1067 rcar_sound,ssi { [all …]
|
D | r8a7793.dtsi | 998 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1014 clock-names = "ssi-all", 1015 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1016 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1017 "ssi.1", "ssi.0", 1030 reset-names = "ssi-all", 1031 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1032 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1033 "ssi.1", "ssi.0"; 1101 rcar_sound,ssi { [all …]
|
D | r8a7745.dtsi | 1126 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1142 clock-names = "ssi-all", 1143 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1144 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1145 "ssi.1", "ssi.0", 1158 reset-names = "ssi-all", 1159 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1160 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1161 "ssi.1", "ssi.0"; 1228 rcar_sound,ssi { [all …]
|
D | r8a7743.dtsi | 1216 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1234 clock-names = "ssi-all", 1235 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", 1236 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0", 1248 reset-names = "ssi-all", 1249 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", 1250 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0"; 1333 rcar_sound,ssi { 1334 ssi0: ssi-0 { 1339 ssi1: ssi-1 { [all …]
|
D | r8a7791.dtsi | 1151 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1169 clock-names = "ssi-all", 1170 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1171 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1172 "ssi.1", "ssi.0", "src.9", "src.8", 1186 reset-names = "ssi-all", 1187 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1188 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1189 "ssi.1", "ssi.0"; 1273 rcar_sound,ssi { [all …]
|
D | r8a7790.dtsi | 1112 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1130 clock-names = "ssi-all", 1131 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1132 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1133 "ssi.1", "ssi.0", 1148 reset-names = "ssi-all", 1149 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1150 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1151 "ssi.1", "ssi.0"; 1235 rcar_sound,ssi { [all …]
|
D | imx51.dtsi | 212 ssi2: ssi@70014000 { 214 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi"; 522 ssi1: ssi@83fcc000 { 524 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi"; 585 ssi3: ssi@83fe8000 { 587 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
|
D | imx53.dtsi | 274 ssi2: ssi@50014000 { 276 compatible = "fsl,imx53-ssi", 277 "fsl,imx51-ssi", 278 "fsl,imx21-ssi"; 742 ssi1: ssi@63fcc000 { 744 compatible = "fsl,imx53-ssi", "fsl,imx51-ssi", 745 "fsl,imx21-ssi"; 772 ssi3: ssi@63fe8000 { 774 compatible = "fsl,imx53-ssi", "fsl,imx51-ssi", 775 "fsl,imx21-ssi";
|
/Linux-v4.19/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd_dvbt_mon.c | 669 int rf_lvl, u8 *ssi) in dvbt_calc_ssi() argument 676 if (!tnr_dmd || !ssi) in dvbt_calc_ssi() 700 *ssi = (temp_ssi > 100) ? 100 : (u8)temp_ssi; in dvbt_calc_ssi() 706 u8 *ssi) in cxd2880_tnrdmd_dvbt_mon_ssi() argument 711 if (!tnr_dmd || !ssi) in cxd2880_tnrdmd_dvbt_mon_ssi() 727 return dvbt_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt_mon_ssi() 731 u8 *ssi) in cxd2880_tnrdmd_dvbt_mon_ssi_sub() argument 736 if (!tnr_dmd || !ssi) in cxd2880_tnrdmd_dvbt_mon_ssi_sub() 752 return dvbt_calc_ssi(tnr_dmd, rf_lvl, ssi); in cxd2880_tnrdmd_dvbt_mon_ssi_sub()
|
D | cxd2880_tnrdmd_dvbt_mon.h | 72 u8 *ssi); 75 u8 *ssi);
|