Lines Matching defs:device
3 * PCI glue for ISHTP provider device (ISH) driver
11 #include <linux/device.h>
46 * @dev: ishtp device
68 * @dev: ishtp device
106 return !pm_suspend_via_firmware() || pdev->device == CHV_DEVICE_ID;
111 return !pm_resume_via_firmware() || pdev->device == CHV_DEVICE_ID;
116 * @pdev: pci device
117 * @ent: pci device id
129 struct device *dev = &pdev->dev;
138 dev_err(dev, "ISH: Failed to enable PCI device\n");
161 /* mapping IO device memory */
191 * @pdev: pci device
203 static struct device __maybe_unused *ish_resume_device;
251 * @device: device pointer
257 static int __maybe_unused ish_suspend(struct device *device)
259 struct pci_dev *pdev = to_pci_dev(device);
288 * Save state so PCI core will keep the device at D0,
309 * @device: device pointer
315 static int __maybe_unused ish_resume(struct device *device)
317 struct pci_dev *pdev = to_pci_dev(device);
320 ish_resume_device = device;