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()
1613 struct cpsw_devlink *dl_priv = devlink_priv(dl); in cpsw_dl_switch_mode_get() local1614 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() local1630 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() local1746 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() local1765 struct cpsw_common *cpsw = dl_priv->cpsw; in cpsw_dl_ale_ctrl_set()1801 struct cpsw_devlink *dl_priv; in cpsw_register_devlink() local1804 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()
409 struct dsa_devlink_priv *dl_priv; in dsa_switch_setup() local426 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()