Lines Matching refs:spx5_port

256 	struct sparx5_port *spx5_port;  in sparx5_create_port()  local
267 spx5_port = netdev_priv(ndev); in sparx5_create_port()
268 spx5_port->of_node = config->node; in sparx5_create_port()
269 spx5_port->serdes = config->serdes; in sparx5_create_port()
270 spx5_port->pvid = NULL_VID; in sparx5_create_port()
271 spx5_port->signd_internal = true; in sparx5_create_port()
272 spx5_port->signd_active_high = true; in sparx5_create_port()
273 spx5_port->signd_enable = true; in sparx5_create_port()
274 spx5_port->max_vlan_tags = SPX5_PORT_MAX_TAGS_NONE; in sparx5_create_port()
275 spx5_port->vlan_type = SPX5_VLAN_PORT_TYPE_UNAWARE; in sparx5_create_port()
276 spx5_port->custom_etype = 0x8880; /* Vitesse */ in sparx5_create_port()
277 spx5_port->phylink_pcs.poll = true; in sparx5_create_port()
278 spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops; in sparx5_create_port()
279 sparx5->ports[config->portno] = spx5_port; in sparx5_create_port()
281 err = sparx5_port_init(sparx5, spx5_port, &config->conf); in sparx5_create_port()
286 spx5_port->conf = config->conf; in sparx5_create_port()
289 sparx5_vlan_port_setup(sparx5, spx5_port->portno); in sparx5_create_port()
292 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port()
293 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port()
294 spx5_port->phylink_config.pcs_poll = true; in sparx5_create_port()
296 phylink = phylink_create(&spx5_port->phylink_config, in sparx5_create_port()
303 spx5_port->phylink = phylink; in sparx5_create_port()
304 phylink_set_pcs(phylink, &spx5_port->phylink_pcs); in sparx5_create_port()