Home
last modified time | relevance | path

Searched refs:pm_id (Results 1 – 1 of 1) sorted by relevance

/drivers/firmware/xilinx/
Dzynqmp-debug.c67 static int get_pm_api_id(char *pm_api_req, u32 *pm_id) in get_pm_api_id() argument
74 *pm_id = pm_api_list[i].api_id; in get_pm_api_id()
80 if (i == ARRAY_SIZE(pm_api_list) && kstrtouint(pm_api_req, 10, pm_id)) in get_pm_api_id()
86 static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret) in process_api_request() argument
92 switch (pm_id) { in process_api_request()
152 u32 pm_id = 0; in zynqmp_pm_debugfs_api_write() local
173 ret = get_pm_api_id(pm_api_req, &pm_id); in zynqmp_pm_debugfs_api_write()
184 ret = process_api_request(pm_id, pm_api_arg, pm_api_ret); in zynqmp_pm_debugfs_api_write()