Searched refs:espi (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/spi/
H A Dspi-ep93xx.c115 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
116 unsigned long spi_clk_rate = clk_get_rate(espi->clk);
150 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
173 writel(div_cpsr, espi->mmio + SSPCPSR);
174 writel(cr0, espi->mmio + SSPCR0);
181 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
187 val = ((u16 *)xfer->tx_buf)[espi->tx];
188 espi->tx += 2;
191 val = ((u8 *)xfer->tx_buf)[espi->tx];
192 espi
199 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
228 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
275 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
379 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
406 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
440 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
486 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
522 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
549 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
566 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
587 ep93xx_spi_setup_dma(struct ep93xx_spi *espi) argument
632 ep93xx_spi_release_dma(struct ep93xx_spi *espi) argument
651 struct ep93xx_spi *espi; local
744 struct ep93xx_spi *espi = spi_controller_get_devdata(host); local
[all...]
H A Dspi-fsl-espi.c116 static inline u32 fsl_espi_read_reg(struct fsl_espi *espi, int offset) argument
118 return ioread32be(espi->reg_base + offset);
121 static inline u16 fsl_espi_read_reg16(struct fsl_espi *espi, int offset) argument
123 return ioread16be(espi->reg_base + offset);
126 static inline u8 fsl_espi_read_reg8(struct fsl_espi *espi, int offset) argument
128 return ioread8(espi->reg_base + offset);
131 static inline void fsl_espi_write_reg(struct fsl_espi *espi, int offset, argument
134 iowrite32be(val, espi->reg_base + offset);
137 static inline void fsl_espi_write_reg16(struct fsl_espi *espi, int offset, argument
140 iowrite16be(val, espi
143 fsl_espi_write_reg8(struct fsl_espi *espi, int offset, u8 val) argument
151 struct fsl_espi *espi = spi_controller_get_devdata(m->spi->controller); local
214 fsl_espi_fill_tx_fifo(struct fsl_espi *espi, u32 events) argument
271 fsl_espi_read_rx_fifo(struct fsl_espi *espi, u32 events) argument
326 struct fsl_espi *espi = spi_controller_get_devdata(spi->controller); local
354 struct fsl_espi *espi = spi_controller_get_devdata(spi->controller); local
399 struct fsl_espi *espi = spi_controller_get_devdata(m->spi->controller); local
480 struct fsl_espi *espi; local
530 fsl_espi_cpu_irq(struct fsl_espi *espi, u32 events) argument
559 struct fsl_espi *espi = context_data; local
588 struct fsl_espi *espi = spi_controller_get_devdata(host); local
601 struct fsl_espi *espi = spi_controller_get_devdata(host); local
620 struct fsl_espi *espi = spi_controller_get_devdata(host); local
668 struct fsl_espi *espi; local
[all...]
H A DMakefile58 obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c4 * File: espi.c *
32 #include "espi.h"
108 void t1_espi_intr_enable(struct peespi *espi) argument
110 u32 enable, pl_intr = readl(espi->adapter->regs + A_PL_ENABLE);
119 enable = t1_is_T1B(espi->adapter) ? 0 : ESPI_INTR_MASK;
120 writel(enable, espi->adapter->regs + A_ESPI_INTR_ENABLE);
121 writel(pl_intr | F_PL_INTR_ESPI, espi->adapter->regs + A_PL_ENABLE);
124 void t1_espi_intr_clear(struct peespi *espi) argument
126 readl(espi->adapter->regs + A_ESPI_DIP2_ERR_COUNT);
127 writel(0xffffffff, espi
131 t1_espi_intr_disable(struct peespi *espi) argument
139 t1_espi_intr_handler(struct peespi *espi) argument
173 t1_espi_get_intr_counts(struct peespi *espi) argument
228 t1_espi_init(struct peespi *espi, int mac_type, int nports) argument
276 t1_espi_destroy(struct peespi *espi) argument
283 struct peespi *espi = kzalloc(sizeof(*espi), GFP_KERNEL); local
307 struct peespi *espi = adapter->espi; local
338 struct peespi *espi = adapter->espi; local
[all...]
H A Despi.h4 * File: espi.h *
46 void t1_espi_destroy(struct peespi *espi);
47 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
53 const struct espi_intr_counts *t1_espi_get_intr_counts(struct peespi *espi);
H A DMakefile9 cxgb-objs := cxgb2.o espi.o tp.o pm3393.o sge.o subr.o \
H A Dsubr.c37 #include "espi.h"
766 if (adapter->espi) {
768 t1_espi_intr_enable(adapter->espi);
798 if (adapter->espi)
799 t1_espi_intr_disable(adapter->espi);
824 if (adapter->espi)
825 t1_espi_intr_clear(adapter->espi);
863 t1_espi_intr_handler(adapter->espi);
992 if (adapter->espi && t1_espi_init(adapter->espi, b
[all...]
H A Dcommon.h236 struct peespi *espi; member in struct:adapter
H A Dcxgb2.c55 #include "espi.h"
522 if (adapter->espi) {
525 e = t1_espi_get_intr_counts(adapter->espi);
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dp1020si-post.dtsi129 /include/ "pq3-espi-0.dtsi"
131 fsl,espi-num-chipselects = <4>;
H A Dp1021si-post.dtsi129 /include/ "pq3-espi-0.dtsi"
131 fsl,espi-num-chipselects = <4>;
H A Dp1023si-post.dtsi191 /include/ "pq3-espi-0.dtsi"
193 fsl,espi-num-chipselects = <4>;
/linux-master/drivers/pinctrl/nuvoton/
H A Dpinctrl-npcm7xx.c629 NPCM7XX_GRP(espi), \
772 NPCM7XX_SFUNC(espi); variable
890 NPCM7XX_MKFUNC(espi),
1022 NPCM7XX_PINCFG(95, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1091 NPCM7XX_PINCFG(161, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, DSTR(8, 12)),
1093 NPCM7XX_PINCFG(163, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1094 NPCM7XX_PINCFG(164, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1095 NPCM7XX_PINCFG(165, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1096 NPCM7XX_PINCFG(166, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1097 NPCM7XX_PINCFG(167, lpc, NONE, 0, espi, MFSEL
[all...]
H A Dpinctrl-npcm8xx.c812 NPCM8XX_GRP(espi), \
1060 NPCM8XX_SFUNC(espi); variable
1284 NPCM8XX_MKFUNC(espi),
1426 NPCM8XX_PINCFG(95, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1492 NPCM8XX_PINCFG(161, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1494 NPCM8XX_PINCFG(163, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1495 NPCM8XX_PINCFG(164, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1496 NPCM8XX_PINCFG(165, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1497 NPCM8XX_PINCFG(166, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1498 NPCM8XX_PINCFG(167, lpc, MFSEL1, 26, espi, MFSEL
[all...]

Completed in 213 milliseconds