Lines Matching refs:gc

102 	int (*child_to_parent_hwirq)(struct gpio_chip *gc,
117 int (*populate_parent_alloc_arg)(struct gpio_chip *gc,
130 unsigned int (*child_offset_to_irq)(struct gpio_chip *gc,
263 int (*init_hw)(struct gpio_chip *gc);
274 void (*init_valid_mask)(struct gpio_chip *gc,
424 int (*request)(struct gpio_chip *gc,
426 void (*free)(struct gpio_chip *gc,
428 int (*get_direction)(struct gpio_chip *gc,
430 int (*direction_input)(struct gpio_chip *gc,
432 int (*direction_output)(struct gpio_chip *gc,
434 int (*get)(struct gpio_chip *gc,
436 int (*get_multiple)(struct gpio_chip *gc,
439 void (*set)(struct gpio_chip *gc,
441 void (*set_multiple)(struct gpio_chip *gc,
444 int (*set_config)(struct gpio_chip *gc,
447 int (*to_irq)(struct gpio_chip *gc,
451 struct gpio_chip *gc);
453 int (*init_valid_mask)(struct gpio_chip *gc,
457 int (*add_pin_ranges)(struct gpio_chip *gc);
459 int (*en_hw_timestamp)(struct gpio_chip *gc,
462 int (*dis_hw_timestamp)(struct gpio_chip *gc,
529 int (*of_xlate)(struct gpio_chip *gc,
534 char *gpiochip_dup_line_label(struct gpio_chip *gc, unsigned int offset);
589 int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
617 #define gpiochip_add_data(gc, data) ({ \ argument
620 gpiochip_add_data_with_key(gc, data, &lock_key, \
623 #define devm_gpiochip_add_data(dev, gc, data) ({ \ argument
626 devm_gpiochip_add_data_with_key(dev, gc, data, &lock_key, \
630 #define gpiochip_add_data(gc, data) gpiochip_add_data_with_key(gc, data, NULL, NULL) argument
631 #define devm_gpiochip_add_data(dev, gc, data) \ argument
632 devm_gpiochip_add_data_with_key(dev, gc, data, NULL, NULL)
635 void gpiochip_remove(struct gpio_chip *gc);
636 int devm_gpiochip_add_data_with_key(struct device *dev, struct gpio_chip *gc,
641 int (*match)(struct gpio_chip *gc,
652 bool gpiochip_line_is_irq(struct gpio_chip *gc, unsigned int offset);
653 int gpiochip_reqres_irq(struct gpio_chip *gc, unsigned int offset);
654 void gpiochip_relres_irq(struct gpio_chip *gc, unsigned int offset);
655 void gpiochip_disable_irq(struct gpio_chip *gc, unsigned int offset);
656 void gpiochip_enable_irq(struct gpio_chip *gc, unsigned int offset);
675 bool gpiochip_line_is_open_drain(struct gpio_chip *gc, unsigned int offset);
676 bool gpiochip_line_is_open_source(struct gpio_chip *gc, unsigned int offset);
679 bool gpiochip_line_is_persistent(struct gpio_chip *gc, unsigned int offset);
680 bool gpiochip_line_is_valid(const struct gpio_chip *gc, unsigned int offset);
683 void *gpiochip_get_data(struct gpio_chip *gc);
693 int gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *gc,
697 int gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc,
704 int bgpio_init(struct gpio_chip *gc, struct device *dev,
718 int gpiochip_irqchip_add_domain(struct gpio_chip *gc,
724 static inline int gpiochip_irqchip_add_domain(struct gpio_chip *gc, in gpiochip_irqchip_add_domain() argument
732 int gpiochip_generic_request(struct gpio_chip *gc, unsigned int offset);
733 void gpiochip_generic_free(struct gpio_chip *gc, unsigned int offset);
734 int gpiochip_generic_config(struct gpio_chip *gc, unsigned int offset,
751 int gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name,
754 int gpiochip_add_pingroup_range(struct gpio_chip *gc,
757 void gpiochip_remove_pin_ranges(struct gpio_chip *gc);
762 gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name, in gpiochip_add_pin_range() argument
769 gpiochip_add_pingroup_range(struct gpio_chip *gc, in gpiochip_add_pingroup_range() argument
777 gpiochip_remove_pin_ranges(struct gpio_chip *gc) in gpiochip_remove_pin_ranges() argument
783 struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc,
798 int gpiochip_lock_as_irq(struct gpio_chip *gc, unsigned int offset);
799 void gpiochip_unlock_as_irq(struct gpio_chip *gc, unsigned int offset);
852 static inline int gpiochip_lock_as_irq(struct gpio_chip *gc, in gpiochip_lock_as_irq() argument
859 static inline void gpiochip_unlock_as_irq(struct gpio_chip *gc, in gpiochip_unlock_as_irq() argument