/linux-master/drivers/net/usb/ |
H A D | catc.c | 150 struct net_device *netdev; member in struct:catc 235 catc->netdev->stats.rx_length_errors++; 236 catc->netdev->stats.rx_errors++; 249 skb->protocol = eth_type_trans(skb, catc->netdev); 252 catc->netdev->stats.rx_packets++; 253 catc->netdev->stats.rx_bytes += pkt_len; 266 netdev_dbg(catc->netdev, "getting extra packet\n"); 269 netdev_dbg(catc->netdev, 316 netif_carrier_on(catc->netdev); 317 netdev_dbg(catc->netdev, "lin 409 catc_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 450 catc_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 626 catc_set_multicast_list(struct net_device *netdev) argument 714 catc_open(struct net_device *netdev) argument 734 catc_stop(struct net_device *netdev) argument 770 struct net_device *netdev; local [all...] |
/linux-master/drivers/staging/wlan-ng/ |
H A D | p80211conv.c | 158 memcpy(p80211_hdr->address2, wlandev->netdev->dev_addr, ETH_ALEN); 164 memcpy(p80211_hdr->address2, wlandev->netdev->dev_addr, ETH_ALEN); 174 netdev_err(wlandev->netdev, 193 netdev_warn(wlandev->netdev, 257 struct net_device *netdev = wlandev->netdev; local 291 netdev_err(netdev, "A4 frame too short!\n"); 304 netdev_err(netdev, 315 netdev_dbg(netdev, "Host de-WEP failed, dropping frame (%d).\n", 343 netdev_dbg(netdev, "802. [all...] |
/linux-master/drivers/net/can/usb/ |
H A D | esd_usb.c | 289 struct net_device *netdev; member in struct:esd_usb_net_priv 298 struct net_device_stats *stats = &priv->netdev->stats; 310 netdev_dbg(priv->netdev, 320 skb = alloc_can_err_skb(priv->netdev, &cf); 333 can_bus_off(priv->netdev); 351 can_change_state(priv->netdev, cf, 395 struct net_device_stats *stats = &priv->netdev->stats; 402 if (!netif_device_present(priv->netdev)) 411 skb = alloc_canfd_skb(priv->netdev, &cfd); 413 skb = alloc_can_skb(priv->netdev, 456 struct net_device *netdev = priv->netdev; local 559 struct net_device *netdev; local 716 struct net_device *netdev = priv->netdev; local 790 esd_usb_open(struct net_device *netdev) argument 813 esd_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 950 esd_usb_close(struct net_device *netdev) argument 1013 esd_usb_2_set_bittiming(struct net_device *netdev) argument 1095 esd_usb_3_set_bittiming(struct net_device *netdev) argument 1162 esd_usb_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) argument 1173 esd_usb_set_mode(struct net_device *netdev, enum can_mode mode) argument 1190 struct net_device *netdev; local 1351 struct net_device *netdev; local [all...] |
H A D | gs_usb.c | 305 struct net_device *netdev; member in struct:gs_can 545 dev->netdev->stats.rx_fifo_errors++; 573 struct net_device *netdev; local 601 netdev = dev->netdev; 602 stats = &netdev->stats; 604 if (!netif_device_present(netdev)) 607 if (!netif_running(netdev)) 612 skb = alloc_canfd_skb(netdev, &cfd); 625 skb = alloc_can_skb(netdev, 703 gs_usb_set_bittiming(struct net_device *netdev) argument 722 gs_usb_set_data_bittiming(struct net_device *netdev) argument 749 struct net_device *netdev = dev->netdev; local 755 gs_can_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 868 gs_can_open(struct net_device *netdev) argument 1014 gs_usb_get_state(const struct net_device *netdev, struct can_berr_counter *bec, enum can_state *state) argument 1041 gs_usb_can_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) argument 1049 gs_can_close(struct net_device *netdev) argument 1089 gs_can_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 1107 gs_usb_set_identify(struct net_device *netdev, bool do_identify) argument 1124 gs_usb_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 1147 gs_usb_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument 1164 gs_usb_get_termination(struct net_device *netdev, u16 *term) argument 1186 gs_usb_set_termination(struct net_device *netdev, u16 term) argument 1213 struct net_device *netdev; local [all...] |
H A D | ucan.c | 280 struct net_device *netdev; member in struct:ucan_priv 337 netdev_err(up->netdev, 374 netif_stop_queue(up->netdev); 402 netif_wake_queue(up->netdev); 488 struct net_device_stats *net_stats = &up->netdev->stats; 546 can_bus_off(up->netdev); 571 struct net_device_stats *stats = &up->netdev->stats; 578 netdev_warn(up->netdev, "invalid input message len: %d\n", len); 601 netdev_warn(up->netdev, 609 skb = alloc_can_skb(up->netdev, 692 struct net_device *netdev = up->netdev; local 962 ucan_open(struct net_device *netdev) argument 1111 ucan_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1195 ucan_close(struct net_device *netdev) argument 1246 ucan_set_bittiming(struct net_device *netdev) argument 1270 ucan_set_mode(struct net_device *netdev, enum can_mode mode) argument 1308 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 43 static int mlx5i_open(struct net_device *netdev); 44 static int mlx5i_close(struct net_device *netdev); 45 static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu); 57 /* IPoIB mlx5 netdev profile */ 80 int mlx5i_init(struct mlx5_core_dev *mdev, struct net_device *netdev) argument 82 struct mlx5e_priv *priv = mlx5i_epriv(netdev); 84 netif_carrier_off(netdev); 86 netdev->mtu = netdev->max_mtu; 88 mlx5e_build_nic_params(priv, NULL, netdev 162 mlx5i_parent_get(struct net_device *netdev) argument 186 mlx5i_parent_put(struct net_device *netdev) argument 519 mlx5i_change_mtu(struct net_device *netdev, int new_mtu) argument 584 mlx5i_open(struct net_device *netdev) argument 632 mlx5i_close(struct net_device *netdev) argument 659 mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid, int set_qkey, u32 qkey) argument 684 mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid) argument 716 mlx5i_set_pkey_index(struct net_device *netdev, int id) argument 736 mlx5_rdma_netdev_free(struct net_device *netdev) argument 764 mlx5_rdma_setup_rn(struct ib_device *ibdev, u32 port_num, struct net_device *netdev, void *param) argument [all...] |
/linux-master/drivers/net/wan/ |
H A D | fsl_qmc_hdlc.c | 29 struct net_device *netdev; member in struct:qmc_hdlc_desc 38 struct net_device *netdev; member in struct:qmc_hdlc 50 static struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device *netdev) argument 52 return dev_to_hdlc(netdev)->priv; 71 netif_carrier_on(qmc_hdlc->netdev); 73 netif_carrier_off(qmc_hdlc->netdev); 250 struct net_device *netdev; local 254 netdev = desc->netdev; 255 qmc_hdlc = netdev_to_qmc_hdlc(netdev); 320 struct net_device *netdev; local 364 qmc_hdlc_xmit(struct sk_buff *skb, struct net_device *netdev) argument 505 qmc_hdlc_ioctl(struct net_device *netdev, struct if_settings *ifs) argument 558 qmc_hdlc_open(struct net_device *netdev) argument 628 qmc_hdlc_close(struct net_device *netdev) argument 664 qmc_hdlc_attach(struct net_device *netdev, unsigned short encoding, unsigned short parity) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_utils.h | 22 int mlx5e_ktls_add_tx(struct net_device *netdev, struct sock *sk, 24 void mlx5e_ktls_del_tx(struct net_device *netdev, struct tls_context *tls_ctx); 25 int mlx5e_ktls_add_rx(struct net_device *netdev, struct sock *sk, 27 void mlx5e_ktls_del_rx(struct net_device *netdev, struct tls_context *tls_ctx); 28 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, u32 seq, u8 *rcd_sn);
|
/linux-master/drivers/net/fjes/ |
H A D | fjes_ethtool.c | 40 ((&((struct fjes_adapter *)netdev_priv(netdev))->hw)->max_epid - 1) * \ 43 static void fjes_get_ethtool_stats(struct net_device *netdev, argument 46 struct fjes_adapter *adapter = netdev_priv(netdev); 85 static void fjes_get_strings(struct net_device *netdev, argument 88 struct fjes_adapter *adapter = netdev_priv(netdev); 136 static int fjes_get_sset_count(struct net_device *netdev, int sset) argument 146 static void fjes_get_drvinfo(struct net_device *netdev, argument 149 struct fjes_adapter *adapter = netdev_priv(netdev); 163 static int fjes_get_link_ksettings(struct net_device *netdev, argument 176 static int fjes_get_regs_len(struct net_device *netdev) argument 182 fjes_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 222 fjes_set_dump(struct net_device *netdev, struct ethtool_dump *dump) argument 254 fjes_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) argument 267 fjes_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, void *buf) argument 295 fjes_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic.h | 57 * @netdev: network device 58 * @napi: netdev napi structure 64 struct net_device *netdev; member in struct:hfi1_vnic_rx_queue 71 * @netdev: net device pointer 83 struct net_device *netdev; member in struct:hfi1_vnic_vport_info 99 netdev_dbg(vinfo->netdev, format, ## arg) 101 netdev_err(vinfo->netdev, format, ## arg) 103 netdev_info(vinfo->netdev, format, ## arg) 115 /* vnic rdma netdev operations */
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 211 struct net_device *netdev; local 234 netdev = nfp_app_dev_get(app, port, NULL); 235 if (!netdev) 238 n = neigh_lookup(&arp_tbl, &ipv4_addr, netdev); 253 struct net_device *netdev; local 276 netdev = nfp_app_dev_get(app, port, NULL); 277 if (!netdev) 280 n = neigh_lookup(&nd_tbl, ipv6_add, netdev); 466 nfp_tun_write_neigh(struct net_device *netdev, struct nfp_app *app, argument 480 port_id = nfp_flower_get_port_id_from_netdev(app, netdev); 753 struct net_device *netdev; local 801 struct net_device *netdev; local 1055 nfp_tunnel_offloaded_macs_inc_ref_and_link(struct nfp_tun_offloaded_mac *entry, struct net_device *netdev, bool mod) argument 1078 nfp_tunnel_add_shared_mac(struct nfp_app *app, struct net_device *netdev, int port, bool mod) argument 1164 nfp_tunnel_del_shared_mac(struct nfp_app *app, struct net_device *netdev, const u8 *mac, bool mod) argument 1250 nfp_tunnel_offload_mac(struct nfp_app *app, struct net_device *netdev, enum nfp_flower_mac_offload_cmd cmd) argument 1357 nfp_tunnel_mac_event_handler(struct nfp_app *app, struct net_device *netdev, unsigned long event, void *ptr) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 106 static int mlx5e_dcbnl_ieee_getets(struct net_device *netdev, argument 109 struct mlx5e_priv *priv = netdev_priv(netdev); 278 netdev_dbg(priv->netdev, "%s: prio_%d <=> tc_%d\n", 280 netdev_dbg(priv->netdev, "%s: tc_%d <=> tx_bw_%d%%, group_%d\n", 287 static int mlx5e_dbcnl_validate_ets(struct net_device *netdev, argument 298 netdev_err(netdev, 315 netdev_err(netdev, 322 static int mlx5e_dcbnl_ieee_setets(struct net_device *netdev, argument 325 struct mlx5e_priv *priv = netdev_priv(netdev); 331 err = mlx5e_dbcnl_validate_ets(netdev, et 548 mlx5e_dcbnl_ieee_getmaxrate(struct net_device *netdev, struct ieee_maxrate *maxrate) argument 583 mlx5e_dcbnl_ieee_setmaxrate(struct net_device *netdev, struct ieee_maxrate *maxrate) argument 621 mlx5e_dcbnl_setall(struct net_device *netdev) argument 678 mlx5e_dcbnl_getstate(struct net_device *netdev) argument 683 mlx5e_dcbnl_getpermhwaddr(struct net_device *netdev, u8 *perm_addr) argument 696 mlx5e_dcbnl_setpgtccfgtx(struct net_device *netdev, int priority, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument 718 mlx5e_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) argument 733 mlx5e_dcbnl_getpgtccfgtx(struct net_device *netdev, int priority, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 759 mlx5e_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 774 mlx5e_dcbnl_setpfccfg(struct net_device *netdev, int priority, u8 setting) argument 793 mlx5e_dcbnl_get_priority_pfc(struct net_device *netdev, int priority, u8 *setting) argument 809 mlx5e_dcbnl_getpfccfg(struct net_device *netdev, int priority, u8 *setting) argument 824 mlx5e_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) argument 867 mlx5e_dcbnl_getnumtcs(struct net_device *netdev, int tcs_id, u8 *num) argument 885 mlx5e_dcbnl_getpfcstate(struct net_device *netdev) argument 895 mlx5e_dcbnl_setpfcstate(struct net_device *netdev, u8 state) argument 1023 mlx5e_dcbnl_build_netdev(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_main.c | 71 static int liquidio_stop(struct net_device *netdev); 177 netif_device_detach(oct->props[i].netdev); 259 * @netdev: network device 261 static void print_link_info(struct net_device *netdev) argument 263 struct lio *lio = GET_LIO(netdev); 270 netif_info(lio, link, lio->netdev, "%d Mbps %s Duplex UP\n", 274 netif_info(lio, link, lio->netdev, "Link Down\n"); 293 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); 299 * @netdev: network device 301 static int setup_link_status_change_wq(struct net_device *netdev) argument 319 cleanup_link_status_change_wq(struct net_device *netdev) argument 337 update_link_status(struct net_device *netdev, union oct_link_status *ls) argument 659 struct net_device *netdev = oct->props[ifidx].netdev; local 905 liquidio_open(struct net_device *netdev) argument 951 liquidio_stop(struct net_device *netdev) argument 1006 get_new_flags(struct net_device *netdev) argument 1032 liquidio_set_uc_list(struct net_device *netdev) argument 1072 liquidio_set_mcast_list(struct net_device *netdev) argument 1123 liquidio_set_mac(struct net_device *netdev, void *p) argument 1172 liquidio_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *lstats) argument 1243 hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr) argument 1298 liquidio_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 1406 liquidio_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1635 liquidio_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 1649 liquidio_vlan_rx_add_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument 1677 liquidio_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument 1711 liquidio_set_rxcsum_command(struct net_device *netdev, int command, u8 rx_cmd) argument 1746 liquidio_vxlan_port_command(struct net_device *netdev, int command, u16 vxlan_port, u8 vxlan_cmd_bit) argument 1775 liquidio_udp_tunnel_set_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 1785 liquidio_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 1809 liquidio_fix_features(struct net_device *netdev, netdev_features_t request) argument 1843 liquidio_set_features(struct net_device *netdev, netdev_features_t features) argument 1939 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/intel/ |
H A D | e100.c | 540 struct net_device *netdev; member in struct:nic 668 netif_err(nic, hw, nic->netdev, 674 netif_err(nic, hw, nic->netdev, "Self-test failed: timed out\n"); 777 netif_err(nic, probe, nic->netdev, "EEPROM corrupted\n"); 902 static int mdio_read(struct net_device *netdev, int addr, int reg) argument 904 struct nic *nic = netdev_priv(netdev); 908 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) argument 910 struct nic *nic = netdev_priv(netdev); 936 netdev_err(nic->netdev, "e100.mdio_ctrl won't go Ready\n"); 948 netif_printk(nic, hw, KERN_DEBUG, nic->netdev, 1073 struct net_device *netdev = nic->netdev; local 1435 struct net_device *netdev = nic->netdev; local 1561 struct net_device *netdev = nic->netdev; local 1577 e100_set_multicast_list(struct net_device *netdev) argument 1769 e100_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument 2193 struct net_device *netdev = dev_id; local 2239 e100_netpoll(struct net_device *netdev) argument 2250 e100_set_mac_address(struct net_device *netdev, void *p) argument 2318 e100_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 2330 struct net_device *netdev = nic->netdev; local 2404 e100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument 2414 e100_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument 2427 e100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 2437 e100_get_regs_len(struct net_device *netdev) argument 2447 e100_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 2472 e100_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2479 e100_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2499 e100_get_msglevel(struct net_device *netdev) argument 2505 e100_set_msglevel(struct net_device *netdev, u32 value) argument 2511 e100_nway_reset(struct net_device *netdev) argument 2517 e100_get_link(struct net_device *netdev) argument 2523 e100_get_eeprom_len(struct net_device *netdev) argument 2530 e100_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 2541 e100_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 2555 e100_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 2570 e100_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 2605 e100_diag_test(struct net_device *netdev, struct ethtool_test *test, u64 *data) argument 2638 e100_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 2689 e100_get_sset_count(struct net_device *netdev, int sset) argument 2701 e100_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 2722 e100_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 2759 e100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 2782 e100_open(struct net_device *netdev) argument 2793 e100_close(struct net_device *netdev) argument 2799 e100_set_features(struct net_device *netdev, netdev_features_t features) argument 2830 struct net_device *netdev; local 2984 struct net_device *netdev = pci_get_drvdata(pdev); local 3003 struct net_device *netdev = pci_get_drvdata(pdev); local 3051 struct net_device *netdev = dev_get_drvdata(dev_d); local 3096 struct net_device *netdev = pci_get_drvdata(pdev); local 3120 struct net_device *netdev = pci_get_drvdata(pdev); local 3147 struct net_device *netdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_lib.c | 621 idpf_add_del_mac_filters(vport, netdev_priv(vport->netdev), 645 idpf_add_del_mac_filters(vport, netdev_priv(vport->netdev), 674 * @netdev: pointer to netdev struct associated with this vport 677 struct net_device *netdev) 679 struct idpf_netdev_priv *np = netdev_priv(netdev); 684 eth_hw_addr_set(netdev, vport->default_mac_addr); 685 ether_addr_copy(netdev->perm_addr, vport->default_mac_addr); 699 eth_hw_addr_random(netdev); 700 err = idpf_add_mac_filter(vport, np, netdev 676 idpf_init_mac_addr(struct idpf_vport *vport, struct net_device *netdev) argument 724 struct net_device *netdev; local 923 idpf_stop(struct net_device *netdev) argument 1183 idpf_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 1749 struct net_device *netdev; local 2006 idpf_addr_sync(struct net_device *netdev, const u8 *addr) argument 2026 idpf_addr_unsync(struct net_device *netdev, const u8 *addr) argument 2050 idpf_set_rx_mode(struct net_device *netdev) argument 2151 idpf_set_features(struct net_device *netdev, netdev_features_t features) argument 2207 idpf_open(struct net_device *netdev) argument 2229 idpf_change_mtu(struct net_device *netdev, int new_mtu) argument 2252 idpf_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) argument 2314 idpf_set_mac(struct net_device *netdev, void *p) argument [all...] |
/linux-master/drivers/net/ethernet/ |
H A D | ethoc.c | 188 * @netdev: pointer to network device structure 213 struct net_device *netdev; member in struct:ethoc 376 struct net_device *netdev = dev->netdev; local 380 dev_err(&netdev->dev, "RX: frame too long\n"); 381 netdev->stats.rx_length_errors++; 386 dev_err(&netdev->dev, "RX: frame too short\n"); 387 netdev->stats.rx_length_errors++; 392 dev_err(&netdev->dev, "RX: dribble nibble\n"); 393 netdev 482 struct net_device *netdev = dev->netdev; local 930 ethoc_get_regs_len(struct net_device *netdev) argument 1026 struct net_device *netdev = NULL; local 1259 struct net_device *netdev = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 230 * @t: timer list containing pointer to netdev cast into an unsigned long 254 struct net_device *netdev = adapter->netdev; local 267 netif_carrier_off(netdev); 295 atl1c_driver_name, netdev->name, 300 if (!netif_carrier_ok(netdev)) 301 netif_carrier_on(netdev); 307 struct net_device *netdev = adapter->netdev; local 316 if (netif_carrier_ok(netdev)) { 334 struct net_device *netdev; local 369 atl1c_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 387 atl1c_set_multi(struct net_device *netdev) argument 431 atl1c_vlan_mode(struct net_device *netdev, netdev_features_t features) argument 464 atl1c_set_mac_addr(struct net_device *netdev, void *p) argument 492 atl1c_fix_features(struct net_device *netdev, netdev_features_t features) argument 515 atl1c_set_features(struct net_device *netdev, netdev_features_t features) argument 526 atl1c_set_max_mtu(struct net_device *netdev) argument 556 atl1c_change_mtu(struct net_device *netdev, int new_mtu) argument 578 atl1c_mdio_read(struct net_device *netdev, int phy_id, int reg_num) argument 587 atl1c_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) argument 595 atl1c_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 645 atl1c_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 1471 struct net_device *netdev = adapter->netdev; local 1535 atl1c_get_stats(struct net_device *netdev) argument 1672 struct net_device *netdev = data; local 1877 struct net_device *netdev = adapter->netdev; local 1969 atl1c_netpoll(struct net_device *netdev) argument 2269 atl1c_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument 2332 struct net_device *netdev = adapter->netdev; local 2343 struct net_device *netdev = adapter->netdev; local 2388 struct net_device *netdev = adapter->netdev; local 2420 struct net_device *netdev = adapter->netdev; local 2458 atl1c_open(struct net_device *netdev) argument 2496 atl1c_close(struct net_device *netdev) argument 2510 struct net_device *netdev = dev_get_drvdata(dev); local 2534 struct net_device *netdev = dev_get_drvdata(dev); local 2554 struct net_device *netdev = pci_get_drvdata(pdev); local 2580 atl1c_init_netdev(struct net_device *netdev, struct pci_dev *pdev) argument 2614 struct net_device *netdev; local 2773 struct net_device *netdev = pci_get_drvdata(pdev); local 2799 struct net_device *netdev = pci_get_drvdata(pdev); local 2825 struct net_device *netdev = pci_get_drvdata(pdev); local 2854 struct net_device *netdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 92 static int enic_get_ksettings(struct net_device *netdev, argument 95 struct enic *enic = netdev_priv(netdev); 106 if (netif_carrier_ok(netdev)) { 119 static void enic_get_drvinfo(struct net_device *netdev, argument 122 struct enic *enic = netdev_priv(netdev); 141 static void enic_get_strings(struct net_device *netdev, u32 stringset, argument 164 static void enic_get_ringparam(struct net_device *netdev, argument 169 struct enic *enic = netdev_priv(netdev); 178 static int enic_set_ringparam(struct net_device *netdev, argument 183 struct enic *enic = netdev_priv(netdev); 243 enic_get_sset_count(struct net_device *netdev, int sset) argument 253 enic_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 277 enic_get_msglevel(struct net_device *netdev) argument 283 enic_set_msglevel(struct net_device *netdev, u32 value) argument 289 enic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 336 enic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 566 enic_get_rxfh_key_size(struct net_device *netdev) argument 571 enic_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 584 enic_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 601 enic_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument 637 enic_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_ethtool.c | 15 static int atl1e_get_link_ksettings(struct net_device *netdev, argument 18 struct atl1e_adapter *adapter = netdev_priv(netdev); 60 static int atl1e_set_link_ksettings(struct net_device *netdev, argument 63 struct atl1e_adapter *adapter = netdev_priv(netdev); 121 if (netif_running(adapter->netdev)) { 131 static u32 atl1e_get_msglevel(struct net_device *netdev) argument 140 static int atl1e_get_regs_len(struct net_device *netdev) argument 145 static void atl1e_get_regs(struct net_device *netdev, argument 148 struct atl1e_adapter *adapter = netdev_priv(netdev); 194 static int atl1e_get_eeprom_len(struct net_device *netdev) argument 204 atl1e_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 244 atl1e_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 304 atl1e_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 315 atl1e_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 335 atl1e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 355 atl1e_nway_reset(struct net_device *netdev) argument 379 atl1e_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 55 static int qlcnic_open(struct net_device *netdev); 56 static int qlcnic_close(struct net_device *netdev); 57 static void qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue); 70 static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev); 296 struct net_device *netdev = adapter->netdev; local 306 eth_hw_addr_set(netdev, mac_addr); 307 memcpy(adapter->mac_addr, netdev->dev_addr, netdev->addr_len); 311 if (!is_valid_ether_addr(netdev 333 qlcnic_set_mac(struct net_device *netdev, void *p) argument 368 qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid, struct netlink_ext_ack *extack) argument 394 qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid, u16 flags, struct netlink_ext_ack *extack) argument 428 qlcnic_fdb_dump(struct sk_buff *skb, struct netlink_callback *ncb, struct net_device *netdev, struct net_device *filter_dev, int *idx) argument 456 qlcnic_get_phys_port_id(struct net_device *netdev, struct netdev_phys_item_id *ppid) argument 1347 qlcnic_vlan_rx_add(struct net_device *netdev, __be16 proto, u16 vid) argument 1367 qlcnic_vlan_rx_del(struct net_device *netdev, __be16 proto, u16 vid) argument 1423 struct net_device *netdev = adapter->netdev; local 1703 struct net_device *netdev = adapter->netdev; local 1856 __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 1903 qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 1915 __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 1952 qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 1964 struct net_device *netdev = adapter->netdev; local 2026 qlcnic_diag_free_res(struct net_device *netdev, int drv_sds_rings) argument 2110 qlcnic_diag_alloc_res(struct net_device *netdev, int test) argument 2168 struct net_device *netdev = adapter->netdev; local 2190 struct net_device *netdev = adapter->netdev; local 2238 struct net_device *netdev = adapter->netdev; local 2261 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 2353 qlcnic_alloc_tx_rings(struct qlcnic_adapter *adapter, struct net_device *netdev) argument 2421 struct net_device *netdev = NULL; local 2710 struct net_device *netdev; local 2790 qlcnic_open(struct net_device *netdev) argument 2818 qlcnic_close(struct net_device *netdev) argument 2833 struct net_device *netdev = adapter->netdev; local 2902 struct net_device *netdev = adapter->netdev; local 2955 struct net_device *netdev = adapter->netdev; local 3017 qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 3040 qlcnic_get_stats(struct net_device *netdev) argument 3458 struct net_device *netdev = adapter->netdev; local 3605 struct net_device *netdev = adapter->netdev; local 3768 struct net_device *netdev = adapter->netdev; local 3832 struct net_device *netdev = adapter->netdev; local 3953 struct net_device *netdev = adapter->netdev; local 3985 struct net_device *netdev = adapter->netdev; local 4091 qlcnic_restore_indev_addr(struct net_device *netdev, unsigned long event) argument [all...] |
/linux-master/drivers/net/can/softing/ |
H A D | softing_main.c | 18 * test is a specific CAN netdev 21 static inline int canif_is_active(struct net_device *netdev) argument 23 struct can_priv *can = netdev_priv(netdev); 25 if (!netif_running(netdev)) 132 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, argument 138 skb = alloc_can_skb(netdev, &cf); 152 struct net_device *netdev; local 178 netdev = card->net[j]; 179 if (!netdev) 181 if (!canif_is_active(netdev)) 320 struct net_device *netdev; local 635 struct net_device *netdev; local 664 softing_netdev_register(struct net_device *netdev) argument 679 softing_netdev_cleanup(struct net_device *netdev) argument 756 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 90 int e1000_open(struct net_device *netdev); 91 int e1000_close(struct net_device *netdev); 101 static void e1000_set_rx_mode(struct net_device *netdev); 106 struct net_device *netdev); 107 static int e1000_change_mtu(struct net_device *netdev, int new_mtu); 108 static int e1000_set_mac(struct net_device *netdev, void *p); 130 static int e1000_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd); 131 static int e1000_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, 142 static void e1000_vlan_mode(struct net_device *netdev, 146 static int e1000_vlan_rx_add_vid(struct net_device *netdev, 255 struct net_device *netdev = adapter->netdev; local 271 struct net_device *netdev = adapter->netdev; local 304 struct net_device *netdev = adapter->netdev; local 363 struct net_device *netdev = adapter->netdev; local 492 struct net_device *netdev = adapter->netdev; local 709 struct net_device *netdev = adapter->netdev; local 790 e1000_fix_features(struct net_device *netdev, netdev_features_t features) argument 804 e1000_set_features(struct net_device *netdev, netdev_features_t features) argument 923 struct net_device *netdev; local 1260 struct net_device *netdev = pci_get_drvdata(pdev); local 1354 e1000_open(struct net_device *netdev) argument 1431 e1000_close(struct net_device *netdev) argument 2154 struct net_device *netdev = adapter->netdev; local 2172 struct net_device *netdev = adapter->netdev; local 2199 e1000_set_mac(struct net_device *netdev, void *p) argument 2233 e1000_set_rx_mode(struct net_device *netdev) argument 2360 struct net_device *netdev = adapter->netdev; local 2432 struct net_device *netdev = adapter->netdev; local 3065 __e1000_maybe_stop_tx(struct net_device *netdev, int size) argument 3089 e1000_maybe_stop_tx(struct net_device *netdev, struct e1000_tx_ring *tx_ring, int size) argument 3098 e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument 3495 e1000_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) argument 3520 e1000_change_mtu(struct net_device *netdev, int new_mtu) argument 3592 struct net_device *netdev = adapter->netdev; local 3747 struct net_device *netdev = data; local 3830 struct net_device *netdev = adapter->netdev; local 4133 struct net_device *netdev = adapter->netdev; local 4351 struct net_device *netdev = adapter->netdev; local 4734 e1000_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 4752 e1000_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 4930 e1000_vlan_mode(struct net_device *netdev, netdev_features_t features) argument 4944 e1000_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 4970 e1000_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 5060 struct net_device *netdev = pci_get_drvdata(pdev); local 5153 struct net_device *netdev = pci_get_drvdata(pdev); local 5212 e1000_netpoll(struct net_device *netdev) argument 5233 struct net_device *netdev = pci_get_drvdata(pdev); local 5260 struct net_device *netdev = pci_get_drvdata(pdev); local 5298 struct net_device *netdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 136 vmxnet3_get_stats64(struct net_device *netdev, argument 147 adapter = netdev_priv(netdev); 185 vmxnet3_get_sset_count(struct net_device *netdev, int sset) argument 187 struct vmxnet3_adapter *adapter = netdev_priv(netdev); 210 vmxnet3_get_regs_len(struct net_device *netdev) argument 212 struct vmxnet3_adapter *adapter = netdev_priv(netdev); 223 vmxnet3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 225 struct vmxnet3_adapter *adapter = netdev_priv(netdev); 238 vmxnet3_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) argument 240 struct vmxnet3_adapter *adapter = netdev_priv(netdev); 264 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features) argument 282 vmxnet3_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) argument 324 vmxnet3_enable_encap_offloads(struct net_device *netdev, netdev_features_t features) argument 385 vmxnet3_disable_encap_offloads(struct net_device *netdev) argument 414 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) argument 467 vmxnet3_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *buf) argument 520 vmxnet3_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 614 vmxnet3_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 624 vmxnet3_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 642 vmxnet3_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ecmd) argument 666 vmxnet3_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *param, struct kernel_ethtool_ringparam *kernel_param, struct netlink_ext_ack *extack) argument 687 vmxnet3_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *param, struct kernel_ethtool_ringparam *kernel_param, struct netlink_ext_ack *extack) argument 902 vmxnet3_set_rss_hash_opt(struct net_device *netdev, struct vmxnet3_adapter *adapter, struct ethtool_rxnfc *nfc) argument 1067 vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) argument 1099 vmxnet3_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) argument 1130 vmxnet3_get_rss_indir_size(struct net_device *netdev) argument 1139 vmxnet3_get_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 1157 vmxnet3_set_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 1185 vmxnet3_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 1222 vmxnet3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument 1318 vmxnet3_get_channels(struct net_device *netdev, struct ethtool_channels *ec) argument 1374 vmxnet3_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/can/usb/etas_es58x/ |
H A D | es581_4.c | 42 struct net_device *netdev; local 60 ES581_4_CHANNEL_IDX_OFFSET, &netdev); 74 netdev_warn(netdev, 81 netdev_err(netdev, "Echo packet idx jumped from %u to %u\n", 90 netdev->stats.tx_dropped += dropped; 91 return es58x_can_get_echo_skb(netdev, first_packet_idx, 100 struct net_device *netdev; local 110 ES581_4_CHANNEL_IDX_OFFSET, &netdev); 114 if (!netif_running(netdev)) { 116 netdev_info(netdev, 145 struct net_device *netdev; local 161 struct net_device *netdev; local 178 struct net_device *netdev; local 202 struct net_device *netdev; local [all...] |
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_ethtool.c | 124 static void vnic_get_drvinfo(struct net_device *netdev, argument 128 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent), 133 static int vnic_get_sset_count(struct net_device *netdev, int sset) argument 139 static void vnic_get_ethtool_stats(struct net_device *netdev, argument 142 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); 148 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); 159 static void vnic_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 182 void opa_vnic_set_ethtool_ops(struct net_device *netdev) argument 184 netdev->ethtool_ops = &opa_vnic_ethtool_ops;
|