Home
last modified time | relevance | path

Searched refs:file_length (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/staging/rtl8192u/
Dr819xU_firmware.c203 u32 file_length = 0; in init_firmware() local
256 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()
/linux-6.6.21/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c131 u32 file_length = 0; in rtl92e_init_fw() local
172 file_length = pfirmware->blobs[i].size; in rtl92e_init_fw()
175 mapped_file, file_length); in rtl92e_init_fw()
/linux-6.6.21/drivers/comedi/drivers/
Dme_daq.c344 unsigned int file_length; in me2600_xilinx_download() local
371 file_length = (((unsigned int)data[0] & 0xff) << 24) + in me2600_xilinx_download()
380 for (i = 0; i < file_length; i++) in me2600_xilinx_download()
Dme4000.c314 unsigned int file_length; in me4000_xilinx_download() local
349 file_length = (((unsigned int)data[0] & 0xff) << 24) + in me4000_xilinx_download()
355 for (i = 0; i < file_length; i++) { in me4000_xilinx_download()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dfirmware.c1731 u32 header1 = 0, header2 = 0, magic_num = 0, crc = 0, file_length = 0; in parse_platform_config() local
1760 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()
/linux-6.6.21/drivers/usb/gadget/function/
Dstorage_common.h100 loff_t file_length; member
Dstorage_common.c267 curlun->file_length = size; in fsg_lun_open()
Df_mass_storage.c659 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()