Searched refs:dlp (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/dsa/ |
D | dsa2.c | 466 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_devlink_setup() local 475 memset(dlp, 0, sizeof(*dlp)); in dsa_port_devlink_setup() 476 devlink_port_init(dl, dlp); in dsa_port_devlink_setup() 506 devlink_port_attrs_set(dlp, &attrs); in dsa_port_devlink_setup() 507 err = devlink_port_register(dl, dlp, dp->index); in dsa_port_devlink_setup() 519 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_devlink_teardown() local 522 devlink_port_unregister(dlp); in dsa_port_devlink_teardown() 527 devlink_port_fini(dlp); in dsa_port_devlink_teardown() 532 struct devlink_port *dlp = &dp->devlink_port; in dsa_port_setup() local 591 devlink_port_type_eth_set(dlp, dp->slave); in dsa_port_setup() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 32 static struct ocelot *devlink_port_to_ocelot(struct devlink_port *dlp) in devlink_port_to_ocelot() argument 34 return devlink_priv(dlp->devlink); in devlink_port_to_ocelot() 37 static int devlink_port_to_port(struct devlink_port *dlp) in devlink_port_to_port() argument 39 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in devlink_port_to_port() 41 return dlp - ocelot->devlink_ports; in devlink_port_to_port() 64 static int ocelot_devlink_sb_port_pool_get(struct devlink_port *dlp, in ocelot_devlink_sb_port_pool_get() argument 68 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_get() 69 int port = devlink_port_to_port(dlp); in ocelot_devlink_sb_port_pool_get() 75 static int ocelot_devlink_sb_port_pool_set(struct devlink_port *dlp, in ocelot_devlink_sb_port_pool_set() argument 80 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_set() [all …]
|
D | ocelot_vsc7514.c | 382 struct devlink_port *dlp; in mscc_ocelot_init_ports() local 427 dlp = &ocelot->devlink_ports[port]; in mscc_ocelot_init_ports() 428 devlink_port_type_eth_set(dlp, priv->dev); in mscc_ocelot_init_ports()
|
/linux-6.1.9/fs/hpfs/ |
D | dnode.c | 636 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()
|