Lines Matching refs:bcm_device

69  * struct bcm_device - device driver resources
112 struct bcm_device {
123 int (*set_device_wakeup)(struct bcm_device *, bool);
124 int (*set_shutdown)(struct bcm_device *, bool);
159 struct bcm_device *dev;
229 static bool bcm_device_exists(struct bcm_device *device)
240 struct bcm_device *dev = list_entry(p, struct bcm_device, list);
249 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered)
324 struct bcm_device *bdev = data;
337 struct bcm_device *bdev = bcm->dev;
471 struct bcm_device *dev = list_entry(p, struct bcm_device, list);
473 /* Retrieve saved bcm_device based on parent of the
530 struct bcm_device *bdev = NULL;
739 struct bcm_device *bdev = NULL;
764 struct bcm_device *bdev = dev_get_drvdata(dev);
794 struct bcm_device *bdev = dev_get_drvdata(dev);
823 struct bcm_device *bdev = dev_get_drvdata(dev);
857 struct bcm_device *bdev = dev_get_drvdata(dev);
963 struct bcm_device *dev = data;
1000 static int bcm_apple_set_device_wakeup(struct bcm_device *dev, bool awake)
1008 static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered)
1017 static int bcm_apple_get_resources(struct bcm_device *dev)
1038 static inline int bcm_apple_get_resources(struct bcm_device *dev)
1044 static int bcm_gpio_set_device_wakeup(struct bcm_device *dev, bool awake)
1050 static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered)
1084 static int bcm_get_resources(struct bcm_device *dev)
1177 static int bcm_acpi_probe(struct bcm_device *dev)
1231 static int bcm_acpi_probe(struct bcm_device *dev)
1237 static int bcm_of_probe(struct bcm_device *bdev)
1252 struct bcm_device *dev;
1298 struct bcm_device *dev = platform_get_drvdata(pdev);
1522 struct bcm_device *bcmdev;
1576 struct bcm_device *bcmdev = serdev_device_get_drvdata(serdev);