Lines Matching refs:reg
5888 *pocctrl = pinmux_ioctrl_regs[POCCTRL].reg;
6144 const struct pinmux_bias_reg *reg;
6147 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6148 if (!reg)
6151 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit)))
6153 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit))
6162 const struct pinmux_bias_reg *reg;
6166 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6167 if (!reg)
6170 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit);
6174 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit);
6178 sh_pfc_write(pfc, reg->pud, updown);
6179 sh_pfc_write(pfc, reg->puen, enable);