Lines Matching refs:sg_id
772 u32 sg_id, oaddr, olen, naddr, nlen; in handle_phase_mismatch() local
775 sg_id = (index - Ent_patch_input_data/4 - 4) / 2; in handle_phase_mismatch()
777 virt_to_bus(hostdata->script + Ent_patch_input_data/4 + sg_id * 2 + 2); in handle_phase_mismatch()
778 olen = targdata->dsa[DSA_DATAIN + sg_id * 2]; in handle_phase_mismatch()
779 oaddr = targdata->dsa[DSA_DATAIN + sg_id * 2 + 1]; in handle_phase_mismatch()
787 host->host_no, sg_id, oaddr, olen, naddr, nlen, residual)); in handle_phase_mismatch()
793 targdata->dsa[DSA_DATAIN + sg_id * 2] = nlen; in handle_phase_mismatch()
794 targdata->dsa[DSA_DATAIN + sg_id * 2 + 1] = naddr; in handle_phase_mismatch()
801 u32 sg_id, oaddr, olen, naddr, nlen; in handle_phase_mismatch() local
804 sg_id = (index - Ent_patch_output_data/4 - 4) / 2; in handle_phase_mismatch()
806 virt_to_bus(hostdata->script + Ent_patch_output_data/4 + sg_id * 2 + 2); in handle_phase_mismatch()
807 olen = targdata->dsa[DSA_DATAOUT + sg_id * 2]; in handle_phase_mismatch()
808 oaddr = targdata->dsa[DSA_DATAOUT + sg_id * 2 + 1]; in handle_phase_mismatch()
813 host->host_no, sg_id, oaddr, olen, naddr, nlen, residual)); in handle_phase_mismatch()
819 targdata->dsa[DSA_DATAOUT + sg_id * 2] = nlen; in handle_phase_mismatch()
820 targdata->dsa[DSA_DATAOUT + sg_id * 2 + 1] = naddr; in handle_phase_mismatch()