| /drivers/net/hyperv/ |
| A D | netvsc.c | 133 if (!net_device) in alloc_net_device() 147 return net_device; in alloc_net_device() 451 net_device->recv_completion_cnt = net_device->recv_section_cnt + 1; in netvsc_init_buf() 528 net_device->send_section_cnt = buf_size / net_device->send_section_size; in netvsc_init_buf() 531 net_device->send_section_size, net_device->send_section_cnt); in netvsc_init_buf() 534 net_device->send_section_map = bitmap_zalloc(net_device->send_section_cnt, in netvsc_init_buf() 1246 if (unlikely(!net_device || net_device->destroy)) in netvsc_send() 1695 struct netvsc_device *net_device = nvchan->net_device; in netvsc_poll() local 1771 if (!net_device) in netvsc_device_add() 1793 nvchan->net_device = net_device; in netvsc_device_add() [all …]
|
| /drivers/infiniband/ulp/ipoib/ |
| A D | ipoib.h | 180 struct net_device *dev; 239 struct net_device *dev; 249 struct net_device *dev; 324 struct net_device *dev; 393 struct net_device *parent; 418 struct net_device *dev; 427 struct net_device *dev; 450 struct net_device *dev; 470 struct net_device *dev); 490 int ipoib_open(struct net_device *dev); [all …]
|
| /drivers/net/ethernet/sfc/ |
| A D | ethtool_common.h | 14 void efx_ethtool_get_drvinfo(struct net_device *net_dev, 16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev); 18 void efx_ethtool_self_test(struct net_device *net_dev, 22 int efx_ethtool_set_pauseparam(struct net_device *net_dev, 30 void efx_ethtool_get_stats(struct net_device *net_dev, 37 int efx_ethtool_get_fecparam(struct net_device *net_dev, 39 int efx_ethtool_set_fecparam(struct net_device *net_dev, 41 int efx_ethtool_get_rxnfc(struct net_device *net_dev, 43 int efx_ethtool_set_rxnfc(struct net_device *net_dev, 47 int efx_ethtool_get_rxfh(struct net_device *net_dev, [all …]
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | ethtool_common.h | 14 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev, 16 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev); 18 void efx_siena_ethtool_self_test(struct net_device *net_dev, 22 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev, 27 void efx_siena_ethtool_get_stats(struct net_device *net_dev, 34 int efx_siena_ethtool_get_fecparam(struct net_device *net_dev, 36 int efx_siena_ethtool_set_fecparam(struct net_device *net_dev, 38 int efx_siena_ethtool_get_rxnfc(struct net_device *net_dev, 40 int efx_siena_ethtool_set_rxnfc(struct net_device *net_dev, 44 int efx_siena_ethtool_get_rxfh(struct net_device *net_dev, [all …]
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_ethtool.h | 9 void wx_get_ethtool_stats(struct net_device *netdev, 11 void wx_get_mac_stats(struct net_device *netdev, 13 void wx_get_pause_stats(struct net_device *netdev, 16 int wx_nway_reset(struct net_device *netdev); 23 int wx_set_pauseparam(struct net_device *netdev, 29 int wx_get_coalesce(struct net_device *netdev, 33 int wx_set_coalesce(struct net_device *netdev, 37 void wx_get_channels(struct net_device *dev, 39 int wx_set_channels(struct net_device *dev, 43 int wx_get_ts_info(struct net_device *dev, [all …]
|
| /drivers/net/ethernet/8390/ |
| A D | 8390.h | 29 void ei_poll(struct net_device *dev); 30 void eip_poll(struct net_device *dev); 36 int ei_open(struct net_device *dev); 37 int ei_close(struct net_device *dev); 41 void ei_set_multicast_list(struct net_device *dev); 46 struct net_device *__alloc_ei_netdev(int size); 54 int eip_open(struct net_device *dev); 55 int eip_close(struct net_device *dev); 64 struct net_device *__alloc_eip_netdev(int size); 73 void (*reset_8390)(struct net_device *dev); [all …]
|
| A D | mac8390.c | 123 extern int mac8390_memtest(struct net_device *dev); 127 static int mac8390_open(struct net_device *dev); 128 static int mac8390_close(struct net_device *dev); 129 static void mac8390_no_reset(struct net_device *dev); 130 static void interlan_reset(struct net_device *dev); 133 static void sane_get_8390_hdr(struct net_device *dev, 389 struct net_device *dev; in mac8390_device_probe() 433 struct net_device *dev = nubus_get_drvdata(board); in mac8390_device_remove() 612 static int mac8390_open(struct net_device *dev) in mac8390_open() 623 static int mac8390_close(struct net_device *dev) in mac8390_close() [all …]
|
| A D | smc-ultra.c | 86 static int ultra_open(struct net_device *dev); 100 static int ultra_close_card(struct net_device *dev); 127 static void ultra_poll(struct net_device *dev) in ultra_poll() 166 struct net_device * __init ultra_probe(int unit) in ultra_probe() 168 struct net_device *dev = alloc_ei_netdev(); in ultra_probe() 387 ultra_open(struct net_device *dev) in ultra_open() 419 ultra_reset_8390(struct net_device *dev) in ultra_reset_8390() 537 ultra_close_card(struct net_device *dev) in ultra_close_card() 577 struct net_device *dev; in ultra_init_module() 604 static void cleanup_card(struct net_device *dev) in cleanup_card() [all …]
|
| /drivers/staging/octeon/ |
| A D | octeon-ethernet.h | 57 struct net_device *netdev; 72 void (*poll)(struct net_device *dev); 79 int cvm_oct_rgmii_open(struct net_device *dev); 81 int cvm_oct_sgmii_init(struct net_device *dev); 82 int cvm_oct_sgmii_open(struct net_device *dev); 84 int cvm_oct_spi_init(struct net_device *dev); 85 void cvm_oct_spi_uninit(struct net_device *dev); 91 int cvm_oct_common_open(struct net_device *dev, 92 void (*link_poll)(struct net_device *)); 95 void cvm_oct_link_poll(struct net_device *dev); [all …]
|
| /drivers/net/arcnet/ |
| A D | arcdevice.h | 199 void (*rx)(struct net_device *dev, int bufnum, 208 int (*ack_tx)(struct net_device *dev, int acked); 270 struct net_device *dev; 322 int (*status)(struct net_device *dev); 325 void (*open)(struct net_device *dev); 326 void (*close)(struct net_device *dev); 361 struct net_device *alloc_arcdev(const char *name); 362 void free_arcdev(struct net_device *dev); 364 int arcnet_open(struct net_device *dev); 365 int arcnet_close(struct net_device *dev); [all …]
|
| A D | com90io.c | 47 static int com90io_found(struct net_device *dev); 48 static void com90io_command(struct net_device *dev, int command); 49 static int com90io_status(struct net_device *dev); 50 static void com90io_setmask(struct net_device *dev, int mask); 130 static int __init com90io_probe(struct net_device *dev) in com90io_probe() 221 static int __init com90io_found(struct net_device *dev) in com90io_found() 311 static void com90io_command(struct net_device *dev, int cmd) in com90io_command() 318 static int com90io_status(struct net_device *dev) in com90io_status() 381 static struct net_device *my_dev; 385 struct net_device *dev; in com90io_init() [all …]
|
| /drivers/net/ethernet/qlogic/qede/ |
| A D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() 61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx() 99 static u8 qede_dcbnl_getpfcstate(struct net_device *netdev) in qede_dcbnl_getpfcstate() 113 static u8 qede_dcbnl_getdcbx(struct net_device *netdev) in qede_dcbnl_getdcbx() 154 static u8 qede_dcbnl_setall(struct net_device *netdev) in qede_dcbnl_setall() 238 static int qede_dcbnl_ieee_getpfc(struct net_device *netdev, in qede_dcbnl_ieee_getpfc() 246 static int qede_dcbnl_ieee_setpfc(struct net_device *netdev, in qede_dcbnl_ieee_setpfc() [all …]
|
| /drivers/net/ |
| A D | net_failover.c | 74 struct net_device *slave_dev; in net_failover_close() 90 struct net_device *dev) in net_failover_drop_xmit() 98 struct net_device *dev) in net_failover_start_xmit() 101 struct net_device *xmit_dev; in net_failover_start_xmit() 119 struct net_device *sb_dev) in net_failover_select_queue() 122 struct net_device *primary_dev; in net_failover_select_queue() 184 struct net_device *slave_dev; in net_failover_get_stats() 242 struct net_device *slave_dev; in net_failover_set_rx_mode() 290 struct net_device *slave_dev; in net_failover_vlan_rx_kill_vid() 331 struct net_device *slave_dev; in nfo_ethtool_get_link_ksettings() [all …]
|
| A D | eql.c | 133 static int eql_open(struct net_device *dev); 134 static int eql_close(struct net_device *dev); 179 static void __init eql_setup(struct net_device *dev) in eql_setup() 205 static int eql_open(struct net_device *dev) in eql_open() 248 static int eql_close(struct net_device *dev) in eql_close() 346 struct net_device *slave_dev = slave->dev; in eql_slave_xmit() 415 struct net_device *slave_dev; in eql_enslave() 457 struct net_device *slave_dev; in eql_emancipate() 486 struct net_device *slave_dev; in eql_g_slave_cfg() 519 struct net_device *slave_dev; in eql_s_slave_cfg() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| A D | ipoib.h | 62 struct net_device *parent_dev; 78 int mlx5i_pkey_qpn_ht_init(struct net_device *netdev); 79 void mlx5i_pkey_qpn_ht_cleanup(struct net_device *netdev); 82 int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn); 83 int mlx5i_pkey_del_qpn(struct net_device *netdev, u32 qpn); 86 struct net_device *mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn); 89 int mlx5i_dev_init(struct net_device *dev); 90 void mlx5i_dev_cleanup(struct net_device *dev); 91 int mlx5i_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 125 struct net_device *mlx5i_parent_get(struct net_device *netdev); [all …]
|
| /drivers/net/ethernet/freescale/fs_enet/ |
| A D | fs_enet.h | 75 int (*setup_data)(struct net_device *dev); 76 int (*allocate_bd)(struct net_device *dev); 77 void (*free_bd)(struct net_device *dev); 78 void (*cleanup_data)(struct net_device *dev); 82 void (*stop)(struct net_device *dev); 84 void (*napi_enable)(struct net_device *dev); 86 void (*rx_bd_done)(struct net_device *dev); 92 int (*get_regs_len)(struct net_device *dev); 93 void (*tx_restart)(struct net_device *dev); 125 struct net_device *ndev; [all …]
|
| /drivers/usb/gadget/function/ |
| A D | u_ether.h | 119 struct net_device *gether_setup_name_default(const char *netname); 128 int gether_register_netdev(struct net_device *net); 139 static inline struct net_device *gether_setup_default(void) in gether_setup_default() 151 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 162 int gether_set_dev_addr(struct net_device *net, const char *dev_addr); 173 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len); 184 int gether_set_host_addr(struct net_device *net, const char *host_addr); 227 void gether_set_qmult(struct net_device *net, unsigned qmult); 235 unsigned gether_get_qmult(struct net_device *net); 246 int gether_get_ifname(struct net_device *net, char *name, int len); [all …]
|
| /drivers/net/ethernet/netronome/nfp/ |
| A D | nfp_net_repr.h | 21 struct net_device __rcu *reprs[] __counted_by(num_reprs); 52 struct net_device *netdev; 78 static inline bool nfp_netdev_is_nfp_repr(struct net_device *netdev) in nfp_netdev_is_nfp_repr() 83 static inline int nfp_repr_get_port_id(struct net_device *netdev) in nfp_repr_get_port_id() 90 struct net_device * 96 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower); 97 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, 99 struct net_device *pf_netdev); 100 void nfp_repr_free(struct net_device *netdev); 101 struct net_device * [all …]
|
| /drivers/infiniband/core/ |
| A D | roce_gid_mgmt.c | 63 struct net_device *ndev; 64 struct net_device *filter_ndev; 133 struct net_device *pdev = in is_eth_active_slave_of_bonding_rcu() 150 struct net_device *real_dev; in is_eth_port_of_netdev_filter() 174 struct net_device *master_dev; in is_eth_port_inactive_slave_filter() 422 struct net_device *ndev) in _add_netdev_ips() 479 struct net_device *ndev; in enum_all_gids_of_dev_cb() 553 struct net_device *upper; 660 struct net_device *ndev) in netdevice_queue_work() 883 struct net_device *ndev; in inetaddr_event() [all …]
|
| /drivers/net/ethernet/ti/ |
| A D | cpsw_priv.h | 311 struct net_device *ndev; 362 struct net_device *hw_bridge_dev; 373 struct net_device *ndev; 403 struct net_device *ndev; 415 struct net_device *ndev; in __aligned() 471 int cpsw_hwtstamp_get(struct net_device *dev, 473 int cpsw_hwtstamp_set(struct net_device *dev, 478 u32 cpsw_get_msglevel(struct net_device *ndev); 494 int cpsw_get_regs_len(struct net_device *ndev); 504 int cpsw_nway_reset(struct net_device *ndev); [all …]
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_sriov.h | 32 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 44 ice_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, 56 ice_get_vf_stats(struct net_device *netdev, int vf_id, 93 ice_set_vf_mac(struct net_device __always_unused *netdev, in ice_set_vf_mac() 100 ice_get_vf_cfg(struct net_device __always_unused *netdev, in ice_get_vf_cfg() 108 ice_set_vf_trust(struct net_device __always_unused *netdev, in ice_set_vf_trust() 115 ice_set_vf_port_vlan(struct net_device __always_unused *netdev, in ice_set_vf_port_vlan() 123 ice_set_vf_spoofchk(struct net_device __always_unused *netdev, in ice_set_vf_spoofchk() 130 ice_set_vf_link_state(struct net_device __always_unused *netdev, in ice_set_vf_link_state() 137 ice_set_vf_bw(struct net_device __always_unused *netdev, in ice_set_vf_bw() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_tun.h | 35 int (*init_encap_attr)(struct net_device *tunnel_dev, 54 int (*get_remote_ifindex)(struct net_device *mirred_dev); 70 struct net_device *mirred_dev, 73 struct net_device *mirred_dev, 78 struct net_device *mirred_dev, 81 struct net_device *mirred_dev, 86 struct net_device *mirred_dev, in mlx5e_tc_tun_create_header_ipv6() 91 struct net_device *mirred_dev, in mlx5e_tc_tun_update_header_ipv6() 98 struct net_device *filter_dev); 101 struct net_device *netdev); [all …]
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_netdev.h | 26 struct net_device *netdev; 78 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd); 80 int fbnic_netdev_register(struct net_device *netdev); 81 void fbnic_netdev_unregister(struct net_device *netdev); 85 void fbnic_set_ethtool_ops(struct net_device *dev); 93 void __fbnic_set_rx_mode(struct net_device *netdev); 94 void fbnic_clear_rx_mode(struct net_device *netdev); 96 void fbnic_phylink_get_pauseparam(struct net_device *netdev, 98 int fbnic_phylink_set_pauseparam(struct net_device *netdev, 102 int fbnic_phylink_get_fecparam(struct net_device *netdev, [all …]
|
| /drivers/net/ethernet/natsemi/ |
| A D | sonic.h | 334 static int sonic_open(struct net_device *dev); 337 static void sonic_rx(struct net_device *dev); 338 static int sonic_close(struct net_device *dev); 340 static void sonic_multicast_list(struct net_device *dev); 341 static int sonic_init(struct net_device *dev, bool may_sleep); 343 static void sonic_msg_init(struct net_device *dev); 344 static int sonic_alloc_descriptors(struct net_device *dev); 378 static inline void sonic_cda_put(struct net_device* dev, int entry, in sonic_cda_put() 400 static inline __u16 sonic_get_cam_enable(struct net_device* dev) in sonic_get_cam_enable() 454 static inline u16 sonic_rr_addr(struct net_device *dev, int entry) in sonic_rr_addr() [all …]
|
| /drivers/net/ethernet/qualcomm/rmnet/ |
| A D | rmnet_config.h | 19 struct net_device *egress_dev; 33 struct net_device *dev; 38 struct net_device *bridge_ep; 39 struct net_device *rmnet_dev; 86 struct net_device *real_dev; 92 struct rmnet_port *rmnet_get_port_rcu(struct net_device *real_dev); 94 int rmnet_add_bridge(struct net_device *rmnet_dev, 95 struct net_device *slave_dev, 97 int rmnet_del_bridge(struct net_device *rmnet_dev, 98 struct net_device *slave_dev); [all …]
|