Lines Matching refs:dma_buffer
240 unsigned char *dma_buffer = NULL; in plfxlc_upload_mac_and_serial() local
242 dma_buffer = kmalloc(PLF_SERIAL_LEN, GFP_KERNEL); in plfxlc_upload_mac_and_serial()
243 if (!dma_buffer) in plfxlc_upload_mac_and_serial()
249 send_vendor_request(udev, PLF_MAC_VENDOR_REQUEST, dma_buffer, in plfxlc_upload_mac_and_serial()
252 memcpy(hw_address, dma_buffer, ETH_ALEN); in plfxlc_upload_mac_and_serial()
255 dma_buffer, PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
258 dma_buffer, PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
260 memcpy(serial_number, dma_buffer, PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
262 memset(dma_buffer, 0x00, PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
265 (unsigned char *)dma_buffer, PLF_FW_VER_LEN); in plfxlc_upload_mac_and_serial()
267 memcpy(&firmware_version, dma_buffer, PLF_FW_VER_LEN); in plfxlc_upload_mac_and_serial()
270 kfree(dma_buffer); in plfxlc_upload_mac_and_serial()