Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 25 of 1358) sorted by relevance

12345678910>>...55

/drivers/net/hyperv/
Dnetvsc.c43 void netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
102 struct netvsc_device *net_device; in alloc_net_device() local
104 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
105 if (!net_device) in alloc_net_device()
108 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
109 net_device->destroy = false; in alloc_net_device()
110 net_device->tx_disable = false; in alloc_net_device()
111 atomic_set(&net_device->open_cnt, 0); in alloc_net_device()
112 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
113 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
[all …]
/drivers/infiniband/ulp/ipoib/
Dipoib.h155 static inline struct ipoib_dev_priv *ipoib_priv(const struct net_device *dev) in ipoib_priv()
182 struct net_device *dev;
246 struct net_device *dev;
256 struct net_device *dev;
332 struct net_device *dev;
396 struct net_device *parent;
419 struct net_device *dev;
427 struct net_device *dev;
451 struct net_device *dev;
469 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr);
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.h26 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
27 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
28 bool rtl92e_is_tx_stuck(struct net_device *dev);
29 bool rtl92e_is_rx_stuck(struct net_device *dev);
30 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb);
31 void rtl92e_enable_rx(struct net_device *dev);
32 void rtl92e_enable_tx(struct net_device *dev);
33 void rtl92e_enable_irq(struct net_device *dev);
34 void rtl92e_disable_irq(struct net_device *dev);
35 void rtl92e_clear_irq(struct net_device *dev);
[all …]
Dr8192E_phy.h66 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath);
67 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr,
69 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);
70 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
72 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
74 void rtl92e_config_mac(struct net_device *dev);
75 bool rtl92e_check_bb_and_rf(struct net_device *dev,
78 bool rtl92e_config_bb(struct net_device *dev);
79 void rtl92e_get_tx_power(struct net_device *dev);
80 void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
[all …]
Drtl_core.h285 void (*get_eeprom_size)(struct net_device *dev);
286 void (*init_adapter_variable)(struct net_device *dev);
287 void (*init_before_adapter_start)(struct net_device *dev);
288 bool (*initialize_adapter)(struct net_device *dev);
289 void (*link_change)(struct net_device *dev);
290 void (*tx_fill_descriptor)(struct net_device *dev,
294 void (*tx_fill_cmd_descriptor)(struct net_device *dev,
298 bool (*rx_query_status_descriptor)(struct net_device *dev,
302 bool (*rx_command_packet_handler)(struct net_device *dev,
305 void (*stop_adapter)(struct net_device *dev, bool reset);
[all …]
Drtl_ps.h26 struct net_device;
30 void rtl92e_hw_wakeup(struct net_device *dev);
31 void rtl92e_enter_sleep(struct net_device *dev, u64 time);
32 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev);
33 void rtl92e_rtllib_ips_leave(struct net_device *dev);
36 void rtl92e_ips_enter(struct net_device *dev);
37 void rtl92e_ips_leave(struct net_device *dev);
39 void rtl92e_leisure_ps_enter(struct net_device *dev);
40 void rtl92e_leisure_ps_leave(struct net_device *dev);
/drivers/staging/rtl8192u/
Dr819xU_phy.h61 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath);
62 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
64 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask);
65 void rtl8192_phy_SetRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath,
67 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath,
69 void rtl8192_phy_configmac(struct net_device *dev);
70 void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
71 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
73 void rtl8192_BBConfig(struct net_device *dev);
74 void rtl8192_phy_getTxPower(struct net_device *dev);
[all …]
/drivers/net/ethernet/8390/
D8390.h25 void ei_poll(struct net_device *dev);
26 void eip_poll(struct net_device *dev);
31 void NS8390_init(struct net_device *dev, int startp);
32 int ei_open(struct net_device *dev);
33 int ei_close(struct net_device *dev);
35 void ei_tx_timeout(struct net_device *dev);
36 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
37 void ei_set_multicast_list(struct net_device *dev);
38 struct net_device_stats *ei_get_stats(struct net_device *dev);
42 struct net_device *__alloc_ei_netdev(int size);
[all …]
Dmac8390.c125 extern int mac8390_memtest(struct net_device *dev);
126 static int mac8390_initdev(struct net_device *dev, struct nubus_dev *ndev,
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 …]
Dsmc-ultra.c81 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/
Docteon-ethernet.h33 struct net_device *netdev;
46 void (*poll)(struct net_device *dev);
53 int cvm_oct_rgmii_open(struct net_device *dev);
55 int cvm_oct_sgmii_init(struct net_device *dev);
56 int cvm_oct_sgmii_open(struct net_device *dev);
58 int cvm_oct_spi_init(struct net_device *dev);
59 void cvm_oct_spi_uninit(struct net_device *dev);
61 int cvm_oct_common_init(struct net_device *dev);
62 void cvm_oct_common_uninit(struct net_device *dev);
63 void cvm_oct_adjust_link(struct net_device *dev);
[all …]
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h77 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/arcnet/
Darcdevice.h201 void (*rx)(struct net_device *dev, int bufnum,
203 int (*build_header)(struct sk_buff *skb, struct net_device *dev,
207 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
209 int (*continue_tx)(struct net_device *dev, int bufnum);
210 int (*ack_tx)(struct net_device *dev, int acked);
272 struct net_device *dev;
319 void (*command)(struct net_device *dev, int cmd);
320 int (*status)(struct net_device *dev);
321 void (*intmask)(struct net_device *dev, int mask);
322 int (*reset)(struct net_device *dev, int really_reset);
[all …]
Dcom90io.c47 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/qlogic/qede/
Dqede_dcbnl.c15 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate()
22 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate()
29 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr()
35 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx()
45 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx()
53 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx()
63 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx()
71 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg()
79 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg()
87 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap()
[all …]
/drivers/usb/gadget/function/
Du_ether.h122 struct net_device *gether_setup_name_default(const char *netname);
131 int gether_register_netdev(struct net_device *net);
142 static inline struct net_device *gether_setup_default(void) in gether_setup_default()
154 void gether_set_gadget(struct net_device *net, struct usb_gadget *g);
165 int gether_set_dev_addr(struct net_device *net, const char *dev_addr);
176 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len);
187 int gether_set_host_addr(struct net_device *net, const char *host_addr);
198 int gether_get_host_addr(struct net_device *net, char *host_addr, int len);
210 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len);
220 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
[all …]
/drivers/net/wan/
Dsbni.c105 struct net_device *second; /* for ISA/dual cards */
108 struct net_device *master;
109 struct net_device *link;
115 static int sbni_pci_probe( struct net_device * );
116 static struct net_device *sbni_probe1(struct net_device *, unsigned long, int);
117 static int sbni_open( struct net_device * );
118 static int sbni_close( struct net_device * );
120 struct net_device * );
121 static int sbni_ioctl( struct net_device *, struct ifreq *, int );
122 static void set_multicast_list( struct net_device * );
[all …]
/drivers/infiniband/core/
Droce_gid_mgmt.c65 struct net_device *ndev;
66 struct net_device *filter_ndev;
131 static enum bonding_slave_state is_eth_active_slave_of_bonding_rcu(struct net_device *dev, in is_eth_active_slave_of_bonding_rcu()
132 struct net_device *upper) in is_eth_active_slave_of_bonding_rcu()
135 struct net_device *pdev = in is_eth_active_slave_of_bonding_rcu()
149 struct net_device *rdma_ndev, void *cookie) in is_eth_port_of_netdev()
151 struct net_device *real_dev; in is_eth_port_of_netdev()
172 struct net_device *rdma_ndev, void *cookie) in is_eth_port_inactive_slave()
174 struct net_device *master_dev; in is_eth_port_inactive_slave()
190 struct net_device *rdma_ndev, void *cookie) in pass_all_filter()
[all …]
/drivers/net/
Dveth.c33 struct net_device __rcu *peer;
48 static int veth_get_link_ksettings(struct net_device *dev, in veth_get_link_ksettings()
58 static void veth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in veth_get_drvinfo()
64 static void veth_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in veth_get_strings()
73 static int veth_get_sset_count(struct net_device *dev, int sset) in veth_get_sset_count()
83 static void veth_get_ethtool_stats(struct net_device *dev, in veth_get_ethtool_stats()
87 struct net_device *peer = rtnl_dereference(priv->peer); in veth_get_ethtool_stats()
101 static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev) in veth_xmit()
104 struct net_device *rcv; in veth_xmit()
133 static u64 veth_stats_one(struct pcpu_vstats *result, struct net_device *dev) in veth_stats_one()
[all …]
Dvrf.c64 static void vrf_rx_stats(struct net_device *dev, int len) in vrf_rx_stats()
74 static void vrf_tx_error(struct net_device *vrf_dev, struct sk_buff *skb) in vrf_tx_error()
80 static void vrf_get_stats64(struct net_device *dev, in vrf_get_stats64()
110 static bool qdisc_tx_is_default(const struct net_device *dev) in qdisc_tx_is_default()
127 static int vrf_local_xmit(struct sk_buff *skb, struct net_device *dev, in vrf_local_xmit()
168 struct net_device *dev) in vrf_process_v6_outbound()
224 struct net_device *dev) in vrf_process_v6_outbound()
246 struct net_device *vrf_dev) in vrf_process_v4_outbound()
305 static netdev_tx_t is_ip_tx_frame(struct sk_buff *skb, struct net_device *dev) in is_ip_tx_frame()
318 static netdev_tx_t vrf_xmit(struct sk_buff *skb, struct net_device *dev) in vrf_xmit()
[all …]
Deql.c132 static int eql_open(struct net_device *dev);
133 static int eql_close(struct net_device *dev);
134 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
135 static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev);
177 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()
264 static int eql_enslave(struct net_device *dev, slaving_request_t __user *srq);
265 static int eql_emancipate(struct net_device *dev, slaving_request_t __user *srq);
267 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *sc);
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h188 int cxgb4_create_server(const struct net_device *dev, unsigned int stid,
191 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid,
194 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid,
196 int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid,
200 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid,
215 int __cxgb4_set_filter(struct net_device *dev, int filter_id,
218 int __cxgb4_del_filter(struct net_device *dev, int filter_id,
220 int cxgb4_set_filter(struct net_device *dev, int filter_id,
222 int cxgb4_del_filter(struct net_device *dev, int filter_id);
266 struct net_device;
[all …]
/drivers/net/cris/
Deth_v10.c82 void (*check_speed)(struct net_device* dev);
83 void (*check_duplex)(struct net_device* dev);
186 static int e100_open(struct net_device *dev);
187 static int e100_set_mac_address(struct net_device *dev, void *addr);
188 static int e100_send_packet(struct sk_buff *skb, struct net_device *dev);
191 static void e100_rx(struct net_device *dev);
192 static int e100_close(struct net_device *dev);
193 static int e100_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
194 static int e100_set_config(struct net_device* dev, struct ifmap* map);
195 static void e100_tx_timeout(struct net_device *dev);
[all …]
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c47 struct net_device *real_dev;
52 static int rmnet_is_real_dev_registered(const struct net_device *real_dev) in rmnet_is_real_dev_registered()
59 rmnet_get_port_rtnl(const struct net_device *real_dev) in rmnet_get_port_rtnl()
65 rmnet_get_endpoint(struct net_device *dev, int config_id) in rmnet_get_endpoint()
81 static int rmnet_unregister_real_device(struct net_device *real_dev, in rmnet_unregister_real_device()
98 static int rmnet_register_real_device(struct net_device *real_dev) in rmnet_register_real_device()
126 static void rmnet_set_endpoint_config(struct net_device *dev, in rmnet_set_endpoint_config()
128 struct net_device *egress_dev) in rmnet_set_endpoint_config()
145 static int rmnet_newlink(struct net *src_net, struct net_device *dev, in rmnet_newlink()
154 struct net_device *real_dev; in rmnet_newlink()
[all …]
/drivers/net/ethernet/wiznet/
Dw5100.h19 int (*read)(struct net_device *ndev, u32 addr);
20 int (*write)(struct net_device *ndev, u32 addr, u8 data);
21 int (*read16)(struct net_device *ndev, u32 addr);
22 int (*write16)(struct net_device *ndev, u32 addr, u16 data);
23 int (*readbulk)(struct net_device *ndev, u32 addr, u8 *buf, int len);
24 int (*writebulk)(struct net_device *ndev, u32 addr, const u8 *buf,
26 int (*reset)(struct net_device *ndev);
27 int (*init)(struct net_device *ndev);
30 void *w5100_ops_priv(const struct net_device *ndev);

12345678910>>...55