/openbmc/linux/drivers/hsi/clients/ |
H A D | ssi_protocol.c | 5 * Implementation of the SSI McSAAB improved protocol. 46 * SSI protocol command definitions 102 * struct ssi_protocol - SSI protocol (McSAAB) data 112 * @keep_alive: Workaround for SSI HW bug 146 /* List of ssi protocol instances */ 199 static struct hsi_msg *ssip_alloc_data(struct ssi_protocol *ssi, in ssip_alloc_data() argument 209 msg->channel = ssi->channel_id_data; in ssip_alloc_data() 217 struct ssi_protocol *ssi = hsi_client_drvdata(msg->cl); in ssip_release_cmd() local 220 spin_lock_bh(&ssi->lock); in ssip_release_cmd() 221 list_add_tail(&msg->link, &ssi->cmdqueue); in ssip_release_cmd() [all …]
|
H A D | Kconfig | 28 tristate "SSI protocol" 31 If you say Y here, you will enable the SSI protocol aka McSAAB. 36 tristate "HSI/SSI character driver" 39 If you say Y here, you will enable the HSI/SSI character driver. 41 serial communication with the cellular modem over HSI/SSI bus.
|
/openbmc/linux/sound/soc/sh/ |
H A D | rz-ssi.c | 28 /* SSI REGISTER BITS */ 85 int fifo_sample_size; /* sample capacity of SSI FIFO */ 97 int (*transfer)(struct rz_ssi_priv *ssi, struct rz_ssi_stream *strm); 117 * The SSI supports full-duplex transmission and reception. 166 static inline bool rz_ssi_stream_is_play(struct rz_ssi_priv *ssi, in rz_ssi_stream_is_play() argument 173 rz_ssi_stream_get(struct rz_ssi_priv *ssi, struct snd_pcm_substream *substream) in rz_ssi_stream_get() argument 175 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get() 178 stream = &ssi->capture; in rz_ssi_stream_get() 183 static inline bool rz_ssi_is_dma_enabled(struct rz_ssi_priv *ssi) in rz_ssi_is_dma_enabled() argument 185 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled() [all …]
|
H A D | ssi.c | 8 // enable SSI output pins! 12 * The SSI unit has only one physical data line, so full duplex is 14 * other SSI unit for recording; however the SH7780 has only 1 SSI 18 * The SSI features "compressed mode": in this mode it continuously 57 #define CR_MUTE (1 << 3) /* SSI mute */ 60 #define CR_EN (1 << 0) /* enable SSI */ 62 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg))) 86 * track usage of the SSI; it is simplex-only so prevent attempts of 92 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_startup() local 93 if (ssi->inuse) { in ssi_startup() [all …]
|
H A 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
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 3 // Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver 11 // The i.MX SSI core has some nasty limitations in AC97 mode. While most 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 60 * FSLSSI_I2S_FORMATS: audio formats supported by the SSI 62 * The SSI has a limitation in that the samples must be in the same byte 91 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS 201 bool imx21regs; /* imx21-class SSI - no SACC{ST,EN,DIS} regs */ 207 * struct fsl_ssi - per-SSI private data 209 * @irq: IRQ of this SSI 220 * @fifo_depth: Depth of the SSI FIFOs [all …]
|
H A D | fsl_ssi.h | 3 * fsl_ssi.h - ALSA SSI interface for the Freescale MPC8610 and i.MX SoC 13 /* -- SSI Register Map -- */ 15 /* SSI Transmit Data Register 0 */ 17 /* SSI Transmit Data Register 1 */ 19 /* SSI Receive Data Register 0 */ 21 /* SSI Receive Data Register 1 */ 23 /* SSI Control Register */ 25 /* SSI Interrupt Status Register */ 27 /* SSI Interrupt Enable Register */ 29 /* SSI Transmit Configuration Register */ [all …]
|
H A D | p1022_rdk.c | 38 #define CCSR_GUTS_DMUXCR_SSI 2 /* DMA controller/channel set to SSI */ 101 /* Enable SSI Tx signal */ in p1022_rdk_machine_probe() 105 /* Enable SSI Rx signal */ in p1022_rdk_machine_probe() 109 /* Enable DMA Channel for SSI */ in p1022_rdk_machine_probe() 158 * This function is called to remove the sound device for one SSI. We 194 * Although this is a machine driver, the SSI node is the "master" node with 196 * device for each new SSI node that has a codec attached. 201 /* ssi_pdev is the platform device for the SSI node that probed us */ in p1022_rdk_probe() 210 /* Find the codec node for this SSI. */ in p1022_rdk_probe() 252 * We register two DAIs per SSI, one for playback and the other for in p1022_rdk_probe() [all …]
|
/openbmc/linux/drivers/hsi/controllers/ |
H A D | omap_ssi_core.c | 2 /* OMAP SSI driver. 42 struct hsi_controller *ssi = m->private; in ssi_regs_show() local 43 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_regs_show() 46 pm_runtime_get_sync(ssi->device.parent); in ssi_regs_show() 50 pm_runtime_put(ssi->device.parent); in ssi_regs_show() 57 struct hsi_controller *ssi = m->private; in ssi_gdd_regs_show() local 58 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_gdd_regs_show() 63 pm_runtime_get_sync(ssi->device.parent); in ssi_gdd_regs_show() 104 pm_runtime_put(ssi->device.parent); in ssi_gdd_regs_show() 112 static int ssi_debug_add_ctrl(struct hsi_controller *ssi) in ssi_debug_add_ctrl() argument [all …]
|
H A D | omap_ssi.h | 2 /* OMAP SSI internal interface. 50 * struct omap_ssi_port - OMAP SSI port data 53 * @sst_dma: SSI transmitter physical base address 54 * @ssr_dma: SSI receiver physical base address 55 * @sst_base: SSI transmitter base address 56 * @ssr_base: SSI receiver base address 58 * @lock: Spin lock to serialize access to the SSI port 97 /* OMAP SSI port context */ 119 * struct omap_ssi_controller - OMAP SSI controller data 121 * @sys: SSI I/O base address [all …]
|
H A D | omap_ssi_port.c | 2 /* OMAP SSI port driver. 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() 187 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_claim_lch() local 188 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_claim_lch() 205 struct hsi_controller *ssi = to_hsi_controller(port->device.parent); in ssi_start_dma() local 206 struct omap_ssi_controller *omap_ssi = hsi_controller_drvdata(ssi); in ssi_start_dma() 225 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() 228 dev_dbg(&ssi->device, "DMA map SG failed !\n"); in ssi_start_dma() 242 err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, in ssi_start_dma() [all …]
|
H A D | Kconfig | 8 tristate "OMAP SSI hardware driver" 12 SSI is a legacy version of HSI. It is usually used to connect 14 If you say Y here, you will enable the OMAP SSI hardware driver.
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | ssi.c | 3 // Renesas R-Car SSIU/SSI support 13 * SSI interrupt status debug message when debugging 61 #define EN (1 << 0) /* SSI Module Enable */ 77 #define SSI_NAME "ssi" 101 #define RSND_SSI_NO_BUSIF (1 << 1) /* SSI+DMA without BUSIF */ 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() [all …]
|
H A 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() 558 * SSI : 0xec541000 / 0xec241008 / 0xec24100c 612 /* SSI */ in rsnd_gen2_dma_addr() 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() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | renesas,rz-ssi.yaml | 4 $id: http://devicetree.org/schemas/sound/renesas,rz-ssi.yaml# 19 - renesas,r9a07g043-ssi # RZ/G2UL 20 - renesas,r9a07g044-ssi # RZ/G2{L,LC} 21 - renesas,r9a07g054-ssi # RZ/V2L 22 - const: renesas,rz-ssi 46 - const: ssi 62 The second cell specifies the encoded MID/RID values of the SSI port 65 bits[0:9] - Specifies MID/RID value of a SSI channel as below 66 MID/RID value of SSI rx0 = 0x256 67 MID/RID value of SSI tx0 = 0x255 [all …]
|
H A D | renesas,rsnd.yaml | 118 description: References to SSI/SRC/MIX/CTU/DVC/AUDIO_CLK clocks. 209 rcar_sound,ssi: 210 description: SSI subnode. 213 "^ssi-[0-9]$": 239 description: BUSIF is not used when [mem -> SSI] via DMA case 301 - ssi 321 - ssi 338 - ssi 355 - ssi.0 365 - const: ssi-all [all …]
|
H A D | fsl,ssi.txt | 3 The SSI is a serial device that communicates with audio codecs. It can 9 fsl,mpc8610-ssi 10 fsl,imx51-ssi 11 fsl,imx35-ssi 12 fsl,imx21-ssi 13 - cell-index: The SSI, <0> = SSI1, <1> = SSI2, and so on. 23 - clocks: "ipg" - Required clock for the SSI unit 24 "baud" - Required clock for SSI master mode. Otherwise this 33 codec connected to this SSI. This node is typically 37 where an incompatible codec is connected to this SSI, e.g. [all …]
|
H A D | renesas,rsnd.txt | 17 SSI : Serial Sound Interface 25 Multi channel is supported by Multi-SSI, or TDM-SSI. 27 Multi-SSI : 6ch case, you can use stereo x 3 SSI 28 TDM-SSI : 6ch case, you can use TDM 185 But you can't use it if SSI was PIO mode. 186 In DMA mode, you can select not to use SSIU by using "no-busif" via SSI. 192 and these sounds will be merged SSIU/SSI. 211 * SSI (Serial Sound Interface) 217 Note: The system will drop non-SSI modules in PIO mode 235 Each SSI can share WS pin. It is based on platform. [all …]
|
/openbmc/qemu/hw/ssi/ |
H A D | Kconfig | 3 select SSI 7 select SSI 9 config SSI config 14 select SSI 18 select SSI 22 select SSI 26 select SSI 30 select SSI 34 select SSI
|
/openbmc/linux/Documentation/devicetree/bindings/hsi/ |
H A D | omap-ssi.txt | 1 OMAP SSI controller bindings 3 OMAP3's Synchronous Serial Interface (SSI) controller implements a 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 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | snps,dw-apb-ssi.yaml | 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 30 - baikal,bt1-sys-ssi 57 - snps,dw-apb-ssi 58 - snps,dwc-ssi-1.01a 64 - const: snps,dw-apb-ssi 68 const: amazon,alpine-dw-apb-ssi 72 - const: snps,dw-apb-ssi 74 const: intel,keembay-ssi 76 const: intel,thunderbay-ssi 78 const: intel,mountevans-imc-ssi [all …]
|
/openbmc/qemu/include/hw/ssi/ |
H A D | ssi.h | 4 * In principle SSI is a point-point interface. As such the qemu 21 #define TYPE_SSI_PERIPHERAL "ssi-peripheral" 25 #define SSI_GPIO_CS "ssi-gpio-cs" 84 * ssi_realize_and_unref: realize and unref an SSI peripheral 85 * @dev: SSI peripheral to realize 86 * @bus: SSI bus to put it on 99 * If you are embedding the SSI peripheral into another QOM device and
|
/openbmc/linux/arch/mips/boot/dts/ingenic/ |
H A 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";
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7778.dtsi | 251 <0xffd91000 0x240>, /* SSI */ 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>; }; [all …]
|
H A D | r8a7793.dtsi | 1001 <0 0xec541000 0 0x280>, /* SSI */ 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"; [all …]
|