Lines Matching refs:buffer_size
754 int buffer_size; in build_i2c_fw_hdr() local
775 buffer_size = (((1024 * 16) - 512 ) + in build_i2c_fw_hdr()
778 buffer = kmalloc(buffer_size, GFP_KERNEL); in build_i2c_fw_hdr()
783 memset(buffer, 0xff, buffer_size); in build_i2c_fw_hdr()
813 for (i=0; i < buffer_size; i++) { in build_i2c_fw_hdr()
824 i2c_header->Size = cpu_to_le16(buffer_size); in build_i2c_fw_hdr()
1280 int buffer_size; in download_fw() local
1323 buffer_size = (((1024 * 16) - 512) + in download_fw()
1325 buffer = kmalloc(buffer_size, GFP_KERNEL); in download_fw()
1330 memset(buffer, 0xff, buffer_size); in download_fw()
1343 i < buffer_size; i++) { in download_fw()
1350 header->Length = cpu_to_le16((__u16)(buffer_size - in download_fw()
1356 status = download_code(serial, buffer, buffer_size); in download_fw()