gpiod_hog
static struct gpiod_hog ams_delta_gpio_hogs[] = {
struct gpiod_hog *hogs;
struct gpiod_hog *hog;
struct gpiod_hog *hog;
ret = gpiod_hog(desc, name, lflags, dflags);
ret = gpiod_hog(desc, name, lflags, dflags);
void gpiod_add_hogs(struct gpiod_hog *hogs)
struct gpiod_hog *hog;
void gpiod_remove_hogs(struct gpiod_hog *hogs)
struct gpiod_hog *hog;
static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog)
rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags);
struct gpiod_hog *hog;
int gpiod_hog(struct gpio_desc *desc, const char *name,
(struct gpiod_hog) { \
void gpiod_add_hogs(struct gpiod_hog *hogs);
void gpiod_remove_hogs(struct gpiod_hog *hogs);
static inline void gpiod_add_hogs(struct gpiod_hog *hogs) {}
static inline void gpiod_remove_hogs(struct gpiod_hog *hogs) {}