rpm_msg 80 drivers/soc/qcom/rpmh.c struct rpmh_request *rpm_msg = container_of(msg, struct rpmh_request, rpm_msg 82 drivers/soc/qcom/rpmh.c struct completion *compl = rpm_msg->completion; rpm_msg 83 drivers/soc/qcom/rpmh.c bool free = rpm_msg->needs_free; rpm_msg 85 drivers/soc/qcom/rpmh.c rpm_msg->err = r; rpm_msg 88 drivers/soc/qcom/rpmh.c dev_err(rpm_msg->dev, "RPMH TX fail in msg addr=%#x, err=%d\n", rpm_msg 89 drivers/soc/qcom/rpmh.c rpm_msg->msg.cmds[0].addr, r); rpm_msg 99 drivers/soc/qcom/rpmh.c kfree(rpm_msg); rpm_msg 174 drivers/soc/qcom/rpmh.c struct rpmh_request *rpm_msg) rpm_msg 181 drivers/soc/qcom/rpmh.c rpm_msg->msg.state = state; rpm_msg 184 drivers/soc/qcom/rpmh.c for (i = 0; i < rpm_msg->msg.num_cmds; i++) { rpm_msg 185 drivers/soc/qcom/rpmh.c req = cache_rpm_request(ctrlr, state, &rpm_msg->msg.cmds[i]); rpm_msg 190 drivers/soc/qcom/rpmh.c rpm_msg->msg.state = state; rpm_msg 194 drivers/soc/qcom/rpmh.c ret = rpmh_rsc_send_data(ctrlr_to_drv(ctrlr), &rpm_msg->msg); rpm_msg 198 drivers/soc/qcom/rpmh.c rpmh_tx_done(&rpm_msg->msg, ret); rpm_msg 233 drivers/soc/qcom/rpmh.c struct rpmh_request *rpm_msg; rpm_msg 236 drivers/soc/qcom/rpmh.c rpm_msg = kzalloc(sizeof(*rpm_msg), GFP_ATOMIC); rpm_msg 237 drivers/soc/qcom/rpmh.c if (!rpm_msg) rpm_msg 239 drivers/soc/qcom/rpmh.c rpm_msg->needs_free = true; rpm_msg 241 drivers/soc/qcom/rpmh.c ret = __fill_rpmh_msg(rpm_msg, state, cmd, n); rpm_msg 243 drivers/soc/qcom/rpmh.c kfree(rpm_msg); rpm_msg 247 drivers/soc/qcom/rpmh.c return __rpmh_write(dev, state, rpm_msg); rpm_msg 265 drivers/soc/qcom/rpmh.c DEFINE_RPMH_MSG_ONSTACK(dev, state, &compl, rpm_msg); rpm_msg 271 drivers/soc/qcom/rpmh.c memcpy(rpm_msg.cmd, cmd, n * sizeof(*cmd)); rpm_msg 272 drivers/soc/qcom/rpmh.c rpm_msg.msg.num_cmds = n; rpm_msg 274 drivers/soc/qcom/rpmh.c ret = __rpmh_write(dev, state, &rpm_msg); rpm_msg 296 drivers/soc/qcom/rpmh.c const struct rpmh_request *rpm_msg; rpm_msg 305 drivers/soc/qcom/rpmh.c rpm_msg = req->rpm_msgs + i; rpm_msg 307 drivers/soc/qcom/rpmh.c &rpm_msg->msg); rpm_msg 433 drivers/soc/qcom/rpmh.c DEFINE_RPMH_MSG_ONSTACK(dev, state, NULL, rpm_msg); rpm_msg 437 drivers/soc/qcom/rpmh.c rpm_msg.msg.wait_for_compl = (state == RPMH_WAKE_ONLY_STATE); rpm_msg 438 drivers/soc/qcom/rpmh.c rpm_msg.cmd[0].addr = addr; rpm_msg 439 drivers/soc/qcom/rpmh.c rpm_msg.cmd[0].data = data; rpm_msg 440 drivers/soc/qcom/rpmh.c rpm_msg.msg.num_cmds = 1; rpm_msg 442 drivers/soc/qcom/rpmh.c return rpmh_rsc_write_ctrl_data(ctrlr_to_drv(ctrlr), &rpm_msg.msg);