Lines Matching +full:pm +full:- +full:api
1 // SPDX-License-Identifier: GPL-2.0
3 * The driver-specific portions of the driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 * Copyright (c) 2012-2019 Linux Foundation
11 * See Documentation/driver-api/driver-model/ for more information.
19 #include <linux/pm.h>
24 * enum probe_type - device driver probe type to try
36 * device registration (with the exception of -EPROBE_DEFER
37 * handling - re-probing always ends up being done asynchronously).
52 * struct device_driver - The basic device driver structure
56 * @mod_name: Used for built-in modules.
73 * @shutdown: Called at shut-down time to quiesce the device.
81 * @pm: Power management operations of the device which matched
84 * is expected to call the dev_coredump API resulting in a
89 * The device driver-model tracks all of the drivers known to the system.
101 const char *mod_name; /* used for built-in modules */
118 const struct dev_pm_ops *pm; member
167 * driver_find_device_by_name - device iterator for locating a particular device
179 * driver_find_device_by_of_node- device iterator for locating a particular device
192 * driver_find_device_by_fwnode- device iterator for locating a particular device
205 * driver_find_device_by_devt- device iterator for locating a particular device
249 * module_driver() - Helper macro for drivers that don't do anything
275 * builtin_driver() - Helper macro for drivers that don't do anything