Lines Matching refs:bcm_device
112 struct bcm_device { struct
123 int (*set_device_wakeup)(struct bcm_device *, bool); argument
124 int (*set_shutdown)(struct bcm_device *, bool); argument
159 struct bcm_device *dev; argument
229 static bool bcm_device_exists(struct bcm_device *device) in bcm_device_exists()
240 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_device_exists()
249 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered) in bcm_gpio_set_power()
324 struct bcm_device *bdev = data; in bcm_host_wake()
337 struct bcm_device *bdev = bcm->dev; in bcm_request_irq()
471 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_open()
530 struct bcm_device *bdev = NULL; in bcm_close()
739 struct bcm_device *bdev = NULL; in bcm_dequeue()
764 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device()
794 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device()
823 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend()
857 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume()
963 struct bcm_device *dev = data; in bcm_resource()
1000 static int bcm_apple_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_apple_set_device_wakeup()
1008 static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered) in bcm_apple_set_shutdown()
1017 static int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
1038 static inline int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
1044 static int bcm_gpio_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_gpio_set_device_wakeup()
1050 static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered) in bcm_gpio_set_shutdown()
1084 static int bcm_get_resources(struct bcm_device *dev) in bcm_get_resources()
1177 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1231 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1237 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
1252 struct bcm_device *dev; in bcm_probe()
1298 struct bcm_device *dev = platform_get_drvdata(pdev); in bcm_remove()
1522 struct bcm_device *bcmdev; in bcm_serdev_probe()
1576 struct bcm_device *bcmdev = serdev_device_get_drvdata(serdev); in bcm_serdev_remove()