Lines Matching defs:req_cmd
159 /* Append req_msg and req_cmd, no other commands and no data from req_cmd are
163 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd,
166 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd);
174 if (req_cmd) {
176 memcpy(cmd, req_cmd, sizeof(*cmd));
267 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd)
271 req_cmd->len = 0;
272 w1_netlink_queue_cmd(dev->priv, req_cmd);
274 if (req_cmd->cmd == W1_CMD_LIST_SLAVES) {
283 w1_search_process_cb(dev, req_cmd->cmd == W1_CMD_ALARM_SEARCH ?
350 struct w1_netlink_cmd *req_cmd)
357 switch (req_cmd->cmd) {
362 err = w1_get_slaves(dev, req_cmd);
368 err = w1_process_command_io(dev, req_cmd);
377 err = w1_process_command_addremove(dev, req_cmd);