• Home
  • Raw
  • Download

Lines Matching refs:gc

91 	int (*child_to_parent_hwirq)(struct gpio_chip *gc,
106 void *(*populate_parent_alloc_arg)(struct gpio_chip *gc,
118 unsigned int (*child_offset_to_irq)(struct gpio_chip *gc,
213 int (*init_hw)(struct gpio_chip *gc);
224 void (*init_valid_mask)(struct gpio_chip *gc,
380 int (*request)(struct gpio_chip *gc,
382 void (*free)(struct gpio_chip *gc,
384 int (*get_direction)(struct gpio_chip *gc,
386 int (*direction_input)(struct gpio_chip *gc,
388 int (*direction_output)(struct gpio_chip *gc,
390 int (*get)(struct gpio_chip *gc,
392 int (*get_multiple)(struct gpio_chip *gc,
395 void (*set)(struct gpio_chip *gc,
397 void (*set_multiple)(struct gpio_chip *gc,
400 int (*set_config)(struct gpio_chip *gc,
403 int (*to_irq)(struct gpio_chip *gc,
407 struct gpio_chip *gc);
409 int (*init_valid_mask)(struct gpio_chip *gc,
413 int (*add_pin_ranges)(struct gpio_chip *gc);
486 int (*of_xlate)(struct gpio_chip *gc,
494 extern const char *gpiochip_is_requested(struct gpio_chip *gc,
514 extern int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
542 #define gpiochip_add_data(gc, data) ({ \ argument
545 gpiochip_add_data_with_key(gc, data, &lock_key, \
548 #define devm_gpiochip_add_data(dev, gc, data) ({ \ argument
551 devm_gpiochip_add_data_with_key(dev, gc, data, &lock_key, \
555 #define gpiochip_add_data(gc, data) gpiochip_add_data_with_key(gc, data, NULL, NULL) argument
556 #define devm_gpiochip_add_data(dev, gc, data) \ argument
557 devm_gpiochip_add_data_with_key(dev, gc, data, NULL, NULL)
560 static inline int gpiochip_add(struct gpio_chip *gc) in gpiochip_add() argument
562 return gpiochip_add_data(gc, NULL); in gpiochip_add()
564 extern void gpiochip_remove(struct gpio_chip *gc);
565 extern int devm_gpiochip_add_data_with_key(struct device *dev, struct gpio_chip *gc, void *data,
570 int (*match)(struct gpio_chip *gc, void *data));
572 bool gpiochip_line_is_irq(struct gpio_chip *gc, unsigned int offset);
573 int gpiochip_reqres_irq(struct gpio_chip *gc, unsigned int offset);
574 void gpiochip_relres_irq(struct gpio_chip *gc, unsigned int offset);
575 void gpiochip_disable_irq(struct gpio_chip *gc, unsigned int offset);
576 void gpiochip_enable_irq(struct gpio_chip *gc, unsigned int offset);
579 bool gpiochip_line_is_open_drain(struct gpio_chip *gc, unsigned int offset);
580 bool gpiochip_line_is_open_source(struct gpio_chip *gc, unsigned int offset);
583 bool gpiochip_line_is_persistent(struct gpio_chip *gc, unsigned int offset);
584 bool gpiochip_line_is_valid(const struct gpio_chip *gc, unsigned int offset);
587 void *gpiochip_get_data(struct gpio_chip *gc);
597 void *gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *gc,
600 void *gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc,
606 static inline void *gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_twocell() argument
613 static inline void *gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_fourcell() argument
622 int bgpio_init(struct gpio_chip *gc, struct device *dev,
644 bool gpiochip_irqchip_irq_valid(const struct gpio_chip *gc,
648 int gpiochip_irqchip_add_domain(struct gpio_chip *gc,
651 static inline int gpiochip_irqchip_add_domain(struct gpio_chip *gc, in gpiochip_irqchip_add_domain() argument
659 int gpiochip_generic_request(struct gpio_chip *gc, unsigned int offset);
660 void gpiochip_generic_free(struct gpio_chip *gc, unsigned int offset);
661 int gpiochip_generic_config(struct gpio_chip *gc, unsigned int offset,
678 int gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name,
681 int gpiochip_add_pingroup_range(struct gpio_chip *gc,
684 void gpiochip_remove_pin_ranges(struct gpio_chip *gc);
689 gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name, in gpiochip_add_pin_range() argument
696 gpiochip_add_pingroup_range(struct gpio_chip *gc, in gpiochip_add_pingroup_range() argument
704 gpiochip_remove_pin_ranges(struct gpio_chip *gc) in gpiochip_remove_pin_ranges() argument
710 struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc,
720 int gpiochip_lock_as_irq(struct gpio_chip *gc, unsigned int offset);
721 void gpiochip_unlock_as_irq(struct gpio_chip *gc, unsigned int offset);
735 static inline int gpiochip_lock_as_irq(struct gpio_chip *gc, in gpiochip_lock_as_irq() argument
742 static inline void gpiochip_unlock_as_irq(struct gpio_chip *gc, in gpiochip_unlock_as_irq() argument