Searched refs:qspi_cfg (Results 1 – 3 of 3) sorted by relevance
88 const struct npcx_qspi_cfg *qspi_cfg) in qspi_npcx_config_uma_mode() argument92 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() argument106 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() argument131 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 …]
40 struct npcx_qspi_cfg qspi_cfg; member79 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 = { \
57 static struct qspi_config *qspi_cfg; variable316 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 …]