Searched refs:chip_label (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/linux/gpio/ |
D | machine.h | 60 const char *chip_label; member 104 .chip_label = _chip_label, \
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-mockup.c | 508 char chip_label[32]; in gpio_mockup_register_chip() local 515 snprintf(chip_label, sizeof(chip_label), "gpio-mockup-%c", idx + 'A'); in gpio_mockup_register_chip() 516 properties[prop++] = PROPERTY_ENTRY_STRING("chip-label", chip_label); in gpio_mockup_register_chip() 527 line_names = kasprintf_strarray(GFP_KERNEL, chip_label, ngpio); in gpio_mockup_register_chip()
|
D | gpio-sim.c | 735 for (hog = dev->hogs; !hog->chip_label; hog++) { in gpio_sim_remove_hogs() 736 kfree(hog->chip_label); in gpio_sim_remove_hogs() 779 hog->chip_label = kstrdup(bank->label, in gpio_sim_add_hogs() 782 hog->chip_label = kasprintf(GFP_KERNEL, in gpio_sim_add_hogs() 787 if (!hog->chip_label) { in gpio_sim_add_hogs()
|
D | gpiolib.c | 574 if (!strcmp(gc->label, hog->chip_label)) in machine_gpiochip_add() 3670 for (hog = &hogs[0]; hog->chip_label; hog++) { in gpiod_add_hogs() 3677 gc = find_chip_by_name(hog->chip_label); in gpiod_add_hogs() 3691 for (hog = &hogs[0]; hog->chip_label; hog++) in gpiod_remove_hogs()
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | board-da850-evm.c | 1082 .chip_label = "davinci_gpio",
|