Lines Matching refs:bcm_device
83 struct bcm_device { struct
93 int (*set_device_wakeup)(struct bcm_device *, bool); argument
94 int (*set_shutdown)(struct bcm_device *, bool); argument
122 struct bcm_device *dev; argument
191 static bool bcm_device_exists(struct bcm_device *device) in bcm_device_exists()
202 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_device_exists()
211 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered) in bcm_gpio_set_power()
286 struct bcm_device *bdev = data; in bcm_host_wake()
299 struct bcm_device *bdev = bcm->dev; in bcm_request_irq()
431 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_open()
472 struct bcm_device *bdev = NULL; in bcm_close()
673 struct bcm_device *bdev = NULL; in bcm_dequeue()
698 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device()
728 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device()
757 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend()
791 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume()
862 struct bcm_device *dev = data; in bcm_resource()
899 static int bcm_apple_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_apple_set_device_wakeup()
907 static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered) in bcm_apple_set_shutdown()
916 static int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
937 static inline int bcm_apple_get_resources(struct bcm_device *dev) in bcm_apple_get_resources()
943 static int bcm_gpio_set_device_wakeup(struct bcm_device *dev, bool awake) in bcm_gpio_set_device_wakeup()
949 static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered) in bcm_gpio_set_shutdown()
974 static int bcm_get_resources(struct bcm_device *dev) in bcm_get_resources()
1051 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1105 static int bcm_acpi_probe(struct bcm_device *dev) in bcm_acpi_probe()
1111 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
1119 struct bcm_device *dev; in bcm_probe()
1157 struct bcm_device *dev = platform_get_drvdata(pdev); in bcm_remove()
1374 struct bcm_device *bcmdev; in bcm_serdev_probe()
1414 struct bcm_device *bcmdev = serdev_device_get_drvdata(serdev); in bcm_serdev_remove()