Lines Matching refs:chans

1652 	struct bt_l2cap_chan *chans[BT_L2CAP_ECRED_CHAN_MAX_PER_REQ];  in le_ecred_reconf_req()  local
1706 chans[chan_count] = chan; in le_ecred_reconf_req()
1720 BT_L2CAP_LE_CHAN(chans[i])->tx.mtu = mtu; in le_ecred_reconf_req()
1721 BT_L2CAP_LE_CHAN(chans[i])->tx.mps = mps; in le_ecred_reconf_req()
1723 if (chans[i]->ops->reconfigured) { in le_ecred_reconf_req()
1724 chans[i]->ops->reconfigured(chans[i]); in le_ecred_reconf_req()
2953 int bt_l2cap_ecred_chan_reconfigure(struct bt_l2cap_chan **chans, uint16_t mtu) in bt_l2cap_ecred_chan_reconfigure() argument
2962 LOG_DBG("chans %p mtu 0x%04x", chans, mtu); in bt_l2cap_ecred_chan_reconfigure()
2964 if (!chans) { in bt_l2cap_ecred_chan_reconfigure()
2969 if (!chans[i]) { in bt_l2cap_ecred_chan_reconfigure()
2975 if (conn != chans[i]->conn) { in bt_l2cap_ecred_chan_reconfigure()
2979 conn = chans[i]->conn; in bt_l2cap_ecred_chan_reconfigure()
2983 if (mtu < BT_L2CAP_LE_CHAN(chans[i])->rx.mtu) { in bt_l2cap_ecred_chan_reconfigure()
3024 ch = BT_L2CAP_LE_CHAN(chans[j]); in bt_l2cap_ecred_chan_reconfigure()
3036 l2cap_chan_send_req(chans[0], buf, L2CAP_CONN_TIMEOUT); in bt_l2cap_ecred_chan_reconfigure()
3042 int bt_l2cap_ecred_chan_reconfigure_explicit(struct bt_l2cap_chan **chans, size_t chan_count, in bt_l2cap_ecred_chan_reconfigure_explicit() argument
3050 LOG_DBG("chans %p chan_count %u mtu 0x%04x mps 0x%04x", chans, chan_count, mtu, mps); in bt_l2cap_ecred_chan_reconfigure_explicit()
3052 if (!chans || !IN_RANGE(chan_count, 1, BT_L2CAP_ECRED_CHAN_MAX_PER_REQ)) { in bt_l2cap_ecred_chan_reconfigure_explicit()
3063 if (conn != chans[i]->conn) { in bt_l2cap_ecred_chan_reconfigure_explicit()
3067 conn = chans[i]->conn; in bt_l2cap_ecred_chan_reconfigure_explicit()
3071 if (mtu < BT_L2CAP_LE_CHAN(chans[i])->rx.mtu) { in bt_l2cap_ecred_chan_reconfigure_explicit()
3078 if (chan_count > 1 && mps < BT_L2CAP_LE_CHAN(chans[i])->rx.mps) { in bt_l2cap_ecred_chan_reconfigure_explicit()
3111 ch = BT_L2CAP_LE_CHAN(chans[i]); in bt_l2cap_ecred_chan_reconfigure_explicit()
3123 l2cap_chan_send_req(chans[0], buf, L2CAP_CONN_TIMEOUT); in bt_l2cap_ecred_chan_reconfigure_explicit()