Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c2628 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp() local
2633 &dpbp_dev); in dpaa2_switch_setup_dpbp()
2641 ethsw->dpbp_dev = dpbp_dev; in dpaa2_switch_setup_dpbp()
2643 err = dpbp_open(ethsw->mc_io, 0, dpbp_dev->obj_desc.id, in dpaa2_switch_setup_dpbp()
2644 &dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2650 err = dpbp_reset(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2656 err = dpbp_enable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2662 err = dpbp_get_attributes(ethsw->mc_io, 0, dpbp_dev->mc_handle, in dpaa2_switch_setup_dpbp()
2685 dpbp_disable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2688 dpbp_close(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
[all …]
Ddpaa2-eth.c2057 priv->dpbp_dev->obj_desc.id, priv->bpid); in dpaa2_eth_open()
3211 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_setup_dpbp() local
3216 &dpbp_dev); in dpaa2_eth_setup_dpbp()
3225 priv->dpbp_dev = dpbp_dev; in dpaa2_eth_setup_dpbp()
3227 err = dpbp_open(priv->mc_io, 0, priv->dpbp_dev->obj_desc.id, in dpaa2_eth_setup_dpbp()
3228 &dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
3234 err = dpbp_reset(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
3240 err = dpbp_enable(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
3246 err = dpbp_get_attributes(priv->mc_io, 0, dpbp_dev->mc_handle, in dpaa2_eth_setup_dpbp()
3257 dpbp_disable(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
[all …]
Ddpaa2-switch.h183 struct fsl_mc_device *dpbp_dev; member
Ddpaa2-eth.h538 struct fsl_mc_device *dpbp_dev; member