Searched refs:spi_read (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/board/renesas/sh7753evb/ |
D | spi-boot.c | 60 #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/ |
D | spi-boot.c | 58 #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/ |
D | spi-boot.c | 61 #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/ |
D | mpc8xx_spi.c | 262 ssize_t spi_read(uchar *addr, int alen, uchar *buffer, int len) in spi_read() function
|
/external/u-boot/include/ |
D | common.h | 288 extern ssize_t spi_read (uchar *, int, uchar *, int);
|
/external/u-boot/cmd/ |
D | eeprom.c | 135 spi_read(addr, alen, buffer, len); in eeprom_rw_block()
|