Lines Matching refs:msg
29 .msg = { \
79 void rpmh_tx_done(const struct tcs_request *msg) in rpmh_tx_done() argument
81 struct rpmh_request *rpm_msg = container_of(msg, struct rpmh_request, in rpmh_tx_done()
82 msg); in rpmh_tx_done()
179 for (i = 0; i < rpm_msg->msg.num_cmds; i++) { in __rpmh_write()
180 req = cache_rpm_request(ctrlr, state, &rpm_msg->msg.cmds[i]); in __rpmh_write()
186 ret = rpmh_rsc_send_data(ctrlr_to_drv(ctrlr), &rpm_msg->msg); in __rpmh_write()
190 rpmh_tx_done(&rpm_msg->msg); in __rpmh_write()
204 req->msg.state = state; in __fill_rpmh_msg()
205 req->msg.cmds = req->cmd; in __fill_rpmh_msg()
206 req->msg.num_cmds = n; in __fill_rpmh_msg()
296 &rpm_msg->msg); in flush_batch()
369 ret = rpmh_rsc_send_data(ctrlr_to_drv(ctrlr), &rpm_msgs[i].msg); in rpmh_write_batch()
372 ret, rpm_msgs[i].msg.cmds[0].addr); in rpmh_write_batch()
412 rpm_msg.msg.wait_for_compl = (state == RPMH_WAKE_ONLY_STATE); in send_single()
415 rpm_msg.msg.num_cmds = 1; in send_single()
417 return rpmh_rsc_write_ctrl_data(ctrlr_to_drv(ctrlr), &rpm_msg.msg); in send_single()