Lines Matching refs:opcode
41 hdr->opcode = cpu_to_le16(event); in mgmt_send_event()
75 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in mgmt_cmd_status()
81 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status()
106 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE); in mgmt_cmd_complete()
111 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete()
124 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find() argument
132 if (cmd->opcode == opcode) in mgmt_pending_find()
140 u16 opcode, in mgmt_pending_find_data() argument
149 if (cmd->opcode == opcode) in mgmt_pending_find_data()
156 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, in mgmt_pending_foreach() argument
163 if (opcode > 0 && cmd->opcode != opcode) in mgmt_pending_foreach()
170 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, in mgmt_pending_add() argument
180 cmd->opcode = opcode; in mgmt_pending_add()