Lines Matching refs:chan
406 void amp_create_logical_link(struct l2cap_chan *chan)
408 struct hci_conn *hs_hcon = chan->hs_hcon;
412 BT_DBG("chan %p hs_hcon %p dst %pMR", chan, hs_hcon,
413 &chan->conn->hcon->dst);
418 hdev = hci_dev_hold(chan->hs_hcon->hdev);
424 cp.tx_flow_spec.id = chan->local_id;
425 cp.tx_flow_spec.stype = chan->local_stype;
426 cp.tx_flow_spec.msdu = cpu_to_le16(chan->local_msdu);
427 cp.tx_flow_spec.sdu_itime = cpu_to_le32(chan->local_sdu_itime);
428 cp.tx_flow_spec.acc_lat = cpu_to_le32(chan->local_acc_lat);
429 cp.tx_flow_spec.flush_to = cpu_to_le32(chan->local_flush_to);
431 cp.rx_flow_spec.id = chan->remote_id;
432 cp.rx_flow_spec.stype = chan->remote_stype;
433 cp.rx_flow_spec.msdu = cpu_to_le16(chan->remote_msdu);
434 cp.rx_flow_spec.sdu_itime = cpu_to_le32(chan->remote_sdu_itime);
435 cp.rx_flow_spec.acc_lat = cpu_to_le32(chan->remote_acc_lat);
436 cp.rx_flow_spec.flush_to = cpu_to_le32(chan->remote_flush_to);