Searched refs:sh_pfc_read (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl.c | 492 val = (sh_pfc_read(pfc, reg) >> offset) & GENMASK(size - 1, 0); in sh_pfc_pinconf_get_drive_strength() 526 val = sh_pfc_read(pfc, reg); in sh_pfc_pinconf_set_drive_strength() 622 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_get() 703 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_set() 845 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in rcar_pinmux_get_bias() 847 else if (!reg->pud || (sh_pfc_read(pfc, reg->pud) & BIT(bit))) in rcar_pinmux_get_bias() 852 if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in rcar_pinmux_get_bias() 871 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in rcar_pinmux_set_bias() 876 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias() 885 enable = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias()
|
H A D | core.h | 26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg);
|
H A D | core.c | 172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() function 664 pfc->saved_regs[idx] = sh_pfc_read(pfc, reg); in sh_pfc_save_reg()
|
H A D | pfc-r8a77995.c | 3138 if (!(sh_pfc_read(pfc, reg->puen) & BIT(puen_bit))) in r8a77995_pinmux_get_bias() 3140 else if (sh_pfc_read(pfc, reg->pud) & BIT(pud_bit)) in r8a77995_pinmux_get_bias() 3157 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(puen_bit); in r8a77995_pinmux_set_bias() 3161 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(pud_bit); in r8a77995_pinmux_set_bias()
|