Home
last modified time | relevance | path

Searched refs:spi_read (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/board/renesas/sh7753evb/
Dspi-boot.c60 #define spi_read(addr) (*(volatile unsigned long *)(addr)) macro
76 while (!(spi_read(CR4) & SPI_SpiS0)) { in spi_reset()
82 spi_write(spi_read(CR2) | SPI_RSTF, CR2); /* fifo reset */ in spi_reset()
83 spi_write(spi_read(CR2) & ~SPI_RSTF, CR2); in spi_reset()
92 if (spi_read(CR8) & OR12_ADDR32) { in spi_read_flash()
110 spi_write(spi_read(CR1) | SPI_SSDB, CR1); in spi_read_flash()
111 spi_write(spi_read(CR1) | SPI_SSA, CR1); in spi_read_flash()
113 while (!(spi_read(SPIDMINTSR) & SPIDMINTSR_DMEND)) in spi_read_flash()
/external/u-boot/board/renesas/sh7752evb/
Dspi-boot.c58 #define spi_read(addr) (*(volatile unsigned long *)(addr)) macro
71 while (!(spi_read(CR4) & SPI_SpiS0)) { in spi_reset()
77 spi_write(spi_read(CR2) | SPI_RSTF, CR2); /* fifo reset */ in spi_reset()
78 spi_write(spi_read(CR2) & ~SPI_RSTF, CR2); in spi_reset()
97 spi_write(spi_read(CR1) | SPI_SSDB, CR1); in spi_read_flash()
98 spi_write(spi_read(CR1) | SPI_SSA, CR1); in spi_read_flash()
100 while (!(spi_read(SPIDMINTSR) & SPIDMINTSR_DMEND)) in spi_read_flash()
/external/u-boot/board/renesas/sh7757lcr/
Dspi-boot.c61 #define spi_read(addr) (*(volatile unsigned long *)(addr)) macro
74 spi_write(spi_read(CR2) | SPI_RSTF, CR2); /* fifo reset */ in spi_reset()
75 spi_write(spi_read(CR2) & ~SPI_RSTF, CR2); in spi_reset()
92 spi_write(spi_read(CR1) | SPI_SSDB, CR1); in spi_read_flash()
93 spi_write(spi_read(CR1) | SPI_SSA, CR1); in spi_read_flash()
95 while (!(spi_read(SPIDMINTSR) & SPIDMINTSR_DMEND)) in spi_read_flash()
/external/u-boot/drivers/spi/
Dmpc8xx_spi.c262 ssize_t spi_read(uchar *addr, int alen, uchar *buffer, int len) in spi_read() function
/external/u-boot/include/
Dcommon.h288 extern ssize_t spi_read (uchar *, int, uchar *, int);
/external/u-boot/cmd/
Deeprom.c135 spi_read(addr, alen, buffer, len); in eeprom_rw_block()