Searched refs:spi_read (Results 1 – 6 of 6) sorted by relevance
| /rk3399_rockchip-uboot/board/renesas/sh7753evb/ |
| H A D | spi-boot.c | 61 #define spi_read(addr) (*(volatile unsigned long *)(addr)) macro 77 while (!(spi_read(CR4) & SPI_SpiS0)) { in spi_reset() 83 spi_write(spi_read(CR2) | SPI_RSTF, CR2); /* fifo reset */ in spi_reset() 84 spi_write(spi_read(CR2) & ~SPI_RSTF, CR2); in spi_reset() 93 if (spi_read(CR8) & OR12_ADDR32) { in spi_read_flash() 111 spi_write(spi_read(CR1) | SPI_SSDB, CR1); in spi_read_flash() 112 spi_write(spi_read(CR1) | SPI_SSA, CR1); in spi_read_flash() 114 while (!(spi_read(SPIDMINTSR) & SPIDMINTSR_DMEND)) in spi_read_flash()
|
| /rk3399_rockchip-uboot/board/renesas/sh7752evb/ |
| H A 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()
|
| /rk3399_rockchip-uboot/board/renesas/sh7757lcr/ |
| H A 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()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | mpc8xx_spi.c | 263 ssize_t spi_read(uchar *addr, int alen, uchar *buffer, int len) in spi_read() function
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | eeprom.c | 136 spi_read(addr, alen, buffer, len); in eeprom_rw_block()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | common.h | 479 extern ssize_t spi_read (uchar *, int, uchar *, int);
|