/linux-6.1.9/sound/soc/fsl/ |
D | fsl_ssi.c | 352 static bool fsl_ssi_is_ac97(struct fsl_ssi *ssi) in fsl_ssi_is_ac97() argument 354 return (ssi->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) == in fsl_ssi_is_ac97() 358 static bool fsl_ssi_is_i2s_clock_provider(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_clock_provider() argument 360 return (ssi->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) == in fsl_ssi_is_i2s_clock_provider() 364 static bool fsl_ssi_is_i2s_bc_fp(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_bc_fp() argument 366 return (ssi->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) == in fsl_ssi_is_i2s_bc_fp() 377 struct fsl_ssi *ssi = dev_id; in fsl_ssi_isr() local 378 struct regmap *regs = ssi->regs; in fsl_ssi_isr() 383 sisr2 = sisr & ssi->soc->sisr_write_mask; in fsl_ssi_isr() 388 fsl_ssi_dbg_isr(&ssi->dbg_stats, sisr); in fsl_ssi_isr() [all …]
|
/linux-6.1.9/drivers/hsi/clients/ |
D | ssi_protocol.c | 201 static struct hsi_msg *ssip_alloc_data(struct ssi_protocol *ssi, in ssip_alloc_data() argument 211 msg->channel = ssi->channel_id_data; in ssip_alloc_data() 219 struct ssi_protocol *ssi = hsi_client_drvdata(msg->cl); in ssip_release_cmd() local 222 spin_lock_bh(&ssi->lock); in ssip_release_cmd() 223 list_add_tail(&msg->link, &ssi->cmdqueue); in ssip_release_cmd() 224 spin_unlock_bh(&ssi->lock); in ssip_release_cmd() 227 static struct hsi_msg *ssip_claim_cmd(struct ssi_protocol *ssi) in ssip_claim_cmd() argument 231 BUG_ON(list_empty(&ssi->cmdqueue)); in ssip_claim_cmd() 233 spin_lock_bh(&ssi->lock); in ssip_claim_cmd() 234 msg = list_first_entry(&ssi->cmdqueue, struct hsi_msg, link); in ssip_claim_cmd() [all …]
|
/linux-6.1.9/sound/soc/sh/ |
D | rz-ssi.c | 97 int (*transfer)(struct rz_ssi_priv *ssi, struct rz_ssi_stream *strm); 165 static inline bool rz_ssi_stream_is_play(struct rz_ssi_priv *ssi, in rz_ssi_stream_is_play() argument 172 rz_ssi_stream_get(struct rz_ssi_priv *ssi, struct snd_pcm_substream *substream) in rz_ssi_stream_get() argument 174 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get() 177 stream = &ssi->capture; in rz_ssi_stream_get() 182 static inline bool rz_ssi_is_dma_enabled(struct rz_ssi_priv *ssi) in rz_ssi_is_dma_enabled() argument 184 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled() 190 struct rz_ssi_priv *ssi = strm->priv; in rz_ssi_set_substream() local 193 spin_lock_irqsave(&ssi->lock, flags); in rz_ssi_set_substream() 195 spin_unlock_irqrestore(&ssi->lock, flags); in rz_ssi_set_substream() [all …]
|
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 27 snd-soc-rz-ssi-objs := rz-ssi.o 28 obj-$(CONFIG_SND_SOC_RZ) += snd-soc-rz-ssi.o
|
/linux-6.1.9/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 40 struct hsi_controller *ssi = m->private; in ssi_regs_show() local 41 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_regs_show() 44 pm_runtime_get_sync(ssi->device.parent); in ssi_regs_show() 48 pm_runtime_put(ssi->device.parent); in ssi_regs_show() 55 struct hsi_controller *ssi = m->private; in ssi_gdd_regs_show() local 56 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_gdd_regs_show() 61 pm_runtime_get_sync(ssi->device.parent); in ssi_gdd_regs_show() 102 pm_runtime_put(ssi->device.parent); in ssi_gdd_regs_show() 110 static int ssi_debug_add_ctrl(struct hsi_controller *ssi) in ssi_debug_add_ctrl() argument 112 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_debug_add_ctrl() [all …]
|
D | omap_ssi_port.c | 51 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_port_regs_show() local 52 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_port_regs_show() 193 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_claim_lch() local 194 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_claim_lch() 211 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_start_dma() local 212 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_start_dma() 231 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() 234 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma() 248 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() 251 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma() [all …]
|
/linux-6.1.9/sound/soc/sh/rcar/ |
D | ssi.c | 107 ((pos) = ((struct rsnd_ssi *)(priv)->ssi + i)); \ 110 #define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id) 113 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument 123 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_use_busif() local 129 if (!(rsnd_flags_has(ssi, RSND_SSI_NO_BUSIF))) in rsnd_ssi_use_busif() 270 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_master_clk_start() local 292 if (ssi->usrcnt > 0) { in rsnd_ssi_master_clk_start() 293 if (ssi->rate != rate) { in rsnd_ssi_master_clk_start() 298 if (ssi->chan != chan) { in rsnd_ssi_master_clk_start() 326 ssi->cr_clk = FORCE | rsnd_rdai_width_to_swl(rdai) | in rsnd_ssi_master_clk_start() [all …]
|
D | dma.c | 382 struct rsnd_mod *ssi = rsnd_io_to_mod_ssi(io); in rsnd_dmapp_get_id() local 390 if ((mod == ssi) || in rsnd_dmapp_get_id() 614 {{{ RDMA_SSI_O_N(ssi, id), 0 }, in rsnd_gen2_dma_addr() 615 { RDMA_SSIU_O_P(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr() 616 { RDMA_SSIU_O_P(ssi, id, busif), 0 } }, in rsnd_gen2_dma_addr() 618 {{ 0, RDMA_SSI_I_N(ssi, id) }, in rsnd_gen2_dma_addr() 619 { 0, RDMA_SSIU_I_P(ssi, id, busif) }, in rsnd_gen2_dma_addr() 620 { 0, RDMA_SSIU_I_P(ssi, id, busif) } } in rsnd_gen2_dma_addr() 624 {{{ RDMA_SSIU_O_N(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr() 625 { RDMA_SSIU_O_P(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr() [all …]
|
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.yaml | 107 - const: ssi-all 108 - pattern: '^ssi\.[0-9]$' 209 rcar_sound,ssi: 213 "^ssi-[0-9]$": 291 - ssi 304 - ssi 319 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 338 clock-names = "ssi-all", 339 "ssi.9", "ssi.8", 340 "ssi.7", "ssi.6", [all …]
|
D | renesas,rz-ssi.yaml | 4 $id: http://devicetree.org/schemas/sound/renesas,rz-ssi.yaml# 16 - renesas,r9a07g043-ssi # RZ/G2UL 17 - renesas,r9a07g044-ssi # RZ/G2{L,LC} 18 - renesas,r9a07g054-ssi # RZ/V2L 19 - const: renesas,rz-ssi 39 - const: ssi 100 ssi0: ssi@10049c00 { 101 compatible = "renesas,r9a07g044-ssi", 102 "renesas,rz-ssi"; 113 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
|
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.
|
/linux-6.1.9/Documentation/devicetree/bindings/spi/ |
D | snps,dw-apb-ssi.yaml | 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 30 - baikal,bt1-sys-ssi 46 - snps,dw-apb-ssi 47 - snps,dwc-ssi-1.01a 53 - const: snps,dw-apb-ssi 57 const: amazon,alpine-dw-apb-ssi 61 - const: snps,dw-apb-ssi 63 const: intel,keembay-ssi 65 const: intel,thunderbay-ssi 67 const: baikal,bt1-ssi [all …]
|
/linux-6.1.9/arch/mips/boot/dts/ingenic/ |
D | cu1000-neo.dts | 68 &ssi { 192 pins_ssi: ssi { 193 function = "ssi"; 194 groups = "ssi-dt-d", "ssi-dr-d", "ssi-clk-d", "ssi-ce0-d";
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | r8a7778.dtsi | 273 clock-names = "ssi.8", "ssi.7", "ssi.6", "ssi.5", "ssi.4", 274 "ssi.3", "ssi.2", "ssi.1", "ssi.0", 291 rcar_sound,ssi { 292 ssi3: ssi-3 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; 293 ssi4: ssi-4 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; 294 ssi5: ssi-5 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 295 ssi6: ssi-6 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 296 ssi7: ssi-7 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 297 ssi8: ssi-8 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; 298 ssi9: ssi-9 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
|
D | r8a7793.dtsi | 1003 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1019 clock-names = "ssi-all", 1020 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1021 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1022 "ssi.1", "ssi.0", 1035 reset-names = "ssi-all", 1036 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1037 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1038 "ssi.1", "ssi.0"; 1106 rcar_sound,ssi { [all …]
|
D | r8a7794.dtsi | 970 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 986 clock-names = "ssi-all", 987 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 988 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 989 "ssi.1", "ssi.0", 1003 reset-names = "ssi-all", 1004 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1005 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1006 "ssi.1", "ssi.0"; 1073 rcar_sound,ssi { [all …]
|
D | r8a7745.dtsi | 1135 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1151 clock-names = "ssi-all", 1152 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1153 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1154 "ssi.1", "ssi.0", 1167 reset-names = "ssi-all", 1168 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1169 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1170 "ssi.1", "ssi.0"; 1237 rcar_sound,ssi { [all …]
|
D | r8a7743.dtsi | 1205 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1223 clock-names = "ssi-all", 1224 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", 1225 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0", 1237 reset-names = "ssi-all", 1238 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", 1239 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0"; 1322 rcar_sound,ssi { 1323 ssi0: ssi-0 { 1328 ssi1: ssi-1 { [all …]
|
D | r8a7790.dtsi | 1124 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", 1160 reset-names = "ssi-all", 1161 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1162 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1163 "ssi.1", "ssi.0"; 1247 rcar_sound,ssi { [all …]
|
D | r8a7791.dtsi | 1238 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1256 clock-names = "ssi-all", 1257 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1258 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1259 "ssi.1", "ssi.0", "src.9", "src.8", 1273 reset-names = "ssi-all", 1274 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1275 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1276 "ssi.1", "ssi.0"; 1360 rcar_sound,ssi { [all …]
|
D | r8a7742.dtsi | 1170 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1188 clock-names = "ssi-all", 1189 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1190 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1191 "ssi.1", "ssi.0", 1206 reset-names = "ssi-all", 1207 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1208 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1209 "ssi.1", "ssi.0"; 1293 rcar_sound,ssi { [all …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/arm64/boot/dts/renesas/ |
D | r8a774c0.dtsi | 1338 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1357 clock-names = "ssi-all", 1358 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1359 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1360 "ssi.1", "ssi.0", 1375 reset-names = "ssi-all", 1376 "ssi.9", "ssi.8", "ssi.7", "ssi.6", 1377 "ssi.5", "ssi.4", "ssi.3", "ssi.2", 1378 "ssi.1", "ssi.0"; 1461 rcar_sound,ssi { [all …]
|