Lines Matching defs:col

321 static struct its_collection *valid_col(struct its_collection *col)
323 if (WARN_ON_ONCE(col->target_address & GENMASK_ULL(15, 0)))
326 return col;
364 struct its_collection *col;
376 struct its_collection *col;
386 struct its_collection *col;
395 struct its_collection *col;
416 struct its_collection *col;
504 static void its_encode_collection(struct its_cmd_block *cmd, u16 col)
506 its_mask_encode(&cmd->raw_cmd[2], col, 15, 0);
641 its_encode_collection(cmd, desc->its_mapc_cmd.col->col_id);
642 its_encode_target(cmd, desc->its_mapc_cmd.col->target_address);
647 return desc->its_mapc_cmd.col;
654 struct its_collection *col;
656 col = dev_event_to_col(desc->its_mapti_cmd.dev,
663 its_encode_collection(cmd, col->col_id);
667 return valid_col(col);
674 struct its_collection *col;
676 col = dev_event_to_col(desc->its_movi_cmd.dev,
682 its_encode_collection(cmd, desc->its_movi_cmd.col->col_id);
686 return valid_col(col);
693 struct its_collection *col;
695 col = dev_event_to_col(desc->its_discard_cmd.dev,
704 return valid_col(col);
711 struct its_collection *col;
713 col = dev_event_to_col(desc->its_inv_cmd.dev,
722 return valid_col(col);
729 struct its_collection *col;
731 col = dev_event_to_col(desc->its_int_cmd.dev,
740 return valid_col(col);
747 struct its_collection *col;
749 col = dev_event_to_col(desc->its_clear_cmd.dev,
758 return valid_col(col);
766 its_encode_collection(cmd, desc->its_invall_cmd.col->col_id);
770 return desc->its_invall_cmd.col;
807 target = desc->its_vmapp_cmd.col->target_address + its->vlpi_redist_offset;
890 target = desc->its_vmovp_cmd.col->target_address + its->vlpi_redist_offset;
1218 static void its_send_mapc(struct its_node *its, struct its_collection *col,
1223 desc.its_mapc_cmd.col = col;
1241 struct its_collection *col, u32 id)
1246 desc.its_movi_cmd.col = col;
1262 static void its_send_invall(struct its_node *its, struct its_collection *col)
1266 desc.its_invall_cmd.col = col;
1305 desc.its_vmapp_cmd.col = &its->collections[vpe->col_idx];
1321 desc.its_vmovp_cmd.col = &its->collections[col_id];
1347 desc.its_vmovp_cmd.col = &its->collections[col_id];