Searched refs:net_dev (Results 1 – 2 of 2) sorted by relevance
121 static void ldpaa_eth_get_dpmac_counter(struct eth_device *net_dev) in ldpaa_eth_get_dpmac_counter() argument123 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_get_dpmac_counter()314 static int ldpaa_eth_tx(struct eth_device *net_dev, void *buf, int len) in ldpaa_eth_tx() argument316 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_tx()392 static int ldpaa_eth_open(struct eth_device *net_dev, bd_t *bd) in ldpaa_eth_open() argument394 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_open()404 if (net_dev->state == ETH_STATE_ACTIVE) in ldpaa_eth_open()479 dflt_dpni->dpni_handle, net_dev->enetaddr); in ldpaa_eth_open()556 static void ldpaa_eth_stop(struct eth_device *net_dev) in ldpaa_eth_stop() argument558 struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; in ldpaa_eth_stop()[all …]
119 struct eth_device *net_dev; member