Lines Matching refs:reg
5940 *pocctrl = pinmux_ioctrl_regs[POCCTRL].reg;
6196 const struct pinmux_bias_reg *reg;
6199 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6200 if (!reg)
6203 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit)))
6205 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit))
6214 const struct pinmux_bias_reg *reg;
6218 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6219 if (!reg)
6222 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit);
6226 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit);
6230 sh_pfc_write(pfc, reg->pud, updown);
6231 sh_pfc_write(pfc, reg->puen, enable);