Searched refs:ocelot_port (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mscc/ |
D | ocelot.c | 166 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_set_native_vlan() local 169 if (ocelot_port->vid != vid) { in ocelot_port_set_native_vlan() 171 if (ocelot_port->vid && vid) { in ocelot_port_set_native_vlan() 174 ocelot_port->vid); in ocelot_port_set_native_vlan() 177 ocelot_port->vid = vid; in ocelot_port_set_native_vlan() 184 if (ocelot_port->vlan_aware && !ocelot_port->vid) in ocelot_port_set_native_vlan() 197 if (ocelot_port->vlan_aware) { in ocelot_port_set_native_vlan() 198 if (ocelot_port->vid) in ocelot_port_set_native_vlan() 218 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_vlan_filtering() local 237 ocelot_port->vlan_aware = vlan_aware; in ocelot_port_vlan_filtering() [all …]
|
D | ocelot_net.c | 213 struct ocelot_port *ocelot_port = &priv->port; in ocelot_vlan_vid_add() local 214 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_vlan_vid_add() 256 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_open() local 257 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_port_open() 263 ocelot_port->phy_mode); in ocelot_port_open() 271 ocelot_port->phy_mode); in ocelot_port_open() 326 struct ocelot_port *ocelot_port = &priv->port; in ocelot_port_xmit() local 327 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_port_xmit() 348 info.rew_op = ocelot_port->ptp_cmd; in ocelot_port_xmit() 350 if (ocelot_port->ptp_cmd == IFH_REW_OP_TWO_STEP_PTP) { in ocelot_port_xmit() [all …]
|
D | ocelot_vsc7514.c | 614 struct ocelot_port *ocelot_port; in ocelot_xtr_irq_handler() local 642 ocelot_port = ocelot->ports[info.port]; in ocelot_xtr_irq_handler() 643 priv = container_of(ocelot_port, struct ocelot_port_private, in ocelot_xtr_irq_handler() 1045 struct ocelot_port *ocelot_port; in mscc_ocelot_release_ports() local 1047 ocelot_port = ocelot->ports[port]; in mscc_ocelot_release_ports() 1048 if (!ocelot_port) in mscc_ocelot_release_ports() 1053 priv = container_of(ocelot_port, struct ocelot_port_private, in mscc_ocelot_release_ports() 1069 sizeof(struct ocelot_port *), GFP_KERNEL); in mscc_ocelot_init_ports() 1075 struct ocelot_port *ocelot_port; in mscc_ocelot_init_ports() local 1111 ocelot_port = ocelot->ports[port]; in mscc_ocelot_init_ports() [all …]
|
D | ocelot.h | 60 struct ocelot_port port; 104 u32 ocelot_port_readl(struct ocelot_port *port, u32 reg); 105 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg);
|
D | ocelot_io.c | 50 u32 ocelot_port_readl(struct ocelot_port *port, u32 reg) in ocelot_port_readl() 63 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg) in ocelot_port_writel() 74 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, u32 reg) in ocelot_port_rmwl()
|
D | ocelot_flower.c | 163 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_flower_parse_action() local 296 if (!ocelot_port->vlan_aware) { in ocelot_flower_parse_action()
|
/drivers/net/dsa/ocelot/ |
D | felix.c | 216 struct ocelot_port *ocelot_port = ocelot->ports[port]; in felix_phylink_mac_link_down() local 219 ocelot_port_rmwl(ocelot_port, 0, DEV_MAC_ENA_CFG_RX_ENA, in felix_phylink_mac_link_down() 230 ocelot_port_writel(ocelot_port, in felix_phylink_mac_link_down() 245 struct ocelot_port *ocelot_port = ocelot->ports[port]; in felix_phylink_mac_link_up() local 256 ocelot_port_writel(ocelot_port, in felix_phylink_mac_link_up() 298 ocelot_port_writel(ocelot_port, DEV_MAC_ENA_CFG_RX_ENA | in felix_phylink_mac_link_up() 443 sizeof(struct ocelot_port *), GFP_KERNEL); in felix_init_structs() 498 struct ocelot_port *ocelot_port; in felix_init_structs() local 502 ocelot_port = devm_kzalloc(ocelot->dev, in felix_init_structs() 503 sizeof(struct ocelot_port), in felix_init_structs() [all …]
|
D | seville_vsc9953.c | 997 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9953_phylink_validate() local 1001 state->interface != ocelot_port->phy_mode) { in vsc9953_phylink_validate() 1104 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9953_mdio_bus_alloc() local 1112 if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL) in vsc9953_mdio_bus_alloc() 1152 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9953_xmit_template_populate() local 1153 u8 *template = ocelot_port->xmit_template; in vsc9953_xmit_template_populate()
|
D | felix_vsc9959.c | 942 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_phylink_validate() local 946 state->interface != ocelot_port->phy_mode) { in vsc9959_phylink_validate() 1081 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_mdio_bus_alloc() local 1088 if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL) in vsc9959_mdio_bus_alloc() 1329 struct ocelot_port *ocelot_port = ocelot->ports[port]; in vsc9959_xmit_template_populate() local 1330 u8 *template = ocelot_port->xmit_template; in vsc9959_xmit_template_populate()
|