Lines Matching refs:ucast
899 if (!bacmp(&conn->dst, BDADDR_ANY) || d->cig != conn->iso_qos.ucast.cig) in find_cis()
914 if (conn->iso_qos.ucast.cig == BT_ISO_QOS_CIG_UNSET) in cis_cleanup()
918 d.cig = conn->iso_qos.ucast.cig; in cis_cleanup()
929 hci_le_remove_cig(hdev, conn->iso_qos.ucast.cig); in cis_cleanup()
1789 hci_cpu_to_le24(qos->ucast.out.interval, pdu.cp.c_interval); in set_cig_params_sync()
1790 hci_cpu_to_le24(qos->ucast.in.interval, pdu.cp.p_interval); in set_cig_params_sync()
1791 pdu.cp.sca = qos->ucast.sca; in set_cig_params_sync()
1792 pdu.cp.packing = qos->ucast.packing; in set_cig_params_sync()
1793 pdu.cp.framing = qos->ucast.framing; in set_cig_params_sync()
1794 pdu.cp.c_latency = cpu_to_le16(qos->ucast.out.latency); in set_cig_params_sync()
1795 pdu.cp.p_latency = cpu_to_le16(qos->ucast.in.latency); in set_cig_params_sync()
1813 cis->c_sdu = cpu_to_le16(conn->iso_qos.ucast.out.sdu); in set_cig_params_sync()
1814 cis->p_sdu = cpu_to_le16(conn->iso_qos.ucast.in.sdu); in set_cig_params_sync()
1815 cis->c_phy = qos->ucast.out.phy ? qos->ucast.out.phy : in set_cig_params_sync()
1816 qos->ucast.in.phy; in set_cig_params_sync()
1817 cis->p_phy = qos->ucast.in.phy ? qos->ucast.in.phy : in set_cig_params_sync()
1818 qos->ucast.out.phy; in set_cig_params_sync()
1819 cis->c_rtn = qos->ucast.out.rtn; in set_cig_params_sync()
1820 cis->p_rtn = qos->ucast.in.rtn; in set_cig_params_sync()
1840 if (qos->ucast.cig == BT_ISO_QOS_CIG_UNSET) { in hci_le_set_cig_params()
1859 qos->ucast.cig = data.cig; in hci_le_set_cig_params()
1862 if (qos->ucast.cis != BT_ISO_QOS_CIS_UNSET) { in hci_le_set_cig_params()
1863 if (hci_conn_hash_lookup_cis(hdev, NULL, 0, qos->ucast.cig, in hci_le_set_cig_params()
1864 qos->ucast.cis)) in hci_le_set_cig_params()
1870 for (data.cig = qos->ucast.cig, data.cis = 0x00; data.cis < 0xf0; in hci_le_set_cig_params()
1875 qos->ucast.cis = data.cis; in hci_le_set_cig_params()
1880 if (qos->ucast.cis == BT_ISO_QOS_CIS_UNSET) in hci_le_set_cig_params()
1885 UINT_PTR(qos->ucast.cig), NULL) < 0) in hci_le_set_cig_params()
1896 cis = hci_conn_hash_lookup_cis(hdev, dst, dst_type, qos->ucast.cig, in hci_bind_cis()
1897 qos->ucast.cis); in hci_bind_cis()
1904 cis->iso_qos.ucast.cig = BT_ISO_QOS_CIG_UNSET; in hci_bind_cis()
1905 cis->iso_qos.ucast.cis = BT_ISO_QOS_CIS_UNSET; in hci_bind_cis()
1917 cis->le_tx_phy = qos->ucast.out.phy; in hci_bind_cis()
1918 cis->le_rx_phy = qos->ucast.in.phy; in hci_bind_cis()
1923 if (!qos->ucast.out.interval) in hci_bind_cis()
1924 qos->ucast.out.interval = qos->ucast.in.interval; in hci_bind_cis()
1929 if (!qos->ucast.in.interval) in hci_bind_cis()
1930 qos->ucast.in.interval = qos->ucast.out.interval; in hci_bind_cis()
1935 if (!qos->ucast.out.latency) in hci_bind_cis()
1936 qos->ucast.out.latency = qos->ucast.in.latency; in hci_bind_cis()
1941 if (!qos->ucast.in.latency) in hci_bind_cis()
1942 qos->ucast.in.latency = qos->ucast.out.latency; in hci_bind_cis()
1964 if (conn->iso_qos.ucast.out.sdu) { in hci_iso_setup_path()
1975 if (conn->iso_qos.ucast.in.sdu) { in hci_iso_setup_path()
2290 hci_iso_qos_setup(hdev, le, &qos->ucast.out, in hci_connect_cis()
2292 hci_iso_qos_setup(hdev, le, &qos->ucast.in, in hci_connect_cis()