/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_mrp.c | 24 struct ocelot_port *ocelot_port = ocelot->ports[i]; in ocelot_mrp_find_partner_port() local 26 if (!ocelot_port || p == ocelot_port) in ocelot_mrp_find_partner_port() 125 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_mrp_add() local 129 if (!ocelot_port) in ocelot_mrp_add() 147 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_mrp_del() local 149 if (!ocelot_port) in ocelot_mrp_del() 164 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_mrp_add_ring_role() local 168 if (!ocelot_port) in ocelot_mrp_add_ring_role() 204 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_mrp_del_ring_role() local 207 if (!ocelot_port) in ocelot_mrp_del_ring_role() [all …]
|
A D | ocelot_mm.c | 54 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_mm_irq() local 61 val = ocelot_port_readl(ocelot_port, DEV_MM_STATUS); in ocelot_port_mm_irq() 90 ocelot_port_writel(ocelot_port, val, DEV_MM_STATUS); in ocelot_port_mm_irq() 100 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_set_mm() local 126 ocelot_port_rmwl(ocelot_port, mm_enable, in ocelot_port_set_mm() 131 ocelot_port_rmwl(ocelot_port, verify_disable | in ocelot_port_set_mm() 152 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_get_mm() local 167 val = ocelot_port_readl(ocelot_port, DEV_MM_VERIF_CONFIG); in ocelot_port_get_mm() 188 struct ocelot_port *ocelot_port; in ocelot_mm_init() local 205 ocelot_port = ocelot->ports[port]; in ocelot_mm_init() [all …]
|
A D | ocelot_net.c | 496 struct ocelot_port *ocelot_port = &priv->port; in ocelot_vlan_vid_add() local 557 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_xmit() local 658 struct ocelot_port *ocelot_port = &priv->port; in ocelot_mc_unsync() local 672 struct ocelot_port *ocelot_port = &priv->port; in ocelot_mc_sync() local 706 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_set_mac_address() local 737 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_fdb_add() local 750 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_fdb_del() local 894 struct ocelot_port *ocelot_port = &priv->port; in ocelot_change_mtu() local 1078 struct ocelot_port *ocelot_port = &priv->port; in ocelot_vlan_vid_prepare() local 1104 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_obj_add_mdb() local [all …]
|
A D | ocelot.c | 235 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_single_vlan_aware_bridge() local 237 if (!ocelot_port || !ocelot_port->bridge || in ocelot_single_vlan_aware_bridge() 353 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_manage_port_tag() local 396 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_bridge_num_find() local 398 if (ocelot_port && ocelot_port->bridge == bridge) in ocelot_bridge_num_find() 427 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_set_pvid() local 562 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_vlan_filtering() local 667 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_vlan_del() local 786 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_phylink_mac_link_down() local 1562 if (!ocelot_port || !ocelot_port->is_dsa_8021q_cpu) in ocelot_update_pgid_cpu() [all …]
|
A D | ocelot.h | 47 struct ocelot_port port; 88 u32 ocelot_port_readl(struct ocelot_port *port, u32 reg); 89 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg); 93 void ocelot_release_port(struct ocelot_port *ocelot_port);
|
A D | ocelot_ptp.c | 486 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_hwstamp_set() local 506 ocelot_port->ptp_cmd = 0; in ocelot_hwstamp_set() 592 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_add_txtstamp_skb() local 607 ocelot_port->ts_id++; in ocelot_port_add_txtstamp_skb() 608 if (ocelot_port->ts_id == OCELOT_MAX_PTP_ID) in ocelot_port_add_txtstamp_skb() 609 ocelot_port->ts_id = 0; in ocelot_port_add_txtstamp_skb() 611 ocelot_port->ptp_skbs_in_flight++; in ocelot_port_add_txtstamp_skb() 614 skb_queue_tail(&ocelot_port->tx_skbs, clone); in ocelot_port_add_txtstamp_skb() 644 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_txtstamp_request() local 645 u8 ptp_cmd = ocelot_port->ptp_cmd; in ocelot_port_txtstamp_request() [all …]
|
A D | ocelot_vsc7514.c | 158 struct ocelot_port *ocelot_port; in mscc_ocelot_release_ports() local 160 ocelot_port = ocelot->ports[port]; in mscc_ocelot_release_ports() 161 if (!ocelot_port) in mscc_ocelot_release_ports() 165 ocelot_release_port(ocelot_port); in mscc_ocelot_release_ports() 179 sizeof(struct ocelot_port *), GFP_KERNEL); in mscc_ocelot_init_ports()
|
A D | ocelot_io.c | 63 u32 ocelot_port_readl(struct ocelot_port *port, u32 reg) in ocelot_port_readl() 76 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg) in ocelot_port_writel() 87 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, u32 reg) in ocelot_port_rmwl()
|
A D | ocelot_fdma.c | 464 struct ocelot_port *ocelot_port; in ocelot_fdma_wakeup_netdev() local 469 ocelot_port = ocelot->ports[port]; in ocelot_fdma_wakeup_netdev() 470 if (!ocelot_port) in ocelot_fdma_wakeup_netdev() 472 priv = container_of(ocelot_port, struct ocelot_port_private, in ocelot_fdma_wakeup_netdev()
|
A D | ocelot_flower.c | 177 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_flower_parse_ingress_vlan_modify() local 185 if (!ocelot_port->vlan_aware) { in ocelot_flower_parse_ingress_vlan_modify()
|
/linux-6.3-rc2/drivers/net/dsa/ocelot/ |
A D | felix_vsc9959.c | 1022 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_mdio_bus_alloc() local 1223 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_tas_guard_bands_update() local 1234 taprio = ocelot_port->taprio; in vsc9959_tas_guard_bands_update() 1345 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_sched_speed_set() local 1373 if (ocelot_port->taprio) in vsc9959_sched_speed_set() 1419 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_qos_port_tas_set() local 1431 ocelot_port->taprio = NULL; in vsc9959_qos_port_tas_set() 1520 struct ocelot_port *ocelot_port; in vsc9959_tas_clock_adjust() local 1529 taprio = ocelot_port->taprio; in vsc9959_tas_clock_adjust() 2500 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_cut_through_fwd() local [all …]
|
A D | felix.c | 1424 struct ocelot_port *ocelot_port; in felix_init_structs() local 1426 ocelot_port = devm_kzalloc(ocelot->dev, in felix_init_structs() 1427 sizeof(struct ocelot_port), in felix_init_structs() 1429 if (!ocelot_port) { in felix_init_structs() 1446 ocelot_port->ocelot = ocelot; in felix_init_structs() 1447 ocelot_port->target = target; in felix_init_structs() 1448 ocelot_port->index = port; in felix_init_structs() 1449 ocelot->ports[port] = ocelot_port; in felix_init_structs() 1466 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_purge_txtstamp_skb() local 1479 __skb_unlink(skb, &ocelot_port->tx_skbs); in ocelot_port_purge_txtstamp_skb() [all …]
|
A D | seville_vsc9953.c | 913 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9953_mdio_bus_alloc() local 921 if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL) in vsc9953_mdio_bus_alloc()
|
/linux-6.3-rc2/include/soc/mscc/ |
A D | ocelot.h | 751 struct ocelot_port; 753 struct ocelot_port { struct 761 struct ocelot_port *dsa_8021q_cpu; argument 808 struct ocelot_port **ports; argument 942 u32 ocelot_port_readl(struct ocelot_port *port, u32 reg); 943 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg); 944 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, u32 reg);
|