Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-of.c650 static int of_gpiochip_add_hog(struct gpio_chip *chip, struct device_node *hog) in of_gpiochip_add_hog() argument
660 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
669 desc->hog = hog; in of_gpiochip_add_hog()
712 struct device_node *hog) in of_gpiochip_remove_hog() argument
719 descs[i].hog == hog) in of_gpiochip_remove_hog()
Dgpiolib.c544 static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog) in gpiochip_machine_hog() argument
549 desc = gpiochip_get_desc(gc, hog->chip_hwnum); in gpiochip_machine_hog()
559 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
562 __func__, gc->label, hog->chip_hwnum, rv); in gpiochip_machine_hog()
567 struct gpiod_hog *hog; in machine_gpiochip_add() local
571 list_for_each_entry(hog, &gpio_machine_hogs, list) { in machine_gpiochip_add()
572 if (!strcmp(gc->label, hog->chip_label)) in machine_gpiochip_add()
573 gpiochip_machine_hog(gc, hog); in machine_gpiochip_add()
2036 desc->hog = NULL; in gpiod_free_commit()
3586 struct gpiod_hog *hog; in gpiod_add_hogs() local
[all …]
Dgpiolib.h160 struct device_node *hog; member
/drivers/of/unittest-data/
Doverlay_gpio_04b.dts10 gpio-hog;
Doverlay_gpio_02b.dts10 gpio-hog;
Doverlay_gpio_01.dts17 gpio-hog;
Doverlay_gpio_03.dts17 gpio-hog;