Lines Matching refs:starfive_pinctrl
206 struct starfive_pinctrl { struct
216 static inline unsigned int starfive_pin_to_gpio(const struct starfive_pinctrl *sfp, in starfive_pin_to_gpio() argument
222 static inline unsigned int starfive_gpio_to_pin(const struct starfive_pinctrl *sfp, in starfive_gpio_to_pin()
228 static struct starfive_pinctrl *starfive_from_irq_data(struct irq_data *d) in starfive_from_irq_data()
232 return container_of(gc, struct starfive_pinctrl, gc); in starfive_from_irq_data()
235 static struct starfive_pinctrl *starfive_from_irq_desc(struct irq_desc *desc) in starfive_from_irq_desc()
239 return container_of(gc, struct starfive_pinctrl, gc); in starfive_from_irq_desc()
456 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_pin_dbg_show()
481 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_dt_node_to_map()
646 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_set_mux()
697 static u16 starfive_padctl_get(struct starfive_pinctrl *sfp, in starfive_padctl_get()
706 static void starfive_padctl_rmw(struct starfive_pinctrl *sfp, in starfive_padctl_rmw()
744 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_pinconf_get()
808 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_pinconf_group_set()
889 struct starfive_pinctrl *sfp = pinctrl_dev_get_drvdata(pctldev); in starfive_pinconf_dbg_show()
931 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_get_direction()
943 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_direction_input()
961 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_direction_output()
981 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_get()
990 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_set()
1002 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_set_config()
1044 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_add_pin_ranges()
1060 struct starfive_pinctrl *sfp = starfive_from_irq_data(d); in starfive_irq_ack()
1073 struct starfive_pinctrl *sfp = starfive_from_irq_data(d); in starfive_irq_mask()
1090 struct starfive_pinctrl *sfp = starfive_from_irq_data(d); in starfive_irq_mask_ack()
1107 struct starfive_pinctrl *sfp = starfive_from_irq_data(d); in starfive_irq_unmask()
1124 struct starfive_pinctrl *sfp = starfive_from_irq_data(d); in starfive_irq_set_type()
1190 struct starfive_pinctrl *sfp = starfive_from_irq_desc(desc); in starfive_gpio_irq_handler()
1210 struct starfive_pinctrl *sfp = container_of(gc, struct starfive_pinctrl, gc); in starfive_gpio_init_hw()
1231 struct starfive_pinctrl *sfp; in starfive_probe()