Home
last modified time | relevance | path

Searched refs:epdrv (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/sh/drivers/
Dplatform_early.c67 int __init sh_early_platform_driver_register(struct sh_early_platform_driver *epdrv, in sh_early_platform_driver_register() argument
76 if (!epdrv->list.next) { in sh_early_platform_driver_register()
77 INIT_LIST_HEAD(&epdrv->list); in sh_early_platform_driver_register()
78 list_add_tail(&epdrv->list, &sh_early_platform_driver_list); in sh_early_platform_driver_register()
85 n = strlen(epdrv->pdrv->driver.name); in sh_early_platform_driver_register()
86 if (buf && !strncmp(buf, epdrv->pdrv->driver.name, n)) { in sh_early_platform_driver_register()
87 list_move(&epdrv->list, &sh_early_platform_driver_list); in sh_early_platform_driver_register()
91 epdrv->requested_id = -1; in sh_early_platform_driver_register()
93 epdrv->requested_id = simple_strtoul(&buf[n + 1], in sh_early_platform_driver_register()
97 epdrv->requested_id = EARLY_PLATFORM_ID_ERROR; in sh_early_platform_driver_register()
[all …]
/linux-6.12.1/arch/sh/include/asm/
Dplatform_early.h23 extern int sh_early_platform_driver_register(struct sh_early_platform_driver *epdrv,