Searched refs:dl_priv (Results 1 – 4 of 4) sorted by relevance
37 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_info_get() local38 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() local121 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() local152 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() local199 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()
1617 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_get() local1618 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() local1634 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() local1752 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() local1771 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set()1807 struct cpsw_devlink *dl_priv; in cpsw_register_devlink() local1810 cpsw->devlink = devlink_alloc(&cpsw_devlink_ops, sizeof(*dl_priv)); in cpsw_register_devlink()[all …]
700 struct dsa_devlink_priv *dl_priv = devlink_priv(dl); in dsa_devlink_to_ds() local702 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() local711 return dl_priv->ds; in dsa_devlink_port_to_ds()
413 struct dsa_devlink_priv *dl_priv; in dsa_switch_setup() local430 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()