Lines Matching refs:fpga_dmabuff
33 unsigned char *fpga_dmabuff = NULL; in plfxlc_download_fpga() local
65 fpga_dmabuff = kmalloc(PLF_FPGA_STATUS_LEN, GFP_KERNEL); in plfxlc_download_fpga()
67 if (!fpga_dmabuff) { in plfxlc_download_fpga()
72 fpga_dmabuff, PLF_FPGA_STATUS_LEN); in plfxlc_download_fpga()
76 if (fpga_dmabuff[0] != PLF_FPGA_MG) { in plfxlc_download_fpga()
101 fpga_dmabuff[0] & 0xff), in plfxlc_download_fpga()
114 kfree(fpga_dmabuff); in plfxlc_download_fpga()
115 fpga_dmabuff = kmalloc(PLF_FPGA_STATE_LEN, GFP_KERNEL); in plfxlc_download_fpga()
116 if (!fpga_dmabuff) { in plfxlc_download_fpga()
120 memset(fpga_dmabuff, 0xff, PLF_FPGA_STATE_LEN); in plfxlc_download_fpga()
122 send_vendor_request(udev, PLF_VNDR_FPGA_STATE_REQ, fpga_dmabuff, in plfxlc_download_fpga()
125 dev_dbg(&intf->dev, "%*ph\n", 8, fpga_dmabuff); in plfxlc_download_fpga()
127 if (fpga_dmabuff[0] != 0) { in plfxlc_download_fpga()
137 kfree(fpga_dmabuff); in plfxlc_download_fpga()