Searched refs:bt_cb (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/include/net/bluetooth/ |
D | bluetooth.h | 457 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) macro 459 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type 460 #define hci_skb_expect(skb) bt_cb((skb))->expect 461 #define hci_skb_opcode(skb) bt_cb((skb))->hci.opcode 462 #define hci_skb_event(skb) bt_cb((skb))->hci.req_event 463 #define hci_skb_sk(skb) bt_cb((skb))->hci.sk
|
/linux-6.1.9/net/bluetooth/ |
D | mgmt_util.c | 69 bt_cb(skb)->mgmt.hdev = hdev; in mgmt_alloc_skb() 70 bt_cb(skb)->mgmt.opcode = opcode; in mgmt_alloc_skb() 86 hdev = bt_cb(skb)->mgmt.hdev; in mgmt_send_event_skb() 93 hci_send_monitor_ctrl_event(hdev, bt_cb(skb)->mgmt.opcode, in mgmt_send_event_skb() 98 hdr->opcode = cpu_to_le16(bt_cb(skb)->mgmt.opcode); in mgmt_send_event_skb()
|
D | hci_request.c | 75 bt_cb(skb)->hci.req_complete = complete; in req_run() 77 bt_cb(skb)->hci.req_complete_skb = complete_skb; in req_run() 78 bt_cb(skb)->hci.req_flags |= HCI_REQ_SKB; in req_run() 262 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_req_add_ev()
|
D | hci_core.c | 2883 bt_cb(skb)->incoming = 1; in hci_recv_frame() 3012 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_send_cmd() 3590 bt_cb(skb)->force_active); in hci_sched_acl_pkt() 3646 bt_cb(skb)->force_active); in hci_sched_acl_blk() 3847 bt_cb(skb)->sco.pkt_status = flags & 0x03; in hci_scodata_packet() 3903 return (bt_cb(skb)->hci.req_flags & HCI_REQ_START); in hci_req_is_complete() 3966 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete() 3967 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete() 3971 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete() 3972 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete() [all …]
|
D | hci_sock.c | 232 if (!bt_cb(skb)->incoming) in hci_send_to_sock() 330 if (bt_cb(skb)->incoming) in hci_send_to_monitor() 336 if (bt_cb(skb)->incoming) in hci_send_to_monitor() 342 if (bt_cb(skb)->incoming) in hci_send_to_monitor() 738 bt_cb(skb)->incoming = 1; in hci_si_event() 1428 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg() 1799 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_sock_sendmsg()
|
D | l2cap_core.c | 328 if (bt_cb(skb)->l2cap.txseq == seq) in l2cap_ertm_seq_in_queue() 977 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON; in l2cap_send_cmd() 1017 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send() 1074 &bt_cb(skb)->l2cap); in __unpack_control() 1078 &bt_cb(skb)->l2cap); in __unpack_control() 1320 if (bt_cb(skb)->l2cap.retries) in l2cap_move_setup() 1321 bt_cb(skb)->l2cap.retries = 1; in l2cap_move_setup() 2083 bt_cb(skb)->l2cap.retries = 1; in l2cap_streaming_send() 2084 control = &bt_cb(skb)->l2cap; in l2cap_streaming_send() 2128 bt_cb(skb)->l2cap.retries = 1; in l2cap_ertm_send() [all …]
|
D | l2cap_sock.c | 1629 bt_cb(skb)->l2cap.chan = chan; in l2cap_sock_alloc_skb_cb() 1767 la->l2_psm = bt_cb(skb)->l2cap.psm; in l2cap_skb_msg_name() 1768 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
|
D | sco.c | 455 sizeof(bt_cb(skb)->sco.pkt_status), in sco_skb_put_cmsg() 456 &bt_cb(skb)->sco.pkt_status); in sco_skb_put_cmsg()
|
D | hci_sync.c | 105 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_cmd_sync_add() 133 bt_cb(skb)->hci.req_complete_skb = hci_cmd_sync_complete; in hci_cmd_sync_run() 134 bt_cb(skb)->hci.req_flags |= HCI_REQ_SKB; in hci_cmd_sync_run()
|
D | smp.c | 3208 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
|
/linux-6.1.9/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 | 70 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-6.1.9/drivers/net/wireless/rsi/ |
D | rsi_91x_hal.c | 414 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()
|