Home
last modified time | relevance | path

Searched refs:dlp (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/net/dsa/
Ddsa2.c430 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_setup() local
482 devlink_port_type_eth_set(dlp, dp->slave); in dsa_port_setup()
503 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_devlink_setup() local
517 memset(dlp, 0, sizeof(*dlp)); in dsa_port_devlink_setup()
534 devlink_port_attrs_set(dlp, &attrs); in dsa_port_devlink_setup()
535 err = devlink_port_register(dl, dlp, dp->index); in dsa_port_devlink_setup()
545 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_teardown() local
555 devlink_port_type_clear(dlp); in dsa_port_teardown()
591 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_devlink_teardown() local
594 devlink_port_unregister(dlp); in dsa_port_devlink_teardown()
[all …]
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_net.c21 static struct ocelot *devlink_port_to_ocelot(struct devlink_port *dlp) in devlink_port_to_ocelot() argument
23 return devlink_priv(dlp->devlink); in devlink_port_to_ocelot()
26 static int devlink_port_to_port(struct devlink_port *dlp) in devlink_port_to_port() argument
28 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in devlink_port_to_port()
30 return dlp - ocelot->devlink_ports; in devlink_port_to_port()
53 static int ocelot_devlink_sb_port_pool_get(struct devlink_port *dlp, in ocelot_devlink_sb_port_pool_get() argument
57 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_get()
58 int port = devlink_port_to_port(dlp); in ocelot_devlink_sb_port_pool_get()
64 static int ocelot_devlink_sb_port_pool_set(struct devlink_port *dlp, in ocelot_devlink_sb_port_pool_set() argument
69 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_set()
[all …]
Docelot_vsc7514.c949 struct devlink_port *dlp; in mscc_ocelot_init_ports() local
994 dlp = &ocelot->devlink_ports[port]; in mscc_ocelot_init_ports()
995 devlink_port_type_eth_set(dlp, priv->dev); in mscc_ocelot_init_ports()
/Linux-v5.15/fs/hpfs/
Ddnode.c636 dnode_secno dlp; in delete_empty_dnode() local
648 dlp = del->down ? de_down_pointer(del) : 0; in delete_empty_dnode()
649 if (!dlp && down) { in delete_empty_dnode()
666 if (dlp && !down) { in delete_empty_dnode()
697 hpfs_add_to_dnode(i, ndown, de_cp->name, de_cp->namelen, de_cp, dlp); in delete_empty_dnode()