Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/bluetooth/
Dbluetooth.h381 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) macro
383 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type
384 #define hci_skb_expect(skb) bt_cb((skb))->expect
385 #define hci_skb_opcode(skb) bt_cb((skb))->hci.opcode
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sock.c231 if (!bt_cb(skb)->incoming) in hci_send_to_sock()
329 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
335 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
341 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
737 bt_cb(skb)->incoming = 1; in hci_si_event()
1452 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg()
1858 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_sock_sendmsg()
Dl2cap_core.c328 if (bt_cb(skb)->l2cap.txseq == seq) in l2cap_ertm_seq_in_queue()
976 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON; in l2cap_send_cmd()
1016 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send()
1073 &bt_cb(skb)->l2cap); in __unpack_control()
1077 &bt_cb(skb)->l2cap); in __unpack_control()
1319 if (bt_cb(skb)->l2cap.retries) in l2cap_move_setup()
1320 bt_cb(skb)->l2cap.retries = 1; in l2cap_move_setup()
2076 bt_cb(skb)->l2cap.retries = 1; in l2cap_streaming_send()
2077 control = &bt_cb(skb)->l2cap; in l2cap_streaming_send()
2121 bt_cb(skb)->l2cap.retries = 1; in l2cap_ertm_send()
[all …]
Dhci_core.c3956 bt_cb(skb)->incoming = 1; in hci_recv_frame()
4082 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_send_cmd()
4581 bt_cb(skb)->force_active); in hci_sched_acl_pkt()
4637 bt_cb(skb)->force_active); in hci_sched_acl_blk()
4810 bt_cb(skb)->sco.pkt_status = flags & 0x03; in hci_scodata_packet()
4829 return (bt_cb(skb)->hci.req_flags & HCI_REQ_START); in hci_req_is_complete()
4892 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
4893 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
4897 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
4898 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; 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()
339 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_req_add_ev()
341 bt_cb(skb)->hci.req_event = event; in hci_req_add_ev()
Dl2cap_sock.c1638 bt_cb(skb)->l2cap.chan = chan; in l2cap_sock_alloc_skb_cb()
1776 la->l2_psm = bt_cb(skb)->l2cap.psm; in l2cap_skb_msg_name()
1777 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
Dsco.c453 sizeof(bt_cb(skb)->sco.pkt_status), in sco_skb_put_cmsg()
454 &bt_cb(skb)->sco.pkt_status); in sco_skb_put_cmsg()
Dhci_event.c3710 (hdev->sent_cmd && !bt_cb(hdev->sent_cmd)->hci.req_event)) in hci_cmd_status_evt()
6183 if (hdev->sent_cmd && bt_cb(hdev->sent_cmd)->hci.req_event == event) { in hci_event_packet()
Dsmp.c3201 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_hal.c417 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()