Lines Matching refs:cmd
72 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_cmd_async() argument
88 needtofree = rc->filter_cmd(rc, &cmd, &cmd_size); in uwb_rc_cmd_async()
97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg); in uwb_rc_cmd_async()
104 result = rc->cmd(rc, cmd, cmd_size); in uwb_rc_cmd_async()
113 kfree(cmd); in uwb_rc_cmd_async()
172 struct uwb_rccb *cmd, size_t cmd_size, in __uwb_rc_cmd() argument
185 result = uwb_rc_cmd_async(rc, cmd_name, cmd, cmd_size, in __uwb_rc_cmd()
199 expected_type, expected_event, cmd->bCommandContext, in __uwb_rc_cmd()
228 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_cmd() argument
235 cmd, cmd_size, reply, reply_size, in uwb_rc_cmd()
271 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_vcmd() argument
275 return __uwb_rc_cmd(rc, cmd_name, cmd, cmd_size, NULL, 0, in uwb_rc_vcmd()
295 struct uwb_rccb *cmd; in uwb_rc_reset() local
296 size_t cmd_size = sizeof(*cmd); in uwb_rc_reset()
299 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in uwb_rc_reset()
300 if (cmd == NULL) in uwb_rc_reset()
302 cmd->bCommandType = UWB_RC_CET_GENERAL; in uwb_rc_reset()
303 cmd->wCommand = cpu_to_le16(UWB_RC_CMD_RESET); in uwb_rc_reset()
306 result = uwb_rc_cmd(rc, "RESET", cmd, cmd_size, in uwb_rc_reset()
317 kfree(cmd); in uwb_rc_reset()