Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 4 of 4) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_espi_pc.c80 uint32_t sts = 0; in mec_hal_espi_pc_status() local
84 sts |= MEC_BIT(MEC_ESPI_PC_ISTS_BERR_POS); in mec_hal_espi_pc_status()
87 sts |= MEC_BIT(MEC_ESPI_PC_ISTS_CHEN_CHG_POS); in mec_hal_espi_pc_status()
90 sts |= MEC_BIT(MEC_ESPI_PC_ISTS_CHEN_STATE_POS); in mec_hal_espi_pc_status()
93 sts |= MEC_BIT(MEC_ESPI_PC_ISTS_BMEN_STATE_POS); in mec_hal_espi_pc_status()
96 sts |= MEC_BIT(MEC_ESPI_PC_ISTS_BMEN_CHG_POS); in mec_hal_espi_pc_status()
99 return sts; in mec_hal_espi_pc_status()
Dmec_peci.c256 uint32_t sts = regs->STATUS1; in mec_hal_peci_status() local
258 sts |= ((uint32_t)regs->STATUS2 << 8); in mec_hal_peci_status()
259 sts |= ((uint32_t)regs->ERROR << 16); in mec_hal_peci_status()
261 return sts; in mec_hal_peci_status()
268 uint32_t mec_hal_peci_status_clear(struct mec_peci_regs *regs, uint32_t sts) in mec_hal_peci_status_clear() argument
276 regs->ERROR = (uint8_t)(sts >> 16); in mec_hal_peci_status_clear()
277 regs->STATUS1 = (uint8_t)sts; in mec_hal_peci_status_clear()
279 return sts; in mec_hal_peci_status_clear()
Dmec_peci_api.h89 uint32_t mec_hal_peci_status_clear(struct mec_peci_regs *regs, uint32_t sts);
Dmec_i3c_pvt.c442 volatile uint32_t sts = 0; in _i3c_xfer_err_sts_clr() local
444 sts = regs->INTR_STS; in _i3c_xfer_err_sts_clr()
446 if (sts & sbit_TRANSFER_ERR_STS) { in _i3c_xfer_err_sts_clr()