Searched refs:jh7110_pinctrl (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/pinctrl/starfive/ |
H A D | pinctrl-starfive-jh7110.c | 80 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 D | pinctrl-starfive-jh7110.h | 14 struct jh7110_pinctrl { struct 57 int (*jh7110_set_one_pin_mux)(struct jh7110_pinctrl *sfp, 62 int (*jh7110_get_padcfg_base)(struct jh7110_pinctrl *sfp, 68 void jh7110_set_gpiomux(struct jh7110_pinctrl *sfp, unsigned int pin, 71 struct jh7110_pinctrl *jh7110_from_irq_desc(struct irq_desc *desc);
|
H A D | pinctrl-starfive-jh7110-aon.c | 76 static int jh7110_aon_set_one_pin_mux(struct jh7110_pinctrl *sfp, in jh7110_aon_set_one_pin_mux() 87 static int jh7110_aon_get_padcfg_base(struct jh7110_pinctrl *sfp, in jh7110_aon_get_padcfg_base() 98 struct jh7110_pinctrl *sfp = jh7110_from_irq_desc(desc); in jh7110_aon_irq_handler() 114 struct jh7110_pinctrl *sfp = container_of(gc, in jh7110_aon_init_hw() 115 struct jh7110_pinctrl, gc); in jh7110_aon_init_hw()
|
H A D | pinctrl-starfive-jh7110-sys.c | 290 static void jh7110_set_function(struct jh7110_pinctrl *sfp, in jh7110_set_function() 314 static void jh7110_set_vin_group(struct jh7110_pinctrl *sfp, in jh7110_set_vin_group() 336 static int jh7110_sys_set_one_pin_mux(struct jh7110_pinctrl *sfp, in jh7110_sys_set_one_pin_mux() 352 static int jh7110_sys_get_padcfg_base(struct jh7110_pinctrl *sfp, in jh7110_sys_get_padcfg_base() 365 struct jh7110_pinctrl *sfp = jh7110_from_irq_desc(desc); in jh7110_sys_irq_handler() 385 struct jh7110_pinctrl *sfp = container_of(gc, in jh7110_sys_init_hw() 386 struct jh7110_pinctrl, gc); in jh7110_sys_init_hw()
|