Lines Matching defs:ndev
51 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify()
57 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait()
69 static int ravb_set_opmode(struct net_device *ndev, u32 opmode) in ravb_set_opmode()
94 static void ravb_set_rate_gbeth(struct net_device *ndev) in ravb_set_rate_gbeth()
111 static void ravb_set_rate_rcar(struct net_device *ndev) in ravb_set_rate_rcar()
139 struct net_device *ndev) in ravb_read_mac_address()
204 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free()
247 static void ravb_rx_ring_free_gbeth(struct net_device *ndev, int q) in ravb_rx_ring_free_gbeth()
272 static void ravb_rx_ring_free_rcar(struct net_device *ndev, int q) in ravb_rx_ring_free_rcar()
299 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free()
338 static void ravb_rx_ring_format_gbeth(struct net_device *ndev, int q) in ravb_rx_ring_format_gbeth()
369 static void ravb_rx_ring_format_rcar(struct net_device *ndev, int q) in ravb_rx_ring_format_rcar()
400 static void ravb_ring_format(struct net_device *ndev, int q) in ravb_ring_format()
442 static void *ravb_alloc_rx_desc_gbeth(struct net_device *ndev, int q) in ravb_alloc_rx_desc_gbeth()
455 static void *ravb_alloc_rx_desc_rcar(struct net_device *ndev, int q) in ravb_alloc_rx_desc_rcar()
469 static int ravb_ring_init(struct net_device *ndev, int q) in ravb_ring_init()
525 static void ravb_emac_init_gbeth(struct net_device *ndev) in ravb_emac_init_gbeth()
562 static void ravb_emac_init_rcar(struct net_device *ndev) in ravb_emac_init_rcar()
589 static void ravb_emac_init(struct net_device *ndev) in ravb_emac_init()
597 static int ravb_dmac_init_gbeth(struct net_device *ndev) in ravb_dmac_init_gbeth()
631 static int ravb_dmac_init_rcar(struct net_device *ndev) in ravb_dmac_init_rcar()
680 static int ravb_dmac_init(struct net_device *ndev) in ravb_dmac_init()
699 static void ravb_get_tx_tstamp(struct net_device *ndev) in ravb_get_tx_tstamp()
752 static struct sk_buff *ravb_get_skb_gbeth(struct net_device *ndev, int entry, in ravb_get_skb_gbeth()
767 static bool ravb_rx_gbeth(struct net_device *ndev, int *quota, int q) in ravb_rx_gbeth()
896 static bool ravb_rx_rcar(struct net_device *ndev, int *quota, int q) in ravb_rx_rcar()
1011 static bool ravb_rx(struct net_device *ndev, int *quota, int q) in ravb_rx()
1019 static void ravb_rcv_snd_disable(struct net_device *ndev) in ravb_rcv_snd_disable()
1025 static void ravb_rcv_snd_enable(struct net_device *ndev) in ravb_rcv_snd_enable()
1032 static int ravb_stop_dma(struct net_device *ndev) in ravb_stop_dma()
1062 static void ravb_emac_interrupt_unlocked(struct net_device *ndev) in ravb_emac_interrupt_unlocked()
1093 struct net_device *ndev = dev_id; in ravb_emac_interrupt() local
1103 static void ravb_error_interrupt(struct net_device *ndev) in ravb_error_interrupt()
1129 static bool ravb_queue_interrupt(struct net_device *ndev, int q) in ravb_queue_interrupt()
1162 static bool ravb_timestamp_interrupt(struct net_device *ndev) in ravb_timestamp_interrupt()
1176 struct net_device *ndev = dev_id; in ravb_interrupt() local
1231 struct net_device *ndev = dev_id; in ravb_multi_interrupt() local
1262 struct net_device *ndev = dev_id; in ravb_dma_interrupt() local
1288 struct net_device *ndev = napi->dev; in ravb_poll() local
1339 static void ravb_set_duplex_gbeth(struct net_device *ndev) in ravb_set_duplex_gbeth()
1347 static void ravb_adjust_link(struct net_device *ndev) in ravb_adjust_link()
1397 static int ravb_phy_init(struct net_device *ndev) in ravb_phy_init()
1459 static int ravb_phy_start(struct net_device *ndev) in ravb_phy_start()
1472 static u32 ravb_get_msglevel(struct net_device *ndev) in ravb_get_msglevel()
1479 static void ravb_set_msglevel(struct net_device *ndev, u32 value) in ravb_set_msglevel()
1551 static void ravb_get_ethtool_stats(struct net_device *ndev, in ravb_get_ethtool_stats()
1583 static void ravb_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in ravb_get_strings()
1595 static void ravb_get_ringparam(struct net_device *ndev, in ravb_get_ringparam()
1608 static int ravb_set_ringparam(struct net_device *ndev, in ravb_set_ringparam()
1670 static int ravb_get_ts_info(struct net_device *ndev, in ravb_get_ts_info()
1693 static void ravb_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_get_wol()
1701 static int ravb_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_set_wol()
1734 struct net_device *ndev, struct device *dev, in ravb_hook_irq()
1751 static int ravb_open(struct net_device *ndev) in ravb_open()
1860 static void ravb_tx_timeout(struct net_device *ndev, unsigned int txqueue) in ravb_tx_timeout()
1879 struct net_device *ndev = priv->ndev; in ravb_tx_timeout_work() local
1937 static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ravb_start_xmit()
2071 static u16 ravb_select_queue(struct net_device *ndev, struct sk_buff *skb, in ravb_select_queue()
2080 static struct net_device_stats *ravb_get_stats(struct net_device *ndev) in ravb_get_stats()
2132 static void ravb_set_rx_mode(struct net_device *ndev) in ravb_set_rx_mode()
2144 static int ravb_close(struct net_device *ndev) in ravb_close()
2211 static int ravb_hwtstamp_get(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_get()
2235 static int ravb_hwtstamp_set(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_set()
2276 static int ravb_do_ioctl(struct net_device *ndev, struct ifreq *req, int cmd) in ravb_do_ioctl()
2296 static int ravb_change_mtu(struct net_device *ndev, int new_mtu) in ravb_change_mtu()
2312 static void ravb_set_rx_csum(struct net_device *ndev, bool enable) in ravb_set_rx_csum()
2331 static int ravb_set_features_gbeth(struct net_device *ndev, in ravb_set_features_gbeth()
2338 static int ravb_set_features_rcar(struct net_device *ndev, in ravb_set_features_rcar()
2351 static int ravb_set_features(struct net_device *ndev, in ravb_set_features()
2538 static int ravb_set_gti(struct net_device *ndev) in ravb_set_gti()
2566 static int ravb_set_config_mode(struct net_device *ndev) in ravb_set_config_mode()
2588 static void ravb_parse_delay_mode(struct device_node *np, struct net_device *ndev) in ravb_parse_delay_mode()
2622 static void ravb_set_delay_mode(struct net_device *ndev) in ravb_set_delay_mode()
2640 struct net_device *ndev; in ravb_probe() local
2911 struct net_device *ndev = platform_get_drvdata(pdev); in ravb_remove() local
2943 static int ravb_wol_setup(struct net_device *ndev) in ravb_wol_setup()
2966 static int ravb_wol_restore(struct net_device *ndev) in ravb_wol_restore()
2985 struct net_device *ndev = dev_get_drvdata(dev); in ravb_suspend() local
3007 struct net_device *ndev = dev_get_drvdata(dev); in ravb_resume() local