Lines Matching refs:netdev

258 bnad_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd)  in bnad_get_settings()  argument
268 if (netif_carrier_ok(netdev)) { in bnad_get_settings()
283 bnad_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) in bnad_set_settings() argument
297 bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bnad_get_drvinfo() argument
299 struct bnad *bnad = netdev_priv(netdev); in bnad_get_drvinfo()
322 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument
329 bnad_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_get_coalesce() argument
331 struct bnad *bnad = netdev_priv(netdev); in bnad_get_coalesce()
350 bnad_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_set_coalesce() argument
352 struct bnad *bnad = netdev_priv(netdev); in bnad_set_coalesce()
421 bnad_get_ringparam(struct net_device *netdev, in bnad_get_ringparam() argument
424 struct bnad *bnad = netdev_priv(netdev); in bnad_get_ringparam()
434 bnad_set_ringparam(struct net_device *netdev, in bnad_set_ringparam() argument
438 struct bnad *bnad = netdev_priv(netdev); in bnad_set_ringparam()
463 if (!netif_running(netdev)) { in bnad_set_ringparam()
482 bnad_mac_addr_set_locked(bnad, netdev->dev_addr); in bnad_set_ringparam()
486 bnad_set_rx_mode(netdev); in bnad_set_ringparam()
491 if (!netif_running(netdev)) { in bnad_set_ringparam()
511 bnad_get_pauseparam(struct net_device *netdev, in bnad_get_pauseparam() argument
514 struct bnad *bnad = netdev_priv(netdev); in bnad_get_pauseparam()
522 bnad_set_pauseparam(struct net_device *netdev, in bnad_set_pauseparam() argument
525 struct bnad *bnad = netdev_priv(netdev); in bnad_set_pauseparam()
546 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) in bnad_get_strings() argument
548 struct bnad *bnad = netdev_priv(netdev); in bnad_get_strings()
722 bnad_get_stats_count_locked(struct net_device *netdev) in bnad_get_stats_count_locked() argument
724 struct bnad *bnad = netdev_priv(netdev); in bnad_get_stats_count_locked()
853 bnad_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, in bnad_get_ethtool_stats() argument
856 struct bnad *bnad = netdev_priv(netdev); in bnad_get_ethtool_stats()
864 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats()
884 bnad->stats.drv_stats.netif_queue_stopped = netif_queue_stopped(netdev); in bnad_get_ethtool_stats()
934 bnad_get_sset_count(struct net_device *netdev, int sset) in bnad_get_sset_count() argument
938 return bnad_get_stats_count_locked(netdev); in bnad_get_sset_count()
990 bnad_get_eeprom_len(struct net_device *netdev) in bnad_get_eeprom_len() argument
996 bnad_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, in bnad_get_eeprom() argument
999 struct bnad *bnad = netdev_priv(netdev); in bnad_get_eeprom()
1036 bnad_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, in bnad_set_eeprom() argument
1039 struct bnad *bnad = netdev_priv(netdev); in bnad_set_eeprom()
1078 bnad_flash_device(struct net_device *netdev, struct ethtool_flash *eflash) in bnad_flash_device() argument
1080 struct bnad *bnad = netdev_priv(netdev); in bnad_flash_device()
1087 netdev_err(netdev, "can't load firmware %s\n", eflash->data); in bnad_flash_device()
1100 netdev_warn(netdev, "flash update failed with err=%d\n", ret); in bnad_flash_device()
1110 netdev_warn(netdev, in bnad_flash_device()
1142 bnad_set_ethtool_ops(struct net_device *netdev) in bnad_set_ethtool_ops() argument
1144 netdev->ethtool_ops = &bnad_ethtool_ops; in bnad_set_ethtool_ops()