Home
last modified time | relevance | path

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

/drivers/net/ethernet/nxp/
Dlpc_eth.c447 static void __lpc_set_mac(struct netdata_local *pldat, u8 *mac) in __lpc_set_mac() argument
453 writel(tmp, LPC_ENET_SA2(pldat->net_base)); in __lpc_set_mac()
455 writel(tmp, LPC_ENET_SA1(pldat->net_base)); in __lpc_set_mac()
457 writel(tmp, LPC_ENET_SA0(pldat->net_base)); in __lpc_set_mac()
459 netdev_dbg(pldat->ndev, "Ethernet MAC address %pM\n", mac); in __lpc_set_mac()
462 static void __lpc_get_mac(struct netdata_local *pldat, u8 *mac) in __lpc_get_mac() argument
467 tmp = readl(LPC_ENET_SA2(pldat->net_base)); in __lpc_get_mac()
470 tmp = readl(LPC_ENET_SA1(pldat->net_base)); in __lpc_get_mac()
473 tmp = readl(LPC_ENET_SA0(pldat->net_base)); in __lpc_get_mac()
478 static void __lpc_params_setup(struct netdata_local *pldat) in __lpc_params_setup() argument
[all …]