Searched refs:hogs (Results 1 – 7 of 7) sorted by relevance
114 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() argument124 static inline void gpiod_remove_hogs(struct gpiod_hog *hogs) {} in gpiod_remove_hogs() argument
504 struct gpiod_hog *hogs; member734 if (!dev->hogs) in gpio_sim_remove_hogs()737 gpiod_remove_hogs(dev->hogs); in gpio_sim_remove_hogs()739 for (hog = dev->hogs; hog->chip_label; hog++) { in gpio_sim_remove_hogs()744 kfree(dev->hogs); in gpio_sim_remove_hogs()745 dev->hogs = NULL; in gpio_sim_remove_hogs()766 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()767 if (!dev->hogs) in gpio_sim_add_hogs()775 hog = &dev->hogs[idx++]; in gpio_sim_add_hogs()815 gpiod_add_hogs(dev->hogs); in gpio_sim_add_hogs()
3725 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs() argument3732 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs()3748 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_remove_hogs() argument3753 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
69 /* Set this up using hogs */
104 /* already claimed in the HB2 hogs */
199 * Set this up using hogs, as time goes by and as seems fit, these
500 * Set this up using hogs, as time goes by and as seems fit, these
Completed in 17 milliseconds