Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c37 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_info_get() local
38 struct dpaa2_eth_priv *priv = dl_priv->dpaa2_priv; in dpaa2_eth_dl_info_get()
120 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_trap_init() local
121 struct dpaa2_eth_priv *priv = dl_priv->dpaa2_priv; in dpaa2_eth_dl_trap_init()
151 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_trap_group_action_set() local
152 struct dpaa2_eth_priv *priv = dl_priv->dpaa2_priv; in dpaa2_eth_dl_trap_group_action_set()
196 struct dpaa2_eth_devlink_priv *dl_priv; in dpaa2_eth_dl_register() local
199 priv->devlink = devlink_alloc(&dpaa2_eth_devlink_ops, sizeof(*dl_priv)); in dpaa2_eth_dl_register()
204 dl_priv = devlink_priv(priv->devlink); in dpaa2_eth_dl_register()
205 dl_priv->dpaa2_priv = priv; in dpaa2_eth_dl_register()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_new.c1617 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_get() local
1618 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_get()
1633 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_set() local
1634 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_set()
1751 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_ale_ctrl_get() local
1752 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_get()
1770 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_ale_ctrl_set() local
1771 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set()
1807 struct cpsw_devlink *dl_priv; in cpsw_register_devlink() local
1810 cpsw->devlink = devlink_alloc(&cpsw_devlink_ops, sizeof(*dl_priv)); in cpsw_register_devlink()
[all …]
/kernel/linux/linux-5.10/include/net/
Ddsa.h700 struct dsa_devlink_priv *dl_priv = devlink_priv(dl); in dsa_devlink_to_ds() local
702 return dl_priv->ds; in dsa_devlink_to_ds()
709 struct dsa_devlink_priv *dl_priv = devlink_priv(dl); in dsa_devlink_port_to_ds() local
711 return dl_priv->ds; in dsa_devlink_port_to_ds()
/kernel/linux/linux-5.10/net/dsa/
Ddsa2.c413 struct dsa_devlink_priv *dl_priv; in dsa_switch_setup() local
430 ds->devlink = devlink_alloc(&dsa_devlink_ops, sizeof(*dl_priv)); in dsa_switch_setup()
433 dl_priv = devlink_priv(ds->devlink); in dsa_switch_setup()
434 dl_priv->ds = ds; in dsa_switch_setup()