Searched refs:pldat (Results 1 – 1 of 1) sorted by relevance
447 static void __lpc_set_mac(struct netdata_local *pldat, u8 *mac) in __lpc_set_mac() argument453 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() argument467 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 …]