Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7100.c456 u32 dout, doen; in starfive_pin_dbg_show() local
463 doen = readl_relaxed(reg + 0x004); in starfive_pin_dbg_show()
467 doen & GENMASK(7, 0), (doen & BIT(31)) ? "r" : ""); in starfive_pin_dbg_show()
658 u32 doen = starfive_pinmux_to_doen(v); in starfive_set_mux() local
666 gpio, dout, doen, din); in starfive_set_mux()
677 writel_relaxed(doen, reg_doen); in starfive_set_mux()
929 void __iomem *doen = sfp->base + GPON_DOEN_CFG + 8 * gpio; in starfive_gpio_get_direction() local
931 if (readl_relaxed(doen) == GPO_ENABLE) in starfive_gpio_get_direction()
941 void __iomem *doen = sfp->base + GPON_DOEN_CFG + 8 * gpio; in starfive_gpio_direction_input() local
950 writel_relaxed(GPO_DISABLE, doen); in starfive_gpio_direction_input()
[all …]
/Linux-v6.1/include/dt-bindings/pinctrl/
Dpinctrl-starfive-jh7100.h26 #define GPIOMUX(n, dout, doen, din) ( \ argument
28 (((doen) & 0x80000000) >> (31 - 6)) | (((doen) & 0xff) << 16) | \