Lines Matching refs:req_cmd
180 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument
183 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
191 if (req_cmd) { in w1_netlink_queue_status()
193 memcpy(cmd, req_cmd, sizeof(*cmd)); in w1_netlink_queue_status()
284 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd) in w1_get_slaves() argument
288 req_cmd->len = 0; in w1_get_slaves()
289 w1_netlink_queue_cmd(dev->priv, req_cmd); in w1_get_slaves()
291 if (req_cmd->cmd == W1_CMD_LIST_SLAVES) { in w1_get_slaves()
300 w1_search_process_cb(dev, req_cmd->cmd == W1_CMD_ALARM_SEARCH ? in w1_get_slaves()
367 struct w1_netlink_cmd *req_cmd) in w1_process_command_master() argument
374 switch (req_cmd->cmd) { in w1_process_command_master()
379 err = w1_get_slaves(dev, req_cmd); in w1_process_command_master()
385 err = w1_process_command_io(dev, req_cmd); in w1_process_command_master()
394 err = w1_process_command_addremove(dev, req_cmd); in w1_process_command_master()