Lines Matching refs:pmc_reg

475 	struct pmc_regs *const pmc_reg = (struct pmc_regs *)config->base_pmc;  in pmc1_it8xxx2_ibf_isr()  local
489 acpi_evt->type = !!(pmc_reg->PM1STS & PMC_PM1STS_A2_ADDR); in pmc1_it8xxx2_ibf_isr()
491 pmc_reg->PM1STS |= PMC_PM1STS_GPF; in pmc1_it8xxx2_ibf_isr()
492 acpi_evt->data = pmc_reg->PM1DI; in pmc1_it8xxx2_ibf_isr()
500 struct pmc_regs *const pmc_reg = (struct pmc_regs *)config->base_pmc; in pmc1_it8xxx2_init() local
503 pmc_reg->PM1CTL |= PMC_PM1CTL_IBFIE; in pmc1_it8xxx2_init()
559 struct pmc_regs *const pmc_reg = (struct pmc_regs *)config->base_pmc; in pmc2_it8xxx2_ibf_isr() local
567 pmc_reg->PM2STS |= PMC_PM2STS_GPF; in pmc2_it8xxx2_ibf_isr()
568 evt.evt_data = pmc_reg->PM2DI; in pmc2_it8xxx2_ibf_isr()
576 struct pmc_regs *const pmc_reg = (struct pmc_regs *)config->base_pmc; in pmc2_it8xxx2_init() local
579 pmc_reg->MBXCTRL |= PMC_MBXCTRL_DINT; in pmc2_it8xxx2_init()
581 pmc_reg->PM2CTL |= PMC_PM2CTL_IBFIE; in pmc2_it8xxx2_init()
809 struct pmc_regs *const pmc_reg = in espi_it8xxx2_read_lpc_request() local
818 *data = !!(pmc_reg->PM1STS & PMC_PM1STS_OBF); in espi_it8xxx2_read_lpc_request()
821 *data = !!(pmc_reg->PM1STS & PMC_PM1STS_IBF); in espi_it8xxx2_read_lpc_request()
824 *data = pmc_reg->PM1STS; in espi_it8xxx2_read_lpc_request()
930 struct pmc_regs *const pmc_reg = in espi_it8xxx2_write_lpc_request() local
935 pmc_reg->PM1DO = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
938 pmc_reg->PM1STS = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
946 struct pmc_regs *const pmc_reg = in espi_it8xxx2_write_lpc_request() local
960 pmc_reg->PM2DO = (*data & 0xff); in espi_it8xxx2_write_lpc_request()
962 pmc_reg->PM2STS &= ~PMC_PM2STS_GPF; in espi_it8xxx2_write_lpc_request()