Home
last modified time | relevance | path

Searched refs:bt_cb (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/include/net/bluetooth/
Dbluetooth.h329 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) macro
331 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type
332 #define hci_skb_expect(skb) bt_cb((skb))->expect
333 #define hci_skb_opcode(skb) bt_cb((skb))->hci.opcode
/Linux-v5.4/drivers/bluetooth/
Dhci_mrvl.c130 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in mrvl_dequeue()
339 bt_cb(skb)->pkt_type = MRVL_RAW_DATA; in mrvl_load_firmware()
Dbtrsi.c71 bt_cb(new_skb)->pkt_type = hci_skb_pkt_type(skb); in rsi_hci_send_pkt()
Dhci_ag6xx.c83 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ag6xx_dequeue()
Dhci_nokia.c516 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in nokia_enqueue()
/Linux-v5.4/net/bluetooth/
Dl2cap_core.c311 if (bt_cb(skb)->l2cap.txseq == seq) in l2cap_ertm_seq_in_queue()
878 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON; in l2cap_send_cmd()
918 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send()
975 &bt_cb(skb)->l2cap); in __unpack_control()
979 &bt_cb(skb)->l2cap); in __unpack_control()
1221 if (bt_cb(skb)->l2cap.retries) in l2cap_move_setup()
1222 bt_cb(skb)->l2cap.retries = 1; in l2cap_move_setup()
1888 bt_cb(skb)->l2cap.retries = 1; in l2cap_streaming_send()
1889 control = &bt_cb(skb)->l2cap; in l2cap_streaming_send()
1933 bt_cb(skb)->l2cap.retries = 1; in l2cap_ertm_send()
[all …]
Dhci_sock.c219 if (!bt_cb(skb)->incoming) in hci_send_to_sock()
316 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
322 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
719 bt_cb(skb)->incoming = 1; in hci_si_event()
1378 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg()
1781 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_sock_sendmsg()
Dhci_core.c3483 bt_cb(skb)->incoming = 1; in hci_recv_frame()
3609 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_send_cmd()
4048 bt_cb(skb)->force_active); in hci_sched_acl_pkt()
4100 bt_cb(skb)->force_active); in hci_sched_acl_blk()
4337 return (bt_cb(skb)->hci.req_flags & HCI_REQ_START); in hci_req_is_complete()
4400 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
4401 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
4405 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
4406 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete()
4413 if (bt_cb(skb)->hci.req_flags & HCI_REQ_START) { in hci_req_cmd_complete()
[all …]
Dhci_request.c77 bt_cb(skb)->hci.req_complete = complete; in req_run()
79 bt_cb(skb)->hci.req_complete_skb = complete_skb; in req_run()
80 bt_cb(skb)->hci.req_flags |= HCI_REQ_SKB; in req_run()
335 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_req_add_ev()
337 bt_cb(skb)->hci.req_event = event; in hci_req_add_ev()
Dl2cap_sock.c1395 bt_cb(skb)->l2cap.chan = chan; in l2cap_sock_alloc_skb_cb()
1509 la->l2_psm = bt_cb(skb)->l2cap.psm; in l2cap_skb_msg_name()
1510 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
Dhci_event.c3588 (hdev->sent_cmd && !bt_cb(hdev->sent_cmd)->hci.req_event)) in hci_cmd_status_evt()
5836 if (hdev->sent_cmd && bt_cb(hdev->sent_cmd)->hci.req_event == event) { in hci_event_packet()
Dsmp.c3144 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
/Linux-v5.4/drivers/net/wireless/rsi/
Drsi_91x_hal.c410 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()