Searched refs:flash_dev (Results 1 – 3 of 3) sorted by relevance
| /drivers/flash/ |
| A D | flash_shell.c | 58 if (!*flash_dev) { in parse_helper() 93 const struct device *flash_dev; in cmd_erase() local 134 const struct device *flash_dev; in cmd_write() local 218 const struct device *flash_dev; in cmd_read() local 256 const struct device *flash_dev; in cmd_test() local 379 const struct device *flash_dev; in cmd_read_test() local 423 const struct device *flash_dev; in cmd_write_test() local 471 const struct device *flash_dev; in cmd_erase_test() local 519 const struct device *flash_dev; in cmd_erase_write_test() local 658 const struct device *flash_dev; in cmd_load() local [all …]
|
| /drivers/fpga/ |
| A D | fpga_mpfs.c | 82 static uint8_t update_spi_flash_directory(const struct device *flash_dev) in update_spi_flash_directory() argument 90 rc = flash_read(flash_dev, SPI_FLASH_DIRECTORY_OFFSET, buf, len); in update_spi_flash_directory() 104 rc = flash_erase(flash_dev, SPI_FLASH_DIRECTORY_OFFSET, SPI_FLASH_SECTOR_SIZE); in update_spi_flash_directory() 110 rc = flash_write(flash_dev, SPI_FLASH_DIRECTORY_OFFSET, buf, len); in update_spi_flash_directory() 120 rc = flash_write(flash_dev, (SPI_FLASH_DIRECTORY_OFFSET + k * 0x100), buf, len); in update_spi_flash_directory() 159 flash_dev, in program_new_image() 313 if (flash_dev == NULL) { in mpfs_fpga_load() 318 if (!device_is_ready(flash_dev)) { in mpfs_fpga_load() 319 LOG_ERR("%s: device not ready.", flash_dev->name); in mpfs_fpga_load() 333 update_spi_flash_directory(flash_dev); in mpfs_fpga_load() [all …]
|
| /drivers/eeprom/ |
| A D | eeprom_emulator.c | 87 const struct device *flash_dev; member 114 return flash_read(dev_config->flash_dev, dev_config->flash_offset + in eeprom_emu_flash_read() 127 rc = flash_write(dev_config->flash_dev, dev_config->flash_offset + in eeprom_emu_flash_write() 142 rc = flash_erase(dev_config->flash_dev, dev_config->flash_offset + in eeprom_emu_flash_erase() 547 if (!device_is_ready(dev_config->flash_dev)) { in eeprom_emu_read() 603 if (!device_is_ready(dev_config->flash_dev)) { in eeprom_emu_write() 648 if (!device_is_ready(dev_config->flash_dev)) { in eeprom_emu_init() 799 .flash_dev = PART_DEV(EEPROM_PARTITION(n)),\
|
Completed in 21 milliseconds