Home
last modified time | relevance | path

Searched refs:qspi_cfg (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_qspi.c88 const struct npcx_qspi_cfg *qspi_cfg) in qspi_npcx_config_uma_mode() argument
92 if ((qspi_cfg->flags & NPCX_QSPI_SEC_FLASH_SL) != 0) { in qspi_npcx_config_uma_mode()
100 const struct npcx_qspi_cfg *qspi_cfg) in qspi_npcx_config_dra_4byte_mode() argument
106 if (qspi_cfg->enter_4ba != 0) { in qspi_npcx_config_dra_4byte_mode()
107 if ((qspi_cfg->flags & NPCX_QSPI_SEC_FLASH_SL) != 0) { in qspi_npcx_config_dra_4byte_mode()
117 if (qspi_cfg->enter_4ba != 0) { in qspi_npcx_config_dra_4byte_mode()
125 const struct npcx_qspi_cfg *qspi_cfg) in qspi_npcx_config_dra_mode() argument
131 int spi_dev_num = (qspi_cfg->flags & NPCX_QSPI_SEC_FLASH_SL) != 0 ? 1 : 0; in qspi_npcx_config_dra_mode()
137 if (qspi_cfg->qer_type != JESD216_DW15_QER_NONE) { in qspi_npcx_config_dra_mode()
144 SET_FIELD(inst->SPI_FL_CFG, NPCX_SPI_FL_CFG_RD_MODE, qspi_cfg->rd_mode); in qspi_npcx_config_dra_mode()
[all …]
Dflash_npcx_fiu_nor.c40 struct npcx_qspi_cfg qspi_cfg; member
79 qspi_npcx_fiu_mutex_lock_configure(config->qspi_bus, &config->qspi_cfg, in flash_npcx_uma_transceive()
246 qspi_npcx_fiu_mutex_lock_configure(config->qspi_bus, &config->qspi_cfg, in flash_npcx_nor_read()
539 if (config->qspi_cfg.qer_type != JESD216_DW15_QER_NONE) { in flash_npcx_nor_init()
547 switch (config->qspi_cfg.qer_type) { in flash_npcx_nor_init()
573 if (config->qspi_cfg.enter_4ba != 0) { in flash_npcx_nor_init()
574 bool wr_en = (config->qspi_cfg.enter_4ba & 0x02) != 0; in flash_npcx_nor_init()
603 .qspi_cfg = { \
/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c57 static struct qspi_config *qspi_cfg; variable
316 p_reg->IFTIMING |= qspi_cfg->RDC4IO; in _nrfx_qspi_init()
465 if (!qspi_cfg->easydma) { in _qspi_complete()
473 if (!qspi_cfg->easydma) { in _qspi_wait_for_completion()
521 NRF_QSPI->IFTIMING |= qspi_cfg->RDC4IO; in qspi_device_init()
700 qspi_cfg->qspi_slave_latency = 1; in qspi_fill_init_struct()
1202 qspi_cfg = config; in qspi_init()
1209 k_sem_init(&qspi_cfg->lock, 1, 1); in qspi_init()
1220 if (!qspi_cfg->encryption) { in qspi_update_nonce()
1250 addr |= qspi_cfg->addrmask; in qspi_write()
[all …]