Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c231 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev, in dpaa2_mac_is_type_fixed() argument
239 err = dpmac_open(mc_io, 0, dpmac_dev->obj_desc.id, in dpaa2_mac_is_type_fixed()
305 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_connect() local
312 err = dpmac_open(mac->mc_io, 0, dpmac_dev->obj_desc.id, in dpaa2_mac_connect()
313 &dpmac_dev->mc_handle); in dpaa2_mac_connect()
314 if (err || !dpmac_dev->mc_handle) { in dpaa2_mac_connect()
319 err = dpmac_get_attributes(mac->mc_io, 0, dpmac_dev->mc_handle, &attr); in dpaa2_mac_connect()
393 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_connect()
460 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats() local
465 err = dpmac_get_counter(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_get_ethtool_stats()
Ddpaa2-mac.h28 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,
Ddpaa2-eth.c4039 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac() local
4044 dpmac_dev = fsl_mc_get_endpoint(dpni_dev); in dpaa2_eth_connect_mac()
4045 if (IS_ERR_OR_NULL(dpmac_dev) || dpmac_dev->dev.type != &fsl_mc_bus_dpmac_type) in dpaa2_eth_connect_mac()
4048 if (dpaa2_mac_is_type_fixed(dpmac_dev, priv->mc_io)) in dpaa2_eth_connect_mac()
4055 mac->mc_dev = dpmac_dev; in dpaa2_eth_connect_mac()
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Dmac-phy-support.rst187 - bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,struct fsl_mc_io *mc_io);