Home
last modified time | relevance | path

Searched refs:cap1 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/espi/
Despi_mchp_xec.c232 uint8_t cap1 = ESPI_CAP_REGS->GLB_CAP1; in espi_xec_configure() local
233 uint8_t cur_iomode = (cap1 & MCHP_ESPI_GBL_CAP1_IO_MODE_MASK) >> in espi_xec_configure()
237 cap1 &= ~MCHP_ESPI_GBL_CAP1_MAX_FREQ_MASK; in espi_xec_configure()
241 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_20M; in espi_xec_configure()
244 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_25M; in espi_xec_configure()
247 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_33M; in espi_xec_configure()
250 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_50M; in espi_xec_configure()
253 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_66M; in espi_xec_configure()
266 cap1 &= ~(MCHP_ESPI_GBL_CAP1_IO_MODE_MASK0 << in espi_xec_configure()
268 cap1 |= (iomode << MCHP_ESPI_GBL_CAP1_IO_MODE_POS); in espi_xec_configure()
[all …]
Despi_mchp_xec_v2.c180 uint8_t cap1 = iom_regs->CAP1; in espi_xec_configure() local
181 uint8_t cur_iomode = (cap1 & MCHP_ESPI_GBL_CAP1_IO_MODE_MASK) >> in espi_xec_configure()
185 cap1 &= ~MCHP_ESPI_GBL_CAP1_MAX_FREQ_MASK; in espi_xec_configure()
189 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_20M; in espi_xec_configure()
192 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_25M; in espi_xec_configure()
195 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_33M; in espi_xec_configure()
198 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_50M; in espi_xec_configure()
201 cap1 |= MCHP_ESPI_GBL_CAP1_MAX_FREQ_66M; in espi_xec_configure()
214 cap1 &= ~(MCHP_ESPI_GBL_CAP1_IO_MODE_MASK0 << in espi_xec_configure()
216 cap1 |= (iomode << MCHP_ESPI_GBL_CAP1_IO_MODE_POS); in espi_xec_configure()
[all …]