bt_dev 143 drivers/platform/x86/toshiba_bluetooth.c static int toshiba_bluetooth_sync_status(struct toshiba_bluetooth_dev *bt_dev) bt_dev 147 drivers/platform/x86/toshiba_bluetooth.c status = toshiba_bluetooth_status(bt_dev->acpi_dev->handle); bt_dev 153 drivers/platform/x86/toshiba_bluetooth.c bt_dev->killswitch = (status & BT_KILLSWITCH_MASK) ? true : false; bt_dev 154 drivers/platform/x86/toshiba_bluetooth.c bt_dev->plugged = (status & BT_PLUGGED_MASK) ? true : false; bt_dev 155 drivers/platform/x86/toshiba_bluetooth.c bt_dev->powered = (status & BT_POWER_MASK) ? true : false; bt_dev 158 drivers/platform/x86/toshiba_bluetooth.c status, bt_dev->killswitch, bt_dev->plugged, bt_dev->powered); bt_dev 166 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev = data; bt_dev 169 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_sync_status(bt_dev); bt_dev 173 drivers/platform/x86/toshiba_bluetooth.c if (!bt_dev->killswitch) bt_dev 177 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_disable(bt_dev->acpi_dev->handle); bt_dev 179 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_enable(bt_dev->acpi_dev->handle); bt_dev 186 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev = data; bt_dev 188 drivers/platform/x86/toshiba_bluetooth.c if (toshiba_bluetooth_sync_status(bt_dev)) bt_dev 198 drivers/platform/x86/toshiba_bluetooth.c rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); bt_dev 209 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev = acpi_driver_data(device); bt_dev 211 drivers/platform/x86/toshiba_bluetooth.c if (toshiba_bluetooth_sync_status(bt_dev)) bt_dev 214 drivers/platform/x86/toshiba_bluetooth.c rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); bt_dev 220 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev; bt_dev 223 drivers/platform/x86/toshiba_bluetooth.c bt_dev = acpi_driver_data(to_acpi_device(dev)); bt_dev 225 drivers/platform/x86/toshiba_bluetooth.c ret = toshiba_bluetooth_sync_status(bt_dev); bt_dev 229 drivers/platform/x86/toshiba_bluetooth.c rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); bt_dev 237 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev; bt_dev 246 drivers/platform/x86/toshiba_bluetooth.c bt_dev = kzalloc(sizeof(*bt_dev), GFP_KERNEL); bt_dev 247 drivers/platform/x86/toshiba_bluetooth.c if (!bt_dev) bt_dev 249 drivers/platform/x86/toshiba_bluetooth.c bt_dev->acpi_dev = device; bt_dev 250 drivers/platform/x86/toshiba_bluetooth.c device->driver_data = bt_dev; bt_dev 251 drivers/platform/x86/toshiba_bluetooth.c dev_set_drvdata(&device->dev, bt_dev); bt_dev 253 drivers/platform/x86/toshiba_bluetooth.c result = toshiba_bluetooth_sync_status(bt_dev); bt_dev 255 drivers/platform/x86/toshiba_bluetooth.c kfree(bt_dev); bt_dev 259 drivers/platform/x86/toshiba_bluetooth.c bt_dev->rfk = rfkill_alloc("Toshiba Bluetooth", bt_dev 263 drivers/platform/x86/toshiba_bluetooth.c bt_dev); bt_dev 264 drivers/platform/x86/toshiba_bluetooth.c if (!bt_dev->rfk) { bt_dev 266 drivers/platform/x86/toshiba_bluetooth.c kfree(bt_dev); bt_dev 270 drivers/platform/x86/toshiba_bluetooth.c rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); bt_dev 272 drivers/platform/x86/toshiba_bluetooth.c result = rfkill_register(bt_dev->rfk); bt_dev 275 drivers/platform/x86/toshiba_bluetooth.c rfkill_destroy(bt_dev->rfk); bt_dev 276 drivers/platform/x86/toshiba_bluetooth.c kfree(bt_dev); bt_dev 284 drivers/platform/x86/toshiba_bluetooth.c struct toshiba_bluetooth_dev *bt_dev = acpi_driver_data(device); bt_dev 287 drivers/platform/x86/toshiba_bluetooth.c if (bt_dev->rfk) { bt_dev 288 drivers/platform/x86/toshiba_bluetooth.c rfkill_unregister(bt_dev->rfk); bt_dev 289 drivers/platform/x86/toshiba_bluetooth.c rfkill_destroy(bt_dev->rfk); bt_dev 292 drivers/platform/x86/toshiba_bluetooth.c kfree(bt_dev); bt_dev 1758 fs/xfs/xfs_buf.c btp->bt_dev = bdev->bd_dev; bt_dev 80 fs/xfs/xfs_buf.h dev_t bt_dev; bt_dev 744 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) bt_dev 747 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_logdev_targp->bt_dev)) bt_dev 750 fs/xfs/xfs_fsmap.c fm->fmr_device == new_encode_dev(mp->m_rtdev_targp->bt_dev)) bt_dev 841 fs/xfs/xfs_fsmap.c handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); bt_dev 847 fs/xfs/xfs_fsmap.c handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); bt_dev 852 fs/xfs/xfs_fsmap.c handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); bt_dev 1094 fs/xfs/xfs_super.c id = huge_encode_dev(mp->m_ddev_targp->bt_dev); bt_dev 287 fs/xfs/xfs_trace.h __entry->dev = bp->b_target->bt_dev; bt_dev 358 fs/xfs/xfs_trace.h __entry->dev = bp->b_target->bt_dev; bt_dev 402 fs/xfs/xfs_trace.h __entry->dev = bp->b_target->bt_dev; bt_dev 442 fs/xfs/xfs_trace.h __entry->dev = bip->bli_buf->b_target->bt_dev;