Lines Matching defs:raw_cmd

441 		u64	raw_cmd[4];
457 static void its_mask_encode(u64 *raw_cmd, u64 val, int h, int l)
460 *raw_cmd &= ~mask;
461 *raw_cmd |= (val << l) & mask;
466 its_mask_encode(&cmd->raw_cmd[0], cmd_nr, 7, 0);
471 its_mask_encode(&cmd->raw_cmd[0], devid, 63, 32);
476 its_mask_encode(&cmd->raw_cmd[1], id, 31, 0);
481 its_mask_encode(&cmd->raw_cmd[1], phys_id, 63, 32);
486 its_mask_encode(&cmd->raw_cmd[1], size, 4, 0);
491 its_mask_encode(&cmd->raw_cmd[2], itt_addr >> 8, 51, 8);
496 its_mask_encode(&cmd->raw_cmd[2], !!valid, 63, 63);
501 its_mask_encode(&cmd->raw_cmd[2], target_addr >> 16, 51, 16);
506 its_mask_encode(&cmd->raw_cmd[2], col, 15, 0);
511 its_mask_encode(&cmd->raw_cmd[1], vpeid, 47, 32);
516 its_mask_encode(&cmd->raw_cmd[2], virt_id, 31, 0);
521 its_mask_encode(&cmd->raw_cmd[2], db_phys_id, 63, 32);
526 its_mask_encode(&cmd->raw_cmd[2], db_valid, 0, 0);
531 its_mask_encode(&cmd->raw_cmd[0], seq_num, 47, 32);
536 its_mask_encode(&cmd->raw_cmd[1], its_list, 15, 0);
541 its_mask_encode(&cmd->raw_cmd[3], vpt_pa >> 16, 51, 16);
546 its_mask_encode(&cmd->raw_cmd[3], vpt_size, 4, 0);
551 its_mask_encode(&cmd->raw_cmd[0], vconf_pa >> 16, 51, 16);
556 its_mask_encode(&cmd->raw_cmd[0], alloc, 8, 8);
561 its_mask_encode(&cmd->raw_cmd[0], ptz, 9, 9);
567 its_mask_encode(&cmd->raw_cmd[1], vpe_db_lpi, 31, 0);
573 its_mask_encode(&cmd->raw_cmd[3], vpe_db_lpi, 31, 0);
578 its_mask_encode(&cmd->raw_cmd[2], db, 63, 63);
583 its_mask_encode(&cmd->raw_cmd[0], sgi, 35, 32);
588 its_mask_encode(&cmd->raw_cmd[0], prio >> 4, 23, 20);
593 its_mask_encode(&cmd->raw_cmd[0], grp, 10, 10);
598 its_mask_encode(&cmd->raw_cmd[0], clr, 9, 9);
603 its_mask_encode(&cmd->raw_cmd[0], en, 8, 8);
609 cmd->raw_cmd_le[0] = cpu_to_le64(cmd->raw_cmd[0]);
610 cmd->raw_cmd_le[1] = cpu_to_le64(cmd->raw_cmd[1]);
611 cmd->raw_cmd_le[2] = cpu_to_le64(cmd->raw_cmd[2]);
612 cmd->raw_cmd_le[3] = cpu_to_le64(cmd->raw_cmd[3]);
1039 cmd->raw_cmd[0] = 0;
1040 cmd->raw_cmd[1] = 0;
1041 cmd->raw_cmd[2] = 0;
1042 cmd->raw_cmd[3] = 0;