Lines Matching refs:fragment_offset
558 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_ishtp() local
575 fragment_offset = 0; in ish_fw_xfer_ishtp()
576 while (fragment_offset < fw->size) { in ish_fw_xfer_ishtp()
577 if (fragment_offset + payload_max_size < fw->size) { in ish_fw_xfer_ishtp()
581 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_ishtp()
585 ldr_xfer_ipc_frag->fragment.offset = fragment_offset; in ish_fw_xfer_ishtp()
588 &fw->data[fragment_offset], in ish_fw_xfer_ishtp()
607 fragment_offset += fragment_size; in ish_fw_xfer_ishtp()
641 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_direct_dma() local
675 fragment_offset = 0; in ish_fw_xfer_direct_dma()
676 while (fragment_offset < fw->size) { in ish_fw_xfer_direct_dma()
677 if (fragment_offset + payload_max_size < fw->size) { in ish_fw_xfer_direct_dma()
681 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_direct_dma()
685 ldr_xfer_dma_frag.fragment.offset = fragment_offset; in ish_fw_xfer_direct_dma()
687 memcpy(dma_buf, &fw->data[fragment_offset], fragment_size); in ish_fw_xfer_direct_dma()
709 fragment_offset += fragment_size; in ish_fw_xfer_direct_dma()