Home
last modified time | relevance | path

Searched refs:qspi_dev (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/flash/
Dsoc_flash_nios2_qspi.c62 alt_qspi_controller2_dev qspi_dev; member
78 alt_qspi_controller2_dev *qspi_dev = &flash_cfg->qspi_dev; in flash_nios2_qspi_erase() local
95 if (((offset + len) > qspi_dev->data_end) || in flash_nios2_qspi_erase()
103 for (i = offset/qspi_dev->sector_size; in flash_nios2_qspi_erase()
104 i < qspi_dev->number_of_sectors; i++) { in flash_nios2_qspi_erase()
116 block_offset = erase_offset & ~(qspi_dev->sector_size - 1); in flash_nios2_qspi_erase()
124 length_to_erase = MIN(qspi_dev->sector_size - offset_in_block, in flash_nios2_qspi_erase()
128 IOWR_32DIRECT(qspi_dev->csr_base, in flash_nios2_qspi_erase()
131 IOWR_32DIRECT(qspi_dev->csr_base, in flash_nios2_qspi_erase()
145 flag_status = IORD_32DIRECT(qspi_dev->csr_base, in flash_nios2_qspi_erase()
[all …]
/Zephyr-latest/modules/nrf_wifi/bus/
Ddevice.c24 static struct qspi_dev qspi = {.init = qspi_init,
30 static struct qspi_dev spim = {.init = spim_init,
75 struct qspi_dev *qspi_dev(void) in qspi_dev() function
Drpu_hw_if.c56 static const struct qspi_dev *qdev;
437 qdev = qspi_dev(); in rpu_init()
/Zephyr-latest/include/zephyr/drivers/wifi/nrf_wifi/bus/
Dqspi_if.h55 struct qspi_dev { struct
83 struct qspi_dev *qspi_dev(void); argument
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c68 struct qspi_dev *dev; in zep_shim_qspi_read_reg32()
70 dev = qspi_priv->qspi_dev; in zep_shim_qspi_read_reg32()
84 struct qspi_dev *dev; in zep_shim_qspi_write_reg32()
86 dev = qspi_priv->qspi_dev; in zep_shim_qspi_write_reg32()
94 struct qspi_dev *dev; in zep_shim_qspi_cpy_from()
97 dev = qspi_priv->qspi_dev; in zep_shim_qspi_cpy_from()
109 struct qspi_dev *dev; in zep_shim_qspi_cpy_to()
112 dev = qspi_priv->qspi_dev; in zep_shim_qspi_cpy_to()
651 volatile struct qspi_dev *dev = qspi_priv->qspi_dev; in zep_shim_bus_qspi_dev_deinit()
659 struct qspi_dev *dev = qspi_dev(); in zep_shim_bus_qspi_dev_add()
[all …]
Dshim.h34 void *qspi_dev; member
/Zephyr-latest/tests/boards/nrf/nrf70/bustest/src/
Dmain.c20 static struct qspi_dev *dev;
28 dev = qspi_dev(); in wifi_on()
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c102 static const struct device *const qspi_dev = DEVICE_DT_GET(DT_NODELABEL(spi0)); variable
239 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
268 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
296 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
318 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
345 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
380 ret = spi_transceive(qspi_dev, (const struct spi_config *)&spi_cfg, in spi_saf_init()
1191 if (!device_is_ready(qspi_dev)) { in espi_test()
1192 LOG_ERR("%s: device not ready.", qspi_dev->name); in espi_test()
1234 LOG_ERR("Unable to configure %d:%s", ret, qspi_dev->name); in espi_test()