Lines Matching refs:kbc_reg

391 	struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc;  in kbc_it8xxx2_ibf_isr()  local
407 kbc_evt->type = !!(kbc_reg->KBHISR & KBC_KBHISR_A2_ADDR); in kbc_it8xxx2_ibf_isr()
409 kbc_evt->data = kbc_reg->KBHIDIR; in kbc_it8xxx2_ibf_isr()
418 struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc; in kbc_it8xxx2_obe_isr() local
428 kbc_reg->KBHICR &= ~KBC_KBHICR_OBECIE; in kbc_it8xxx2_obe_isr()
440 struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc; in kbc_it8xxx2_init() local
443 kbc_reg->KBIRQR = 0; in kbc_it8xxx2_init()
452 kbc_reg->KBHICR |= in kbc_it8xxx2_init()
747 struct kbc_regs *const kbc_reg = in espi_it8xxx2_read_lpc_request() local
756 *data = !!(kbc_reg->KBHISR & KBC_KBHISR_OBF); in espi_it8xxx2_read_lpc_request()
759 *data = !!(kbc_reg->KBHISR & KBC_KBHISR_IBF); in espi_it8xxx2_read_lpc_request()
762 *data = kbc_reg->KBHISR; in espi_it8xxx2_read_lpc_request()
825 struct kbc_regs *const kbc_reg = in espi_it8xxx2_write_lpc_request() local
830 kbc_reg->KBHIKDOR = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
835 kbc_reg->KBHICR |= KBC_KBHICR_OBECIE; in espi_it8xxx2_write_lpc_request()
838 kbc_reg->KBHIMDOR = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
843 kbc_reg->KBHICR |= KBC_KBHICR_OBECIE; in espi_it8xxx2_write_lpc_request()
847 kbc_reg->KBHICR |= KBC_KBHICR_IBFCIE; in espi_it8xxx2_write_lpc_request()
851 kbc_reg->KBHICR &= ~KBC_KBHICR_IBFCIE; in espi_it8xxx2_write_lpc_request()
865 kbc_reg->KBHICR |= KBC_KBHICR_IBFOBFCME; in espi_it8xxx2_write_lpc_request()
866 kbc_reg->KBHICR |= KBC_KBHICR_COBF; in espi_it8xxx2_write_lpc_request()
867 kbc_reg->KBHICR &= ~KBC_KBHICR_COBF; in espi_it8xxx2_write_lpc_request()
869 kbc_reg->KBHICR &= ~KBC_KBHICR_IBFOBFCME; in espi_it8xxx2_write_lpc_request()
873 kbc_reg->KBHISR |= (*data & 0xff); in espi_it8xxx2_write_lpc_request()
876 kbc_reg->KBHISR &= ~(*data & 0xff); in espi_it8xxx2_write_lpc_request()