Lines Matching refs:bt_cb

123 	flt_type = bt_cb(skb)->pkt_type & HCI_FLT_TYPE_BITS;  in is_filtered_packet()
129 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT) in is_filtered_packet()
173 if (bt_cb(skb)->pkt_type != HCI_COMMAND_PKT && in hci_send_to_sock()
174 bt_cb(skb)->pkt_type != HCI_EVENT_PKT && in hci_send_to_sock()
175 bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_send_to_sock()
176 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) in hci_send_to_sock()
181 if (!bt_cb(skb)->incoming) in hci_send_to_sock()
183 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT && in hci_send_to_sock()
184 bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_send_to_sock()
185 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) in hci_send_to_sock()
199 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock()
265 switch (bt_cb(skb)->pkt_type) { in hci_send_to_monitor()
273 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
279 if (bt_cb(skb)->incoming) in hci_send_to_monitor()
447 bt_cb(skb)->incoming = 1; in hci_si_event()
450 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in hci_si_event()
963 int incoming = bt_cb(skb)->incoming; in hci_sock_cmsg()
1214 bt_cb(skb)->pkt_type = *((unsigned char *) skb->data); in hci_sock_sendmsg()
1223 if (bt_cb(skb)->pkt_type != HCI_COMMAND_PKT && in hci_sock_sendmsg()
1224 bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_sock_sendmsg()
1225 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) { in hci_sock_sendmsg()
1232 } else if (bt_cb(skb)->pkt_type == HCI_COMMAND_PKT) { in hci_sock_sendmsg()
1252 bt_cb(skb)->hci.req_start = true; in hci_sock_sendmsg()
1263 if (bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_sock_sendmsg()
1264 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) { in hci_sock_sendmsg()