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_round_rate() local
184 msg.rx.data = &response; in tegra_bpmp_clk_round_rate()
185 msg.rx.size = sizeof(response); in tegra_bpmp_clk_round_rate()
191 return response.rate; in tegra_bpmp_clk_round_rate()
197 struct cmd_clk_set_parent_response response; in tegra_bpmp_clk_set_parent() local
210 msg.rx.data = &response; in tegra_bpmp_clk_set_parent()
211 msg.rx.size = sizeof(response); in tegra_bpmp_clk_set_parent()
217 /* XXX check parent ID in response */ in tegra_bpmp_clk_set_parent()
225 struct cmd_clk_get_parent_response response; in tegra_bpmp_clk_get_parent() local
233 msg.rx.data = &response; in tegra_bpmp_clk_get_parent()
234 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_parent()
244 if (clk->parents[i] == response.parent_id) in tegra_bpmp_clk_get_parent()
254 struct cmd_clk_set_rate_response response; in tegra_bpmp_clk_set_rate() local
266 msg.rx.data = &response; in tegra_bpmp_clk_set_rate()
267 msg.rx.size = sizeof(response); in tegra_bpmp_clk_set_rate()
310 struct cmd_clk_get_max_clk_id_response response; in tegra_bpmp_clk_get_max_id() local
316 msg.rx.data = &response; in tegra_bpmp_clk_get_max_id()
317 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_max_id()
323 if (response.max_id > INT_MAX) in tegra_bpmp_clk_get_max_id()
326 return response.max_id; in tegra_bpmp_clk_get_max_id()
332 struct cmd_clk_get_all_info_response response; in tegra_bpmp_clk_get_info() local
340 msg.rx.data = &response; in tegra_bpmp_clk_get_info()
341 msg.rx.size = sizeof(response); in tegra_bpmp_clk_get_info()
347 strlcpy(info->name, response.name, MRQ_CLK_NAME_MAXLEN); in tegra_bpmp_clk_get_info()
348 info->num_parents = response.num_parents; in tegra_bpmp_clk_get_info()
351 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info()
353 info->flags = response.flags; in tegra_bpmp_clk_get_info()