Searched refs:net_dev (Results 1 – 2 of 2) sorted by relevance
130 static void ldpaa_eth_get_dpmac_counter(struct eth_device *net_dev) in ldpaa_eth_get_dpmac_counter() argument132 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_get_dpmac_counter()324 static int ldpaa_eth_tx(struct eth_device *net_dev, void *buf, int len) in ldpaa_eth_tx() argument326 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_tx()466 static int ldpaa_eth_open(struct eth_device *net_dev, bd_t *bd) in ldpaa_eth_open() argument468 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_open()476 if (net_dev->state == ETH_STATE_ACTIVE) in ldpaa_eth_open()518 dflt_dpni->dpni_handle, net_dev->enetaddr); in ldpaa_eth_open()591 static void ldpaa_eth_stop(struct eth_device *net_dev) in ldpaa_eth_stop() argument593 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_stop()[all …]
119 struct eth_device *net_dev; member