Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/bluetooth/
Dbluetooth.h457 #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/
Dmgmt_util.c69 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()
Dhci_request.c75 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()
Dhci_core.c2883 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 …]
Dhci_sock.c232 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()
Dl2cap_core.c328 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 …]
Dl2cap_sock.c1629 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()
Dsco.c455 sizeof(bt_cb(skb)->sco.pkt_status), in sco_skb_put_cmsg()
456 &bt_cb(skb)->sco.pkt_status); in sco_skb_put_cmsg()
Dhci_sync.c105 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()
Dsmp.c3208 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
/linux-6.1.9/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.c70 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-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_hal.c414 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()