Home
last modified time | relevance | path

Searched refs:doen (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.h60 u32 doen, u32 func);
69 unsigned int din, u32 dout, u32 doen);
Dpinctrl-starfive-jh7110.c108 u32 doen = readl_relaxed(sfp->base + info->doen_reg_base + offset); in jh7110_pin_dbg_show() local
112 doen = (doen >> shift) & info->doen_mask; in jh7110_pin_dbg_show()
115 seq_printf(s, " dout=%u doen=%u din=%u", dout, doen, gpi); in jh7110_pin_dbg_show()
252 unsigned int din, u32 dout, u32 doen) in jh7110_set_gpiomux() argument
269 doen <<= shift; in jh7110_set_gpiomux()
284 doen |= readl_relaxed(reg_doen) & ~done_mask; in jh7110_set_gpiomux()
285 writel_relaxed(doen, reg_doen); in jh7110_set_gpiomux()
554 u32 doen = readl_relaxed(sfp->base + info->doen_reg_base + offset); in jh7110_gpio_get_direction() local
556 doen = (doen >> shift) & info->doen_mask; in jh7110_gpio_get_direction()
558 return doen == GPOEN_ENABLE ? in jh7110_gpio_get_direction()
Dpinctrl-starfive-jh7100.c459 u32 dout, doen; in starfive_pin_dbg_show() local
466 doen = readl_relaxed(reg + 0x004); in starfive_pin_dbg_show()
470 doen & GENMASK(7, 0), (doen & BIT(31)) ? "r" : ""); in starfive_pin_dbg_show()
656 u32 doen = starfive_pinmux_to_doen(v); in starfive_set_mux() local
664 gpio, dout, doen, din); in starfive_set_mux()
675 writel_relaxed(doen, reg_doen); in starfive_set_mux()
917 void __iomem *doen = sfp->base + GPON_DOEN_CFG + 8 * gpio; in starfive_gpio_get_direction() local
919 if (readl_relaxed(doen) == GPO_ENABLE) in starfive_gpio_get_direction()
929 void __iomem *doen = sfp->base + GPON_DOEN_CFG + 8 * gpio; in starfive_gpio_direction_input() local
938 writel_relaxed(GPO_DISABLE, doen); in starfive_gpio_direction_input()
[all …]
Dpinctrl-starfive-jh7110-aon.c79 u32 doen, u32 func) in jh7110_aon_set_one_pin_mux() argument
82 jh7110_set_gpiomux(sfp, pin, din, dout, doen); in jh7110_aon_set_one_pin_mux()
Dpinctrl-starfive-jh7110-sys.c339 u32 doen, u32 func) in jh7110_sys_set_one_pin_mux() argument
342 jh7110_set_gpiomux(sfp, pin, din, dout, doen); in jh7110_sys_set_one_pin_mux()
/linux-6.12.1/include/dt-bindings/pinctrl/
Dpinctrl-starfive-jh7100.h26 #define GPIOMUX(n, dout, doen, din) ( \ argument
28 (((doen) & 0x80000000) >> (31 - 6)) | (((doen) & 0xff) << 16) | \
/linux-6.12.1/arch/riscv/boot/dts/starfive/
Djh7110-pinfunc.h21 #define GPIOMUX(n, dout, doen, din) ( \ argument
24 (((doen) & 0x3f) << 10) | \