Home
last modified time | relevance | path

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

/linux/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
/linux/drivers/gpio/
H A Dgpio-sim.c564 struct gpiod_hog *hogs; member
781 if (!dev->hogs) in gpio_sim_remove_hogs()
784 gpiod_remove_hogs(dev->hogs); in gpio_sim_remove_hogs()
786 for (hog = dev->hogs; hog->chip_label; hog++) { in gpio_sim_remove_hogs()
791 kfree(dev->hogs); in gpio_sim_remove_hogs()
792 dev->hogs = NULL; in gpio_sim_remove_hogs()
816 dev->hogs = kzalloc_objs(*dev->hogs, num_hogs + 1); in gpio_sim_add_hogs()
817 if (!dev->hogs) in gpio_sim_add_hogs()
828 hog = &dev->hogs[idx++]; in gpio_sim_add_hogs()
868 gpiod_add_hogs(dev->hogs); in gpio_sim_add_hogs()
H A Dgpiolib.c4473 * gpiod_add_hogs() - register a set of GPIO hogs from machine code
4474 * @hogs: table of gpio hog entries with a zeroed sentinel at the end
4476 void gpiod_add_hogs(struct gpiod_hog *hogs)
4482 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()
4497 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs()
4503 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
4479 gpiod_add_hogs(struct gpiod_hog * hogs) gpiod_add_hogs() argument
4500 gpiod_remove_hogs(struct gpiod_hog * hogs) gpiod_remove_hogs() argument
/linux/arch/arm/boot/dts/st/
H A Dste-hrefprev60.dtsi69 /* Set this up using hogs */
H A Dste-hrefv60plus.dtsi198 * Set this up using hogs, as time goes by and as seems fit, these
H A Dste-snowball.dts500 * Set this up using hogs, as time goes by and as seems fit, these
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-solidsense.dtsi103 /* already claimed in the HB2 hogs */