Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/xilinx/
H A Dzynqmp-debug.c67 static int get_pm_api_id(char *pm_api_req, u32 *pm_id) in get_pm_api_id() argument
72 if (!strncasecmp(pm_api_req, pm_api_list[i].api_name, 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()
151 char *pm_api_req; in zynqmp_pm_debugfs_api_write() local
171 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
173 ret = get_pm_api_id(pm_api_req, &pm_id); in zynqmp_pm_debugfs_api_write()
178 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
179 while ((i < ARRAY_SIZE(pm_api_arg)) && pm_api_req) { in zynqmp_pm_debugfs_api_write()
180 pm_api_arg[i++] = zynqmp_pm_argument_value(pm_api_req); in zynqmp_pm_debugfs_api_write()
181 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()