Lines Matching defs:req_cmd
157 /* Append req_msg and req_cmd, no other commands and no data from req_cmd are
161 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd,
164 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd);
172 if (req_cmd) {
174 memcpy(cmd, req_cmd, sizeof(*cmd));
265 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd)
269 req_cmd->len = 0;
270 w1_netlink_queue_cmd(dev->priv, req_cmd);
272 if (req_cmd->cmd == W1_CMD_LIST_SLAVES) {
281 w1_search_process_cb(dev, req_cmd->cmd == W1_CMD_ALARM_SEARCH ?
348 struct w1_netlink_cmd *req_cmd)
355 switch (req_cmd->cmd) {
360 err = w1_get_slaves(dev, req_cmd);
366 err = w1_process_command_io(dev, req_cmd);
375 err = w1_process_command_addremove(dev, req_cmd);