Lines Matching refs:device
15 #include <linux/device.h>
26 struct device *dev;
41 * Control the devfreq-event device to get the current state of bus
92 static int exynos_bus_target(struct device *dev, unsigned long *freq, u32 flags)
118 static int exynos_bus_get_dev_status(struct device *dev,
150 static void exynos_bus_exit(struct device *dev)
167 static void exynos_bus_passive_exit(struct device *dev)
178 struct device *dev = bus->dev;
245 struct device *dev = bus->dev;
294 struct device *dev = bus->dev;
298 /* Initialize the struct profile and governor data for parent device */
311 /* Add devfreq device to monitor and handle the exynos bus */
316 dev_err(dev, "failed to add devfreq device\n");
355 struct device *dev = bus->dev;
359 /* Initialize the struct profile and governor data for passive device */
363 /* Get the instance of parent devfreq device */
374 /* Add devfreq device for exynos bus with passive governor */
388 struct device *dev = &pdev->dev;
422 /* Parse the device-tree to get the resource information */
438 pr_info("exynos-bus: new bus device registered: %s (%6ld KHz ~ %6ld KHz)\n",
463 static int exynos_bus_resume(struct device *dev)
477 static int exynos_bus_suspend(struct device *dev)