Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/gpio/
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
/Linux-v6.6/drivers/gpio/
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[idx++]; in gpio_sim_add_hogs()
808 gpiod_add_hogs(dev->hogs); in gpio_sim_add_hogs()
Dgpiolib.c3787 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs() argument
3794 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()
3810 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_remove_hogs() argument
3815 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
/Linux-v6.6/arch/arm/boot/dts/st/
Dste-hrefprev60.dtsi69 /* Set this up using 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
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-solidsense.dtsi104 /* already claimed in the HB2 hogs */