Lines Matching refs:qdata
118 static int versal_pm_query(struct versal_pm_query_data qdata, u32 *ret_payload) in versal_pm_query() argument
123 regs.regs[1] = ((u64)qdata.arg1 << 32) | qdata.qid; in versal_pm_query()
124 regs.regs[2] = ((u64)qdata.arg3 << 32) | qdata.arg2; in versal_pm_query()
136 return qdata.qid == PM_QID_CLOCK_GET_NAME ? 0 : regs.regs[0]; in versal_pm_query()
175 struct versal_pm_query_data qdata = {0}; in versal_pm_clock_get_num_clocks() local
179 qdata.qid = PM_QID_CLOCK_GET_NUM_CLOCKS; in versal_pm_clock_get_num_clocks()
181 ret = versal_pm_query(qdata, ret_payload); in versal_pm_clock_get_num_clocks()
189 struct versal_pm_query_data qdata = {0}; in versal_pm_clock_get_name() local
193 qdata.qid = PM_QID_CLOCK_GET_NAME; in versal_pm_clock_get_name()
194 qdata.arg1 = clock_id; in versal_pm_clock_get_name()
196 ret = versal_pm_query(qdata, ret_payload); in versal_pm_clock_get_name()
206 struct versal_pm_query_data qdata = {0}; in versal_pm_clock_get_topology() local
210 qdata.qid = PM_QID_CLOCK_GET_TOPOLOGY; in versal_pm_clock_get_topology()
211 qdata.arg1 = clock_id; in versal_pm_clock_get_topology()
212 qdata.arg2 = index; in versal_pm_clock_get_topology()
214 ret = versal_pm_query(qdata, ret_payload); in versal_pm_clock_get_topology()
222 struct versal_pm_query_data qdata = {0}; in versal_pm_clock_get_parents() local
226 qdata.qid = PM_QID_CLOCK_GET_PARENTS; in versal_pm_clock_get_parents()
227 qdata.arg1 = clock_id; in versal_pm_clock_get_parents()
228 qdata.arg2 = index; in versal_pm_clock_get_parents()
230 ret = versal_pm_query(qdata, ret_payload); in versal_pm_clock_get_parents()
238 struct versal_pm_query_data qdata = {0}; in versal_pm_clock_get_attributes() local
242 qdata.qid = PM_QID_CLOCK_GET_ATTRIBUTES; in versal_pm_clock_get_attributes()
243 qdata.arg1 = clock_id; in versal_pm_clock_get_attributes()
245 ret = versal_pm_query(qdata, ret_payload); in versal_pm_clock_get_attributes()