Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/renesas/
Dcore.c680 for (i = 0; pfc->info->bias_regs[i].puen || in sh_pfc_walk_regs()
682 if (pfc->info->bias_regs[i].puen) in sh_pfc_walk_regs()
683 do_reg(pfc, pfc->info->bias_regs[i].puen, n++); in sh_pfc_walk_regs()
954 if (bias->puen) in sh_pfc_check_bias_reg()
955 sh_pfc_check_reg(info->name, bias->puen, bits); in sh_pfc_check_bias_reg()
959 pin = sh_pfc_find_pin(info, bias->puen, bias->pins[i]); in sh_pfc_check_bias_reg()
963 if (bias->puen && bias->pud) { in sh_pfc_check_bias_reg()
971 bias->puen, i, pin->name); in sh_pfc_check_bias_reg()
972 } else if (bias->puen) { in sh_pfc_check_bias_reg()
976 bias->puen, i, pin->name); in sh_pfc_check_bias_reg()
[all …]
Dpinctrl.c825 for (i = 0; info->bias_regs[i].puen || info->bias_regs[i].pud; i++) { in rcar_pin_to_bias_reg()
848 if (reg->puen) { in rcar_pinmux_get_bias()
849 if (!(sh_pfc_read(pfc, reg->puen) & BIT(bit))) in rcar_pinmux_get_bias()
874 if (reg->puen) { in rcar_pinmux_set_bias()
875 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(bit); in rcar_pinmux_set_bias()
887 sh_pfc_write(pfc, reg->puen, enable); in rcar_pinmux_set_bias()
Dsh_pfc.h170 u32 puen; /* Pull-enable or pull-up control register */ member
176 .puen = r1, \
Dpfc-r8a77995.c3138 if (!(sh_pfc_read(pfc, reg->puen) & BIT(puen_bit))) in r8a77995_pinmux_get_bias()
3157 enable = sh_pfc_read(pfc, reg->puen) & ~BIT(puen_bit); in r8a77995_pinmux_set_bias()
3167 sh_pfc_write(pfc, reg->puen, enable); in r8a77995_pinmux_set_bias()