Home
last modified time | relevance | path

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

/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()
/drivers/dma/xilinx/
Dxilinx_dpdma.c360 char *kern_buff; in xilinx_dpdma_debugfs_read() local
366 kern_buff = kzalloc(XILINX_DPDMA_DEBUGFS_READ_MAX_SIZE, GFP_KERNEL); in xilinx_dpdma_debugfs_read()
367 if (!kern_buff) { in xilinx_dpdma_debugfs_read()
374 ret = dpdma_debugfs_reqs[testcase].read(kern_buff); in xilinx_dpdma_debugfs_read()
378 strlcpy(kern_buff, "No testcase executed", in xilinx_dpdma_debugfs_read()
382 size = min(size, strlen(kern_buff)); in xilinx_dpdma_debugfs_read()
383 if (copy_to_user(buf, kern_buff, size)) in xilinx_dpdma_debugfs_read()
387 kfree(kern_buff); in xilinx_dpdma_debugfs_read()
399 char *kern_buff, *kern_buff_start; in xilinx_dpdma_debugfs_write() local
411 kern_buff = kzalloc(size, GFP_KERNEL); in xilinx_dpdma_debugfs_write()
[all …]