Home
last modified time | relevance | path

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

/linux/sound/soc/sdca/
H A Dsdca_fdl.c213 for (i = 0; i < fdl_data->swft->header.length; i += tmp->file_length, in fdl_load_file()
214 tmp = ACPI_ADD_PTR(struct acpi_sw_file, tmp, tmp->file_length)) { in fdl_load_file()
251 tmp->file_length != firmware->size) { in fdl_load_file()
272 swf->file_length - offsetof(struct acpi_sw_file, data)); in fdl_load_file()
/linux/sound/soc/codecs/
H A Dtac5xx2-sdw.c1533 u32 file_length; in tac5xx2_fw_ready()
1544 file_length = file->length; in tac5xx2_fw_ready()
1547 if (data_size < TAC_FW_FILE_HDR + file_length) in tac5xx2_fw_ready()
1552 return file_length + sizeof(u32) * 5; in tac5xx2_fw_ready()
1591 u32 file_length; in tac5xx2_fw_ready()
1599 file_length = get_unaligned_le32(&buf[offset + 12]); in tac5xx2_fw_ready()
1601 if (file_length > img_sz || offset > img_sz - TAC_FW_FILE_HDR || in tac5xx2_fw_ready()
1602 file_length > img_sz - offset - TAC_FW_FILE_HDR) { in tac5xx2_fw_ready()
1604 offset, file_length, img_sz - offset - TAC_FW_FILE_HDR); in tac5xx2_fw_ready()
1511 u32 file_length; tac_fw_get_next_file() local
1569 u32 file_length; tac5xx2_fw_ready() local
/linux/drivers/infiniband/hw/hfi1/
H A 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/drivers/usb/gadget/function/
H A Dstorage_common.c267 curlun->file_length = size; in fsg_lun_open()