Lines Matching refs:fragment_offset
557 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_ishtp() local
574 fragment_offset = 0; in ish_fw_xfer_ishtp()
575 while (fragment_offset < fw->size) { in ish_fw_xfer_ishtp()
576 if (fragment_offset + payload_max_size < fw->size) { in ish_fw_xfer_ishtp()
580 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_ishtp()
584 ldr_xfer_ipc_frag->fragment.offset = fragment_offset; in ish_fw_xfer_ishtp()
587 &fw->data[fragment_offset], in ish_fw_xfer_ishtp()
606 fragment_offset += fragment_size; in ish_fw_xfer_ishtp()
640 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_direct_dma() local
683 fragment_offset = 0; in ish_fw_xfer_direct_dma()
684 while (fragment_offset < fw->size) { in ish_fw_xfer_direct_dma()
685 if (fragment_offset + payload_max_size < fw->size) { in ish_fw_xfer_direct_dma()
689 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_direct_dma()
693 ldr_xfer_dma_frag.fragment.offset = fragment_offset; in ish_fw_xfer_direct_dma()
695 memcpy(dma_buf, &fw->data[fragment_offset], fragment_size); in ish_fw_xfer_direct_dma()
724 fragment_offset += fragment_size; in ish_fw_xfer_direct_dma()