Lines Matching refs:bcm_device
94 struct bcm_device { struct
104 int (*set_device_wakeup)(struct bcm_device *, bool); argument
105 int (*set_shutdown)(struct bcm_device *, bool); argument
137 struct bcm_device *dev; argument
206 static bool bcm_device_exists(struct bcm_device *device) in bcm_device_exists()
217 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_device_exists()
226 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered) in bcm_gpio_set_power()
301 struct bcm_device *bdev = data; in bcm_host_wake()
314 struct bcm_device *bdev = bcm->dev; in bcm_request_irq()
448 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_open()
502 struct bcm_device *bdev = NULL; in bcm_close()
709 struct bcm_device *bdev = NULL; in bcm_dequeue()
734 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device()
764 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device()
793 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend()
827 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume()
898 struct bcm_device *dev = data; in bcm_resource()
935 static int bcm_apple_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_apple_set_device_wakeup()
943 static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered) in bcm_apple_set_shutdown()
952 static int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
973 static inline int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
979 static int bcm_gpio_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_gpio_set_device_wakeup()
985 static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered) in bcm_gpio_set_shutdown()
1010 static int bcm_get_resources(struct bcm_device *dev) in bcm_get_resources()
1087 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1141 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1147 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
1160 struct bcm_device *dev; in bcm_probe()
1206 struct bcm_device *dev = platform_get_drvdata(pdev); in bcm_remove()
1423 struct bcm_device *bcmdev; in bcm_serdev_probe()
1473 struct bcm_device *bcmdev = serdev_device_get_drvdata(serdev); in bcm_serdev_remove()