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>
23 * enum probe_type - device driver probe type to try
35 * device registration (with the exception of -EPROBE_DEFER
36 * handling - re-probing always ends up being done asynchronously).
51 * struct device_driver - The basic device driver structure
55 * @mod_name: Used for built-in modules.
72 * @shutdown: Called at shut-down time to quiesce the device.
80 * @pm: Power management operations of the device which matched
83 * is expected to call the dev_coredump API resulting in a
88 * The device driver-model tracks all of the drivers known to the system.
100 const char *mod_name; /* used for built-in modules */
117 const struct dev_pm_ops *pm; member
163 * driver_find_device_by_name - device iterator for locating a particular device
175 * driver_find_device_by_of_node- device iterator for locating a particular device
188 * driver_find_device_by_fwnode- device iterator for locating a particular device
201 * driver_find_device_by_devt- device iterator for locating a particular device
245 * module_driver() - Helper macro for drivers that don't do anything
271 * builtin_driver() - Helper macro for drivers that don't do anything