Home
last modified time | relevance | path

Searched refs:SJA1105_NUM_PORTS (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105.h16 #define SJA1105_NUM_PORTS 5 macro
52 u64 ptpegr_ts[SJA1105_NUM_PORTS];
53 u64 pad_mii_tx[SJA1105_NUM_PORTS];
54 u64 pad_mii_rx[SJA1105_NUM_PORTS];
55 u64 pad_mii_id[SJA1105_NUM_PORTS];
56 u64 cgu_idiv[SJA1105_NUM_PORTS];
57 u64 mii_tx_clk[SJA1105_NUM_PORTS];
58 u64 mii_rx_clk[SJA1105_NUM_PORTS];
59 u64 mii_ext_tx_clk[SJA1105_NUM_PORTS];
60 u64 mii_ext_rx_clk[SJA1105_NUM_PORTS];
[all …]
Dsja1105_flower.c62 if (policing[(SJA1105_NUM_PORTS * SJA1105_NUM_TC) + port].sharindx != port) { in sja1105_setup_bcast_policer()
74 for_each_set_bit(p, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_setup_bcast_policer()
75 int bcast = (SJA1105_NUM_PORTS * SJA1105_NUM_TC) + p; in sja1105_setup_bcast_policer()
146 for_each_set_bit(p, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_setup_tc_policer()
433 int bcast = (SJA1105_NUM_PORTS * SJA1105_NUM_TC) + port; in sja1105_cls_flower_del()
484 for (port = 0; port < SJA1105_NUM_PORTS; port++) in sja1105_flower_setup()
Dsja1105_main.c119 table->entries = kcalloc(SJA1105_NUM_PORTS, in sja1105_init_mac_settings()
124 table->entry_count = SJA1105_NUM_PORTS; in sja1105_init_mac_settings()
128 for (i = 0; i < SJA1105_NUM_PORTS; i++) { in sja1105_init_mac_settings()
184 for (i = 0; i < SJA1105_NUM_PORTS; i++) { in sja1105_init_mii_settings()
243 u64 max_fdb_entries = SJA1105_MAX_L2_LOOKUP_COUNT / SJA1105_NUM_PORTS; in sja1105_init_l2_lookup_params()
388 for (i = 0; i < SJA1105_NUM_PORTS; i++) { in sja1105_init_l2_forwarding()
404 for (j = 0; j < SJA1105_NUM_PORTS; j++) in sja1105_init_l2_forwarding()
405 l2fwd[SJA1105_NUM_PORTS + i].vlan_pmap[j] = i; in sja1105_init_l2_forwarding()
501 .mirr_port = SJA1105_NUM_PORTS, in sja1105_init_general_params()
509 .casc_port = SJA1105_NUM_PORTS, in sja1105_init_general_params()
[all …]
Dsja1105_tas.c30 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_tas_set_runtime_params()
210 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_init_scheduling()
272 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_init_scheduling()
494 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_gating_check_conflicts()
557 for (other_port = 0; other_port < SJA1105_NUM_PORTS; other_port++) { in sja1105_setup_tc_taprio()
888 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_tas_teardown()
Dsja1105_tas.h42 struct tc_taprio_qopt_offload *offload[SJA1105_NUM_PORTS];
Dsja1105_dynamic_config.c677 .max_entry_count = SJA1105_NUM_PORTS,
761 .max_entry_count = SJA1105_NUM_PORTS,
Dsja1105_spi.c342 unsigned long port_bitmap = GENMASK_ULL(SJA1105_NUM_PORTS - 1, 0); in sja1105_static_config_upload()
Dsja1105_clocking.c726 for (port = 0; port < SJA1105_NUM_PORTS; port++) { in sja1105_clocking_setup()
Dsja1105_vl.c389 for_each_set_bit(port, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_init_virtual_links()