Lines Matching defs:msg
54 struct cros_ec_command *msg = sensorhub->msg;
60 msg->version = 1;
61 msg->insize = sizeof(struct ec_response_motion_sense);
62 msg->outsize = sizeof(struct ec_params_motion_sense);
68 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg);
71 i, ret, msg->result);
130 struct cros_ec_command *msg;
133 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) +
136 if (!msg)
139 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset;
149 data->msg = msg;
150 data->params = (struct ec_params_motion_sense *)msg->data;
151 data->resp = (struct ec_response_motion_sense *)msg->data;
194 * The msg and its data is not under the control of the