Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl.c496 val = (sh_pfc_read(pfc, reg) >> offset) & GENMASK(size - 1, 0); in sh_pfc_pinconf_get_drive_strength()
530 val = sh_pfc_read(pfc, reg); in sh_pfc_pinconf_set_drive_strength()
626 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_get()
707 val = sh_pfc_read(pfc, pocctrl); in sh_pfc_pinconf_set()
849 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in rcar_pinmux_get_bias()
851 else if (!reg->pud || (sh_pfc_read(pfc, reg->pud) & BIT(bit))) in rcar_pinmux_get_bias()
856 if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in rcar_pinmux_get_bias()
875 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in rcar_pinmux_set_bias()
880 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias()
889 enable = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in rcar_pinmux_set_bias()
H A Dcore.h26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg);
H A Dcore.c172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() function
658 pfc->saved_regs[idx] = sh_pfc_read(pfc, reg); in sh_pfc_save_reg()
H A Dpfc-r8a77995.c3138 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()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c122 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() function
H A Dsh_pfc.h259 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg);
H A Dpfc-r8a7795.c6163 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in r8a7795_pinmux_get_bias()
6165 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in r8a7795_pinmux_get_bias()
6182 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in r8a7795_pinmux_set_bias()
6186 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in r8a7795_pinmux_set_bias()
H A Dpfc-r8a7796.c6118 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in r8a7796_pinmux_get_bias()
6120 else if (sh_pfc_read(pfc, reg->pud) & BIT(bit)) in r8a7796_pinmux_get_bias()
6137 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in r8a7796_pinmux_set_bias()
6141 updown = sh_pfc_read(pfc, reg->pud) & ~BIT(bit); in r8a7796_pinmux_set_bias()