Home
last modified time | relevance | path

Searched refs:pchan (Results 1 – 4 of 4) sorted by relevance

/net/bluetooth/
Dl2cap_sock.c1789 struct l2cap_chan *pchan = l2cap_pi(parent)->chan; in l2cap_sock_init() local
1794 chan->chan_type = pchan->chan_type; in l2cap_sock_init()
1795 chan->imtu = pchan->imtu; in l2cap_sock_init()
1796 chan->omtu = pchan->omtu; in l2cap_sock_init()
1797 chan->conf_state = pchan->conf_state; in l2cap_sock_init()
1798 chan->mode = pchan->mode; in l2cap_sock_init()
1799 chan->fcs = pchan->fcs; in l2cap_sock_init()
1800 chan->max_tx = pchan->max_tx; in l2cap_sock_init()
1801 chan->tx_win = pchan->tx_win; in l2cap_sock_init()
1802 chan->tx_win_max = pchan->tx_win_max; in l2cap_sock_init()
[all …]
Dl2cap_core.c4136 struct l2cap_chan *chan = NULL, *pchan; in l2cap_connect() local
4145 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_connect()
4147 if (!pchan) { in l2cap_connect()
4153 l2cap_chan_lock(pchan); in l2cap_connect()
4177 chan = pchan->ops->new_connection(pchan); in l2cap_connect()
4237 l2cap_chan_unlock(pchan); in l2cap_connect()
4239 l2cap_chan_put(pchan); in l2cap_connect()
5819 struct l2cap_chan *chan, *pchan; in l2cap_le_connect_req() local
5854 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_le_connect_req()
5856 if (!pchan) { in l2cap_le_connect_req()
[all …]
D6lowpan.c736 static inline struct l2cap_chan *chan_new_conn_cb(struct l2cap_chan *pchan) in chan_new_conn_cb() argument
744 chan->ops = pchan->ops; in chan_new_conn_cb()
746 BT_DBG("chan %p pchan %p", chan, pchan); in chan_new_conn_cb()
Dsmp.c3237 static inline struct l2cap_chan *smp_new_conn_cb(struct l2cap_chan *pchan) in smp_new_conn_cb() argument
3241 BT_DBG("pchan %p", pchan); in smp_new_conn_cb()
3247 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
3249 chan->scid = pchan->scid; in smp_new_conn_cb()
3251 chan->imtu = pchan->imtu; in smp_new_conn_cb()
3252 chan->omtu = pchan->omtu; in smp_new_conn_cb()
3253 chan->mode = pchan->mode; in smp_new_conn_cb()