Lines Matching defs:ndev
43 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify()
49 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait()
61 static int ravb_set_opmode(struct net_device *ndev, u32 opmode) in ravb_set_opmode()
86 static void ravb_set_rate_gbeth(struct net_device *ndev) in ravb_set_rate_gbeth()
103 static void ravb_set_rate_rcar(struct net_device *ndev) in ravb_set_rate_rcar()
123 struct net_device *ndev) in ravb_read_mac_address()
195 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free()
238 static void ravb_rx_ring_free(struct net_device *ndev, int q) in ravb_rx_ring_free()
253 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free()
295 ravb_alloc_rx_buffer(struct net_device *ndev, int q, u32 entry, gfp_t gfp_mask, in ravb_alloc_rx_buffer()
331 ravb_rx_ring_refill(struct net_device *ndev, int q, u32 count, gfp_t gfp_mask) in ravb_rx_ring_refill()
355 static void ravb_ring_format(struct net_device *ndev, int q) in ravb_ring_format()
403 static void *ravb_alloc_rx_desc(struct net_device *ndev, int q) in ravb_alloc_rx_desc()
418 static int ravb_ring_init(struct net_device *ndev, int q) in ravb_ring_init()
488 static void ravb_csum_init_gbeth(struct net_device *ndev) in ravb_csum_init_gbeth()
518 static void ravb_emac_init_gbeth(struct net_device *ndev) in ravb_emac_init_gbeth()
556 static void ravb_emac_init_rcar(struct net_device *ndev) in ravb_emac_init_rcar()
590 static void ravb_emac_init_rcar_gen4(struct net_device *ndev) in ravb_emac_init_rcar_gen4()
601 static void ravb_emac_init(struct net_device *ndev) in ravb_emac_init()
609 static int ravb_dmac_init_gbeth(struct net_device *ndev) in ravb_dmac_init_gbeth()
644 static int ravb_dmac_init_rcar(struct net_device *ndev) in ravb_dmac_init_rcar()
693 static int ravb_dmac_init(struct net_device *ndev) in ravb_dmac_init()
712 static void ravb_get_tx_tstamp(struct net_device *ndev) in ravb_get_tx_tstamp()
804 static int ravb_rx_gbeth(struct net_device *ndev, int budget, int q) in ravb_rx_gbeth()
954 static int ravb_rx_rcar(struct net_device *ndev, int budget, int q) in ravb_rx_rcar()
1054 static int ravb_rx(struct net_device *ndev, int budget, int q) in ravb_rx()
1062 static void ravb_rcv_snd_disable(struct net_device *ndev) in ravb_rcv_snd_disable()
1068 static void ravb_rcv_snd_enable(struct net_device *ndev) in ravb_rcv_snd_enable()
1075 static int ravb_stop_dma(struct net_device *ndev) in ravb_stop_dma()
1105 static void ravb_emac_interrupt_unlocked(struct net_device *ndev) in ravb_emac_interrupt_unlocked()
1136 struct net_device *ndev = dev_id; in ravb_emac_interrupt() local
1158 static void ravb_error_interrupt(struct net_device *ndev) in ravb_error_interrupt()
1184 static bool ravb_queue_interrupt(struct net_device *ndev, int q) in ravb_queue_interrupt()
1217 static bool ravb_timestamp_interrupt(struct net_device *ndev) in ravb_timestamp_interrupt()
1231 struct net_device *ndev = dev_id; in ravb_interrupt() local
1295 struct net_device *ndev = dev_id; in ravb_multi_interrupt() local
1335 struct net_device *ndev = dev_id; in ravb_dma_interrupt() local
1370 struct net_device *ndev = napi->dev; in ravb_poll() local
1416 static void ravb_set_duplex_gbeth(struct net_device *ndev) in ravb_set_duplex_gbeth()
1424 static void ravb_adjust_link(struct net_device *ndev) in ravb_adjust_link()
1474 static int ravb_phy_init(struct net_device *ndev) in ravb_phy_init()
1536 static int ravb_phy_start(struct net_device *ndev) in ravb_phy_start()
1549 static u32 ravb_get_msglevel(struct net_device *ndev) in ravb_get_msglevel()
1556 static void ravb_set_msglevel(struct net_device *ndev, u32 value) in ravb_set_msglevel()
1628 static void ravb_get_ethtool_stats(struct net_device *ndev, in ravb_get_ethtool_stats()
1660 static void ravb_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in ravb_get_strings()
1672 static void ravb_get_ringparam(struct net_device *ndev, in ravb_get_ringparam()
1685 static int ravb_set_ringparam(struct net_device *ndev, in ravb_set_ringparam()
1747 static int ravb_get_ts_info(struct net_device *ndev, in ravb_get_ts_info()
1770 static void ravb_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_get_wol()
1778 static int ravb_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_set_wol()
1810 static int ravb_set_config_mode(struct net_device *ndev) in ravb_set_config_mode()
1831 static void ravb_set_gti(struct net_device *ndev) in ravb_set_gti()
1845 static int ravb_compute_gti(struct net_device *ndev) in ravb_compute_gti()
1876 static void ravb_parse_delay_mode(struct device_node *np, struct net_device *ndev) in ravb_parse_delay_mode()
1913 static void ravb_set_delay_mode(struct net_device *ndev) in ravb_set_delay_mode()
1929 static int ravb_open(struct net_device *ndev) in ravb_open()
1992 static void ravb_tx_timeout(struct net_device *ndev, unsigned int txqueue) in ravb_tx_timeout()
2011 struct net_device *ndev = priv->ndev; in ravb_tx_timeout_work() local
2099 static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ravb_start_xmit()
2236 static u16 ravb_select_queue(struct net_device *ndev, struct sk_buff *skb, in ravb_select_queue()
2245 static struct net_device_stats *ravb_get_stats(struct net_device *ndev) in ravb_get_stats()
2306 static void ravb_set_rx_mode(struct net_device *ndev) in ravb_set_rx_mode()
2318 static int ravb_close(struct net_device *ndev) in ravb_close()
2385 static int ravb_hwtstamp_get(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_get()
2409 static int ravb_hwtstamp_set(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_set()
2450 static int ravb_do_ioctl(struct net_device *ndev, struct ifreq *req, int cmd) in ravb_do_ioctl()
2470 static int ravb_change_mtu(struct net_device *ndev, int new_mtu) in ravb_change_mtu()
2486 static void ravb_set_rx_csum(struct net_device *ndev, bool enable) in ravb_set_rx_csum()
2505 static int ravb_endisable_csum_gbeth(struct net_device *ndev, enum ravb_reg reg, in ravb_endisable_csum_gbeth()
2521 static int ravb_set_features_gbeth(struct net_device *ndev, in ravb_set_features_gbeth()
2559 static int ravb_set_features_rcar(struct net_device *ndev, in ravb_set_features_rcar()
2570 static int ravb_set_features(struct net_device *ndev, in ravb_set_features()
2811 struct net_device *ndev = priv->ndev; in ravb_setup_irq() local
2844 struct net_device *ndev = priv->ndev; in ravb_setup_irqs() local
2899 struct net_device *ndev; in ravb_probe() local
3113 struct net_device *ndev = platform_get_drvdata(pdev); in ravb_remove() local
3142 static int ravb_wol_setup(struct net_device *ndev) in ravb_wol_setup()
3168 static int ravb_wol_restore(struct net_device *ndev) in ravb_wol_restore()
3201 struct net_device *ndev = dev_get_drvdata(dev); in ravb_suspend() local
3227 struct net_device *ndev = dev_get_drvdata(dev); in ravb_resume() local
3270 struct net_device *ndev = dev_get_drvdata(dev); in ravb_runtime_suspend() local
3280 struct net_device *ndev = dev_get_drvdata(dev); in ravb_runtime_resume() local