Lines Matching defs:cmd
72 struct uwb_rccb *cmd, size_t cmd_size,
88 needtofree = rc->filter_cmd(rc, &cmd, &cmd_size);
97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg);
104 result = rc->cmd(rc, cmd, cmd_size);
113 kfree(cmd);
150 * @cmd: Pointer to rccb structure containing the command;
153 * @cmd_size: Size of the whole command buffer pointed to by @cmd.
172 struct uwb_rccb *cmd, size_t cmd_size,
185 result = uwb_rc_cmd_async(rc, cmd_name, cmd, cmd_size,
199 expected_type, expected_event, cmd->bCommandContext,
210 * @cmd: Pointer to rccb structure containing the command;
213 * @cmd_size: Size of the whole command buffer pointed to by @cmd.
228 struct uwb_rccb *cmd, size_t cmd_size,
235 cmd, cmd_size, reply, reply_size,
255 * @cmd: Pointer to rccb structure containing the command;
258 * @cmd_size: Size of the whole command buffer pointed to by @cmd.
271 struct uwb_rccb *cmd, size_t cmd_size,
275 return __uwb_rc_cmd(rc, cmd_name, cmd, cmd_size, NULL, 0,
295 struct uwb_rccb *cmd;
296 size_t cmd_size = sizeof(*cmd);
299 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
300 if (cmd == NULL)
302 cmd->bCommandType = UWB_RC_CET_GENERAL;
303 cmd->wCommand = cpu_to_le16(UWB_RC_CMD_RESET);
306 result = uwb_rc_cmd(rc, "RESET", cmd, cmd_size,
317 kfree(cmd);