Lines Matching refs:chan
530 void amp_create_logical_link(struct l2cap_chan *chan) in amp_create_logical_link() argument
532 struct hci_conn *hs_hcon = chan->hs_hcon; in amp_create_logical_link()
536 BT_DBG("chan %p hs_hcon %p dst %pMR", chan, hs_hcon, in amp_create_logical_link()
537 &chan->conn->hcon->dst); in amp_create_logical_link()
542 hdev = hci_dev_hold(chan->hs_hcon->hdev); in amp_create_logical_link()
548 cp.tx_flow_spec.id = chan->local_id; in amp_create_logical_link()
549 cp.tx_flow_spec.stype = chan->local_stype; in amp_create_logical_link()
550 cp.tx_flow_spec.msdu = cpu_to_le16(chan->local_msdu); in amp_create_logical_link()
551 cp.tx_flow_spec.sdu_itime = cpu_to_le32(chan->local_sdu_itime); in amp_create_logical_link()
552 cp.tx_flow_spec.acc_lat = cpu_to_le32(chan->local_acc_lat); in amp_create_logical_link()
553 cp.tx_flow_spec.flush_to = cpu_to_le32(chan->local_flush_to); in amp_create_logical_link()
555 cp.rx_flow_spec.id = chan->remote_id; in amp_create_logical_link()
556 cp.rx_flow_spec.stype = chan->remote_stype; in amp_create_logical_link()
557 cp.rx_flow_spec.msdu = cpu_to_le16(chan->remote_msdu); in amp_create_logical_link()
558 cp.rx_flow_spec.sdu_itime = cpu_to_le32(chan->remote_sdu_itime); in amp_create_logical_link()
559 cp.rx_flow_spec.acc_lat = cpu_to_le32(chan->remote_acc_lat); in amp_create_logical_link()
560 cp.rx_flow_spec.flush_to = cpu_to_le32(chan->remote_flush_to); in amp_create_logical_link()