Lines Matching refs:readbuf
746 char *readbuf; in lt9611uxc_firmware_read() local
749 readbuf = kzalloc(ALIGN(size, 32), GFP_KERNEL); in lt9611uxc_firmware_read()
750 if (!readbuf) in lt9611uxc_firmware_read()
758 lt9611uxc_firmware_read_page(lt9611uxc, offset, &readbuf[offset]); in lt9611uxc_firmware_read()
760 return readbuf; in lt9611uxc_firmware_read()
768 char *readbuf; in lt9611uxc_firmware_update() local
822 readbuf = lt9611uxc_firmware_read(lt9611uxc, fw->size); in lt9611uxc_firmware_update()
823 if (!readbuf) { in lt9611uxc_firmware_update()
828 if (!memcmp(readbuf, fw->data, fw->size)) { in lt9611uxc_firmware_update()
830 print_hex_dump(KERN_ERR, "fw: ", DUMP_PREFIX_OFFSET, 16, 1, readbuf, fw->size, false); in lt9611uxc_firmware_update()
836 kfree(readbuf); in lt9611uxc_firmware_update()