Lines Matching refs:PMC
134 #define PMC(off) (0x0200 + (off)) macro
465 reg = readb(pctrl->base + PMC(off)); in rzg2l_pinctrl_set_pfc_mode()
466 writeb(reg & ~BIT(pin), pctrl->base + PMC(off)); in rzg2l_pinctrl_set_pfc_mode()
474 reg = readb(pctrl->base + PMC(off)); in rzg2l_pinctrl_set_pfc_mode()
475 writeb(reg | BIT(pin), pctrl->base + PMC(off)); in rzg2l_pinctrl_set_pfc_mode()
1617 reg8 = readb(pctrl->base + PMC(off)); in rzg2l_gpio_request()
1619 pctrl->data->pmc_writeb(pctrl, reg8, PMC(off)); in rzg2l_gpio_request()
1655 if (!(readb(pctrl->base + PMC(off)) & BIT(bit))) { in rzg2l_gpio_get_direction()
2343 reg8 = readb(pctrl->base + PMC(off)); in rzg2l_gpio_interrupt_input_mode()
2800 RZG2L_PCTRL_REG_ACCESS8(suspend, pctrl->base + PMC(off), cache->pmc[port]); in rzg2l_pinctrl_pm_setup_regs()
2919 writeb(pmc, pctrl->base + PMC(off)); in rzg2l_pinctrl_pm_setup_pfc()
2928 writeb(pmc, pctrl->base + PMC(off)); in rzg2l_pinctrl_pm_setup_pfc()