Searched refs:dpmac_dev (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 453 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_open() local 458 err = dpmac_open(mac->mc_io, 0, dpmac_dev->obj_desc.id, in dpaa2_mac_open() 459 &dpmac_dev->mc_handle); in dpaa2_mac_open() 460 if (err || !dpmac_dev->mc_handle) { in dpaa2_mac_open() 465 err = dpmac_get_attributes(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_open() 495 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_open() 501 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_close() local 503 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_close() 559 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats() local 564 err = dpmac_get_counter(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_get_ethtool_stats()
|
D | dpaa2-mac.h | 33 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,
|
D | dpaa2-switch.c | 1432 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac() local 1437 dpmac_dev = fsl_mc_get_endpoint(dpsw_port_dev, port_priv->idx); in dpaa2_switch_port_connect_mac() 1439 if (PTR_ERR(dpmac_dev) == -EPROBE_DEFER) in dpaa2_switch_port_connect_mac() 1440 return PTR_ERR(dpmac_dev); in dpaa2_switch_port_connect_mac() 1442 if (IS_ERR(dpmac_dev) || dpmac_dev->dev.type != &fsl_mc_bus_dpmac_type) in dpaa2_switch_port_connect_mac() 1449 mac->mc_dev = dpmac_dev; in dpaa2_switch_port_connect_mac()
|
D | dpaa2-eth.c | 4422 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac() local 4427 dpmac_dev = fsl_mc_get_endpoint(dpni_dev, 0); in dpaa2_eth_connect_mac() 4429 if (PTR_ERR(dpmac_dev) == -EPROBE_DEFER) in dpaa2_eth_connect_mac() 4430 return PTR_ERR(dpmac_dev); in dpaa2_eth_connect_mac() 4432 if (IS_ERR(dpmac_dev) || dpmac_dev->dev.type != &fsl_mc_bus_dpmac_type) in dpaa2_eth_connect_mac() 4439 mac->mc_dev = dpmac_dev; in dpaa2_eth_connect_mac()
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
D | mac-phy-support.rst | 187 - bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,struct fsl_mc_io *mc_io);
|