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

/linux-4.1.27/drivers/base/
H A Dplatform.c1047 * @epdrv: early_platform driver structure
1052 int __init early_platform_driver_register(struct early_platform_driver *epdrv, early_platform_driver_register() argument
1061 if (!epdrv->list.next) { early_platform_driver_register()
1062 INIT_LIST_HEAD(&epdrv->list); early_platform_driver_register()
1063 list_add_tail(&epdrv->list, &early_platform_driver_list); early_platform_driver_register()
1070 n = strlen(epdrv->pdrv->driver.name); early_platform_driver_register()
1071 if (buf && !strncmp(buf, epdrv->pdrv->driver.name, n)) { early_platform_driver_register()
1072 list_move(&epdrv->list, &early_platform_driver_list); early_platform_driver_register()
1076 epdrv->requested_id = -1; early_platform_driver_register()
1078 epdrv->requested_id = simple_strtoul(&buf[n + 1], early_platform_driver_register()
1082 epdrv->requested_id = EARLY_PLATFORM_ID_ERROR; early_platform_driver_register()
1091 if (epdrv->bufsize) { early_platform_driver_register()
1092 memcpy(epdrv->buffer, &buf[n], early_platform_driver_register()
1093 min_t(int, epdrv->bufsize, strlen(&buf[n]) + 1)); early_platform_driver_register()
1094 epdrv->buffer[epdrv->bufsize - 1] = '\0'; early_platform_driver_register()
1156 * @epdrv: early platform driver structure
1160 early_platform_match(struct early_platform_driver *epdrv, int id) early_platform_match() argument
1165 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) early_platform_match()
1174 * @epdrv: early platform driver structure
1177 static int __init early_platform_left(struct early_platform_driver *epdrv, early_platform_left() argument
1183 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) early_platform_left()
1200 struct early_platform_driver *epdrv; early_platform_driver_probe_id() local
1206 list_for_each_entry(epdrv, &early_platform_driver_list, list) { early_platform_driver_probe_id()
1208 if (strcmp(class_str, epdrv->class_str)) early_platform_driver_probe_id()
1212 match_id = epdrv->requested_id; early_platform_driver_probe_id()
1217 left += early_platform_left(epdrv, id); early_platform_driver_probe_id()
1220 switch (epdrv->requested_id) { early_platform_driver_probe_id()
1225 if (epdrv->requested_id == id) early_platform_driver_probe_id()
1233 class_str, epdrv->pdrv->driver.name); early_platform_driver_probe_id()
1239 match = early_platform_match(epdrv, match_id); early_platform_driver_probe_id()
1263 if (epdrv->pdrv->probe(match)) early_platform_driver_probe_id()
/linux-4.1.27/include/linux/
H A Dplatform_device.h263 extern int early_platform_driver_register(struct early_platform_driver *epdrv,

Completed in 58 milliseconds