Home
last modified time | relevance | path

Searched refs:ocelot_port (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_mrp.c24 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 Docelot_mm.c54 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 Docelot_net.c496 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 Docelot.c235 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 Docelot.h47 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 Docelot_ptp.c486 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 Docelot_vsc7514.c158 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 Docelot_io.c63 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 Docelot_fdma.c464 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 Docelot_flower.c177 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 Dfelix_vsc9959.c1022 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 Dfelix.c1424 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 Dseville_vsc9953.c913 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 Docelot.h751 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);

Completed in 45 milliseconds