Lines Matching defs:gc
176 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
463 struct gpio_chip *gc; in gpio_name_to_desc() local
495 static void gpiochip_set_desc_names(struct gpio_chip *gc) in gpiochip_set_desc_names()
593 static unsigned long *gpiochip_allocate_mask(struct gpio_chip *gc) in gpiochip_allocate_mask()
613 static unsigned int gpiochip_count_reserved_ranges(struct gpio_chip *gc) in gpiochip_count_reserved_ranges()
626 static int gpiochip_apply_reserved_ranges(struct gpio_chip *gc) in gpiochip_apply_reserved_ranges()
662 static int gpiochip_init_valid_mask(struct gpio_chip *gc) in gpiochip_init_valid_mask()
685 static void gpiochip_free_valid_mask(struct gpio_chip *gc) in gpiochip_free_valid_mask()
690 static int gpiochip_add_pin_ranges(struct gpio_chip *gc) in gpiochip_add_pin_ranges()
706 bool gpiochip_line_is_valid(const struct gpio_chip *gc, in gpiochip_line_is_valid()
747 static void gpiochip_free_remaining_irqs(struct gpio_chip *gc) in gpiochip_free_remaining_irqs()
819 static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog) in gpiochip_machine_hog()
837 static void machine_gpiochip_add(struct gpio_chip *gc) in machine_gpiochip_add()
867 static void gpiochip_set_data(struct gpio_chip *gc, void *data) in gpiochip_set_data()
879 void *gpiochip_get_data(struct gpio_chip *gc) in gpiochip_get_data()
885 int gpiochip_get_ngpios(struct gpio_chip *gc, struct device *dev) in gpiochip_get_ngpios()
919 int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data, in gpiochip_add_data_with_key()
1159 void gpiochip_remove(struct gpio_chip *gc) in gpiochip_remove()
1219 int (*match)(struct gpio_chip *gc, in gpio_device_find()
1223 struct gpio_chip *gc; in gpio_device_find() local
1246 static int gpio_chip_match_by_label(struct gpio_chip *gc, const void *label) in gpio_chip_match_by_label()
1266 static int gpio_chip_match_by_fwnode(struct gpio_chip *gc, const void *fwnode) in gpio_chip_match_by_fwnode()
1333 static int gpiochip_irqchip_init_hw(struct gpio_chip *gc) in gpiochip_irqchip_init_hw()
1343 static int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_init_valid_mask()
1359 static void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_free_valid_mask()
1364 static bool gpiochip_irqchip_irq_valid(const struct gpio_chip *gc, in gpiochip_irqchip_irq_valid()
1384 static void gpiochip_set_hierarchical_irqchip(struct gpio_chip *gc, in gpiochip_set_hierarchical_irqchip()
1475 struct gpio_chip *gc = d->host_data; in gpiochip_hierarchy_irq_domain_alloc() local
1542 static unsigned int gpiochip_child_offset_to_irq_noop(struct gpio_chip *gc, in gpiochip_child_offset_to_irq_noop()
1564 struct gpio_chip *gc = domain->host_data; in gpiochip_irq_domain_activate() local
1582 struct gpio_chip *gc = domain->host_data; in gpiochip_irq_domain_deactivate() local
1607 static struct irq_domain *gpiochip_hierarchy_create_domain(struct gpio_chip *gc) in gpiochip_hierarchy_create_domain()
1642 static bool gpiochip_hierarchy_is_hierarchical(struct gpio_chip *gc) in gpiochip_hierarchy_is_hierarchical()
1647 int gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_twocell()
1663 int gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_fourcell()
1683 static struct irq_domain *gpiochip_hierarchy_create_domain(struct gpio_chip *gc) in gpiochip_hierarchy_create_domain()
1688 static bool gpiochip_hierarchy_is_hierarchical(struct gpio_chip *gc) in gpiochip_hierarchy_is_hierarchical()
1711 struct gpio_chip *gc = d->host_data; in gpiochip_irq_map() local
1749 struct gpio_chip *gc = d->host_data; in gpiochip_irq_unmap() local
1764 static struct irq_domain *gpiochip_simple_create_domain(struct gpio_chip *gc) in gpiochip_simple_create_domain()
1777 static int gpiochip_to_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_to_irq()
1812 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_reqres() local
1821 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_relres() local
1830 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_mask() local
1840 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_unmask() local
1850 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_enable() local
1859 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_disable() local
1866 static void gpiochip_set_irq_hooks(struct gpio_chip *gc) in gpiochip_set_irq_hooks()
1911 static int gpiochip_irqchip_add_allocated_domain(struct gpio_chip *gc, in gpiochip_irqchip_add_allocated_domain()
1945 static int gpiochip_add_irqchip(struct gpio_chip *gc, in gpiochip_add_irqchip()
2025 static void gpiochip_irqchip_remove(struct gpio_chip *gc) in gpiochip_irqchip_remove()
2083 int gpiochip_irqchip_add_domain(struct gpio_chip *gc, in gpiochip_irqchip_add_domain()
2092 static inline int gpiochip_add_irqchip(struct gpio_chip *gc, in gpiochip_add_irqchip()
2098 static void gpiochip_irqchip_remove(struct gpio_chip *gc) {} in gpiochip_irqchip_remove()
2100 static inline int gpiochip_irqchip_init_hw(struct gpio_chip *gc) in gpiochip_irqchip_init_hw()
2105 static inline int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_init_valid_mask()
2109 static inline void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_free_valid_mask()
2122 int gpiochip_generic_request(struct gpio_chip *gc, unsigned int offset) in gpiochip_generic_request()
2138 void gpiochip_generic_free(struct gpio_chip *gc, unsigned int offset) in gpiochip_generic_free()
2158 int gpiochip_generic_config(struct gpio_chip *gc, unsigned int offset, in gpiochip_generic_config()
2187 int gpiochip_add_pingroup_range(struct gpio_chip *gc, in gpiochip_add_pingroup_range()
2245 int gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name, in gpiochip_add_pin_range()
2289 void gpiochip_remove_pin_ranges(struct gpio_chip *gc) in gpiochip_remove_pin_ranges()
2457 char *gpiochip_dup_line_label(struct gpio_chip *gc, unsigned int offset) in gpiochip_dup_line_label()
2505 struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc, in gpiochip_request_own_desc()
3081 static int gpio_chip_get_value(struct gpio_chip *gc, const struct gpio_desc *desc) in gpio_chip_get_value()
3111 struct gpio_chip *gc; in gpiod_get_raw_value_commit() local
3129 static int gpio_chip_get_multiple(struct gpio_chip *gc, in gpio_chip_get_multiple()
3149 static bool gpio_device_chip_cmp(struct gpio_device *gdev, struct gpio_chip *gc) in gpio_device_chip_cmp()
3454 static void gpio_chip_set_multiple(struct gpio_chip *gc, in gpio_chip_set_multiple()
3744 struct gpio_chip *gc; in gpiod_to_irq() local
3797 int gpiochip_lock_as_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_lock_as_irq()
3843 void gpiochip_unlock_as_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_unlock_as_irq()
3856 void gpiochip_disable_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_disable_irq()
3866 void gpiochip_enable_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_enable_irq()
3883 bool gpiochip_line_is_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_irq()
3892 int gpiochip_reqres_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_reqres_irq()
3909 void gpiochip_relres_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_relres_irq()
3916 bool gpiochip_line_is_open_drain(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_open_drain()
3925 bool gpiochip_line_is_open_source(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_open_source()
3934 bool gpiochip_line_is_persistent(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_persistent()
4260 struct gpio_chip *gc; in gpiod_find() local
4726 static void gpiochip_free_hogs(struct gpio_chip *gc) in gpiochip_free_hogs()
4755 struct gpio_chip *gc; in gpiod_get_array() local
4988 struct gpio_chip *gc; in gpiolib_dbg_show() local
5075 struct gpio_chip *gc; in gpiolib_seq_show() local