Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/espi/
Despi_mchp_xec_host_v2.c191 struct kbc_regs *kbc_hw = (struct kbc_regs *)xec_kbc0_cfg.regbase; in kbc0_ibf_isr() local
209 kbc_evt->type = kbc_hw->EC_KBC_STS & MCHP_KBC_STS_CD ? 1 : 0; in kbc0_ibf_isr()
211 kbc_evt->data = kbc_hw->EC_DATA; in kbc0_ibf_isr()
220 uint32_t isr_data = ((kbc_hw->EC_KBC_STS & MCHP_KBC_STS_CD) << in kbc0_ibf_isr()
222 isr_data |= ((kbc_hw->EC_DATA & 0xFF) << E8042_ISR_DATA_POS); in kbc0_ibf_isr()
275 struct kbc_regs *kbc_hw = (struct kbc_regs *)xec_kbc0_cfg.regbase; in kbc0_rd_req() local
281 if (!(kbc_hw->KBC_CTRL & MCHP_KBC_CTRL_OBFEN)) { in kbc0_rd_req()
291 *data = kbc_hw->EC_KBC_STS & MCHP_KBC_STS_OBF ? 1 : 0; in kbc0_rd_req()
294 *data = kbc_hw->EC_KBC_STS & MCHP_KBC_STS_IBF ? 1 : 0; in kbc0_rd_req()
297 *data = kbc_hw->EC_KBC_STS; in kbc0_rd_req()
[all …]