Searched refs:hog (Results 1 – 7 of 7) sorted by relevance
/drivers/gpio/ |
D | gpiolib-of.c | 650 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()
|
D | gpiolib.c | 522 static void gpiochip_machine_hog(struct gpio_chip *gc, struct gpiod_hog *hog) in gpiochip_machine_hog() argument 527 desc = gpiochip_get_desc(gc, hog->chip_hwnum); in gpiochip_machine_hog() 537 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog() 540 __func__, gc->label, hog->chip_hwnum, rv); in gpiochip_machine_hog() 545 struct gpiod_hog *hog; in machine_gpiochip_add() local 549 list_for_each_entry(hog, &gpio_machine_hogs, list) { in machine_gpiochip_add() 550 if (!strcmp(gc->label, hog->chip_label)) in machine_gpiochip_add() 551 gpiochip_machine_hog(gc, hog); in machine_gpiochip_add() 2149 desc->hog = NULL; in gpiod_free_commit() 3651 struct gpiod_hog *hog; in gpiod_add_hogs() local [all …]
|
D | gpiolib.h | 125 struct device_node *hog; member
|
/drivers/of/unittest-data/ |
D | overlay_gpio_02b.dts | 10 gpio-hog;
|
D | overlay_gpio_04b.dts | 10 gpio-hog;
|
D | overlay_gpio_01.dts | 17 gpio-hog;
|
D | overlay_gpio_03.dts | 17 gpio-hog;
|