Searched refs:bt_cb (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/include/net/bluetooth/ |
D | bluetooth.h | 329 #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/ |
D | hci_mrvl.c | 130 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()
|
D | btrsi.c | 71 bt_cb(new_skb)->pkt_type = hci_skb_pkt_type(skb); in rsi_hci_send_pkt()
|
D | hci_ag6xx.c | 83 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ag6xx_dequeue()
|
D | hci_nokia.c | 516 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in nokia_enqueue()
|
/Linux-v5.4/net/bluetooth/ |
D | l2cap_core.c | 311 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 …]
|
D | hci_sock.c | 219 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()
|
D | hci_core.c | 3483 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 …]
|
D | hci_request.c | 77 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()
|
D | l2cap_sock.c | 1395 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()
|
D | hci_event.c | 3588 (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()
|
D | smp.c | 3144 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
|
/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_hal.c | 410 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()
|