Lines Matching refs:agent

58 	.agent = sandbox_scmi_agent_list,
69 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in debug_print_agent_state() local
71 dev_dbg(dev, "Dump sandbox_scmi_agent %u: %s\n", agent->idx, str); in debug_print_agent_state()
73 agent->idx, in debug_print_agent_state()
74 agent->clk_count, in debug_print_agent_state()
75 agent->clk_count ? agent->clk[0].enabled : -1, in debug_print_agent_state()
76 agent->clk_count ? agent->clk[0].rate : -1, in debug_print_agent_state()
77 agent->clk_count > 1 ? agent->clk[1].enabled : -1, in debug_print_agent_state()
78 agent->clk_count > 1 ? agent->clk[1].rate : -1, in debug_print_agent_state()
79 agent->clk_count > 2 ? agent->clk[2].enabled : -1, in debug_print_agent_state()
80 agent->clk_count > 2 ? agent->clk[2].rate : -1); in debug_print_agent_state()
82 agent->idx, in debug_print_agent_state()
83 agent->reset_count, in debug_print_agent_state()
84 agent->reset_count ? agent->reset[0].asserted : -1, in debug_print_agent_state()
85 agent->reset_count > 1 ? agent->reset[1].asserted : -1); in debug_print_agent_state()
135 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_clock_rate_set() local
147 clk_state = get_scmi_clk_state(agent->idx, in->clock_id); in sandbox_scmi_clock_rate_set()
166 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_clock_rate_get() local
178 clk_state = get_scmi_clk_state(agent->idx, in->clock_id); in sandbox_scmi_clock_rate_get()
195 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_clock_gate() local
207 clk_state = get_scmi_clk_state(agent->idx, in->clock_id); in sandbox_scmi_clock_gate()
225 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_rd_attribs() local
237 reset_state = get_scmi_reset_state(agent->idx, in->domain_id); in sandbox_scmi_rd_attribs()
254 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_rd_reset() local
266 reset_state = get_scmi_reset_state(agent->idx, in->domain_id); in sandbox_scmi_rd_reset()
345 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_test_remove() local
350 sandbox_scmi_service_ctx()->agent[agent->idx] = NULL; in sandbox_scmi_test_remove()
358 struct sandbox_scmi_agent *agent = dev_get_priv(dev); in sandbox_scmi_test_probe() local
366 *agent = (struct sandbox_scmi_agent){ in sandbox_scmi_test_probe()
375 *agent = (struct sandbox_scmi_agent){ in sandbox_scmi_test_probe()
390 sandbox_scmi_service_ctx()->agent[agent->idx] = agent; in sandbox_scmi_test_probe()