Home
last modified time | relevance | path

Searched refs:port_ids (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c46 idr_for_each_entry(&priv->internal_ports.port_ids, entry, i) in nfp_flower_lookup_internal_port_id()
68 id = idr_alloc(&priv->internal_ports.port_ids, netdev, in nfp_flower_get_internal_port_id()
101 netdev = idr_find(&priv->internal_ports.port_ids, port_id); in nfp_flower_get_netdev_from_internal_port_id()
118 idr_remove(&priv->internal_ports.port_ids, id); in nfp_flower_free_internal_port_id()
137 idr_init(&priv->internal_ports.port_ids); in nfp_flower_internal_port_init()
142 idr_destroy(&priv->internal_ports.port_ids); in nfp_flower_internal_port_cleanup()
Dmain.h235 struct idr port_ids; member
/linux-6.1.9/drivers/net/ethernet/freescale/fman/
Dfman.c2352 static const u32 port_ids[] = { in fman_get_qman_channel_id() local
2358 if (port_ids[i] == port_id) in fman_get_qman_channel_id()
2362 static const u32 port_ids[] = { in fman_get_qman_channel_id() local
2368 if (port_ids[i] == port_id) in fman_get_qman_channel_id()