Lines Matching defs:device

52  * struct bcm_device_data - device specific data
61 * struct bcm_device - device driver resources
65 * @name: device name logged by bt_dev_*() functions
67 * assert = Bluetooth device must wake up or remain awake,
68 * deassert = Bluetooth device may sleep when sleep criteria are met
70 * power up or power down Bluetooth device internal regulators
78 * @txco_clk: external reference frequency clock used by Bluetooth device
79 * @lpo_clk: external LPO clock used by Bluetooth device
80 * @supplies: VBAT and VDDIO supplies used by Bluetooth device
82 * @init_speed: default baudrate of Bluetooth device;
84 * it can configure the Bluetooth device for @oper_speed
85 * @oper_speed: preferred baudrate of Bluetooth device;
99 struct device *dev;
206 static bool bcm_device_exists(struct bcm_device *device)
212 if (device && device->hu && device->hu->serdev)
219 if (device == dev)
277 /* wait for device to power on and come out of reset */
356 .idle_dev = 2, /* idle threshold device, in 300ms */
451 * platform device (saved during device probe) and
452 * parent of tty device used by hci_uart
507 /* Protect bcm->dev against removal of the device or driver */
615 * device tree.
731 static int bcm_suspend_device(struct device *dev)
745 /* Suspend the device */
761 static int bcm_resume_device(struct device *dev)
777 /* When this executes, the device has woken up already */
790 static int bcm_suspend(struct device *dev)
798 * When used with a device instantiated as platform_device, bcm_suspend
799 * can be called at any time as long as the platform device is bound,
824 static int bcm_resume(struct device *dev)
832 * When used with a device instantiated as platform_device, bcm_resume
833 * can be called at any time as long as platform device is bound,
882 { "device-wakeup-gpios", &first_gpio, 1 },
890 { "device-wakeup-gpios", &second_gpio, 1 },
991 static struct clk *bcm_get_txco(struct device *dev)
1042 dev->device_wakeup = devm_gpiod_get_optional(dev->dev, "device-wakeup",
1189 dev_info(&pdev->dev, "%s device registered.\n", dev->name);
1191 /* Place this instance on the device list */
1211 dev_info(&pdev->dev, "%s device unregistered.\n", dev->name);
1514 /* For now, we need to keep both platform device