Lines Matching refs:reg
6141 *pocctrl = pinmux_ioctrl_regs[POCCTRL].reg;
6397 const struct pinmux_bias_reg *reg;
6400 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6401 if (!reg)
6404 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit)))
6406 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit))
6415 const struct pinmux_bias_reg *reg;
6419 reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit);
6420 if (!reg)
6423 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit);
6427 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit);
6431 sh_pfc_write(pfc, reg->pud, updown);
6432 sh_pfc_write(pfc, reg->puen, enable);