• Home
  • Raw
  • Download

Lines Matching refs:chip

34 	struct irq_chip *chip;  member
87 int (*child_to_parent_hwirq)(struct gpio_chip *chip,
102 void (*populate_parent_fwspec)(struct gpio_chip *chip,
115 unsigned int (*child_offset_to_irq)(struct gpio_chip *chip,
210 int (*init_hw)(struct gpio_chip *chip);
221 void (*init_valid_mask)(struct gpio_chip *chip,
346 int (*request)(struct gpio_chip *chip,
348 void (*free)(struct gpio_chip *chip,
350 int (*get_direction)(struct gpio_chip *chip,
352 int (*direction_input)(struct gpio_chip *chip,
354 int (*direction_output)(struct gpio_chip *chip,
356 int (*get)(struct gpio_chip *chip,
358 int (*get_multiple)(struct gpio_chip *chip,
361 void (*set)(struct gpio_chip *chip,
363 void (*set_multiple)(struct gpio_chip *chip,
366 int (*set_config)(struct gpio_chip *chip,
369 int (*to_irq)(struct gpio_chip *chip,
373 struct gpio_chip *chip);
375 int (*init_valid_mask)(struct gpio_chip *chip,
454 extern const char *gpiochip_is_requested(struct gpio_chip *chip,
458 extern int gpiochip_add_data_with_key(struct gpio_chip *chip, void *data,
486 #define gpiochip_add_data(chip, data) ({ \ argument
489 gpiochip_add_data_with_key(chip, data, &lock_key, \
493 #define gpiochip_add_data(chip, data) gpiochip_add_data_with_key(chip, data, NULL, NULL) argument
496 static inline int gpiochip_add(struct gpio_chip *chip) in gpiochip_add() argument
498 return gpiochip_add_data(chip, NULL); in gpiochip_add()
500 extern void gpiochip_remove(struct gpio_chip *chip);
501 extern int devm_gpiochip_add_data(struct device *dev, struct gpio_chip *chip,
505 int (*match)(struct gpio_chip *chip, void *data));
507 bool gpiochip_line_is_irq(struct gpio_chip *chip, unsigned int offset);
508 int gpiochip_reqres_irq(struct gpio_chip *chip, unsigned int offset);
509 void gpiochip_relres_irq(struct gpio_chip *chip, unsigned int offset);
510 void gpiochip_disable_irq(struct gpio_chip *chip, unsigned int offset);
511 void gpiochip_enable_irq(struct gpio_chip *chip, unsigned int offset);
514 bool gpiochip_line_is_open_drain(struct gpio_chip *chip, unsigned int offset);
515 bool gpiochip_line_is_open_source(struct gpio_chip *chip, unsigned int offset);
518 bool gpiochip_line_is_persistent(struct gpio_chip *chip, unsigned int offset);
519 bool gpiochip_line_is_valid(const struct gpio_chip *chip, unsigned int offset);
522 void *gpiochip_get_data(struct gpio_chip *chip);
532 void gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *chip,
536 void gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *chip,
543 static inline void gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *chip, in gpiochip_populate_parent_fwspec_twocell() argument
550 static inline void gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *chip, in gpiochip_populate_parent_fwspec_fourcell() argument
659 int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset);
660 void gpiochip_generic_free(struct gpio_chip *chip, unsigned offset);
661 int gpiochip_generic_config(struct gpio_chip *chip, unsigned offset,
678 int gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name,
681 int gpiochip_add_pingroup_range(struct gpio_chip *chip,
684 void gpiochip_remove_pin_ranges(struct gpio_chip *chip);
689 gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, in gpiochip_add_pin_range() argument
696 gpiochip_add_pingroup_range(struct gpio_chip *chip, in gpiochip_add_pingroup_range() argument
704 gpiochip_remove_pin_ranges(struct gpio_chip *chip) in gpiochip_remove_pin_ranges() argument
710 struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *chip, u16 hwnum,
716 void devprop_gpiochip_set_names(struct gpio_chip *chip,
722 int gpiochip_lock_as_irq(struct gpio_chip *chip, unsigned int offset);
723 void gpiochip_unlock_as_irq(struct gpio_chip *chip, unsigned int offset);
737 static inline int gpiochip_lock_as_irq(struct gpio_chip *chip, in gpiochip_lock_as_irq() argument
744 static inline void gpiochip_unlock_as_irq(struct gpio_chip *chip, in gpiochip_unlock_as_irq() argument