Lines Matching refs:kbc_reg

393 	struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc;  in kbc_it8xxx2_ibf_isr()  local
409 kbc_evt->type = !!(kbc_reg->KBHISR & KBC_KBHISR_A2_ADDR); in kbc_it8xxx2_ibf_isr()
411 kbc_evt->data = kbc_reg->KBHIDIR; in kbc_it8xxx2_ibf_isr()
420 struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc; in kbc_it8xxx2_obe_isr() local
430 kbc_reg->KBHICR &= ~KBC_KBHICR_OBECIE; in kbc_it8xxx2_obe_isr()
442 struct kbc_regs *const kbc_reg = (struct kbc_regs *)config->base_kbc; in kbc_it8xxx2_init() local
445 kbc_reg->KBIRQR = 0; in kbc_it8xxx2_init()
454 kbc_reg->KBHICR |= in kbc_it8xxx2_init()
788 struct kbc_regs *const kbc_reg = in espi_it8xxx2_read_lpc_request() local
797 *data = !!(kbc_reg->KBHISR & KBC_KBHISR_OBF); in espi_it8xxx2_read_lpc_request()
800 *data = !!(kbc_reg->KBHISR & KBC_KBHISR_IBF); in espi_it8xxx2_read_lpc_request()
803 *data = kbc_reg->KBHISR; in espi_it8xxx2_read_lpc_request()
866 struct kbc_regs *const kbc_reg = in espi_it8xxx2_write_lpc_request() local
871 kbc_reg->KBHIKDOR = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
876 kbc_reg->KBHICR |= KBC_KBHICR_OBECIE; in espi_it8xxx2_write_lpc_request()
879 kbc_reg->KBHIMDOR = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
884 kbc_reg->KBHICR |= KBC_KBHICR_OBECIE; in espi_it8xxx2_write_lpc_request()
907 kbc_reg->KBHICR |= KBC_KBHICR_IBFOBFCME; in espi_it8xxx2_write_lpc_request()
908 kbc_reg->KBHICR |= KBC_KBHICR_COBF; in espi_it8xxx2_write_lpc_request()
909 kbc_reg->KBHICR &= ~KBC_KBHICR_COBF; in espi_it8xxx2_write_lpc_request()
911 kbc_reg->KBHICR &= ~KBC_KBHICR_IBFOBFCME; in espi_it8xxx2_write_lpc_request()
917 _kbhicr = kbc_reg->KBHICR; in espi_it8xxx2_write_lpc_request()
921 kbc_reg->KBHISR |= (*data & 0xff); in espi_it8xxx2_write_lpc_request()
924 kbc_reg->KBHISR &= ~(*data & 0xff); in espi_it8xxx2_write_lpc_request()