Home
last modified time | relevance | path

Searched refs:sh_pfc_read (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/pinctrl/renesas/
Dpinctrl.c515 val = (sh_pfc_read(pfc, reg) >> offset) & GENMASK(size - 1, 0); in sh_pfc_pinconf_get_drive_strength()
549 val = sh_pfc_read(pfc, reg); in sh_pfc_pinconf_set_drive_strength()
645 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_get()
724 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_set()
866 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in rcar_pinmux_get_bias()
868 else if (!reg->pud || (sh_pfc_read(pfc, reg->pud) & BIT(bit))) in rcar_pinmux_get_bias()
873 if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in rcar_pinmux_get_bias()
892 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in rcar_pinmux_set_bias()
897 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias()
906 enable = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias()
Dcore.h26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg);
Dcore.c173 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()
Dpfc-r8a77995.c3128 if (!(sh_pfc_read(pfc, reg->puen) & BIT(puen_bit))) in r8a77995_pinmux_get_bias()
3130 else if (sh_pfc_read(pfc, reg->pud) & BIT(pud_bit)) in r8a77995_pinmux_get_bias()
3147 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(puen_bit); in r8a77995_pinmux_set_bias()
3151 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(pud_bit); in r8a77995_pinmux_set_bias()