Home
last modified time | relevance | path

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

12345678910>>...40

/drivers/net/hyperv/
Dnetvsc.c38 struct netvsc_device *net_device; in alloc_net_device() local
39 struct net_device *ndev = hv_get_drvdata(device); in alloc_net_device()
41 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
42 if (!net_device) in alloc_net_device()
45 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
46 net_device->start_remove = false; in alloc_net_device()
47 net_device->destroy = false; in alloc_net_device()
48 net_device->dev = device; in alloc_net_device()
49 net_device->ndev = ndev; in alloc_net_device()
51 hv_set_drvdata(device, net_device); in alloc_net_device()
[all …]
/drivers/staging/vt6656/
Diwctl.h34 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
36 int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
39 int iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
42 int iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
45 int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
48 int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
51 int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
54 int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
57 int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
60 int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
[all …]
/drivers/staging/vt6655/
Diwctl.h42 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
44 int iwctl_siwap(struct net_device *dev,
49 int iwctl_giwrange(struct net_device *dev,
54 int iwctl_giwmode(struct net_device *dev,
59 int iwctl_siwmode(struct net_device *dev,
64 int iwctl_giwfreq(struct net_device *dev,
69 int iwctl_siwfreq(struct net_device *dev,
74 int iwctl_giwname(struct net_device *dev,
79 int iwctl_giwsens(struct net_device *dev,
84 int iwctl_giwap(struct net_device *dev,
[all …]
/drivers/infiniband/ulp/ipoib/
Dipoib.h153 struct net_device *dev;
216 struct net_device *dev;
226 struct net_device *dev;
296 struct net_device *dev;
359 struct net_device *parent;
379 struct net_device *dev;
387 struct net_device *dev;
411 struct net_device *dev;
434 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr);
436 struct net_device *dev);
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.h31 bool rtl8192_GetHalfNmodeSupportByAPs(struct net_device *dev);
32 bool rtl8192_GetNmodeSupportBySecCfg(struct net_device *dev);
33 bool rtl8192_HalTxCheckStuck(struct net_device *dev);
34 bool rtl8192_HalRxCheckStuck(struct net_device *dev);
35 void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
37 void rtl8192_enable_rx(struct net_device *dev);
38 void rtl8192_enable_tx(struct net_device *dev);
39 void rtl8192_EnableInterrupt(struct net_device *dev);
40 void rtl8192_DisableInterrupt(struct net_device *dev);
41 void rtl8192_ClearInterrupt(struct net_device *dev);
[all …]
Drtl_dm.h268 extern void init_hal_dm(struct net_device *dev);
269 extern void deinit_hal_dm(struct net_device *dev);
271 extern void hal_dm_watchdog(struct net_device *dev);
274 extern void init_rate_adaptive(struct net_device *dev);
277 extern void dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
279 extern void dm_restore_dynamic_mechanism_state(struct net_device *dev);
280 extern void dm_backup_dynamic_mechanism_state(struct net_device *dev);
281 extern void dm_change_dynamic_initgain_thresh(struct net_device *dev,
284 extern void DM_ChangeFsyncSetting(struct net_device *dev,
287 extern void dm_force_tx_fw_info(struct net_device *dev,
[all …]
Dr8192E_phy.h76 extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev,
78 extern void rtl8192_setBBreg(struct net_device *dev, u32 dwRegAddr,
80 extern u32 rtl8192_QueryBBReg(struct net_device *dev, u32 dwRegAddr,
82 extern void rtl8192_phy_SetRFReg(struct net_device *dev,
85 extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
88 extern void rtl8192_phy_configmac(struct net_device *dev);
89 extern void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
90 extern bool rtl8192_phy_checkBBAndRF(struct net_device *dev,
93 extern bool rtl8192_BBConfig(struct net_device *dev);
94 extern void rtl8192_phy_getTxPower(struct net_device *dev);
[all …]
Drtl_core.h499 void (*get_eeprom_size)(struct net_device *dev);
500 void (*init_adapter_variable)(struct net_device *dev);
501 void (*init_before_adapter_start)(struct net_device *dev);
502 bool (*initialize_adapter)(struct net_device *dev);
503 void (*link_change)(struct net_device *dev);
504 void (*tx_fill_descriptor)(struct net_device *dev,
508 void (*tx_fill_cmd_descriptor)(struct net_device *dev,
512 bool (*rx_query_status_descriptor)(struct net_device *dev,
516 bool (*rx_command_packet_handler)(struct net_device *dev,
519 void (*stop_adapter)(struct net_device *dev, bool reset);
[all …]
Drtl_cam.h29 struct net_device;
31 void CamResetAllEntry(struct net_device *dev);
32 void EnableHWSecurityConfig8192(struct net_device *dev);
33 void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType,
35 void set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType,
37 void CamPrintDbgReg(struct net_device *dev);
39 u32 read_cam(struct net_device *dev, u8 addr);
40 void write_cam(struct net_device *dev, u8 addr, u32 data);
42 void CamRestoreAllEntry(struct net_device *dev);
44 void CAM_read_entry(struct net_device *dev, u32 iIndex);
Drtl_ps.h30 struct net_device;
35 void rtl8192_hw_wakeup(struct net_device *dev);
36 void rtl8192_hw_to_sleep(struct net_device *dev, u64 time);
37 void rtllib_ips_leave_wq(struct net_device *dev);
38 void rtllib_ips_leave(struct net_device *dev);
41 void IPSEnter(struct net_device *dev);
42 void IPSLeave(struct net_device *dev);
44 void LeisurePSEnter(struct net_device *dev);
45 void LeisurePSLeave(struct net_device *dev);
/drivers/net/
DSpace.c40 extern struct net_device *hp100_probe(int unit);
41 extern struct net_device *ultra_probe(int unit);
42 extern struct net_device *wd_probe(int unit);
43 extern struct net_device *ne_probe(int unit);
44 extern struct net_device *fmv18x_probe(int unit);
45 extern struct net_device *i82596_probe(int unit);
46 extern struct net_device *ni65_probe(int unit);
47 extern struct net_device *sonic_probe(int unit);
48 extern struct net_device *smc_init(int unit);
49 extern struct net_device *atarilance_probe(int unit);
[all …]
/drivers/staging/octeon/
Docteon-ethernet.h61 void (*poll) (struct net_device *dev);
69 extern int cvm_oct_rgmii_init(struct net_device *dev);
70 extern void cvm_oct_rgmii_uninit(struct net_device *dev);
71 extern int cvm_oct_rgmii_open(struct net_device *dev);
72 extern int cvm_oct_rgmii_stop(struct net_device *dev);
74 extern int cvm_oct_sgmii_init(struct net_device *dev);
75 extern void cvm_oct_sgmii_uninit(struct net_device *dev);
76 extern int cvm_oct_sgmii_open(struct net_device *dev);
77 extern int cvm_oct_sgmii_stop(struct net_device *dev);
79 extern int cvm_oct_spi_init(struct net_device *dev);
[all …]
/drivers/staging/wlags49_h2/
Dwl_netdev.h71 int wl_init(struct net_device *dev);
73 int wl_config(struct net_device *dev, struct ifmap *map);
75 struct net_device *wl_device_alloc(void);
77 void wl_device_dealloc(struct net_device *dev);
79 int wl_open(struct net_device *dev);
81 int wl_close(struct net_device *dev);
83 int wl_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
85 int wl_tx(struct sk_buff *skb, struct net_device *dev, int port);
89 int wl_rx(struct net_device *dev);
91 void wl_tx_timeout(struct net_device *dev);
[all …]
Dwl_wext.h69 struct iw_statistics *wl_wireless_stats( struct net_device *dev );
71 struct iw_statistics * wl_get_wireless_stats( struct net_device *dev );
73 inline void wl_spy_gather (struct net_device *dev, u_char *mac);
75 void wl_wext_event_freq( struct net_device *dev );
76 void wl_wext_event_mode( struct net_device *dev );
77 void wl_wext_event_essid( struct net_device *dev );
78 void wl_wext_event_encode( struct net_device *dev );
79 void wl_wext_event_ap( struct net_device *dev );
80 void wl_wext_event_scan_complete( struct net_device *dev );
81 void wl_wext_event_new_sta( struct net_device *dev );
[all …]
/drivers/staging/rtl8192u/
Dr819xU_phy.h61 extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device* dev, u32 eRFPath);
62 extern void rtl8192_setBBreg(struct net_device* dev, u32 dwRegAddr, u32 dwBitMask, u32 dwData);
63 extern u32 rtl8192_QueryBBReg(struct net_device* dev, u32 dwRegAddr, u32 dwBitMask);
66 extern void rtl8192_phy_SetRFReg(struct net_device* dev, RF90_RADIO_PATH_E eRFPath, u32 RegAddr, u3…
67 extern u32 rtl8192_phy_QueryRFReg(struct net_device* dev, RF90_RADIO_PATH_E eRFPath, u32 RegAddr, u…
68 extern void rtl8192_phy_configmac(struct net_device* dev);
69 extern void rtl8192_phyConfigBB(struct net_device* dev, u8 ConfigType);
71 extern u8 rtl8192_phy_checkBBAndRF(struct net_device* dev, HW90_BLOCK_E CheckBlock, RF90_RADIO_PATH…
73 extern void rtl8192_BBConfig(struct net_device* dev);
74 extern void rtl8192_phy_getTxPower(struct net_device* dev);
[all …]
/drivers/staging/rtl8187se/
Dr8180.h339 struct net_device *dev;
363 short (*rf_set_sens)(struct net_device *dev,short sens);
364 void (*rf_set_chan)(struct net_device *dev,short ch);
365 void (*rf_close)(struct net_device *dev);
366 void (*rf_init)(struct net_device *dev);
367 void (*rf_sleep)(struct net_device *dev);
368 void (*rf_wakeup)(struct net_device *dev);
642 short rtl8180_tx(struct net_device *dev,u8* skbuf, int len,int priority,
645 u8 read_nic_byte(struct net_device *dev, int x);
646 u32 read_nic_dword(struct net_device *dev, int x);
[all …]
Dr8180_rtl8225.h22 void rtl8225z2_rf_init(struct net_device *dev);
23 void rtl8225z2_rf_set_chan(struct net_device *dev, short ch);
24 void rtl8225z2_rf_close(struct net_device *dev);
26 void RF_WriteReg(struct net_device *dev, u8 offset, u16 data);
27 u16 RF_ReadReg(struct net_device *dev, u8 offset);
29 void rtl8180_set_mode(struct net_device *dev, int mode);
30 void rtl8180_set_mode(struct net_device *dev, int mode);
31 bool SetZebraRFPowerState8185(struct net_device *dev, RT_RF_POWER_STATE eRFPowerState);
32 void rtl8225z4_rf_sleep(struct net_device *dev);
33 void rtl8225z4_rf_wakeup(struct net_device *dev);
/drivers/net/ethernet/8390/
D8390.h31 extern void ei_poll(struct net_device *dev);
32 extern void eip_poll(struct net_device *dev);
37 extern void NS8390_init(struct net_device *dev, int startp);
38 extern int ei_open(struct net_device *dev);
39 extern int ei_close(struct net_device *dev);
41 extern void ei_tx_timeout(struct net_device *dev);
42 extern netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
43 extern void ei_set_multicast_list(struct net_device *dev);
44 extern struct net_device_stats *ei_get_stats(struct net_device *dev);
48 extern 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/net/ethernet/freescale/fs_enet/
Dfs_enet.h76 int (*setup_data)(struct net_device *dev);
77 int (*allocate_bd)(struct net_device *dev);
78 void (*free_bd)(struct net_device *dev);
79 void (*cleanup_data)(struct net_device *dev);
80 void (*set_multicast_list)(struct net_device *dev);
81 void (*adjust_link)(struct net_device *dev);
82 void (*restart)(struct net_device *dev);
83 void (*stop)(struct net_device *dev);
84 void (*napi_clear_rx_event)(struct net_device *dev);
85 void (*napi_enable_rx)(struct net_device *dev);
[all …]
/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000.h41 struct net_device;
42 extern struct net_device *init_ft1000_card(struct pcmcia_device *link,
44 extern void stop_ft1000_card(struct net_device *dev);
45 extern int card_download(struct net_device *dev, const u8 *pFileStart,
47 extern void ft1000InitProc(struct net_device *dev);
48 extern void ft1000CleanupProc(struct net_device *dev);
50 extern u16 ft1000_read_dpram(struct net_device *dev, int offset);
51 extern void card_bootload(struct net_device *dev);
52 extern u16 ft1000_read_dpram_mag_16(struct net_device *dev, int offset, int Index);
53 extern u32 ft1000_read_dpram_mag_32(struct net_device *dev, int offset);
[all …]
/drivers/net/wan/
Dsbni.c104 struct net_device *second; /* for ISA/dual cards */
107 struct net_device *master;
108 struct net_device *link;
114 static int sbni_pci_probe( struct net_device * );
115 static struct net_device *sbni_probe1(struct net_device *, unsigned long, int);
116 static int sbni_open( struct net_device * );
117 static int sbni_close( struct net_device * );
119 struct net_device * );
120 static int sbni_ioctl( struct net_device *, struct ifreq *, int );
121 static void set_multicast_list( struct net_device * );
[all …]
/drivers/net/cris/
Deth_v10.c84 void (*check_speed)(struct net_device* dev);
85 void (*check_duplex)(struct net_device* dev);
188 static int e100_open(struct net_device *dev);
189 static int e100_set_mac_address(struct net_device *dev, void *addr);
190 static int e100_send_packet(struct sk_buff *skb, struct net_device *dev);
193 static void e100_rx(struct net_device *dev);
194 static int e100_close(struct net_device *dev);
195 static int e100_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
196 static int e100_set_config(struct net_device* dev, struct ifmap* map);
197 static void e100_tx_timeout(struct net_device *dev);
[all …]
/drivers/net/ieee802154/
Dfakehard.c39 static struct wpan_phy *fake_to_phy(const struct net_device *dev) in fake_to_phy()
54 static struct wpan_phy *fake_get_phy(const struct net_device *dev) in fake_get_phy()
66 static u16 fake_get_pan_id(const struct net_device *dev) in fake_get_pan_id()
81 static u16 fake_get_short_addr(const struct net_device *dev) in fake_get_short_addr()
101 static u8 fake_get_dsn(const struct net_device *dev) in fake_get_dsn()
121 static int fake_assoc_req(struct net_device *dev, in fake_assoc_req()
151 static int fake_assoc_resp(struct net_device *dev, in fake_assoc_resp()
169 static int fake_disassoc_req(struct net_device *dev, in fake_disassoc_req()
194 static int fake_start_req(struct net_device *dev, struct ieee802154_addr *addr, in fake_start_req()
226 static int fake_scan_req(struct net_device *dev, u8 type, u32 channels, in fake_scan_req()
[all …]

12345678910>>...40