Ioana Ciornei | 3f1983d | 2023-02-09 18:07:03 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright 2023 NXP | ||||
4 | */ | ||||
5 | |||||
6 | #define LDPAA_ETH_DRIVER_NAME "ldpaa_eth" | ||||
7 | |||||
8 | /** | ||||
9 | * ldpaa_eth_get_dpmac_id() - Get the dpmac_id of a DPAA2 ethernet device | ||||
10 | * | ||||
11 | * @dev: DPAA2 ethernet udevice pointer | ||||
12 | * Return: requested dpmac_id | ||||
13 | */ | ||||
14 | |||||
15 | uint32_t ldpaa_eth_get_dpmac_id(struct udevice *dev); |