Home
last modified time | relevance | path

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

/Linux-v5.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()
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpsw_new.c1613 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_get() local
1614 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_get()
1629 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_set() local
1630 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_switch_mode_set()
1745 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_ale_ctrl_get() local
1746 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_get()
1764 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_ale_ctrl_set() local
1765 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set()
1801 struct cpsw_devlink *dl_priv; in cpsw_register_devlink() local
1804 cpsw->devlink = devlink_alloc(&cpsw_devlink_ops, sizeof(*dl_priv)); in cpsw_register_devlink()
[all …]
/Linux-v5.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()
/Linux-v5.10/net/dsa/
Ddsa2.c409 struct dsa_devlink_priv *dl_priv; in dsa_switch_setup() local
426 ds->devlink = devlink_alloc(&dsa_devlink_ops, sizeof(*dl_priv)); in dsa_switch_setup()
429 dl_priv = devlink_priv(ds->devlink); in dsa_switch_setup()
430 dl_priv->ds = ds; in dsa_switch_setup()