Lines Matching defs:ndev
53 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify()
59 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait()
71 static int ravb_config(struct net_device *ndev) in ravb_config()
85 static void ravb_set_rate(struct net_device *ndev) in ravb_set_rate()
113 struct net_device *ndev) in ravb_read_mac_address()
176 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free()
219 static void ravb_rx_ring_free(struct net_device *ndev, int q) in ravb_rx_ring_free()
246 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free()
285 static void ravb_rx_ring_format(struct net_device *ndev, int q) in ravb_rx_ring_format()
316 static void ravb_ring_format(struct net_device *ndev, int q) in ravb_ring_format()
358 static void *ravb_alloc_rx_desc(struct net_device *ndev, int q) in ravb_alloc_rx_desc()
372 static int ravb_ring_init(struct net_device *ndev, int q) in ravb_ring_init()
428 static void ravb_rcar_emac_init(struct net_device *ndev) in ravb_rcar_emac_init()
455 static void ravb_emac_init(struct net_device *ndev) in ravb_emac_init()
463 static void ravb_rcar_dmac_init(struct net_device *ndev) in ravb_rcar_dmac_init()
496 static int ravb_dmac_init(struct net_device *ndev) in ravb_dmac_init()
528 static void ravb_get_tx_tstamp(struct net_device *ndev) in ravb_get_tx_tstamp()
581 static bool ravb_rcar_rx(struct net_device *ndev, int *quota, int q) in ravb_rcar_rx()
696 static bool ravb_rx(struct net_device *ndev, int *quota, int q) in ravb_rx()
704 static void ravb_rcv_snd_disable(struct net_device *ndev) in ravb_rcv_snd_disable()
710 static void ravb_rcv_snd_enable(struct net_device *ndev) in ravb_rcv_snd_enable()
717 static int ravb_stop_dma(struct net_device *ndev) in ravb_stop_dma()
745 static void ravb_emac_interrupt_unlocked(struct net_device *ndev) in ravb_emac_interrupt_unlocked()
776 struct net_device *ndev = dev_id; in ravb_emac_interrupt() local
786 static void ravb_error_interrupt(struct net_device *ndev) in ravb_error_interrupt()
812 static bool ravb_queue_interrupt(struct net_device *ndev, int q) in ravb_queue_interrupt()
845 static bool ravb_timestamp_interrupt(struct net_device *ndev) in ravb_timestamp_interrupt()
859 struct net_device *ndev = dev_id; in ravb_interrupt() local
908 struct net_device *ndev = dev_id; in ravb_multi_interrupt() local
939 struct net_device *ndev = dev_id; in ravb_dma_interrupt() local
965 struct net_device *ndev = napi->dev; in ravb_poll() local
1012 static void ravb_adjust_link(struct net_device *ndev) in ravb_adjust_link()
1059 static int ravb_phy_init(struct net_device *ndev) in ravb_phy_init()
1132 static int ravb_phy_start(struct net_device *ndev) in ravb_phy_start()
1145 static u32 ravb_get_msglevel(struct net_device *ndev) in ravb_get_msglevel()
1152 static void ravb_set_msglevel(struct net_device *ndev, u32 value) in ravb_set_msglevel()
1206 static void ravb_get_ethtool_stats(struct net_device *ndev, in ravb_get_ethtool_stats()
1235 static void ravb_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in ravb_get_strings()
1247 static void ravb_get_ringparam(struct net_device *ndev, in ravb_get_ringparam()
1258 static int ravb_set_ringparam(struct net_device *ndev, in ravb_set_ringparam()
1317 static int ravb_get_ts_info(struct net_device *ndev, in ravb_get_ts_info()
1339 static void ravb_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_get_wol()
1347 static int ravb_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ravb_set_wol()
1379 struct net_device *ndev, struct device *dev, in ravb_hook_irq()
1396 static int ravb_open(struct net_device *ndev) in ravb_open()
1486 static void ravb_tx_timeout(struct net_device *ndev, unsigned int txqueue) in ravb_tx_timeout()
1505 struct net_device *ndev = priv->ndev; in ravb_tx_timeout_work() local
1562 static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ravb_start_xmit()
1693 static u16 ravb_select_queue(struct net_device *ndev, struct sk_buff *skb, in ravb_select_queue()
1702 static struct net_device_stats *ravb_get_stats(struct net_device *ndev) in ravb_get_stats()
1737 static void ravb_set_rx_mode(struct net_device *ndev) in ravb_set_rx_mode()
1749 static int ravb_close(struct net_device *ndev) in ravb_close()
1808 static int ravb_hwtstamp_get(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_get()
1832 static int ravb_hwtstamp_set(struct net_device *ndev, struct ifreq *req) in ravb_hwtstamp_set()
1877 static int ravb_do_ioctl(struct net_device *ndev, struct ifreq *req, int cmd) in ravb_do_ioctl()
1897 static int ravb_change_mtu(struct net_device *ndev, int new_mtu) in ravb_change_mtu()
1913 static void ravb_set_rx_csum(struct net_device *ndev, bool enable) in ravb_set_rx_csum()
1932 static int ravb_set_features_rx_csum(struct net_device *ndev, in ravb_set_features_rx_csum()
1945 static int ravb_set_features(struct net_device *ndev, in ravb_set_features()
2074 static int ravb_set_gti(struct net_device *ndev) in ravb_set_gti()
2098 static void ravb_set_config_mode(struct net_device *ndev) in ravb_set_config_mode()
2114 static void ravb_parse_delay_mode(struct device_node *np, struct net_device *ndev) in ravb_parse_delay_mode()
2148 static void ravb_set_delay_mode(struct net_device *ndev) in ravb_set_delay_mode()
2166 struct net_device *ndev; in ravb_probe() local
2393 struct net_device *ndev = platform_get_drvdata(pdev); in ravb_remove() local
2420 static int ravb_wol_setup(struct net_device *ndev) in ravb_wol_setup()
2441 static int ravb_wol_restore(struct net_device *ndev) in ravb_wol_restore()
2461 struct net_device *ndev = dev_get_drvdata(dev); in ravb_suspend() local
2483 struct net_device *ndev = dev_get_drvdata(dev); in ravb_resume() local