Home
last modified time | relevance | path

Searched refs:num_phys_ports (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.c318 ocelot->vlan_mask[0] = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init()
325 ANA_PORT_VLAN_CFG, ocelot->num_phys_ports); in ocelot_vlan_init()
332 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_vlan_init()
634 val = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_rx_mode()
635 for (i = ocelot->num_phys_ports + 1; i < PGID_CPU; i++) in ocelot_set_rx_mode()
948 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_check_stats()
1063 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_port_attr_stp_state_set()
1067 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_port_attr_stp_state_set()
1080 BIT(ocelot->num_phys_ports) | mask, in ocelot_port_attr_stp_state_set()
1087 BIT(ocelot->num_phys_ports), in ocelot_port_attr_stp_state_set()
[all …]
Docelot_board.c239 ocelot->num_phys_ports = of_get_child_count(ports); in mscc_ocelot_probe()
241 ocelot->ports = devm_kcalloc(&pdev->dev, ocelot->num_phys_ports, in mscc_ocelot_probe()
Docelot.h492 u8 num_phys_ports; member