Lines Matching refs:btnode
649 struct bt_node *btnode = (struct bt_node *)bt_iodev->active_node; in cras_bt_io_on_profile() local
650 return !!(profile & btnode->profile); in cras_bt_io_on_profile()
656 struct bt_node *btnode = (struct bt_node *)bt_iodev->active_node; in cras_bt_io_profile_to_log() local
658 if (btnode->profile & CRAS_BT_DEVICE_PROFILE_A2DP_SOURCE) in cras_bt_io_profile_to_log()
661 if (hfp_iodev_is_hsp(btnode->profile_dev)) in cras_bt_io_profile_to_log()
671 struct bt_node *active, *btnode; in cras_bt_io_try_remove() local
678 btnode = (struct bt_node *)node; in cras_bt_io_try_remove()
681 if (btnode == active || btnode->profile_dev == dev) in cras_bt_io_try_remove()
683 try_profile = btnode->profile; in cras_bt_io_try_remove()
695 struct bt_node *btnode; in cras_bt_io_remove() local
698 btnode = (struct bt_node *)node; in cras_bt_io_remove()
699 if (btnode->profile_dev != dev) in cras_bt_io_remove()
705 btnode->profile_dev = NULL; in cras_bt_io_remove()
706 btnode->profile = 0; in cras_bt_io_remove()
716 btnode = (struct bt_node *)bt_iodev->active_node; in cras_bt_io_remove()
717 if ((btnode->profile == 0) || (btnode->profile_dev == NULL)) in cras_bt_io_remove()