Lines Matching defs:bcm2835_pinctrl
77 struct bcm2835_pinctrl {
244 static inline u32 bcm2835_gpio_rd(struct bcm2835_pinctrl *pc, unsigned reg)
249 static inline void bcm2835_gpio_wr(struct bcm2835_pinctrl *pc, unsigned reg,
255 static inline int bcm2835_gpio_get_bit(struct bcm2835_pinctrl *pc, unsigned reg,
263 static inline void bcm2835_gpio_set_bit(struct bcm2835_pinctrl *pc,
271 struct bcm2835_pinctrl *pc, unsigned pin)
283 struct bcm2835_pinctrl *pc, unsigned pin,
320 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
327 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
342 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
400 static void bcm2835_gpio_irq_handle_bank(struct bcm2835_pinctrl *pc,
420 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
459 static inline void __bcm2835_gpio_irq_config(struct bcm2835_pinctrl *pc,
473 static void bcm2835_gpio_irq_config(struct bcm2835_pinctrl *pc,
503 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
518 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
532 static int __bcm2835_gpio_irq_set_type_disabled(struct bcm2835_pinctrl *pc,
552 static int __bcm2835_gpio_irq_set_type_enabled(struct bcm2835_pinctrl *pc,
625 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
652 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
661 struct bcm2835_pinctrl *pc = gpiochip_get_data(chip);
724 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
748 static int bcm2835_pctl_dt_node_to_map_func(struct bcm2835_pinctrl *pc,
767 static int bcm2835_pctl_dt_node_to_map_pull(struct bcm2835_pinctrl *pc,
797 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
909 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
943 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
954 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
965 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
991 static void bcm2835_pull_config_set(struct bcm2835_pinctrl *pc,
1016 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
1063 static void bcm2711_pull_config_set(struct bcm2835_pinctrl *pc,
1083 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev);
1203 struct bcm2835_pinctrl *pc;