Lines Matching refs:reg
5569 *pocctrl = pinmux_ioctrl_regs[POCCTRL].reg;
5825 const struct pinmux_bias_reg *reg;
5828 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
5829 if (!reg)
5832 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit)))
5834 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit))
5843 const struct pinmux_bias_reg *reg;
5847 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
5848 if (!reg)
5851 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit);
5855 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit);
5859 sh_pfc_write(pfc, reg->pud, updown);
5860 sh_pfc_write(pfc, reg->puen, enable);