MLXSW_CORE_RES_VALID   93 drivers/net/ethernet/mellanox/mlxsw/core.c 	if (MLXSW_CORE_RES_VALID(mlxsw_core, MAX_SYSTEM_PORT))
MLXSW_CORE_RES_VALID 1146 drivers/net/ethernet/mellanox/mlxsw/core.c 	if (MLXSW_CORE_RES_VALID(mlxsw_core, MAX_LAG) &&
MLXSW_CORE_RES_VALID 1147 drivers/net/ethernet/mellanox/mlxsw/core.c 	    MLXSW_CORE_RES_VALID(mlxsw_core, MAX_LAG_MEMBERS)) {
MLXSW_CORE_RES_VALID 1478 drivers/net/ethernet/mellanox/mlxsw/pci.c 	if (MLXSW_CORE_RES_VALID(mlxsw_core, CQE_V2) &&
MLXSW_CORE_RES_VALID 1481 drivers/net/ethernet/mellanox/mlxsw/pci.c 	else if (MLXSW_CORE_RES_VALID(mlxsw_core, CQE_V1) &&
MLXSW_CORE_RES_VALID 1484 drivers/net/ethernet/mellanox/mlxsw/pci.c 	else if ((MLXSW_CORE_RES_VALID(mlxsw_core, CQE_V0) &&
MLXSW_CORE_RES_VALID 1486 drivers/net/ethernet/mellanox/mlxsw/pci.c 		 !MLXSW_CORE_RES_VALID(mlxsw_core, CQE_V0)) {
MLXSW_CORE_RES_VALID 4064 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, LOCAL_PORTS_IN_1X) ||
MLXSW_CORE_RES_VALID 4065 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	    !MLXSW_CORE_RES_VALID(mlxsw_core, LOCAL_PORTS_IN_2X))
MLXSW_CORE_RES_VALID 4142 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, LOCAL_PORTS_IN_1X) ||
MLXSW_CORE_RES_VALID 4143 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	    !MLXSW_CORE_RES_VALID(mlxsw_core, LOCAL_PORTS_IN_2X))
MLXSW_CORE_RES_VALID 4456 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, MAX_CPU_POLICERS))
MLXSW_CORE_RES_VALID 4531 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, MAX_TRAP_GROUPS))
MLXSW_CORE_RES_VALID 4698 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_LAG) ||
MLXSW_CORE_RES_VALID 4699 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_LAG_MEMBERS))
MLXSW_CORE_RES_VALID 5116 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, KVD_SIZE))
MLXSW_CORE_RES_VALID 5176 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, KVD_SIZE))
MLXSW_CORE_RES_VALID 5209 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_core, KVD_SINGLE_MIN_SIZE) ||
MLXSW_CORE_RES_VALID 5210 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	    !MLXSW_CORE_RES_VALID(mlxsw_core, KVD_DOUBLE_MIN_SIZE))
MLXSW_CORE_RES_VALID  301 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_MAX_TCAM_RULES))
MLXSW_CORE_RES_VALID  126 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_MAX_LARGE_KEY_ID))
MLXSW_CORE_RES_VALID  247 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_MAX_BF_LOG))
MLXSW_CORE_RES_VALID 1497 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_ERPT_ENTRIES_2KB) ||
MLXSW_CORE_RES_VALID 1498 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_ERPT_ENTRIES_4KB) ||
MLXSW_CORE_RES_VALID 1499 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_ERPT_ENTRIES_8KB) ||
MLXSW_CORE_RES_VALID 1500 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_ERPT_ENTRIES_12KB))
MLXSW_CORE_RES_VALID 1524 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_MAX_ERPT_BANK_SIZE) ||
MLXSW_CORE_RES_VALID 1525 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, ACL_MAX_ERPT_BANKS))
MLXSW_CORE_RES_VALID  107 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, KVD_SIZE))
MLXSW_CORE_RES_VALID  904 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, CELL_SIZE))
MLXSW_CORE_RES_VALID  907 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_BUFFER_SIZE))
MLXSW_CORE_RES_VALID  910 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_HEADROOM_SIZE))
MLXSW_CORE_RES_VALID   54 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, COUNTER_SIZE_PACKETS_BYTES))
MLXSW_CORE_RES_VALID   60 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, COUNTER_SIZE_ROUTER_BASIC))
MLXSW_CORE_RES_VALID   76 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, COUNTER_POOL_SIZE))
MLXSW_CORE_RES_VALID  575 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MC_ERIF_LIST_ENTRIES))
MLXSW_CORE_RES_VALID  979 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_NVE_MC_ENTRIES_IPV4) ||
MLXSW_CORE_RES_VALID  980 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	    !MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_NVE_MC_ENTRIES_IPV6))
MLXSW_CORE_RES_VALID  634 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_LPM_TREES))
MLXSW_CORE_RES_VALID  948 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_VRS))
MLXSW_CORE_RES_VALID 8052 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_RIFS))
MLXSW_CORE_RES_VALID   21 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	if (!MLXSW_CORE_RES_VALID(mlxsw_sp->core, MAX_SPAN))