Lines Matching refs:qspi_cfg
88 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()
147 qspi_npcx_config_dra_4byte_mode(dev, qspi_cfg); in qspi_npcx_config_dra_mode()