• Home
  • Raw
  • Download

Lines Matching refs:iodev

374 				 struct cras_iodev *iodev,  in cras_bt_device_append_iodev()  argument
379 bt_iodev = device->bt_iodevs[iodev->direction]; in cras_bt_device_append_iodev()
382 cras_bt_io_append(bt_iodev, iodev, profile); in cras_bt_device_append_iodev()
384 device->bt_iodevs[iodev->direction] = in cras_bt_device_append_iodev()
385 cras_bt_io_create(device, iodev, profile); in cras_bt_device_append_iodev()
394 struct cras_iodev *iodev) in cras_bt_device_rm_iodev() argument
399 bt_iodev = device->bt_iodevs[iodev->direction]; in cras_bt_device_rm_iodev()
404 try_profile = cras_bt_io_try_remove(bt_iodev, iodev); in cras_bt_device_rm_iodev()
416 rc = cras_bt_io_remove(bt_iodev, iodev); in cras_bt_device_rm_iodev()
426 device->bt_iodevs[iodev->direction] = NULL; in cras_bt_device_rm_iodev()
975 struct cras_iodev *iodev; in cras_bt_device_set_use_hardware_volume() local
978 iodev = device->bt_iodevs[CRAS_STREAM_OUTPUT]; in cras_bt_device_set_use_hardware_volume()
979 if (iodev) in cras_bt_device_set_use_hardware_volume()
980 iodev->software_volume_needed = !use_hardware_volume; in cras_bt_device_set_use_hardware_volume()
1072 struct cras_iodev *iodev; in profile_switch_delay_cb() local
1075 iodev = device->bt_iodevs[CRAS_STREAM_OUTPUT]; in profile_switch_delay_cb()
1076 if (!iodev) in profile_switch_delay_cb()
1087 iodev->update_active_node(iodev, 0, 1); in profile_switch_delay_cb()
1088 cras_iodev_list_resume_dev(iodev->info.idx); in profile_switch_delay_cb()
1111 struct cras_iodev *iodev; in bt_device_switch_profile() local
1119 iodev = device->bt_iodevs[dir]; in bt_device_switch_profile()
1120 if (!iodev) in bt_device_switch_profile()
1122 cras_iodev_list_suspend_dev(iodev->info.idx); in bt_device_switch_profile()
1126 iodev = device->bt_iodevs[dir]; in bt_device_switch_profile()
1127 if (!iodev) in bt_device_switch_profile()
1139 iodev->update_active_node(iodev, 0, 1); in bt_device_switch_profile()
1140 cras_iodev_list_resume_dev(iodev->info.idx); in bt_device_switch_profile()
1222 struct cras_iodev *iodev; in cras_bt_device_update_hardware_volume() local
1224 iodev = device->bt_iodevs[CRAS_STREAM_OUTPUT]; in cras_bt_device_update_hardware_volume()
1225 if (iodev == NULL) in cras_bt_device_update_hardware_volume()
1234 iodev->active_node->volume = volume; in cras_bt_device_update_hardware_volume()
1235 cras_iodev_list_notify_node_volume(iodev->active_node); in cras_bt_device_update_hardware_volume()