Lines Matching defs:drivers

175  * Gets an interrupt for a platform device. Device drivers should check the
264 * Gets an interrupt for a platform device. Device drivers should check the
290 * IRQ fails. Device drivers should check the return value for errors so as to
965 * One typical use for this would be with drivers for controllers integrated
982 pr_err("%s: drivers registered with %s can not be probed asynchronously\n",
1083 * __platform_register_drivers - register an array of platform drivers
1084 * @drivers: an array of drivers to register
1085 * @count: the number of drivers to register
1086 * @owner: module owning the drivers
1089 * Registers platform drivers specified by an array. On failure to register a
1090 * driver, all previously registered drivers will be unregistered. Callers of
1091 * this API should use platform_unregister_drivers() to unregister drivers in
1096 int __platform_register_drivers(struct platform_driver * const *drivers,
1103 pr_debug("registering platform driver %ps\n", drivers[i]);
1105 err = __platform_driver_register(drivers[i], owner, mod_name);
1108 drivers[i], err);
1117 pr_debug("unregistering platform driver %ps\n", drivers[i]);
1118 platform_driver_unregister(drivers[i]);
1126 * platform_unregister_drivers - unregister an array of platform drivers
1127 * @drivers: an array of drivers to unregister
1128 * @count: the number of drivers to unregister
1130 * Unregisters platform drivers specified by an array. This is typically used
1134 void platform_unregister_drivers(struct platform_driver * const *drivers,
1138 pr_debug("unregistering platform driver %ps\n", drivers[count]);
1139 platform_driver_unregister(drivers[count]);
1422 * and so is gone. For these drivers .probe is set to