Home
last modified time | relevance | path

Searched refs:hogs (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/linux/gpio/
Dmachine.h115 void gpiod_add_hogs(struct gpiod_hog *hogs);
116 void gpiod_remove_hogs(struct gpiod_hog *hogs);
124 static inline void gpiod_add_hogs(struct gpiod_hog *hogs) {} in gpiod_add_hogs() argument
125 static inline void gpiod_remove_hogs(struct gpiod_hog *hogs) {} in gpiod_remove_hogs() argument
/linux-6.1.9/drivers/gpio/
Dgpio-sim.c500 struct gpiod_hog *hogs; member
730 if (!dev->hogs) in gpio_sim_remove_hogs()
733 gpiod_remove_hogs(dev->hogs); in gpio_sim_remove_hogs()
735 for (hog = dev->hogs; !hog->chip_label; hog++) { in gpio_sim_remove_hogs()
740 kfree(dev->hogs); in gpio_sim_remove_hogs()
741 dev->hogs = NULL; in gpio_sim_remove_hogs()
762 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()
763 if (!dev->hogs) in gpio_sim_add_hogs()
771 hog = &dev->hogs[idx++]; in gpio_sim_add_hogs()
812 gpiod_add_hogs(dev->hogs); in gpio_sim_add_hogs()
Dgpiolib.c3663 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs() argument
3670 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()
3686 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_remove_hogs() argument
3691 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
/linux-6.1.9/arch/arm/boot/dts/
Dste-hrefprev60.dtsi69 /* Set this up using hogs */
Dimx6qdl-solidsense.dtsi104 /* already claimed in the HB2 hogs */
Dste-hrefv60plus.dtsi199 * Set this up using hogs, as time goes by and as seems fit, these
Dste-snowball.dts500 * Set this up using hogs, as time goes by and as seems fit, these