Home
last modified time | relevance | path

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

/net/bluetooth/
Dl2cap_sock.c1529 struct l2cap_chan *pchan = l2cap_pi(parent)->chan; in l2cap_sock_init() local
1534 chan->chan_type = pchan->chan_type; in l2cap_sock_init()
1535 chan->imtu = pchan->imtu; in l2cap_sock_init()
1536 chan->omtu = pchan->omtu; in l2cap_sock_init()
1537 chan->conf_state = pchan->conf_state; in l2cap_sock_init()
1538 chan->mode = pchan->mode; in l2cap_sock_init()
1539 chan->fcs = pchan->fcs; in l2cap_sock_init()
1540 chan->max_tx = pchan->max_tx; in l2cap_sock_init()
1541 chan->tx_win = pchan->tx_win; in l2cap_sock_init()
1542 chan->tx_win_max = pchan->tx_win_max; in l2cap_sock_init()
[all …]
Dl2cap_core.c3819 struct l2cap_chan *chan = NULL, *pchan; in l2cap_connect() local
3828 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_connect()
3830 if (!pchan) { in l2cap_connect()
3836 l2cap_chan_lock(pchan); in l2cap_connect()
3852 chan = pchan->ops->new_connection(pchan); in l2cap_connect()
3912 l2cap_chan_unlock(pchan); in l2cap_connect()
3914 l2cap_chan_put(pchan); in l2cap_connect()
5472 struct l2cap_chan *chan, *pchan; in l2cap_le_connect_req() local
5494 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_le_connect_req()
5496 if (!pchan) { in l2cap_le_connect_req()
[all …]
D6lowpan.c885 static inline struct l2cap_chan *chan_new_conn_cb(struct l2cap_chan *pchan) in chan_new_conn_cb() argument
893 chan->ops = pchan->ops; in chan_new_conn_cb()
895 BT_DBG("chan %p pchan %p", chan, pchan); in chan_new_conn_cb()
Dsmp.c3128 static inline struct l2cap_chan *smp_new_conn_cb(struct l2cap_chan *pchan) in smp_new_conn_cb() argument
3132 BT_DBG("pchan %p", pchan); in smp_new_conn_cb()
3138 chan->chan_type = pchan->chan_type; in smp_new_conn_cb()
3140 chan->scid = pchan->scid; in smp_new_conn_cb()
3142 chan->imtu = pchan->imtu; in smp_new_conn_cb()
3143 chan->omtu = pchan->omtu; in smp_new_conn_cb()
3144 chan->mode = pchan->mode; in smp_new_conn_cb()