Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110.c80 static struct jh7110_pinctrl *jh7110_from_irq_data(struct irq_data *d) in jh7110_from_irq_data()
84 return container_of(gc, struct jh7110_pinctrl, gc); in jh7110_from_irq_data()
87 struct jh7110_pinctrl *jh7110_from_irq_desc(struct irq_desc *desc) in jh7110_from_irq_desc()
91 return container_of(gc, struct jh7110_pinctrl, gc); in jh7110_from_irq_desc()
99 struct jh7110_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in jh7110_pin_dbg_show()
127 struct jh7110_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in jh7110_dt_node_to_map()
251 void jh7110_set_gpiomux(struct jh7110_pinctrl *sfp, unsigned int pin, in jh7110_set_gpiomux()
297 struct jh7110_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in jh7110_set_mux()
349 static void jh7110_padcfg_rmw(struct jh7110_pinctrl *sfp, in jh7110_padcfg_rmw()
376 struct jh7110_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in jh7110_pinconf_get()
[all …]
H A Dpinctrl-starfive-jh7110.h14 struct jh7110_pinctrl { struct
56 int (*jh7110_set_one_pin_mux)(struct jh7110_pinctrl *sfp,
61 int (*jh7110_get_padcfg_base)(struct jh7110_pinctrl *sfp,
67 void jh7110_set_gpiomux(struct jh7110_pinctrl *sfp, unsigned int pin,
70 struct jh7110_pinctrl *jh7110_from_irq_desc(struct irq_desc *desc);
H A Dpinctrl-starfive-jh7110-aon.c75 static int jh7110_aon_set_one_pin_mux(struct jh7110_pinctrl *sfp, in jh7110_aon_set_one_pin_mux()
86 static int jh7110_aon_get_padcfg_base(struct jh7110_pinctrl *sfp, in jh7110_aon_get_padcfg_base()
97 struct jh7110_pinctrl *sfp = jh7110_from_irq_desc(desc); in jh7110_aon_irq_handler()
113 struct jh7110_pinctrl *sfp = container_of(gc, in jh7110_aon_init_hw()
114 struct jh7110_pinctrl, gc); in jh7110_aon_init_hw()
H A Dpinctrl-starfive-jh7110-sys.c289 static void jh7110_set_function(struct jh7110_pinctrl *sfp, in jh7110_set_function()
313 static void jh7110_set_vin_group(struct jh7110_pinctrl *sfp, in jh7110_set_vin_group()
335 static int jh7110_sys_set_one_pin_mux(struct jh7110_pinctrl *sfp, in jh7110_sys_set_one_pin_mux()
351 static int jh7110_sys_get_padcfg_base(struct jh7110_pinctrl *sfp, in jh7110_sys_get_padcfg_base()
364 struct jh7110_pinctrl *sfp = jh7110_from_irq_desc(desc); in jh7110_sys_irq_handler()
384 struct jh7110_pinctrl *sfp = container_of(gc, in jh7110_sys_init_hw()
385 struct jh7110_pinctrl, gc); in jh7110_sys_init_hw()