Searched refs:file_length (Results 1 – 8 of 8) sorted by relevance
203 u32 file_length = 0; in init_firmware() local256 file_length = fw_entry->size; in init_firmware()261 file_length = fw_entry->size + 128; in init_firmware()263 pfirmware->firmware_buf_size = file_length; in init_firmware()267 file_length = pfirmware->firmware_buf_size; in init_firmware()277 rt_status = fw_download_code(dev, mapped_file, file_length); in init_firmware()
131 u32 file_length = 0; in rtl92e_init_fw() local172 file_length = pfirmware->blobs[i].size; in rtl92e_init_fw()175 mapped_file, file_length); in rtl92e_init_fw()
344 unsigned int file_length; in me2600_xilinx_download() local371 file_length = (((unsigned int)data[0] & 0xff) << 24) + in me2600_xilinx_download()380 for (i = 0; i < file_length; i++) in me2600_xilinx_download()
314 unsigned int file_length; in me4000_xilinx_download() local349 file_length = (((unsigned int)data[0] & 0xff) << 24) + in me4000_xilinx_download()355 for (i = 0; i < file_length; i++) { in me4000_xilinx_download()
1731 u32 header1 = 0, header2 = 0, magic_num = 0, crc = 0, file_length = 0; in parse_platform_config() local1760 file_length = (*ptr) * 4; in parse_platform_config()1767 if (file_length > MAX_PLATFORM_CONFIG_FILE_SIZE) { in parse_platform_config()1771 file_length = PLATFORM_CONFIG_FORMAT_4_FILE_SIZE; in parse_platform_config()1776 if (file_length > dd->platform_config.size) { in parse_platform_config()1781 } else if (file_length < dd->platform_config.size) { in parse_platform_config()1793 while (ptr < (u32 *)(dd->platform_config.data + file_length)) { in parse_platform_config()
100 loff_t file_length; member
267 curlun->file_length = size; in fsg_lun_open()
659 curlun->file_length - file_offset); in do_read()810 if (usb_offset >= curlun->file_length) { in do_write()863 if (curlun->file_length - file_offset < amount) { in do_write()866 (unsigned long long)curlun->file_length); in do_write()867 amount = curlun->file_length - file_offset; in do_write()1009 curlun->file_length - file_offset); in do_verify()