Lines Matching refs:cmd
114 struct uwb_rccb *cmd = NULL;
118 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
119 if (cmd == NULL)
122 cmd->bCommandType = UWB_RC_CET_GENERAL;
123 cmd->wCommand = cpu_to_le16(UWB_RC_CMD_GET_IE);
124 result = uwb_rc_vcmd(uwb_rc, "GET_IE", cmd, sizeof(*cmd),
127 kfree(cmd);
152 * @cmd: pointer to the SET-IE command with the IEs to set
155 int uwb_rc_set_ie(struct uwb_rc *rc, struct uwb_rc_cmd_set_ie *cmd)
163 result = uwb_rc_cmd(rc, "SET-IE", &cmd->rccb,
164 sizeof(*cmd) + le16_to_cpu(cmd->wIELength),