Home
last modified time | relevance | path

Searched full:xspi (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/spi/
H A Dspi-cadence.c143 static inline u32 cdns_spi_read(struct cdns_spi *xspi, u32 offset) in cdns_spi_read() argument
145 return readl_relaxed(xspi->regs + offset); in cdns_spi_read()
148 static inline void cdns_spi_write(struct cdns_spi *xspi, u32 offset, u32 val) in cdns_spi_write() argument
150 writel_relaxed(val, xspi->regs + offset); in cdns_spi_write()
155 * @xspi: Pointer to the cdns_spi structure
165 static void cdns_spi_init_hw(struct cdns_spi *xspi, bool is_target) in cdns_spi_init_hw() argument
172 if (xspi->is_decoded_cs) in cdns_spi_init_hw()
175 cdns_spi_write(xspi, CDNS_SPI_ER, CDNS_SPI_ER_DISABLE); in cdns_spi_init_hw()
176 cdns_spi_write(xspi, CDNS_SPI_IDR, CDNS_SPI_IXR_ALL); in cdns_spi_init_hw()
179 while (cdns_spi_read(xspi, CDNS_SPI_ISR) & CDNS_SPI_IXR_RXNEMTY) in cdns_spi_init_hw()
[all …]
H A Dspi-axiado.c26 * @xspi: Pointer to the ax_spi structure
31 static inline u32 ax_spi_read(struct ax_spi *xspi, u32 offset) in ax_spi_read() argument
33 return readl_relaxed(xspi->regs + offset); in ax_spi_read()
38 * @xspi: Pointer to the ax_spi structure
42 static inline void ax_spi_write(struct ax_spi *xspi, u32 offset, u32 val) in ax_spi_write() argument
44 writel_relaxed(val, xspi->regs + offset); in ax_spi_write()
49 * @xspi: Pointer to the ax_spi structure
53 static inline void ax_spi_write_b(struct ax_spi *xspi, u32 offset, u8 val) in ax_spi_write_b() argument
55 writeb_relaxed(val, xspi->regs + offset); in ax_spi_write_b()
60 * @xspi: Pointer to the ax_spi structure
[all …]
H A Dspi-fsl-dspi.c369 * individually (in XSPI mode)
883 * dspi_pushr_cmd_write with XSPI mode. As for how much in advance? One in dspi_pushr_cmd_write()
1005 * Update CTAR here (code is common for XSPI and DMA modes). in dspi_setup_accel()
1006 * We will update CTARE in the portion specific to XSPI, when we in dspi_setup_accel()
1023 /* In XSPI mode each 32-bit word occupies 2 TX FIFO entries */ in dspi_fifo_write()
/linux/drivers/memory/
H A Drenesas-rpc-if.c22 #include "renesas-xspi-if-regs.h"
78 u8 addr_nbytes; /* Specified for xSPI */
79 u32 proto; /* Specified for xSPI */
182 struct rpcif_priv *xspi = context; in xspi_reg_read() local
184 *val = readl(xspi->base + reg); in xspi_reg_read()
190 struct rpcif_priv *xspi = context; in xspi_reg_write() local
192 writel(val, xspi->base + reg); in xspi_reg_write()
214 rpcif->xspi = rpc->info->type == XSPI_RZ_G3E; in rpcif_sw_init()
290 static int xspi_hw_init_impl(struct rpcif_priv *xspi, bool hyperflash) in xspi_hw_init_impl() argument
294 ret = reset_control_reset(xspi->rstc); in xspi_hw_init_impl()
[all …]
H A Drenesas-xspi-if-regs.h3 * RZ xSPI Interface Registers Definitions
13 /* xSPI Wrapper Configuration Register */
16 /* xSPI Bridge Configuration Register */
23 /* xSPI Command Map Configuration Register 0 CS0 */
28 /* xSPI Command Map Configuration Register 1 CS0 */
34 /* xSPI Command Map Configuration Register 2 CS0 */
40 /* xSPI Link I/O Configuration Register CS0 */
47 /* xSPI Bridge Map Control Register 0 */
51 /* xSPI Bridge Map Control Register 1 */
55 /* xSPI Command Manual Control Register 0 */
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Drenesas,rzg3e-xspi.yaml4 $id: http://devicetree.org/schemas/memory-controllers/renesas,rzg3e-xspi.yaml#
7 title: Renesas Expanded Serial Peripheral Interface (xSPI)
13 Renesas xSPI allows a SPI flash connected to the SoC to be accessed via
16 The flash chip itself should be represented by a subnode of the XSPI node.
27 - const: renesas,r9a09g047-xspi # RZ/G3E
31 - renesas,r9a09g056-xspi # RZ/V2N
32 - renesas,r9a09g057-xspi # RZ/V2H(P)
33 - const: renesas,r9a09g047-xspi
37 - description: xSPI registers
82 renesas,xspi-cs-addr-sys:
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dcdns,xspi.yaml5 $id: http://devicetree.org/schemas/spi/cdns,xspi.yaml#
8 title: Cadence XSPI Controller
14 The XSPI controller allows SPI protocol communication in
21 - cdns,xspi-nor
22 - marvell,cn10-xspi-nor
55 - marvell,cn10-xspi-nor
78 xspi: spi@a0010000 {
81 compatible = "cdns,xspi-nor";
/linux/include/dt-bindings/memory/
H A Dtegra234-mc.h289 /* XSPI writes */
339 /* XSPI client */
341 /* XSPI writes */
343 /* XSPI client */
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx94/sys/
H A Dmetrics.json355 "BriefDescription": "bytes of xspi read from ddr",
356 "MetricName": "imx94_ddr_read.xspi",
363 "BriefDescription": "bytes of xspi write to ddr",
364 "MetricName": "imx94_ddr_write.xspi",
/linux/Documentation/devicetree/bindings/soc/renesas/
H A Drenesas,r9a09g057-sys.yaml18 - Control of settings and states of SRAM/PCIe/CM33/CA55/CR8/xSPI/ADC/TSU
/linux/include/memory/
H A Drenesas-rpc-if.h71 bool xspi; member
/linux/drivers/mtd/spi-nor/
H A Dsfdp.c24 #define SFDP_PROFILE1_ID 0xff05 /* xSPI Profile 1.0 table. */
1132 * Since xSPI Page Program opcode is backward compatible with in spi_nor_parse_4bait()
1180 * spi_nor_parse_profile1() - parse the xSPI Profile 1.0 table
1254 * Page Program is "Required Command" in the xSPI Profile 1.0. Update in spi_nor_parse_profile1()
H A Dcore.c2852 * Since xSPI Page Program opcode is backward compatible with in spi_nor_no_sfdp_init_params()
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a09g057.dtsi318 xspi: spi@11030000 { label
319 compatible = "renesas,r9a09g057-xspi", "renesas,r9a09g047-xspi";
/linux/
H A DMAINTAINERS19159 NXP XSPI DRIVER
19165 F: Documentation/devicetree/bindings/spi/nxp,imx94-xspi.yaml
19166 F: drivers/spi/spi-nxp-xspi.c