Lines Matching defs:raw_cmd

434 		u64	raw_cmd[4];
450 static void its_mask_encode(u64 *raw_cmd, u64 val, int h, int l)
453 *raw_cmd &= ~mask;
454 *raw_cmd |= (val << l) & mask;
459 its_mask_encode(&cmd->raw_cmd[0], cmd_nr, 7, 0);
464 its_mask_encode(&cmd->raw_cmd[0], devid, 63, 32);
469 its_mask_encode(&cmd->raw_cmd[1], id, 31, 0);
474 its_mask_encode(&cmd->raw_cmd[1], phys_id, 63, 32);
479 its_mask_encode(&cmd->raw_cmd[1], size, 4, 0);
484 its_mask_encode(&cmd->raw_cmd[2], itt_addr >> 8, 51, 8);
489 its_mask_encode(&cmd->raw_cmd[2], !!valid, 63, 63);
494 its_mask_encode(&cmd->raw_cmd[2], target_addr >> 16, 51, 16);
499 its_mask_encode(&cmd->raw_cmd[2], col, 15, 0);
504 its_mask_encode(&cmd->raw_cmd[1], vpeid, 47, 32);
509 its_mask_encode(&cmd->raw_cmd[2], virt_id, 31, 0);
514 its_mask_encode(&cmd->raw_cmd[2], db_phys_id, 63, 32);
519 its_mask_encode(&cmd->raw_cmd[2], db_valid, 0, 0);
524 its_mask_encode(&cmd->raw_cmd[0], seq_num, 47, 32);
529 its_mask_encode(&cmd->raw_cmd[1], its_list, 15, 0);
534 its_mask_encode(&cmd->raw_cmd[3], vpt_pa >> 16, 51, 16);
539 its_mask_encode(&cmd->raw_cmd[3], vpt_size, 4, 0);
544 its_mask_encode(&cmd->raw_cmd[0], vconf_pa >> 16, 51, 16);
549 its_mask_encode(&cmd->raw_cmd[0], alloc, 8, 8);
554 its_mask_encode(&cmd->raw_cmd[0], ptz, 9, 9);
560 its_mask_encode(&cmd->raw_cmd[1], vpe_db_lpi, 31, 0);
566 its_mask_encode(&cmd->raw_cmd[3], vpe_db_lpi, 31, 0);
571 its_mask_encode(&cmd->raw_cmd[2], db, 63, 63);
576 its_mask_encode(&cmd->raw_cmd[0], sgi, 35, 32);
581 its_mask_encode(&cmd->raw_cmd[0], prio >> 4, 23, 20);
586 its_mask_encode(&cmd->raw_cmd[0], grp, 10, 10);
591 its_mask_encode(&cmd->raw_cmd[0], clr, 9, 9);
596 its_mask_encode(&cmd->raw_cmd[0], en, 8, 8);
602 cmd->raw_cmd_le[0] = cpu_to_le64(cmd->raw_cmd[0]);
603 cmd->raw_cmd_le[1] = cpu_to_le64(cmd->raw_cmd[1]);
604 cmd->raw_cmd_le[2] = cpu_to_le64(cmd->raw_cmd[2]);
605 cmd->raw_cmd_le[3] = cpu_to_le64(cmd->raw_cmd[3]);
1027 cmd->raw_cmd[0] = 0;
1028 cmd->raw_cmd[1] = 0;
1029 cmd->raw_cmd[2] = 0;
1030 cmd->raw_cmd[3] = 0;