Home
last modified time | relevance | path

Searched refs:mgmt_pending_cmd (Results 1 – 3 of 3) sorted by relevance

/net/bluetooth/
Dmgmt_util.h23 struct mgmt_pending_cmd { struct
31 int (*cmd_complete)(struct mgmt_pending_cmd *cmd, u8 status); argument
40 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode,
42 struct mgmt_pending_cmd *mgmt_pending_find_data(unsigned short channel,
47 void (*cb)(struct mgmt_pending_cmd *cmd, void *data),
49 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode,
52 void mgmt_pending_free(struct mgmt_pending_cmd *cmd);
53 void mgmt_pending_remove(struct mgmt_pending_cmd *cmd);
Dmgmt_util.c184 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find()
187 struct mgmt_pending_cmd *cmd; in mgmt_pending_find()
199 struct mgmt_pending_cmd *mgmt_pending_find_data(unsigned short channel, in mgmt_pending_find_data()
204 struct mgmt_pending_cmd *cmd; in mgmt_pending_find_data()
217 void (*cb)(struct mgmt_pending_cmd *cmd, void *data), in mgmt_pending_foreach()
220 struct mgmt_pending_cmd *cmd, *tmp; in mgmt_pending_foreach()
230 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, in mgmt_pending_add()
234 struct mgmt_pending_cmd *cmd; in mgmt_pending_add()
259 void mgmt_pending_free(struct mgmt_pending_cmd *cmd) in mgmt_pending_free()
266 void mgmt_pending_remove(struct mgmt_pending_cmd *cmd) in mgmt_pending_remove()
Dmgmt.c851 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev) in pending_find()
856 static struct mgmt_pending_cmd *pending_find_data(u16 opcode, in pending_find_data()
865 struct mgmt_pending_cmd *cmd; in mgmt_get_adv_discov_flags()
889 struct mgmt_pending_cmd *cmd; in mgmt_get_connectable()
1159 struct mgmt_pending_cmd *cmd; in set_powered()
1229 static void settings_rsp(struct mgmt_pending_cmd *cmd, void *data) in settings_rsp()
1245 static void cmd_status_rsp(struct mgmt_pending_cmd *cmd, void *data) in cmd_status_rsp()
1253 static void cmd_complete_rsp(struct mgmt_pending_cmd *cmd, void *data) in cmd_complete_rsp()
1267 static int generic_cmd_complete(struct mgmt_pending_cmd *cmd, u8 status) in generic_cmd_complete()
1273 static int addr_cmd_complete(struct mgmt_pending_cmd *cmd, u8 status) in addr_cmd_complete()
[all …]