Lines Matching defs:device
38 static int toshiba_bt_rfkill_add(struct acpi_device *device);
39 static void toshiba_bt_rfkill_remove(struct acpi_device *device);
40 static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event);
49 static int toshiba_bt_resume(struct device *dev);
72 * Some Toshiba laptops may have a fake TOS6205 device in
83 pr_info("Bluetooth device not present\n");
97 pr_err("Could not get Bluetooth device status\n");
110 pr_err("Could not attach USB Bluetooth device\n");
116 pr_err("Could not power ON Bluetooth device\n");
129 pr_err("Could not power OFF Bluetooth device\n");
135 pr_err("Could not detach USB Bluetooth device\n");
149 pr_err("Could not sync bluetooth device status\n");
194 * the 'on' position. When flipping it to 'off', the USB device is
207 static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event)
209 struct toshiba_bluetooth_dev *bt_dev = acpi_driver_data(device);
218 static int toshiba_bt_resume(struct device *dev)
235 static int toshiba_bt_rfkill_add(struct acpi_device *device)
240 result = toshiba_bluetooth_present(device->handle);
244 pr_info("Toshiba ACPI Bluetooth device driver\n");
249 bt_dev->acpi_dev = device;
250 device->driver_data = bt_dev;
251 dev_set_drvdata(&device->dev, bt_dev);
260 &device->dev,
265 pr_err("Unable to allocate rfkill device\n");
274 pr_err("Unable to register rfkill device\n");
282 static void toshiba_bt_rfkill_remove(struct acpi_device *device)
284 struct toshiba_bluetooth_dev *bt_dev = acpi_driver_data(device);
294 toshiba_bluetooth_disable(device->handle);