Home
last modified time | relevance | path

Searched refs:gpiod_hog (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/gpio/
H A Dmachine.h57 struct gpiod_hog { struct
102 (struct gpiod_hog) { \
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()
124 static inline void gpiod_remove_hogs(struct gpiod_hog *hogs) {} in gpiod_remove_hogs()
/openbmc/linux/drivers/gpio/
H A Dgpiolib.h221 int gpiod_hog(struct gpio_desc *desc, const char *name,
H A Dgpiolib.c638 static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog) in gpiochip_machine_hog()
653 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
661 struct gpiod_hog *hog; in machine_gpiochip_add()
3847 void gpiod_add_hogs(struct gpiod_hog *hogs) in gpiod_add_hogs()
3850 struct gpiod_hog *hog; in gpiod_add_hogs()
3870 void gpiod_remove_hogs(struct gpiod_hog *hogs) in gpiod_remove_hogs()
3872 struct gpiod_hog *hog; in gpiod_remove_hogs()
4313 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog() function
H A Dgpio-sim.c510 struct gpiod_hog *hogs;
719 struct gpiod_hog *hog; in gpio_sim_remove_hogs()
740 struct gpiod_hog *hog; in gpio_sim_add_hogs()
H A Dgpiolib-of.c776 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_add_hog()
H A Dgpiolib-acpi.c1341 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
/openbmc/linux/arch/arm/mach-omap1/
H A Dboard-ams-delta.c580 static struct gpiod_hog ams_delta_gpio_hogs[] = {
/openbmc/linux/Documentation/driver-api/gpio/
H A Dboard.rst187 struct gpiod_hog gpio_hog_table[] = {