Searched refs:line_names (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-mockup.c | 524 char **line_names = NULL; in gpio_mockup_register_chip() local 544 line_names = kasprintf_strarray(GFP_KERNEL, chip_label, ngpio); in gpio_mockup_register_chip() 545 if (!line_names) in gpio_mockup_register_chip() 549 "gpio-line-names", line_names, ngpio); in gpio_mockup_register_chip() 554 kfree_strarray(line_names, ngpio); in gpio_mockup_register_chip() 563 kfree_strarray(line_names, ngpio); in gpio_mockup_register_chip()
|
D | gpio-sim.c | 778 gpio_sim_set_line_names(struct gpio_sim_bank *bank, char **line_names) in gpio_sim_set_line_names() argument 786 line_names[line->offset] = line->name; in gpio_sim_set_line_names() 892 char **line_names __free(kfree) = NULL; in gpio_sim_make_bank_swnode() 904 line_names = kcalloc(line_names_size, sizeof(*line_names), in gpio_sim_make_bank_swnode() 906 if (!line_names) in gpio_sim_make_bank_swnode() 909 gpio_sim_set_line_names(bank, line_names); in gpio_sim_make_bank_swnode() 913 line_names, line_names_size); in gpio_sim_make_bank_swnode()
|