Lines Matching refs:cmds
660 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds;
663 if (dcopy_cmd_post(cmds[idx]) == DCOPY_SUCCESS) {
709 dcopy_cmd_t cmds[FIPE_IOAT_CMD_NUM + 1];
779 bzero(cmds, sizeof (cmds));
791 cmds[idx] = cmds[idx + 1];
793 rc = dcopy_cmd_alloc(handle, flags, &cmds[idx]);
805 cmds[idx]->dp_flags = DCOPY_CMD_NOSRCSNP | DCOPY_CMD_NODSTSNP;
809 cmds[idx]->dp_flags |= DCOPY_CMD_NOSTAT;
811 cmds[idx]->dp_flags |= DCOPY_CMD_NOWAIT;
814 cmds[idx]->dp_flags |= DCOPY_CMD_LOOP;
817 cmds[idx]->dp_flags |= DCOPY_CMD_QUEUE;
820 cmds[idx]->dp_cmd = DCOPY_CMD_COPY;
821 cmds[idx]->dp.copy.cc_source = physaddr;
822 cmds[idx]->dp.copy.cc_dest = physaddr + FIPE_MC_MEMORY_OFFSET;
829 cmds[idx]->dp.copy.cc_size = 1;
831 cmds[idx]->dp.copy.cc_size = FIPE_MC_MEMORY_SIZE;
840 fipe_ioat_ctrl.ioat_cmds[idx] = cmds[idx];
852 if (cmds[0] != NULL) {
853 dcopy_cmd_free(&cmds[0]);
857 if (cmds[idx] != NULL) {
858 dcopy_cmd_free(&cmds[idx]);
895 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds;
911 if (cmds[0] != NULL) {
912 dcopy_cmd_free(&cmds[0]);
915 if (cmds[idx] != NULL) {
916 dcopy_cmd_free(&cmds[idx]);