/external/u-boot/drivers/mtd/spi/ |
D | sf_dataflash.c | 117 struct spi_flash *spi_flash; in spi_dataflash_erase() local 125 spi_flash = dev_get_uclass_priv(dev); in spi_dataflash_erase() 126 spi = spi_flash->spi; in spi_dataflash_erase() 128 blocksize = spi_flash->page_size << 3; in spi_dataflash_erase() 135 div_u64_rem(len, spi_flash->page_size, &rem); in spi_dataflash_erase() 138 dev->name, len, spi_flash->page_size); in spi_dataflash_erase() 141 div_u64_rem(offset, spi_flash->page_size, &rem); in spi_dataflash_erase() 144 dev->name, offset, spi_flash->page_size); in spi_dataflash_erase() 161 pageaddr = div_u64(offset, spi_flash->page_size); in spi_dataflash_erase() 191 offset += spi_flash->page_size; in spi_dataflash_erase() [all …]
|
D | sf_internal.h | 105 int sst_write_wp(struct spi_flash *flash, u32 offset, size_t len, 107 int sst_write_bp(struct spi_flash *flash, u32 offset, size_t len, 170 int spi_flash_cmd_erase_ops(struct spi_flash *flash, u32 offset, size_t len); 173 int stm_lock(struct spi_flash *flash, u32 ofs, size_t len); 176 int stm_unlock(struct spi_flash *flash, u32 ofs, size_t len); 179 int stm_is_locked(struct spi_flash *flash, u32 ofs, size_t len); 182 static inline int spi_flash_cmd_write_enable(struct spi_flash *flash) in spi_flash_cmd_write_enable() 188 static inline int spi_flash_cmd_write_disable(struct spi_flash *flash) in spi_flash_cmd_write_disable() 201 int spi_flash_write_common(struct spi_flash *flash, const u8 *cmd, 209 int spi_flash_cmd_write_ops(struct spi_flash *flash, u32 offset, [all …]
|
D | sf_probe.c | 25 static int spi_flash_probe_slave(struct spi_flash *flash) in spi_flash_probe_slave() 57 struct spi_flash *spi_flash_probe(unsigned int busnum, unsigned int cs, in spi_flash_probe() 61 struct spi_flash *flash; in spi_flash_probe() 84 void spi_flash_free(struct spi_flash *flash) in spi_flash_free() 98 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_read() 106 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_write() 122 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_erase() 131 struct spi_flash *flash; in spi_flash_std_probe() 156 .priv_auto_alloc_size = sizeof(struct spi_flash),
|
D | spi_flash.c | 31 static int read_sr(struct spi_flash *flash, u8 *rs) in read_sr() 46 static int read_fsr(struct spi_flash *flash, u8 *fsr) in read_fsr() 60 static int write_sr(struct spi_flash *flash, u8 ws) in write_sr() 76 static int read_cr(struct spi_flash *flash, u8 *rc) in read_cr() 91 static int write_cr(struct spi_flash *flash, u8 wc) in write_cr() 124 static int clean_bar(struct spi_flash *flash) in clean_bar() 136 static int write_bar(struct spi_flash *flash, u32 offset) in write_bar() 157 static int read_bar(struct spi_flash *flash, const struct spi_flash_info *info) in read_bar() 189 static void spi_flash_dual(struct spi_flash *flash, u32 *addr) in spi_flash_dual() 210 static int spi_flash_sr_ready(struct spi_flash *flash) in spi_flash_sr_ready() [all …]
|
D | sf-uclass.c | 35 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, in spi_flash_probe() 46 void spi_flash_free(struct spi_flash *flash) in spi_flash_free() 97 UCLASS_DRIVER(spi_flash) = { 101 .per_device_auto_alloc_size = sizeof(struct spi_flash),
|
D | sf_mtd.c | 17 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_erase() 38 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_read() 51 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_write() 74 int spi_flash_mtd_register(struct spi_flash *flash) in spi_flash_mtd_register()
|
D | fsl_espi_spl.c | 16 struct spi_flash *flash; in fsl_spi_spl_load_image() 40 struct spi_flash *flash; in fsl_spi_boot()
|
D | Makefile | 12 obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o spi_flash_ids.o sf.o
|
/external/u-boot/include/ |
D | spi_flash.h | 62 struct spi_flash { struct 88 int (*flash_lock)(struct spi_flash *flash, u32 ofs, size_t len); argument 89 int (*flash_unlock)(struct spi_flash *flash, u32 ofs, size_t len); argument 90 int (*flash_is_locked)(struct spi_flash *flash, u32 ofs, size_t len); argument 103 int (*read)(struct spi_flash *flash, u32 offset, size_t len, void *buf); argument 104 int (*write)(struct spi_flash *flash, u32 offset, size_t len, argument 106 int (*erase)(struct spi_flash *flash, u32 offset, size_t len); argument 161 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, 165 void spi_flash_free(struct spi_flash *flash); 167 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() [all …]
|
D | dfu.h | 75 struct spi_flash *dev;
|
/external/u-boot/common/spl/ |
D | spl_spi.c | 25 struct spi_flash *flash, in spi_load_image_os() 56 struct spi_flash *flash = load->dev; in spl_spi_fit_read() 75 struct spi_flash *flash; in spl_spi_load_image()
|
/external/u-boot/arch/arm/dts/ |
D | bk4r1.dts | 32 qflash0: spi_flash@0 { 40 qflash1: spi_flash@1 {
|
D | at91sam9x5ek.dtsi | 123 spi_flash@0 {
|
/external/u-boot/cmd/ |
D | sf.c | 21 static struct spi_flash *flash; 93 struct spi_flash *new; in do_spi_flash_probe() 169 static const char *spi_flash_update_block(struct spi_flash *flash, u32 offset, in spi_flash_update_block() 211 static int spi_flash_update(struct spi_flash *flash, u32 offset, in spi_flash_update() 439 static int spi_flash_test(struct spi_flash *flash, uint8_t *buf, ulong len, in spi_flash_test()
|
/external/u-boot/doc/SPI/ |
D | status.txt | 24 - Runtime detection of spi_flash params, SFDP(if possible) 26 - Need proper cleanups on spi_flash and drivers.
|
/external/u-boot/board/renesas/sh7757lcr/ |
D | sh7757lcr.c | 33 struct spi_flash *spi; in init_pcie_bridge_from_spi() 234 struct spi_flash *spi; in get_sh_eth_mac_raw() 359 struct spi_flash *spi; in do_write_mac()
|
/external/u-boot/drivers/dfu/ |
D | dfu_sf.c | 68 static struct spi_flash *parse_dev(char *devstr) in parse_dev() 75 struct spi_flash *dev; in parse_dev()
|
/external/u-boot/drivers/spi/ |
D | stm32_qspi.c | 267 struct spi_flash *flash) in _stm32_qspi_enable_mmap() 305 struct spi_flash *flash, unsigned int bitlen, in _stm32_qspi_xfer() 517 struct spi_flash *flash; in stm32_qspi_claim_bus() 555 struct spi_flash *flash; in stm32_qspi_xfer()
|
/external/u-boot/board/renesas/sh7752evb/ |
D | sh7752evb.c | 177 struct spi_flash *spi; in get_sh_eth_mac_raw() 246 struct spi_flash *spi; in do_write_mac()
|
/external/u-boot/board/renesas/sh7753evb/ |
D | sh7753evb.c | 193 struct spi_flash *spi; in get_sh_eth_mac_raw() 262 struct spi_flash *spi; in do_write_mac()
|
/external/u-boot/doc/device-tree-bindings/pinctrl/ |
D | atmel,at91-pio4-pinctrl.txt | 44 spi_flash@0 {
|
/external/u-boot/board/buffalo/lsxl/ |
D | lsxl.c | 214 struct spi_flash *flash; in erase_environment()
|
/external/u-boot/board/Arcturus/ucp1020/ |
D | cmd_arc.c | 39 static struct spi_flash *flash;
|
/external/u-boot/board/Synology/ds414/ |
D | cmd_syno.c | 29 struct spi_flash *flash; in do_syno_populate()
|
/external/u-boot/arch/arc/dts/ |
D | hsdk.dts | 96 spi_flash@0 {
|