Lines Matching refs:req_cmd
163 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument
166 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
174 if (req_cmd) { in w1_netlink_queue_status()
176 memcpy(cmd, req_cmd, sizeof(*cmd)); in w1_netlink_queue_status()
267 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd) in w1_get_slaves() argument
271 req_cmd->len = 0; in w1_get_slaves()
272 w1_netlink_queue_cmd(dev->priv, req_cmd); in w1_get_slaves()
274 if (req_cmd->cmd == W1_CMD_LIST_SLAVES) { in w1_get_slaves()
283 w1_search_process_cb(dev, req_cmd->cmd == W1_CMD_ALARM_SEARCH ? in w1_get_slaves()
350 struct w1_netlink_cmd *req_cmd) in w1_process_command_master() argument
357 switch (req_cmd->cmd) { in w1_process_command_master()
362 err = w1_get_slaves(dev, req_cmd); in w1_process_command_master()
368 err = w1_process_command_io(dev, req_cmd); in w1_process_command_master()
377 err = w1_process_command_addremove(dev, req_cmd); in w1_process_command_master()