Lines Matching defs:data
566 int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
649 gdev->data = data;
795 * gpiochip_get_data() - get per-subdriver data for the chip
799 * The per-subdriver data for the chip.
803 return gc->gpiodev->data;
831 * NULL the driver data pointer
833 gdev->data = NULL;
859 * @data: data to pass to match function
868 struct gpio_chip *gpiochip_find(void *data,
870 void *data))
878 if (gdev->chip && match(gdev->chip, data)) {
889 static int gpiochip_match_name(struct gpio_chip *gc, void *data)
891 const char *name = data;
1116 void *data)
1121 struct irq_fwspec *fwspec = data;
1211 chip_err(gc, "missing irqdomain vital data\n");
1306 * gpiochip by assigning the gpiochip as chip data, and using the irqchip
1375 * @data: Outermost irq_data associated with the IRQ
1383 struct irq_data *data, bool reserve)
1387 return gpiochip_lock_as_irq(gc, data->hwirq);
1394 * @data: Outermost irq_data associated with the IRQ
1401 struct irq_data *data)
1405 return gpiochip_unlock_as_irq(gc, data->hwirq);
1599 void *data;
1602 data = gc->irq.parent_handler_data_array[i];
1604 data = gc->irq.parent_handler_data ?: gc;
1613 data);
1703 * is passed as chip data to all related functions. Driver callbacks
1705 * from the gpiochip passed as chip data. An irqdomain will be stored