Lines Matching refs:cmd
197 static int construct_command(struct mei_ace *ace, struct ace_cmd *cmd, in construct_command() argument
200 union ace_cmd_param *param = &cmd->param; in construct_command()
201 struct ace_cmd_hdr *hdr = &cmd->hdr; in construct_command()
223 return hdr->param_size + sizeof(cmd->hdr); in construct_command()
227 static int mei_ace_send(struct mei_ace *ace, struct ace_cmd *cmd, in mei_ace_send() argument
232 struct ace_cmd_hdr *cmd_hdr = &cmd->hdr; in mei_ace_send()
239 ret = mei_cldev_send(ace->cldev, (u8 *)cmd, len); in mei_ace_send()
291 struct ace_cmd cmd; in ace_set_camera_owner() local
300 cmd_size = construct_command(ace, &cmd, cmd_id); in ace_set_camera_owner()
302 ret = mei_ace_send(ace, &cmd, cmd_size, false); in ace_set_camera_owner()
312 struct ace_cmd cmd; in ace_get_firmware_id() local
316 cmd_size = construct_command(ace, &cmd, ACE_GET_FW_ID); in ace_get_firmware_id()
318 ret = mei_ace_send(ace, &cmd, cmd_size, true); in ace_get_firmware_id()