Home
last modified time | relevance | path

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

/openbmc/linux/include/net/bluetooth/
H A Dbluetooth.h478 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) macro
480 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type
481 #define hci_skb_pkt_status(skb) bt_cb((skb))->pkt_status
482 #define hci_skb_expect(skb) bt_cb((skb))->expect
483 #define hci_skb_opcode(skb) bt_cb((skb))->hci.opcode
484 #define hci_skb_event(skb) bt_cb((skb))->hci.req_event
485 #define hci_skb_sk(skb) bt_cb((skb))->hci.sk
/openbmc/linux/net/bluetooth/
H A 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()
H A 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()
264 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_req_add_ev()
H A Dhci_sock.c232 if (!bt_cb(skb)->incoming) in hci_send_to_sock()
274 creds = &bt_cb(skb)->creds; in hci_sock_copy_creds()
377 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
383 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
389 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
796 bt_cb(skb)->incoming = 1; in hci_si_event()
1518 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg()
1598 scm.creds = bt_cb(skb)->creds; in hci_sock_recvmsg()
1895 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_sock_sendmsg()
H A Dl2cap_core.c308 if (bt_cb(skb)->l2cap.txseq == seq) in l2cap_ertm_seq_in_queue()
971 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON; in l2cap_send_cmd()
996 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send()
1053 &bt_cb(skb)->l2cap); in __unpack_control()
1057 &bt_cb(skb)->l2cap); in __unpack_control()
1938 bt_cb(skb)->l2cap.retries = 1; in l2cap_streaming_send()
1939 control = &bt_cb(skb)->l2cap; in l2cap_streaming_send()
1980 bt_cb(skb)->l2cap.retries = 1; in l2cap_ertm_send()
1981 control = &bt_cb(skb)->l2cap; in l2cap_ertm_send()
2049 bt_cb(sk in l2cap_ertm_resend()
[all...]
H A Dhci_core.c2903 bt_cb(skb)->incoming = 1; in hci_recv_frame()
3029 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_send_cmd()
3605 bt_cb(skb)->force_active); in hci_sched_acl_pkt()
3852 return (bt_cb(skb)->hci.req_flags & HCI_REQ_START); in hci_req_is_complete()
3917 if (skb && bt_cb(skb)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
3918 *req_complete_skb = bt_cb(skb)->hci.req_complete_skb; in hci_req_cmd_complete()
3922 if (skb && bt_cb(skb)->hci.req_complete) { in hci_req_cmd_complete()
3923 *req_complete = bt_cb(skb)->hci.req_complete; in hci_req_cmd_complete()
3930 if (bt_cb(skb)->hci.req_flags & HCI_REQ_START) { in hci_req_cmd_complete()
3935 if (bt_cb(skb)->hci.req_flags & HCI_REQ_SKB) in hci_req_cmd_complete()
[all …]
H A Dl2cap_sock.c1649 bt_cb(skb)->l2cap.chan = chan; in l2cap_sock_alloc_skb_cb()
1790 la->l2_psm = bt_cb(skb)->l2cap.psm; in l2cap_skb_msg_name()
1791 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
H A Dhci_sync.c110 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_cmd_sync_add()
138 bt_cb(skb)->hci.req_complete_skb = hci_cmd_sync_complete; in hci_req_sync_run()
139 bt_cb(skb)->hci.req_flags |= HCI_REQ_SKB; in hci_req_sync_run()
H A Dsmp.c3215 bt_cb(skb)->l2cap.chan = chan; in smp_alloc_skb_cb()
/openbmc/linux/drivers/bluetooth/
H A Dhci_mrvl.c132 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in mrvl_dequeue()
349 bt_cb(skb)->pkt_type = MRVL_RAW_DATA; in mrvl_load_firmware()
H A Dbtrsi.c70 bt_cb(new_skb)->pkt_type = hci_skb_pkt_type(skb); in rsi_hci_send_pkt()
H A Dhci_ag6xx.c83 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ag6xx_dequeue()
H A Dhci_nokia.c516 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in nokia_enqueue()
H A Dbtnxpuart.c1197 if (bt_cb(skb)->pkt_type == HCI_COMMAND_PKT && !psdata->driver_sent_cmd) { in nxp_enqueue()
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_hal.c414 bt_desc->bt_pkt_type = cpu_to_le16(bt_cb(skb)->pkt_type); in rsi_send_bt_pkt()