Home
last modified time | relevance | path

Searched refs:hogs (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/include/linux/gpio/
H A Dmachine.h114 void gpiod_add_hogs(struct gpiod_hog *hogs);
115 void gpiod_remove_hogs(struct gpiod_hog *hogs);
123 static inline void gpiod_add_hogs(struct gpiod_hog *hogs) {} in gpiod_add_hogs() argument
124 static inline void gpiod_remove_hogs(struct gpiod_hog *hogs) {} in gpiod_remove_hogs() argument
/kernel/linux/linux-5.10/include/linux/gpio/
H A Dmachine.h102 void gpiod_add_hogs(struct gpiod_hog *hogs);
110 static inline void gpiod_add_hogs(struct gpiod_hog *hogs) {} in gpiod_add_hogs() argument
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-sim.c510 struct gpiod_hog *hogs; member
721 if (!dev->hogs) in gpio_sim_remove_hogs()
724 gpiod_remove_hogs(dev->hogs); in gpio_sim_remove_hogs()
726 for (hog = dev->hogs; hog->chip_label; hog++) { in gpio_sim_remove_hogs()
731 kfree(dev->hogs); in gpio_sim_remove_hogs()
732 dev->hogs = NULL; in gpio_sim_remove_hogs()
756 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()
757 if (!dev->hogs) in gpio_sim_add_hogs()
768 hog = &dev->hogs[id in gpio_sim_add_hogs()
[all...]
H A Dgpiolib.c3843 * gpiod_add_hogs() - register a set of GPIO hogs from machine code
3844 * @hogs: table of gpio hog entries with a zeroed sentinel at the end
3846 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs() argument
3853 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()
3869 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_remove_hogs() argument
3874 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib.c3657 * gpiod_add_hogs() - register a set of GPIO hogs from machine code
3658 * @hogs: table of gpio hog entries with a zeroed sentinel at the end
3660 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs() argument
3667 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()

Completed in 17 milliseconds