Lines Matching defs:dev
11 * @dev: the device the queue belongs to
15 * @dev. Drivers that want to take advantage of request-based runtime PM
16 * should call this function after @dev has been initialized, and its
29 void blk_pm_runtime_init(struct request_queue *q, struct device *dev)
31 q->dev = dev;
33 pm_runtime_set_autosuspend_delay(q->dev, -1);
34 pm_runtime_use_autosuspend(q->dev);
63 if (!q->dev)
97 pm_runtime_mark_last_busy(q->dev);
122 if (!q->dev)
130 pm_runtime_mark_last_busy(q->dev);
152 if (!q->dev)
178 if (!q->dev)
184 pm_runtime_mark_last_busy(q->dev);
185 pm_request_autosuspend(q->dev);