Lines Matching defs:gc
141 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
215 struct gpio_chip *gc; in gpiod_get_direction() local
334 static int gpiochip_set_desc_names(struct gpio_chip *gc) in gpiochip_set_desc_names()
434 static unsigned long *gpiochip_allocate_mask(struct gpio_chip *gc) in gpiochip_allocate_mask()
448 static int gpiochip_alloc_valid_mask(struct gpio_chip *gc) in gpiochip_alloc_valid_mask()
460 static int gpiochip_init_valid_mask(struct gpio_chip *gc) in gpiochip_init_valid_mask()
470 static void gpiochip_free_valid_mask(struct gpio_chip *gc) in gpiochip_free_valid_mask()
476 static int gpiochip_add_pin_ranges(struct gpio_chip *gc) in gpiochip_add_pin_ranges()
484 bool gpiochip_line_is_valid(const struct gpio_chip *gc, in gpiochip_line_is_valid()
546 static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog) in gpiochip_machine_hog()
567 static void machine_gpiochip_add(struct gpio_chip *gc) in machine_gpiochip_add()
594 int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data, in gpiochip_add_data_with_key()
861 void *gpiochip_get_data(struct gpio_chip *gc) in gpiochip_get_data()
873 void gpiochip_remove(struct gpio_chip *gc) in gpiochip_remove()
932 int (*match)(struct gpio_chip *gc, in gpiochip_find()
936 struct gpio_chip *gc = NULL; in gpiochip_find() local
952 static int gpiochip_match_name(struct gpio_chip *gc, void *data) in gpiochip_match_name()
970 static int gpiochip_irqchip_init_hw(struct gpio_chip *gc) in gpiochip_irqchip_init_hw()
980 static int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_init_valid_mask()
996 static void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_free_valid_mask()
1002 bool gpiochip_irqchip_irq_valid(const struct gpio_chip *gc, in gpiochip_irqchip_irq_valid()
1023 static void gpiochip_set_hierarchical_irqchip(struct gpio_chip *gc, in gpiochip_set_hierarchical_irqchip()
1120 struct gpio_chip *gc = d->host_data; in gpiochip_hierarchy_irq_domain_alloc() local
1187 static unsigned int gpiochip_child_offset_to_irq_noop(struct gpio_chip *gc, in gpiochip_child_offset_to_irq_noop()
1212 static int gpiochip_hierarchy_add_domain(struct gpio_chip *gc) in gpiochip_hierarchy_add_domain()
1245 static bool gpiochip_hierarchy_is_hierarchical(struct gpio_chip *gc) in gpiochip_hierarchy_is_hierarchical()
1250 int gpiochip_populate_parent_fwspec_twocell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_twocell()
1266 int gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc, in gpiochip_populate_parent_fwspec_fourcell()
1286 static int gpiochip_hierarchy_add_domain(struct gpio_chip *gc) in gpiochip_hierarchy_add_domain()
1291 static bool gpiochip_hierarchy_is_hierarchical(struct gpio_chip *gc) in gpiochip_hierarchy_is_hierarchical()
1311 struct gpio_chip *gc = d->host_data; in gpiochip_irq_map() local
1350 struct gpio_chip *gc = d->host_data; in gpiochip_irq_unmap() local
1384 struct gpio_chip *gc = domain->host_data; in gpiochip_irq_domain_activate() local
1402 struct gpio_chip *gc = domain->host_data; in gpiochip_irq_domain_deactivate() local
1408 static int gpiochip_to_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_to_irq()
1443 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_reqres() local
1451 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_relres() local
1459 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_mask() local
1468 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_unmask() local
1477 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_enable() local
1485 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpiochip_irq_disable() local
1491 static void gpiochip_set_irq_hooks(struct gpio_chip *gc) in gpiochip_set_irq_hooks()
1542 static int gpiochip_add_irqchip(struct gpio_chip *gc, in gpiochip_add_irqchip()
1636 static void gpiochip_irqchip_remove(struct gpio_chip *gc) in gpiochip_irqchip_remove()
1691 int gpiochip_irqchip_add_domain(struct gpio_chip *gc, in gpiochip_irqchip_add_domain()
1706 static inline int gpiochip_add_irqchip(struct gpio_chip *gc, in gpiochip_add_irqchip()
1712 static void gpiochip_irqchip_remove(struct gpio_chip *gc) {} in gpiochip_irqchip_remove()
1714 static inline int gpiochip_irqchip_init_hw(struct gpio_chip *gc) in gpiochip_irqchip_init_hw()
1719 static inline int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_init_valid_mask()
1723 static inline void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gc) in gpiochip_irqchip_free_valid_mask()
1733 int gpiochip_generic_request(struct gpio_chip *gc, unsigned int offset) in gpiochip_generic_request()
1749 void gpiochip_generic_free(struct gpio_chip *gc, unsigned int offset) in gpiochip_generic_free()
1766 int gpiochip_generic_config(struct gpio_chip *gc, unsigned int offset, in gpiochip_generic_config()
1787 int gpiochip_add_pingroup_range(struct gpio_chip *gc, in gpiochip_add_pingroup_range()
1845 int gpiochip_add_pin_range(struct gpio_chip *gc, const char *pinctl_name, in gpiochip_add_pin_range()
1889 void gpiochip_remove_pin_ranges(struct gpio_chip *gc) in gpiochip_remove_pin_ranges()
1911 struct gpio_chip *gc = desc->gdev->chip; in gpiod_request_commit() local
2030 struct gpio_chip *gc; in gpiod_free_commit() local
2097 const char *gpiochip_is_requested(struct gpio_chip *gc, unsigned int offset) in gpiochip_is_requested()
2132 struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc, in gpiochip_request_own_desc()
2185 static int gpio_do_set_config(struct gpio_chip *gc, unsigned int offset, in gpio_do_set_config()
2198 struct gpio_chip *gc = desc->gdev->chip; in gpio_set_config_with_argument() local
2289 struct gpio_chip *gc; in gpiod_direction_input() local
2335 struct gpio_chip *gc = desc->gdev->chip; in gpiod_direction_output_raw_commit() local
2478 struct gpio_chip *gc; in gpiod_enable_hw_timestamp_ns() local
2507 struct gpio_chip *gc; in gpiod_disable_hw_timestamp_ns() local
2536 struct gpio_chip *gc; in gpiod_set_config() local
2611 static int gpio_chip_get_value(struct gpio_chip *gc, const struct gpio_desc *desc) in gpio_chip_get_value()
2640 struct gpio_chip *gc; in gpiod_get_raw_value_commit() local
2650 static int gpio_chip_get_multiple(struct gpio_chip *gc, in gpio_chip_get_multiple()
2706 struct gpio_chip *gc = desc_array[i]->gdev->chip; in gpiod_get_array_value_complex() local
2891 struct gpio_chip *gc = desc->gdev->chip; in gpio_set_open_drain_value_commit() local
2916 struct gpio_chip *gc = desc->gdev->chip; in gpio_set_open_source_value_commit() local
2935 struct gpio_chip *gc; in gpiod_set_raw_value_commit() local
2952 static void gpio_chip_set_multiple(struct gpio_chip *gc, in gpio_chip_set_multiple()
3000 struct gpio_chip *gc = desc_array[i]->gdev->chip; in gpiod_set_array_value_complex() local
3229 struct gpio_chip *gc; in gpiod_to_irq() local
3273 int gpiochip_lock_as_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_lock_as_irq()
3327 void gpiochip_unlock_as_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_unlock_as_irq()
3344 void gpiochip_disable_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_disable_irq()
3354 void gpiochip_enable_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_enable_irq()
3371 bool gpiochip_line_is_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_irq()
3380 int gpiochip_reqres_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_reqres_irq()
3397 void gpiochip_relres_irq(struct gpio_chip *gc, unsigned int offset) in gpiochip_relres_irq()
3404 bool gpiochip_line_is_open_drain(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_open_drain()
3413 bool gpiochip_line_is_open_source(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_open_source()
3422 bool gpiochip_line_is_persistent(struct gpio_chip *gc, unsigned int offset) in gpiochip_line_is_persistent()
3665 struct gpio_chip *gc; in gpiod_add_hogs() local
3740 struct gpio_chip *gc; in gpiod_find() local
4184 struct gpio_chip *gc; in gpiod_hog() local
4216 static void gpiochip_free_hogs(struct gpio_chip *gc) in gpiochip_free_hogs()
4243 struct gpio_chip *gc; in gpiod_get_array() local
4480 struct gpio_chip *gc = gdev->chip; in gpiolib_dbg_show() local
4554 struct gpio_chip *gc = gdev->chip; in gpiolib_seq_show() local