Lines Matching defs:bcm_device

61  * struct bcm_device - device driver resources
94 struct bcm_device {
104 int (*set_device_wakeup)(struct bcm_device *, bool);
105 int (*set_shutdown)(struct bcm_device *, bool);
137 struct bcm_device *dev;
206 static bool bcm_device_exists(struct bcm_device *device)
217 struct bcm_device *dev = list_entry(p, struct bcm_device, list);
226 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered)
301 struct bcm_device *bdev = data;
314 struct bcm_device *bdev = bcm->dev;
448 struct bcm_device *dev = list_entry(p, struct bcm_device, list);
450 /* Retrieve saved bcm_device based on parent of the
502 struct bcm_device *bdev = NULL;
708 struct bcm_device *bdev = NULL;
733 struct bcm_device *bdev = dev_get_drvdata(dev);
763 struct bcm_device *bdev = dev_get_drvdata(dev);
792 struct bcm_device *bdev = dev_get_drvdata(dev);
826 struct bcm_device *bdev = dev_get_drvdata(dev);
897 struct bcm_device *dev = data;
934 static int bcm_apple_set_device_wakeup(struct bcm_device *dev, bool awake)
942 static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered)
951 static int bcm_apple_get_resources(struct bcm_device *dev)
972 static inline int bcm_apple_get_resources(struct bcm_device *dev)
978 static int bcm_gpio_set_device_wakeup(struct bcm_device *dev, bool awake)
984 static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered)
1009 static int bcm_get_resources(struct bcm_device *dev)
1086 static int bcm_acpi_probe(struct bcm_device *dev)
1140 static int bcm_acpi_probe(struct bcm_device *dev)
1146 static int bcm_of_probe(struct bcm_device *bdev)
1159 struct bcm_device *dev;
1205 struct bcm_device *dev = platform_get_drvdata(pdev);
1422 struct bcm_device *bcmdev;
1472 struct bcm_device *bcmdev = serdev_device_get_drvdata(serdev);