Lines Matching refs:status
370 atomic_clear(chan->status); in l2cap_chan_add()
430 atomic_set_bit(chan->status, BT_L2CAP_STATUS_OUT); in bt_l2cap_connected()
432 if (chan->ops->status) { in bt_l2cap_connected()
433 chan->ops->status(chan, chan->status); in bt_l2cap_connected()
602 static void l2cap_le_encrypt_change(struct bt_l2cap_chan *chan, uint8_t status) in l2cap_le_encrypt_change() argument
608 if (!atomic_test_and_clear_bit(chan->status, in l2cap_le_encrypt_change()
613 if (status) { in l2cap_le_encrypt_change()
628 atomic_clear_bit(ch->status, BT_L2CAP_STATUS_ENCRYPT_PENDING); in l2cap_le_encrypt_change()
795 atomic_clear_bit(lechan->chan.status, BT_L2CAP_STATUS_OUT); in chan_take_credit()
797 if (lechan->chan.ops->status) { in chan_take_credit()
798 lechan->chan.ops->status(&lechan->chan, lechan->chan.status); in chan_take_credit()
1279 if (!atomic_test_and_set_bit(chan->chan.status, BT_L2CAP_STATUS_OUT)) { in l2cap_chan_tx_give_credits()
1281 if (chan->chan.ops->status) { in l2cap_chan_tx_give_credits()
1282 chan->chan.ops->status(&chan->chan, chan->chan.status); in l2cap_chan_tx_give_credits()
1854 if (atomic_test_bit(chan->chan.status, in l2cap_change_security()
1887 atomic_set_bit(chan->chan.status, BT_L2CAP_STATUS_ENCRYPT_PENDING); in l2cap_change_security()
2263 atomic_set_bit(chan->status, BT_L2CAP_STATUS_SHUTDOWN); in l2cap_chan_shutdown()
2283 if (chan->ops->status) { in l2cap_chan_shutdown()
2284 chan->ops->status(chan, chan->status); in l2cap_chan_shutdown()
2679 if (atomic_test_bit(chan->chan.status, BT_L2CAP_STATUS_SHUTDOWN)) { in l2cap_chan_recv_queue()
2860 atomic_set_bit(ch->chan.status, in l2cap_le_connect()
3297 if (atomic_test_bit(chan->status, BT_L2CAP_STATUS_SHUTDOWN)) { in bt_l2cap_chan_send()