Lines Matching refs:opcode

141 	if (!flt->opcode)  in is_filtered_packet()
145 flt->opcode != get_unaligned((__le16 *)(skb->data + 3))) in is_filtered_packet()
149 flt->opcode != get_unaligned((__le16 *)(skb->data + 4))) in is_filtered_packet()
256 __le16 opcode; in hci_send_to_monitor() local
265 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT); in hci_send_to_monitor()
268 opcode = cpu_to_le16(HCI_MON_EVENT_PKT); in hci_send_to_monitor()
272 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT); in hci_send_to_monitor()
274 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT); in hci_send_to_monitor()
278 opcode = cpu_to_le16(HCI_MON_SCO_RX_PKT); in hci_send_to_monitor()
280 opcode = cpu_to_le16(HCI_MON_SCO_TX_PKT); in hci_send_to_monitor()
293 hdr->opcode = opcode; in hci_send_to_monitor()
307 __le16 opcode; in create_monitor_event() local
321 opcode = cpu_to_le16(HCI_MON_NEW_INDEX); in create_monitor_event()
329 opcode = cpu_to_le16(HCI_MON_DEL_INDEX); in create_monitor_event()
339 hdr->opcode = opcode; in create_monitor_event()
975 u16 opcode, index, len; in hci_mgmt_cmd() local
996 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd()
1005 if (opcode >= chan->handler_count || in hci_mgmt_cmd()
1006 chan->handlers[opcode].func == NULL) { in hci_mgmt_cmd()
1007 BT_DBG("Unknown op %u", opcode); in hci_mgmt_cmd()
1008 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1013 handler = &chan->handlers[opcode]; in hci_mgmt_cmd()
1017 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1025 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1033 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1040 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1048 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1056 err = mgmt_cmd_status(sk, index, opcode, in hci_mgmt_cmd()
1160 u16 opcode = get_unaligned_le16(skb->data); in hci_sock_sendmsg() local
1161 u16 ogf = hci_opcode_ogf(opcode); in hci_sock_sendmsg()
1162 u16 ocf = hci_opcode_ocf(opcode); in hci_sock_sendmsg()
1208 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt()
1251 uf.opcode = f->opcode; in hci_sock_setsockopt()
1272 f->opcode = uf.opcode; in hci_sock_setsockopt()
1334 uf.opcode = f->opcode; in hci_sock_getsockopt()