Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firmware/xilinx/
Dzynqmp-debug.c150 char *kern_buff, *tmp_buff; in zynqmp_pm_debugfs_api_write() local
165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
166 if (IS_ERR(kern_buff)) in zynqmp_pm_debugfs_api_write()
167 return PTR_ERR(kern_buff); in zynqmp_pm_debugfs_api_write()
168 tmp_buff = kern_buff; in zynqmp_pm_debugfs_api_write()
171 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
178 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
181 pm_api_req = strsep(&kern_buff, " "); in zynqmp_pm_debugfs_api_write()
/linux-6.1.9/drivers/dma/xilinx/
Dxilinx_dpdma.c361 char *kern_buff; in xilinx_dpdma_debugfs_read() local
367 kern_buff = kzalloc(XILINX_DPDMA_DEBUGFS_READ_MAX_SIZE, GFP_KERNEL); in xilinx_dpdma_debugfs_read()
368 if (!kern_buff) { in xilinx_dpdma_debugfs_read()
375 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); in xilinx_dpdma_debugfs_read()
379 strscpy(kern_buff, "No testcase executed", in xilinx_dpdma_debugfs_read()
383 size = min(size, strlen(kern_buff)); in xilinx_dpdma_debugfs_read()
384 if (copy_to_user(buf, kern_buff, size)) in xilinx_dpdma_debugfs_read()
388 kfree(kern_buff); in xilinx_dpdma_debugfs_read()
400 char *kern_buff, *kern_buff_start; in xilinx_dpdma_debugfs_write() local
412 kern_buff = kzalloc(size, GFP_KERNEL); in xilinx_dpdma_debugfs_write()
[all …]