Lines Matching full:response

126 	struct cmd_clk_is_enabled_response response;  in tegra_bpmp_clk_is_prepared()  local
133 msg.rx.data = &response; in tegra_bpmp_clk_is_prepared()
134 msg.rx.size = sizeof(response); in tegra_bpmp_clk_is_prepared()
140 return response.state; in tegra_bpmp_clk_is_prepared()
147 struct cmd_clk_get_rate_response response; in tegra_bpmp_clk_recalc_rate() local
157 msg.rx.data = &response; in tegra_bpmp_clk_recalc_rate()
158 msg.rx.size = sizeof(response); in tegra_bpmp_clk_recalc_rate()
164 return response.rate; in tegra_bpmp_clk_recalc_rate()
171 struct cmd_clk_round_rate_response response; in tegra_bpmp_clk_determine_rate() local
187 msg.rx.data = &response; in tegra_bpmp_clk_determine_rate()
188 msg.rx.size = sizeof(response); in tegra_bpmp_clk_determine_rate()
194 rate_req->rate = (unsigned long)response.rate; in tegra_bpmp_clk_determine_rate()
202 struct cmd_clk_set_parent_response response; in tegra_bpmp_clk_set_parent() local
215 msg.rx.data = &response; in tegra_bpmp_clk_set_parent()
216 msg.rx.size = sizeof(response); in tegra_bpmp_clk_set_parent()
222 /* XXX check parent ID in response */ in tegra_bpmp_clk_set_parent()
230 struct cmd_clk_get_parent_response response; in tegra_bpmp_clk_get_parent() local
238 msg.rx.data = &response; in tegra_bpmp_clk_get_parent()
239 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_parent()
249 if (clk->parents[i] == response.parent_id) in tegra_bpmp_clk_get_parent()
259 struct cmd_clk_set_rate_response response; in tegra_bpmp_clk_set_rate() local
271 msg.rx.data = &response; in tegra_bpmp_clk_set_rate()
272 msg.rx.size = sizeof(response); in tegra_bpmp_clk_set_rate()
333 struct cmd_clk_get_max_clk_id_response response; in tegra_bpmp_clk_get_max_id() local
339 msg.rx.data = &response; in tegra_bpmp_clk_get_max_id()
340 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_max_id()
346 if (response.max_id > INT_MAX) in tegra_bpmp_clk_get_max_id()
349 return response.max_id; in tegra_bpmp_clk_get_max_id()
355 struct cmd_clk_get_all_info_response response; in tegra_bpmp_clk_get_info() local
363 msg.rx.data = &response; in tegra_bpmp_clk_get_info()
364 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_info()
370 strscpy(info->name, response.name, MRQ_CLK_NAME_MAXLEN); in tegra_bpmp_clk_get_info()
371 info->num_parents = response.num_parents; in tegra_bpmp_clk_get_info()
374 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info()
376 info->flags = response.flags; in tegra_bpmp_clk_get_info()