Home
last modified time | relevance | path

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

/linux/include/net/bluetooth/
H A Dbluetooth.h506 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) macro
508 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type
509 #define hci_skb_pkt_status(skb) bt_cb((skb))->pkt_status
510 #define hci_skb_pkt_seqnum(skb) bt_cb((skb))->pkt_seqnum
511 #define hci_skb_expect(skb) bt_cb((skb))->expect
512 #define hci_skb_opcode(skb) bt_cb((skb))->hci.opcode
513 #define hci_skb_event(skb) bt_cb((skb))->hci.req_event
514 #define hci_skb_sk(skb) bt_cb((skb))->hci.sk
/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_sock.c232 if (!bt_cb(skb)->incoming) in hci_send_to_sock()
275 creds = &bt_cb(skb)->creds; in hci_sock_copy_creds()
378 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
384 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
390 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
396 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
803 bt_cb(skb)->incoming = 1; in hci_si_event()
1527 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg()
1607 scm.creds = bt_cb(skb)->creds; in hci_sock_recvmsg()
1905 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_sock_sendmsg()
H A Dl2cap_core.c304 if (bt_cb(skb)->l2cap.txseq == seq) in l2cap_ertm_seq_in_queue()
993 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON; in l2cap_send_cmd()
1018 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send()
1075 &bt_cb(skb)->l2cap); in __unpack_control()
1079 &bt_cb(skb)->l2cap); in __unpack_control()
1950 bt_cb(skb)->l2cap.retries = 1; in l2cap_streaming_send()
1951 control = &bt_cb(skb)->l2cap; in l2cap_streaming_send()
1992 bt_cb(skb)->l2cap.retries = 1; in l2cap_ertm_send()
1993 control = &bt_cb(skb)->l2cap; in l2cap_ertm_send()
2061 bt_cb(skb)->l2cap.retries++; in l2cap_ertm_resend()
[all …]
H A Dhci_core.c2963 bt_cb(skb)->incoming = 1; in hci_recv_frame()
3108 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_send_cmd()
3700 bt_cb(skb)->force_active); in hci_sched_acl_pkt()
3935 return (bt_cb(skb)->hci.req_flags & HCI_REQ_START); in hci_req_is_complete()
4000 if (skb && bt_cb(skb)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
4001 *req_complete_skb = bt_cb(skb)->hci.req_complete_skb; in hci_req_cmd_complete()
4005 if (skb && bt_cb(skb)->hci.req_complete) { in hci_req_cmd_complete()
4006 *req_complete = bt_cb(skb)->hci.req_complete; in hci_req_cmd_complete()
4013 if (bt_cb(skb)->hci.req_flags & HCI_REQ_START) { in hci_req_cmd_complete()
4018 if (bt_cb(skb)->hci.req_flags & HCI_REQ_SKB) in hci_req_cmd_complete()
[all …]
H A Dl2cap_sock.c1734 bt_cb(skb)->l2cap.chan = chan; in l2cap_sock_alloc_skb_cb()
1885 la->l2_psm = bt_cb(skb)->l2cap.psm; in l2cap_skb_msg_name()
1886 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
H A Dhci_sync.c108 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_cmd_sync_add()
136 bt_cb(skb)->hci.req_complete_skb = hci_cmd_sync_complete; in hci_req_sync_run()
137 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()
/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_aml.c643 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in aml_dequeue()
H A Dhci_nokia.c511 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in nokia_enqueue()
/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()