Lines Matching refs:drivers

159  * Gets an IRQ for a platform device. Device drivers should check the return
249 * IRQ fails. Device drivers should check the return value for errors so as to
841 * One typical use for this would be with drivers for controllers integrated
856 pr_err("%s: drivers registered with %s can not be probed asynchronously\n",
885 * the list of drivers in order to probe new devices. Check to see
960 * __platform_register_drivers - register an array of platform drivers
961 * @drivers: an array of drivers to register
962 * @count: the number of drivers to register
963 * @owner: module owning the drivers
965 * Registers platform drivers specified by an array. On failure to register a
966 * driver, all previously registered drivers will be unregistered. Callers of
967 * this API should use platform_unregister_drivers() to unregister drivers in
972 int __platform_register_drivers(struct platform_driver * const *drivers,
979 pr_debug("registering platform driver %ps\n", drivers[i]);
981 err = __platform_driver_register(drivers[i], owner);
984 drivers[i], err);
993 pr_debug("unregistering platform driver %ps\n", drivers[i]);
994 platform_driver_unregister(drivers[i]);
1002 * platform_unregister_drivers - unregister an array of platform drivers
1003 * @drivers: an array of drivers to unregister
1004 * @count: the number of drivers to unregister
1006 * Unregisters platform drivers specified by an array. This is typically used
1010 void platform_unregister_drivers(struct platform_driver * const *drivers,
1014 pr_debug("unregistering platform driver %ps\n", drivers[count]);
1015 platform_driver_unregister(drivers[count]);