Home
last modified time | relevance | path

Searched refs:max_entry_count (Results 1 – 7 of 7) sorted by relevance

/drivers/net/dsa/sja1105/
Dsja1105_static_config.c1052 (tables[blk_idx].entry_count == tables[blk_idx].ops->max_entry_count) in sja1105_static_config_check_valid()
1055 if (!tables[BLK_IDX_SCHEDULE].ops->max_entry_count) in sja1105_static_config_check_valid()
1204 .max_entry_count = SJA1105_MAX_L2_LOOKUP_COUNT,
1210 .max_entry_count = SJA1105_MAX_L2_POLICING_COUNT,
1216 .max_entry_count = SJA1105_MAX_VLAN_LOOKUP_COUNT,
1222 .max_entry_count = SJA1105_MAX_L2_FORWARDING_COUNT,
1228 .max_entry_count = SJA1105_MAX_MAC_CONFIG_COUNT,
1234 .max_entry_count = SJA1105_MAX_L2_LOOKUP_PARAMS_COUNT,
1240 .max_entry_count = SJA1105_MAX_L2_FORWARDING_PARAMS_COUNT,
1246 .max_entry_count = SJA1105_MAX_AVB_PARAMS_COUNT,
[all …]
Dsja1105_dynamic_config.c887 .max_entry_count = SJA1105_MAX_VL_LOOKUP_COUNT,
895 .max_entry_count = SJA1105_MAX_L2_LOOKUP_COUNT,
903 .max_entry_count = SJA1105_NUM_PORTS,
911 .max_entry_count = SJA1105_MAX_VLAN_LOOKUP_COUNT,
918 .max_entry_count = SJA1105_MAX_L2_FORWARDING_COUNT,
926 .max_entry_count = SJA1105_MAX_MAC_CONFIG_COUNT,
934 .max_entry_count = SJA1105_MAX_L2_LOOKUP_PARAMS_COUNT,
942 .max_entry_count = SJA1105_MAX_GENERAL_PARAMS_COUNT,
950 .max_entry_count = SJA1105_MAX_RETAGGING_COUNT,
958 .max_entry_count = SJA1105ET_MAX_CBS_COUNT,
[all …]
Dsja1105_main.c213 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_mac_settings()
218 table->entry_count = table->ops->max_entry_count; in sja1105_init_mac_settings()
264 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_mii_settings()
270 table->entry_count = table->ops->max_entry_count; in sja1105_init_mii_settings()
440 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_l2_lookup_params()
445 table->entry_count = table->ops->max_entry_count; in sja1105_init_l2_lookup_params()
525 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_l2_forwarding()
530 table->entry_count = table->ops->max_entry_count; in sja1105_init_l2_forwarding()
652 if (!table->ops->max_entry_count) in sja1110_init_pcp_remapping()
660 table->entries = kcalloc(table->ops->max_entry_count, in sja1110_init_pcp_remapping()
[all …]
Dsja1105_dynamic_config.h22 size_t max_entry_count; member
Dsja1105_devlink.c29 table->entry_count = table->ops->max_entry_count; in sja1105_static_config_get_max_size()
Dsja1105_static_config.h437 size_t max_entry_count; member
/drivers/net/ethernet/sfc/siena/
Dsiena_sriov.c500 static bool bad_buf_count(unsigned buf_count, unsigned max_entry_count) in bad_buf_count() argument
502 unsigned max_buf_count = max_entry_count * in bad_buf_count()