Lines Matching refs:ocelot_port
1368 sizeof(struct ocelot_port *), GFP_KERNEL); in felix_init_structs()
1417 struct ocelot_port *ocelot_port; in felix_init_structs() local
1419 ocelot_port = devm_kzalloc(ocelot->dev, in felix_init_structs()
1420 sizeof(struct ocelot_port), in felix_init_structs()
1422 if (!ocelot_port) { in felix_init_structs()
1438 ocelot_port->phy_mode = port_phy_modes[port]; in felix_init_structs()
1439 ocelot_port->ocelot = ocelot; in felix_init_structs()
1440 ocelot_port->target = target; in felix_init_structs()
1441 ocelot_port->index = port; in felix_init_structs()
1442 ocelot->ports[port] = ocelot_port; in felix_init_structs()
1459 struct ocelot_port *ocelot_port = ocelot->ports[port]; in ocelot_port_purge_txtstamp_skb() local
1467 spin_lock_irqsave(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
1469 skb_queue_walk_safe(&ocelot_port->tx_skbs, skb, skb_tmp) { in ocelot_port_purge_txtstamp_skb()
1472 __skb_unlink(skb, &ocelot_port->tx_skbs); in ocelot_port_purge_txtstamp_skb()
1477 spin_unlock_irqrestore(&ocelot_port->tx_skbs.lock, flags); in ocelot_port_purge_txtstamp_skb()
1756 struct ocelot_port *ocelot_port = ocelot->ports[port]; in felix_change_mtu() local
1763 if (ocelot_port->taprio && felix->info->tas_guard_bands_update) in felix_change_mtu()