| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-fsl-espi.c | 3 * Freescale eSPI controller driver. 22 /* eSPI Controller registers */ 23 #define ESPI_SPMODE 0x00 /* eSPI mode register */ 24 #define ESPI_SPIE 0x04 /* eSPI event register */ 25 #define ESPI_SPIM 0x08 /* eSPI mask register */ 26 #define ESPI_SPCOM 0x0c /* eSPI command register */ 27 #define ESPI_SPITF 0x10 /* eSPI transmit FIFO access register*/ 28 #define ESPI_SPIRF 0x14 /* eSPI receive FIFO access register*/ 29 #define ESPI_SPMODE0 0x20 /* eSPI cs0 mode register */ 33 /* eSPI Controller mode register definitions */ [all …]
|
| H A D | spi-ep93xx.c | 115 struct ep93xx_spi *espi = spi_master_get_devdata(master); in ep93xx_spi_calc_divisors() local 116 unsigned long spi_clk_rate = clk_get_rate(espi->clk); in ep93xx_spi_calc_divisors() 150 struct ep93xx_spi *espi = spi_master_get_devdata(master); in ep93xx_spi_chip_setup() local 173 writel(div_cpsr, espi->mmio + SSPCPSR); in ep93xx_spi_chip_setup() 174 writel(cr0, espi->mmio + SSPCR0); in ep93xx_spi_chip_setup() 181 struct ep93xx_spi *espi = spi_master_get_devdata(master); in ep93xx_do_write() local 187 val = ((u16 *)xfer->tx_buf)[espi->tx]; in ep93xx_do_write() 188 espi->tx += 2; in ep93xx_do_write() 191 val = ((u8 *)xfer->tx_buf)[espi->tx]; in ep93xx_do_write() 192 espi->tx += 1; in ep93xx_do_write() [all …]
|
| H A D | spi-fsl-lib.h | 3 * Freescale SPI/eSPI controller driver library. 19 /* SPI/eSPI Controller driver's private data. */
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | espi.c | 3 * File: espi.c * 41 #include "espi.h" 88 pr_err("%s: ESPI clock not ready\n", adapter->name); in tricn_init() 117 void t1_espi_intr_enable(struct peespi *espi) in t1_espi_intr_enable() argument 119 u32 enable, pl_intr = readl(espi->adapter->regs + A_PL_ENABLE); in t1_espi_intr_enable() 122 * Cannot enable ESPI interrupts on T1B because HW asserts the in t1_espi_intr_enable() 123 * interrupt incorrectly, namely the driver gets ESPI interrupts in t1_espi_intr_enable() 124 * but no data is actually dropped (can verify this reading the ESPI in t1_espi_intr_enable() 125 * drop registers). Also, once the ESPI interrupt is asserted it in t1_espi_intr_enable() 128 enable = t1_is_T1B(espi->adapter) ? 0 : ESPI_INTR_MASK; in t1_espi_intr_enable() [all …]
|
| H A D | espi.h | 3 * File: espi.h * 55 void t1_espi_destroy(struct peespi *espi); 56 int t1_espi_init(struct peespi *espi, int mac_type, int nports); 62 const struct espi_intr_counts *t1_espi_get_intr_counts(struct peespi *espi);
|
| H A D | subr.c | 46 #include "espi.h" 763 if (adapter->espi) { in t1_interrupts_enable() 765 t1_espi_intr_enable(adapter->espi); in t1_interrupts_enable() 795 if (adapter->espi) in t1_interrupts_disable() 796 t1_espi_intr_disable(adapter->espi); in t1_interrupts_disable() 821 if (adapter->espi) in t1_interrupts_clear() 822 t1_espi_intr_clear(adapter->espi); in t1_interrupts_clear() 857 t1_espi_intr_handler(adapter->espi); in asic_slow_intr() 975 if (adapter->espi && t1_espi_init(adapter->espi, bi->chip_mac, in t1_init_hw_modules() 1026 if (adapter->espi) in t1_free_sw_modules() [all …]
|
| H A D | Makefile | 9 cxgb-objs := cxgb2.o espi.o tp.o pm3393.o sge.o subr.o \
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | fsl_espi.c | 2 * eSPI controller driver. 18 ccsr_espi_t *espi; member 82 fsl->espi = (void *)(CONFIG_SYS_MPC85xx_ESPI_ADDR); in spi_setup_slave() 86 /* Set eSPI BRG clock source */ in spi_setup_slave() 109 /* set tx_timeout to 10 times of one espi FIFO entry go out */ in spi_setup_slave() 130 ccsr_espi_t *espi = fsl->espi; in spi_claim_bus() local 139 /* Enable eSPI interface */ in spi_claim_bus() 140 out_be32(&espi->mode, ESPI_MODE_RXTHR(3) in spi_claim_bus() 143 out_be32(&espi->event, 0xffffffff); /* Clear all eSPI events */ in spi_claim_bus() 144 out_be32(&espi->mask, 0x00000000); /* Mask all eSPI interrupts */ in spi_claim_bus() [all …]
|
| H A D | Kconfig | 262 bool "Freescale eSPI driver" 264 Enable the Freescale eSPI driver. This driver can be used to 266 this Freescale eSPI IP core.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/ |
| H A D | fsl-spi.txt | 39 * eSPI (Enhanced Serial Peripheral Interface) 42 - compatible : should be "fsl,mpc8536-espi". 44 - interrupts : should contain eSPI interrupt, the device has one interrupt. 45 - fsl,espi-num-chipselects : the number of the chipselect signals. 55 compatible = "fsl,mpc8536-espi"; 59 fsl,espi-num-chipselects = <4>;
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.pblimage | 5 The CoreNet SoC's can boot directly from eSPI FLASH, SD/MMC and 17 For eSPI boot(available on P2041/P3041/P4080/P5020/P5040/T4240): 18 To build the eSPI boot image: 31 boot image that can be flashed on the board eSPI flash, SD/MMC and NAND. 34 1). Boot from eSPI flash 35 Write u-boot.pbl to eSPI flash from offset 0x0. 100 #Initialize eSPI controller
|
| /OK3568_Linux_fs/u-boot/board/freescale/corenet_ds/ |
| H A D | pbi.cfg | 26 #Initialize eSPI controller, default configuration is slow for eSPI to 27 #load data, this configuration comes from u-boot eSPI driver.
|
| /OK3568_Linux_fs/u-boot/board/varisys/cyrus/ |
| H A D | pbi.cfg | 26 #Initialize eSPI controller, default configuration is slow for eSPI to 27 #load data, this configuration comes from u-boot eSPI driver.
|
| /OK3568_Linux_fs/u-boot/board/freescale/t208xqds/ |
| H A D | t208x_pbi.cfg | 25 #Initialize eSPI controller, default configuration is slow for eSPI to 26 #load data, this configuration comes from u-boot eSPI driver.
|
| /OK3568_Linux_fs/u-boot/board/freescale/t208xrdb/ |
| H A D | t2080_pbi.cfg | 25 #Initialize eSPI controller, default configuration is slow for eSPI to 26 #load data, this configuration comes from u-boot eSPI driver.
|
| /OK3568_Linux_fs/u-boot/board/keymile/kmp204x/ |
| H A D | pbi.cfg | 67 #Initialize eSPI controller, default configuration is slow for eSPI to 68 #load data, this configuration comes from u-boot eSPI driver.
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/fsl/ |
| H A D | qoriq-espi-0.dtsi | 2 * QorIQ eSPI device tree stub [ controller @ offset 0x110000 ] 38 compatible = "fsl,mpc8536-espi";
|
| H A D | pq3-espi-0.dtsi | 2 * PQ3 eSPI device tree stub [ controller @ offset 0x7000 ] 38 compatible = "fsl,mpc8536-espi";
|
| H A D | bsc9131si-post.dtsi | 85 /include/ "pq3-espi-0.dtsi" 87 fsl,espi-num-chipselects = <1>;
|
| H A D | p1020si-post.dtsi | 129 /include/ "pq3-espi-0.dtsi" 131 fsl,espi-num-chipselects = <4>;
|
| H A D | c293si-post.dtsi | 98 /include/ "pq3-espi-0.dtsi" 100 fsl,espi-num-chipselects = <1>;
|
| /OK3568_Linux_fs/u-boot/board/freescale/p1022ds/ |
| H A D | tlb.c | 76 /* **** - eSDHC/eSPI/NAND boot */ 80 /* **** - eSDHC/eSPI/NAND boot - second 1GB of memory */
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc8536ds/ |
| H A D | README | 49 and boot from eSPI. When power on, the porcessor excutes the ROM code to 50 initialize the eSPI/eSDHC controller, and loads the mian U-Boot image from 117 For boot from eSPI:
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | aspeed,ast2600-pinctrl.yaml | 35 ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMC, ESPI, ESPIALT, 61 EMMCG8, ESPI, ESPIALT, FSI1, FSI2, FWSPIABR, FWSPID, FWSPIWP,
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-aspeed/ |
| H A D | Kconfig | 19 which is enabled by support of LPC and eSPI peripherals.
|