Lines Matching refs:req_cmd
170 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument
173 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
181 if (req_cmd) { in w1_netlink_queue_status()
183 memcpy(cmd, req_cmd, sizeof(*cmd)); in w1_netlink_queue_status()
274 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd) in w1_get_slaves() argument
278 req_cmd->len = 0; in w1_get_slaves()
279 w1_netlink_queue_cmd(dev->priv, req_cmd); in w1_get_slaves()
281 if (req_cmd->cmd == W1_CMD_LIST_SLAVES) { in w1_get_slaves()
290 w1_search_process_cb(dev, req_cmd->cmd == W1_CMD_ALARM_SEARCH ? in w1_get_slaves()
357 struct w1_netlink_cmd *req_cmd) in w1_process_command_master() argument
364 switch (req_cmd->cmd) { in w1_process_command_master()
369 err = w1_get_slaves(dev, req_cmd); in w1_process_command_master()
375 err = w1_process_command_io(dev, req_cmd); in w1_process_command_master()
384 err = w1_process_command_addremove(dev, req_cmd); in w1_process_command_master()