/drivers/net/hyperv/ |
D | netvsc.c | 34 int netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath() 129 struct netvsc_device *net_device; in alloc_net_device() local 131 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device() 132 if (!net_device) in alloc_net_device() 135 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device() 136 net_device->destroy = false; in alloc_net_device() 137 net_device->tx_disable = true; in alloc_net_device() 139 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device() 140 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device() 142 init_completion(&net_device->channel_init_wait); in alloc_net_device() [all …]
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib.h | 153 static inline struct ipoib_dev_priv *ipoib_priv(const struct net_device *dev) in ipoib_priv() 180 struct net_device *dev; 239 struct net_device *dev; 249 struct net_device *dev; 324 struct net_device *dev; 325 void (*next_priv_destructor)(struct net_device *dev); 399 struct net_device *parent; 420 struct net_device *dev; 429 struct net_device *dev; 452 struct net_device *dev; [all …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.h | 12 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev); 13 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev); 14 bool rtl92e_is_tx_stuck(struct net_device *dev); 15 bool rtl92e_is_rx_stuck(struct net_device *dev); 16 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb); 17 void rtl92e_enable_rx(struct net_device *dev); 18 void rtl92e_enable_tx(struct net_device *dev); 19 void rtl92e_enable_irq(struct net_device *dev); 20 void rtl92e_disable_irq(struct net_device *dev); 21 void rtl92e_clear_irq(struct net_device *dev); [all …]
|
D | r8192E_phy.h | 58 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath); 59 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, 61 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask); 62 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 64 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 66 void rtl92e_config_mac(struct net_device *dev); 67 bool rtl92e_check_bb_and_rf(struct net_device *dev, 70 bool rtl92e_config_bb(struct net_device *dev); 71 void rtl92e_get_tx_power(struct net_device *dev); 72 void rtl92e_set_tx_power(struct net_device *dev, u8 channel); [all …]
|
D | rtl_core.h | 273 void (*get_eeprom_size)(struct net_device *dev); 274 void (*init_adapter_variable)(struct net_device *dev); 275 void (*init_before_adapter_start)(struct net_device *dev); 276 bool (*initialize_adapter)(struct net_device *dev); 277 void (*link_change)(struct net_device *dev); 278 void (*tx_fill_descriptor)(struct net_device *dev, 282 void (*tx_fill_cmd_descriptor)(struct net_device *dev, 286 bool (*rx_query_status_descriptor)(struct net_device *dev, 290 bool (*rx_command_packet_handler)(struct net_device *dev, 293 void (*stop_adapter)(struct net_device *dev, bool reset); [all …]
|
D | rtl_ps.h | 15 struct net_device; 19 void rtl92e_hw_wakeup(struct net_device *dev); 20 void rtl92e_enter_sleep(struct net_device *dev, u64 time); 21 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev); 22 void rtl92e_rtllib_ips_leave(struct net_device *dev); 25 void rtl92e_ips_enter(struct net_device *dev); 26 void rtl92e_ips_leave(struct net_device *dev); 28 void rtl92e_leisure_ps_enter(struct net_device *dev); 29 void rtl92e_leisure_ps_leave(struct net_device *dev);
|
/drivers/net/ethernet/sfc/ |
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); 17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable); 18 void efx_ethtool_self_test(struct net_device *net_dev, 20 void efx_ethtool_get_pauseparam(struct net_device *net_dev, 22 int efx_ethtool_set_pauseparam(struct net_device *net_dev, 27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set); 28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set, 30 void efx_ethtool_get_stats(struct net_device *net_dev, 33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev, [all …]
|
/drivers/staging/rtl8192u/ |
D | r819xU_phy.h | 49 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 e_rfpath); 50 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, 52 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask); 53 void rtl8192_phy_SetRFReg(struct net_device *dev, 56 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, 59 void rtl8192_phy_configmac(struct net_device *dev); 60 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev, 63 void rtl8192_BBConfig(struct net_device *dev); 64 void rtl8192_phy_getTxPower(struct net_device *dev); 65 void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel); [all …]
|
/drivers/net/ethernet/8390/ |
D | 8390.h | 27 void ei_poll(struct net_device *dev); 28 void eip_poll(struct net_device *dev); 33 void NS8390_init(struct net_device *dev, int startp); 34 int ei_open(struct net_device *dev); 35 int ei_close(struct net_device *dev); 37 void ei_tx_timeout(struct net_device *dev, unsigned int txqueue); 38 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev); 39 void ei_set_multicast_list(struct net_device *dev); 40 struct net_device_stats *ei_get_stats(struct net_device *dev); 44 struct net_device *__alloc_ei_netdev(int size); [all …]
|
D | mac8390.c | 125 extern int mac8390_memtest(struct net_device *dev); 126 static int mac8390_initdev(struct net_device *dev, struct nubus_board *board, 129 static int mac8390_open(struct net_device *dev); 130 static int mac8390_close(struct net_device *dev); 131 static void mac8390_no_reset(struct net_device *dev); 132 static void interlan_reset(struct net_device *dev); 135 static void sane_get_8390_hdr(struct net_device *dev, 137 static void sane_block_input(struct net_device *dev, int count, 139 static void sane_block_output(struct net_device *dev, int count, 143 static void dayna_memcpy_fromcard(struct net_device *dev, void *to, [all …]
|
D | smc-ultra.c | 81 static int ultra_probe1(struct net_device *dev, int ioaddr); 84 static int ultra_probe_isapnp(struct net_device *dev); 87 static int ultra_open(struct net_device *dev); 88 static void ultra_reset_8390(struct net_device *dev); 89 static void ultra_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 91 static void ultra_block_input(struct net_device *dev, int count, 93 static void ultra_block_output(struct net_device *dev, int count, 95 static void ultra_pio_get_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, 97 static void ultra_pio_input(struct net_device *dev, int count, 99 static void ultra_pio_output(struct net_device *dev, int count, [all …]
|
/drivers/staging/octeon/ |
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); 87 int cvm_oct_common_init(struct net_device *dev); 88 void cvm_oct_common_uninit(struct net_device *dev); 89 void cvm_oct_adjust_link(struct net_device *dev); [all …]
|
/drivers/net/arcnet/ |
D | arcdevice.h | 198 void (*rx)(struct net_device *dev, int bufnum, 200 int (*build_header)(struct sk_buff *skb, struct net_device *dev, 204 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt, 206 int (*continue_tx)(struct net_device *dev, int bufnum); 207 int (*ack_tx)(struct net_device *dev, int acked); 269 struct net_device *dev; 320 void (*command)(struct net_device *dev, int cmd); 321 int (*status)(struct net_device *dev); 322 void (*intmask)(struct net_device *dev, int mask); 323 int (*reset)(struct net_device *dev, int really_reset); [all …]
|
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); 51 static int com90io_reset(struct net_device *dev, int really_reset); 52 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, 54 static void com90io_copy_from_card(struct net_device *dev, int bufnum, 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() [all …]
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet.h | 77 int (*setup_data)(struct net_device *dev); 78 int (*allocate_bd)(struct net_device *dev); 79 void (*free_bd)(struct net_device *dev); 80 void (*cleanup_data)(struct net_device *dev); 81 void (*set_multicast_list)(struct net_device *dev); 82 void (*adjust_link)(struct net_device *dev); 83 void (*restart)(struct net_device *dev); 84 void (*stop)(struct net_device *dev); 85 void (*napi_clear_event)(struct net_device *dev); 86 void (*napi_enable)(struct net_device *dev); [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
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() 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() 51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx() 61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx() 69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg() 77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg() 85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap() [all …]
|
/drivers/net/ |
D | net_failover.c | 30 static bool net_failover_xmit_ready(struct net_device *dev) in net_failover_xmit_ready() 35 static int net_failover_open(struct net_device *dev) in net_failover_open() 38 struct net_device *primary_dev, *standby_dev; in net_failover_open() 71 static int net_failover_close(struct net_device *dev) in net_failover_close() 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() 117 static u16 net_failover_select_queue(struct net_device *dev, in net_failover_select_queue() 119 struct net_device *sb_dev) in net_failover_select_queue() [all …]
|
/drivers/usb/gadget/function/ |
D | u_ether.h | 118 struct net_device *gether_setup_name_default(const char *netname); 127 int gether_register_netdev(struct net_device *net); 138 static inline struct net_device *gether_setup_default(void) in gether_setup_default() 150 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 161 int gether_set_dev_addr(struct net_device *net, const char *dev_addr); 172 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len); 183 int gether_set_host_addr(struct net_device *net, const char *host_addr); 194 int gether_get_host_addr(struct net_device *net, char *host_addr, int len); 206 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len); 216 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]); [all …]
|
/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 63 struct net_device *ndev; 64 struct net_device *filter_ndev; 129 static enum bonding_slave_state is_eth_active_slave_of_bonding_rcu(struct net_device *dev, in is_eth_active_slave_of_bonding_rcu() 130 struct net_device *upper) in is_eth_active_slave_of_bonding_rcu() 133 struct net_device *pdev = in is_eth_active_slave_of_bonding_rcu() 148 struct net_device *rdma_ndev, void *cookie) in is_eth_port_of_netdev_filter() 150 struct net_device *real_dev; in is_eth_port_of_netdev_filter() 172 struct net_device *rdma_ndev, void *cookie) in is_eth_port_inactive_slave_filter() 174 struct net_device *master_dev; in is_eth_port_inactive_slave_filter() 202 struct net_device *rdma_ndev, void *cookie) in is_ndev_for_default_gid_filter() [all …]
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.h | 21 struct net_device __rcu *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 * 94 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len); 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); [all …]
|
/drivers/net/ethernet/ti/ |
D | cpsw_priv.h | 309 struct net_device *ndev; 360 struct net_device *hw_bridge_dev; 366 struct net_device *ndev; 394 struct net_device *ndev; 406 struct net_device *ndev; in __aligned() 439 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf); 454 void cpsw_ndo_tx_timeout(struct net_device *ndev, unsigned int txqueue); 456 int cpsw_ndo_ioctl(struct net_device *dev, struct ifreq *req, int cmd); 457 int cpsw_ndo_set_tx_maxrate(struct net_device *ndev, int queue, u32 rate); 458 int cpsw_ndo_setup_tc(struct net_device *ndev, enum tc_setup_type type, [all …]
|
/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_config.h | 18 struct net_device *egress_dev; 26 struct net_device *dev; 31 struct net_device *bridge_ep; 32 struct net_device *rmnet_dev; 66 struct net_device *real_dev; 72 struct rmnet_port *rmnet_get_port_rcu(struct net_device *real_dev); 74 int rmnet_add_bridge(struct net_device *rmnet_dev, 75 struct net_device *slave_dev, 77 int rmnet_del_bridge(struct net_device *rmnet_dev, 78 struct net_device *slave_dev); [all …]
|
/drivers/net/hamradio/ |
D | bpqether.c | 87 static int bpq_rcv(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *… 102 struct net_device *ethdev; /* link to ethernet device */ 103 struct net_device *axdev; /* bpq device (bpq#) */ 118 static void bpq_set_lockdep_class_one(struct net_device *dev, in bpq_set_lockdep_class_one() 125 static void bpq_set_lockdep_class(struct net_device *dev) in bpq_set_lockdep_class() 137 static inline struct net_device *bpq_get_ether_dev(struct net_device *dev) in bpq_get_ether_dev() 147 static inline struct net_device *bpq_get_ax25_dev(struct net_device *dev) in bpq_get_ax25_dev() 159 static inline int dev_is_ethdev(struct net_device *dev) in dev_is_ethdev() 170 …tatic int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in bpq_rcv() 238 static netdev_tx_t bpq_xmit(struct sk_buff *skb, struct net_device *dev) in bpq_xmit() [all …]
|
/drivers/net/ethernet/natsemi/ |
D | sonic.h | 334 static int sonic_open(struct net_device *dev); 335 static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev); 337 static void sonic_rx(struct net_device *dev); 338 static int sonic_close(struct net_device *dev); 339 static struct net_device_stats *sonic_get_stats(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); 342 static void sonic_tx_timeout(struct net_device *dev, unsigned int txqueue); 343 static void sonic_msg_init(struct net_device *dev); 344 static int sonic_alloc_descriptors(struct net_device *dev); [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 39 struct net_device *netdev; 49 int mlx5i_pkey_qpn_ht_init(struct net_device *netdev) in mlx5i_pkey_qpn_ht_init() 64 void mlx5i_pkey_qpn_ht_cleanup(struct net_device *netdev) in mlx5i_pkey_qpn_ht_cleanup() 85 int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn) in mlx5i_pkey_add_qpn() 105 int mlx5i_pkey_del_qpn(struct net_device *netdev, u32 qpn) in mlx5i_pkey_del_qpn() 126 struct net_device *mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn) in mlx5i_pkey_get_netdev() 138 static int mlx5i_pkey_open(struct net_device *netdev); 139 static int mlx5i_pkey_close(struct net_device *netdev); 140 static int mlx5i_pkey_dev_init(struct net_device *dev); 141 static void mlx5i_pkey_dev_cleanup(struct net_device *netdev); [all …]
|