Lines Matching refs:col

299 static struct its_collection *valid_col(struct its_collection *col)

301 if (WARN_ON_ONCE(col->target_address & GENMASK_ULL(ITS_COL_TARGET_ADDR_MASK, 0))) {
305 return col;
344 struct its_collection *col;
356 struct its_collection *col;
366 struct its_collection *col;
375 struct its_collection *col;
396 struct its_collection *col;
480 static void its_encode_collection(struct its_cmd_block *cmd, u16 col)
482 its_mask_encode(&cmd->raw_cmd[0x2], col, 0xf, 0);
613 its_encode_collection(cmd, desc->its_mapc_cmd.col->col_id);
614 its_encode_target(cmd, desc->its_mapc_cmd.col->target_address);
619 return desc->its_mapc_cmd.col;
625 struct its_collection *col;
627 col = dev_event_to_col(desc->its_mapti_cmd.dev, desc->its_mapti_cmd.event_id);
633 its_encode_collection(cmd, col->col_id);
637 return valid_col(col);
643 struct its_collection *col;
645 col = dev_event_to_col(desc->its_movi_cmd.dev, desc->its_movi_cmd.event_id);
650 its_encode_collection(cmd, desc->its_movi_cmd.col->col_id);
654 return valid_col(col);
660 struct its_collection *col;
662 col = dev_event_to_col(desc->its_discard_cmd.dev, desc->its_discard_cmd.event_id);
670 return valid_col(col);
676 struct its_collection *col;
678 col = dev_event_to_col(desc->its_inv_cmd.dev, desc->its_inv_cmd.event_id);
686 return valid_col(col);
692 struct its_collection *col;
694 col = dev_event_to_col(desc->its_int_cmd.dev, desc->its_int_cmd.event_id);
702 return valid_col(col);
708 struct its_collection *col;
710 col = dev_event_to_col(desc->its_clear_cmd.dev, desc->its_clear_cmd.event_id);
718 return valid_col(col);
725 its_encode_collection(cmd, desc->its_invall_cmd.col->col_id);
729 return desc->its_invall_cmd.col;
762 target = desc->its_vmapp_cmd.col->target_address + its->vlpi_redist_offset;
837 target = desc->its_vmovp_cmd.col->target_address + its->vlpi_redist_offset;
1178 static void its_send_mapc(struct its_node *its, struct its_collection *col, int valid)
1182 desc.its_mapc_cmd.col = col;
1199 static void its_send_movi(struct its_device *dev, struct its_collection *col, u32 id)
1204 desc.its_movi_cmd.col = col;
1220 static void its_send_invall(struct its_node *its, struct its_collection *col)
1224 desc.its_invall_cmd.col = col;
1262 desc.its_vmapp_cmd.col = &its->collections[vpe->col_idx];
1278 desc.its_vmovp_cmd.col = &its->collections[col_id];
1307 desc.its_vmovp_cmd.col = &its->collections[col_id];