Lines Matching refs:dev
327 static struct iw_statistics *ipw2100_wx_wireless_stats(struct net_device *dev);
330 static inline void read_register(struct net_device *dev, u32 reg, u32 * val) in read_register() argument
332 struct ipw2100_priv *priv = libipw_priv(dev); in read_register()
338 static inline void write_register(struct net_device *dev, u32 reg, u32 val) in write_register() argument
340 struct ipw2100_priv *priv = libipw_priv(dev); in write_register()
346 static inline void read_register_word(struct net_device *dev, u32 reg, in read_register_word() argument
349 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_word()
355 static inline void read_register_byte(struct net_device *dev, u32 reg, u8 * val) in read_register_byte() argument
357 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_byte()
363 static inline void write_register_word(struct net_device *dev, u32 reg, u16 val) in write_register_word() argument
365 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_word()
371 static inline void write_register_byte(struct net_device *dev, u32 reg, u8 val) in write_register_byte() argument
373 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_byte()
379 static inline void read_nic_dword(struct net_device *dev, u32 addr, u32 * val) in read_nic_dword() argument
381 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in read_nic_dword()
383 read_register(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in read_nic_dword()
386 static inline void write_nic_dword(struct net_device *dev, u32 addr, u32 val) in write_nic_dword() argument
388 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in write_nic_dword()
390 write_register(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in write_nic_dword()
393 static inline void read_nic_word(struct net_device *dev, u32 addr, u16 * val) in read_nic_word() argument
395 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in read_nic_word()
397 read_register_word(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in read_nic_word()
400 static inline void write_nic_word(struct net_device *dev, u32 addr, u16 val) in write_nic_word() argument
402 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in write_nic_word()
404 write_register_word(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in write_nic_word()
407 static inline void read_nic_byte(struct net_device *dev, u32 addr, u8 * val) in read_nic_byte() argument
409 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in read_nic_byte()
411 read_register_byte(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in read_nic_byte()
414 static inline void write_nic_byte(struct net_device *dev, u32 addr, u8 val) in write_nic_byte() argument
416 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in write_nic_byte()
418 write_register_byte(dev, IPW_REG_INDIRECT_ACCESS_DATA, val); in write_nic_byte()
421 static void write_nic_memory(struct net_device *dev, u32 addr, u32 len, in write_nic_memory() argument
434 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in write_nic_memory()
437 write_register_byte(dev, in write_nic_memory()
446 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in write_nic_memory()
449 write_register(dev, IPW_REG_AUTOINCREMENT_DATA, *(u32 *) buf); in write_nic_memory()
453 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); in write_nic_memory()
455 write_register_byte(dev, IPW_REG_INDIRECT_ACCESS_DATA + i, in write_nic_memory()
459 static void read_nic_memory(struct net_device *dev, u32 addr, u32 len, in read_nic_memory() argument
472 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, in read_nic_memory()
475 read_register_byte(dev, in read_nic_memory()
484 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in read_nic_memory()
487 read_register(dev, IPW_REG_AUTOINCREMENT_DATA, (u32 *) buf); in read_nic_memory()
491 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); in read_nic_memory()
493 read_register_byte(dev, IPW_REG_INDIRECT_ACCESS_DATA + i, buf); in read_nic_memory()
496 static bool ipw2100_hw_is_adapter_in_system(struct net_device *dev) in ipw2100_hw_is_adapter_in_system() argument
500 read_register(dev, IPW_REG_DOA_DEBUG_AREA_START, &dbg); in ipw2100_hw_is_adapter_in_system()
1878 static int ipw2100_wdev_init(struct net_device *dev) in ipw2100_wdev_init() argument
1880 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wdev_init()
1929 set_wiphy_dev(wdev->wiphy, &priv->pci_dev->dev); in ipw2100_wdev_init()
2286 packet->dma_addr = dma_map_single(&priv->pci_dev->dev, in ipw2100_alloc_skb()
2290 if (dma_mapping_error(&priv->pci_dev->dev, packet->dma_addr)) { in ipw2100_alloc_skb()
2442 struct net_device *dev = priv->net_dev; in isr_rx() local
2451 dev->name, in isr_rx()
2453 dev->stats.rx_errors++; in isr_rx()
2457 if (unlikely(!netif_running(dev))) { in isr_rx()
2458 dev->stats.rx_errors++; in isr_rx()
2471 dma_unmap_single(&priv->pci_dev->dev, packet->dma_addr, in isr_rx()
2487 dev->name); in isr_rx()
2490 dev->stats.rx_errors++; in isr_rx()
2501 "adapter.\n", dev->name); in isr_rx()
2515 struct net_device *dev = priv->net_dev; in isr_rx_monitor() local
2533 dev->name, in isr_rx_monitor()
2536 dev->stats.rx_errors++; in isr_rx_monitor()
2540 if (unlikely(!netif_running(dev))) { in isr_rx_monitor()
2541 dev->stats.rx_errors++; in isr_rx_monitor()
2550 dev->stats.rx_errors++; in isr_rx_monitor()
2554 dma_unmap_single(&priv->pci_dev->dev, packet->dma_addr, in isr_rx_monitor()
2572 dev->stats.rx_errors++; in isr_rx_monitor()
2583 "adapter.\n", dev->name); in isr_rx_monitor()
2680 dma_sync_single_for_cpu(&priv->pci_dev->dev, packet->dma_addr, in __ipw2100_rx_process()
2914 dma_unmap_single(&priv->pci_dev->dev, tbd->host_addr, in __ipw2100_tx_process()
3155 tbd->host_addr = dma_map_single(&priv->pci_dev->dev, in ipw2100_tx_send_data()
3161 if (dma_mapping_error(&priv->pci_dev->dev, tbd->host_addr)) { in ipw2100_tx_send_data()
3170 dma_sync_single_for_device(&priv->pci_dev->dev, in ipw2100_tx_send_data()
3198 struct net_device *dev = priv->net_dev; in ipw2100_irq_tasklet() local
3205 read_register(dev, IPW_REG_INTA, &inta); in ipw2100_irq_tasklet()
3223 write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); in ipw2100_irq_tasklet()
3225 read_nic_dword(dev, IPW_NIC_FATAL_ERROR, &priv->fatal_error); in ipw2100_irq_tasklet()
3229 read_nic_dword(dev, IPW_ERROR_ADDR(priv->fatal_error), &tmp); in ipw2100_irq_tasklet()
3241 write_register(dev, IPW_REG_INTA, IPW2100_INTA_PARITY_ERROR); in ipw2100_irq_tasklet()
3249 write_register(dev, IPW_REG_INTA, IPW2100_INTA_RX_TRANSFER); in ipw2100_irq_tasklet()
3260 write_register(dev, IPW_REG_INTA, IPW2100_INTA_TX_TRANSFER); in ipw2100_irq_tasklet()
3270 write_register(dev, IPW_REG_INTA, IPW2100_INTA_TX_COMPLETE); in ipw2100_irq_tasklet()
3278 write_register(dev, IPW_REG_INTA, IPW2100_INTA_EVENT_INTERRUPT); in ipw2100_irq_tasklet()
3285 read_register(dev, IPW_REG_INTA, &tmp); in ipw2100_irq_tasklet()
3288 write_register(dev, IPW_REG_INTA, in ipw2100_irq_tasklet()
3293 write_register(dev, IPW_REG_INTA, IPW2100_INTA_FW_INIT_DONE); in ipw2100_irq_tasklet()
3299 write_register(dev, IPW_REG_INTA, IPW2100_INTA_STATUS_CHANGE); in ipw2100_irq_tasklet()
3305 write_register(dev, IPW_REG_INTA, in ipw2100_irq_tasklet()
3368 struct net_device *dev, int pri) in ipw2100_tx() argument
3370 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_tx()
3380 netif_stop_queue(dev); in ipw2100_tx()
3409 netif_stop_queue(dev); in ipw2100_tx()
3428 v = dma_alloc_coherent(&priv->pci_dev->dev, in ipw2100_msg_allocate()
3449 dma_free_coherent(&priv->pci_dev->dev, in ipw2100_msg_allocate()
3483 dma_free_coherent(&priv->pci_dev->dev, in ipw2100_msg_free()
3782 struct net_device *dev = priv->net_dev; in registers_show() local
3789 read_register(dev, hw_data[i].addr, &val); in registers_show()
3803 struct net_device *dev = priv->net_dev; in hardware_show() local
3816 read_nic_byte(dev, nic_data[i].addr, &tmp8); in hardware_show()
3822 read_nic_word(dev, nic_data[i].addr, &tmp16); in hardware_show()
3828 read_nic_dword(dev, nic_data[i].addr, &tmp32); in hardware_show()
3844 struct net_device *dev = priv->net_dev; in memory_show() local
3863 read_nic_dword(dev, loop + i * 4, &buffer[i]); in memory_show()
3901 struct net_device *dev = priv->net_dev; in memory_store() local
3904 (void)dev; /* kill unused-var warning for debug-only code */ in memory_store()
3912 dev->name); in memory_store()
3918 dev->name); in memory_store()
3922 IPW_DEBUG_INFO("%s: Resetting firmware snapshot.\n", dev->name); in memory_store()
3927 "reset = clear memory snapshot\n", dev->name); in memory_store()
4204 struct net_device *dev = priv->net_dev; in scan_age_store() local
4208 (void)dev; /* kill unused-var warning for debug-only code */ in scan_age_store()
4214 IPW_DEBUG_INFO("%s: user supplied invalid value.\n", dev->name); in scan_age_store()
4309 q->drv = dma_alloc_coherent(&priv->pci_dev->dev, q->size, &q->nic, in status_queue_allocate()
4326 dma_free_coherent(&priv->pci_dev->dev, in status_queue_free()
4345 q->drv = dma_alloc_coherent(&priv->pci_dev->dev, q->size, &q->nic, in bd_queue_allocate()
4366 dma_free_coherent(&priv->pci_dev->dev, q->size, q->drv, in bd_queue_free()
4427 v = dma_alloc_coherent(&priv->pci_dev->dev, in ipw2100_tx_allocate()
4449 dma_free_coherent(&priv->pci_dev->dev, in ipw2100_tx_allocate()
4529 dma_free_coherent(&priv->pci_dev->dev, in ipw2100_tx_free()
4595 dma_unmap_single(&priv->pci_dev->dev, in ipw2100_rx_allocate()
4650 dma_unmap_single(&priv->pci_dev->dev, in ipw2100_rx_free()
5551 static void shim__set_security(struct net_device *dev, in shim__set_security() argument
5554 struct ipw2100_priv *priv = libipw_priv(dev); in shim__set_security()
5740 static int ipw2100_set_address(struct net_device *dev, void *p) in ipw2100_set_address() argument
5742 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_set_address()
5768 static int ipw2100_open(struct net_device *dev) in ipw2100_open() argument
5770 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_open()
5776 netif_carrier_on(dev); in ipw2100_open()
5777 netif_start_queue(dev); in ipw2100_open()
5784 static int ipw2100_close(struct net_device *dev) in ipw2100_close() argument
5786 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_close()
5796 netif_carrier_off(dev); in ipw2100_close()
5797 netif_stop_queue(dev); in ipw2100_close()
5823 static void ipw2100_tx_timeout(struct net_device *dev, unsigned int txqueue) in ipw2100_tx_timeout() argument
5825 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_tx_timeout()
5827 dev->stats.tx_errors++; in ipw2100_tx_timeout()
5835 dev->name); in ipw2100_tx_timeout()
5869 ieee->set_security(ieee->dev, &sec); in ipw2100_wpa_set_auth_algs()
5893 static void ipw_ethtool_get_drvinfo(struct net_device *dev, in ipw_ethtool_get_drvinfo() argument
5896 struct ipw2100_priv *priv = libipw_priv(dev); in ipw_ethtool_get_drvinfo()
5912 static u32 ipw2100_ethtool_get_link(struct net_device *dev) in ipw2100_ethtool_get_link() argument
5914 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_ethtool_get_link()
6013 struct net_device *dev; in ipw2100_alloc_device() local
6015 dev = alloc_libipw(sizeof(struct ipw2100_priv), 0); in ipw2100_alloc_device()
6016 if (!dev) in ipw2100_alloc_device()
6018 priv = libipw_priv(dev); in ipw2100_alloc_device()
6019 priv->ieee = netdev_priv(dev); in ipw2100_alloc_device()
6021 priv->net_dev = dev; in ipw2100_alloc_device()
6030 dev->netdev_ops = &ipw2100_netdev_ops; in ipw2100_alloc_device()
6031 dev->ethtool_ops = &ipw2100_ethtool_ops; in ipw2100_alloc_device()
6032 dev->wireless_handlers = &ipw2100_wx_handler_def; in ipw2100_alloc_device()
6034 dev->wireless_data = &priv->wireless_data; in ipw2100_alloc_device()
6035 dev->watchdog_timeo = 3 * HZ; in ipw2100_alloc_device()
6036 dev->irq = 0; in ipw2100_alloc_device()
6037 dev->min_mtu = 68; in ipw2100_alloc_device()
6038 dev->max_mtu = LIBIPW_DATA_LEN; in ipw2100_alloc_device()
6104 netif_carrier_off(dev); in ipw2100_alloc_device()
6132 return dev; in ipw2100_alloc_device()
6139 struct net_device *dev = NULL; in ipw2100_pci_init_one() local
6162 dev = ipw2100_alloc_device(pci_dev, ioaddr); in ipw2100_pci_init_one()
6163 if (!dev) { in ipw2100_pci_init_one()
6178 priv = libipw_priv(dev); in ipw2100_pci_init_one()
6183 err = dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32)); in ipw2100_pci_init_one()
6205 if (!ipw2100_hw_is_adapter_in_system(dev)) { in ipw2100_pci_init_one()
6212 SET_NETDEV_DEV(dev, &pci_dev->dev); in ipw2100_pci_init_one()
6228 ipw2100_interrupt, IRQF_SHARED, dev->name, priv); in ipw2100_pci_init_one()
6234 dev->irq = pci_dev->irq; in ipw2100_pci_init_one()
6245 err = ipw2100_wdev_init(dev); in ipw2100_pci_init_one()
6255 err = register_netdev(dev); in ipw2100_pci_init_one()
6265 IPW_DEBUG_INFO("%s: Bound to %s\n", dev->name, pci_name(pci_dev)); in ipw2100_pci_init_one()
6268 err = sysfs_create_group(&pci_dev->dev.kobj, &ipw2100_attribute_group); in ipw2100_pci_init_one()
6301 if (dev) { in ipw2100_pci_init_one()
6303 unregister_netdev(dev); in ipw2100_pci_init_one()
6314 if (dev->irq) in ipw2100_pci_init_one()
6315 free_irq(dev->irq, priv); in ipw2100_pci_init_one()
6321 sysfs_remove_group(&pci_dev->dev.kobj, in ipw2100_pci_init_one()
6324 free_libipw(dev, 0); in ipw2100_pci_init_one()
6337 struct net_device *dev = priv->net_dev; in ipw2100_pci_remove_one() local
6343 sysfs_remove_group(&pci_dev->dev.kobj, &ipw2100_attribute_group); in ipw2100_pci_remove_one()
6360 unregister_netdev(dev); in ipw2100_pci_remove_one()
6369 free_irq(dev->irq, priv); in ipw2100_pci_remove_one()
6376 free_libipw(dev, 0); in ipw2100_pci_remove_one()
6387 struct net_device *dev = priv->net_dev; in ipw2100_suspend() local
6389 IPW_DEBUG_INFO("%s: Going into suspend...\n", dev->name); in ipw2100_suspend()
6398 netif_device_detach(dev); in ipw2100_suspend()
6411 struct net_device *dev = priv->net_dev; in ipw2100_resume() local
6419 IPW_DEBUG_INFO("%s: Coming out of suspend...\n", dev->name); in ipw2100_resume()
6433 netif_device_attach(dev); in ipw2100_resume()
6570 static int ipw2100_wx_get_name(struct net_device *dev, in ipw2100_wx_get_name() argument
6578 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_name()
6588 static int ipw2100_wx_set_freq(struct net_device *dev, in ipw2100_wx_set_freq() argument
6592 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_freq()
6634 static int ipw2100_wx_get_freq(struct net_device *dev, in ipw2100_wx_get_freq() argument
6642 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_freq()
6659 static int ipw2100_wx_set_mode(struct net_device *dev, in ipw2100_wx_set_mode() argument
6663 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_mode()
6698 static int ipw2100_wx_get_mode(struct net_device *dev, in ipw2100_wx_get_mode() argument
6706 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_mode()
6733 static int ipw2100_wx_get_range(struct net_device *dev, in ipw2100_wx_get_range() argument
6741 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_range()
6858 static int ipw2100_wx_set_wap(struct net_device *dev, in ipw2100_wx_set_wap() argument
6862 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_wap()
6896 static int ipw2100_wx_get_wap(struct net_device *dev, in ipw2100_wx_get_wap() argument
6904 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_wap()
6918 static int ipw2100_wx_set_essid(struct net_device *dev, in ipw2100_wx_set_essid() argument
6922 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_essid()
6967 static int ipw2100_wx_get_essid(struct net_device *dev, in ipw2100_wx_get_essid() argument
6975 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_essid()
6994 static int ipw2100_wx_set_nick(struct net_device *dev, in ipw2100_wx_set_nick() argument
7002 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_nick()
7016 static int ipw2100_wx_get_nick(struct net_device *dev, in ipw2100_wx_get_nick() argument
7024 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_nick()
7035 static int ipw2100_wx_set_rate(struct net_device *dev, in ipw2100_wx_set_rate() argument
7039 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_rate()
7075 static int ipw2100_wx_get_rate(struct net_device *dev, in ipw2100_wx_get_rate() argument
7079 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_rate()
7127 static int ipw2100_wx_set_rts(struct net_device *dev, in ipw2100_wx_set_rts() argument
7131 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_rts()
7162 static int ipw2100_wx_get_rts(struct net_device *dev, in ipw2100_wx_get_rts() argument
7170 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_rts()
7183 static int ipw2100_wx_set_txpow(struct net_device *dev, in ipw2100_wx_set_txpow() argument
7187 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_txpow()
7224 static int ipw2100_wx_get_txpow(struct net_device *dev, in ipw2100_wx_get_txpow() argument
7232 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_txpow()
7251 static int ipw2100_wx_set_frag(struct net_device *dev, in ipw2100_wx_set_frag() argument
7259 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_frag()
7281 static int ipw2100_wx_get_frag(struct net_device *dev, in ipw2100_wx_get_frag() argument
7289 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_frag()
7299 static int ipw2100_wx_set_retry(struct net_device *dev, in ipw2100_wx_set_retry() argument
7303 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_retry()
7343 static int ipw2100_wx_get_retry(struct net_device *dev, in ipw2100_wx_get_retry() argument
7351 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_retry()
7375 static int ipw2100_wx_set_scan(struct net_device *dev, in ipw2100_wx_set_scan() argument
7379 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_scan()
7403 static int ipw2100_wx_get_scan(struct net_device *dev, in ipw2100_wx_get_scan() argument
7411 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_scan()
7418 static int ipw2100_wx_set_encode(struct net_device *dev, in ipw2100_wx_set_encode() argument
7426 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_encode()
7430 static int ipw2100_wx_get_encode(struct net_device *dev, in ipw2100_wx_get_encode() argument
7438 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_encode()
7442 static int ipw2100_wx_set_power(struct net_device *dev, in ipw2100_wx_set_power() argument
7446 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_power()
7487 static int ipw2100_wx_get_power(struct net_device *dev, in ipw2100_wx_get_power() argument
7495 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_power()
7514 static int ipw2100_wx_set_genie(struct net_device *dev, in ipw2100_wx_set_genie() argument
7519 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_genie()
7550 static int ipw2100_wx_get_genie(struct net_device *dev, in ipw2100_wx_get_genie() argument
7554 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_genie()
7572 static int ipw2100_wx_set_auth(struct net_device *dev, in ipw2100_wx_set_auth() argument
7576 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_auth()
7637 priv->ieee->set_security(priv->ieee->dev, &sec); in ipw2100_wx_set_auth()
7665 static int ipw2100_wx_get_auth(struct net_device *dev, in ipw2100_wx_get_auth() argument
7669 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_auth()
7725 static int ipw2100_wx_set_encodeext(struct net_device *dev, in ipw2100_wx_set_encodeext() argument
7729 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_encodeext()
7734 static int ipw2100_wx_get_encodeext(struct net_device *dev, in ipw2100_wx_get_encodeext() argument
7738 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_encodeext()
7743 static int ipw2100_wx_set_mlme(struct net_device *dev, in ipw2100_wx_set_mlme() argument
7747 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_mlme()
7771 static int ipw2100_wx_set_promisc(struct net_device *dev, in ipw2100_wx_set_promisc() argument
7775 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_promisc()
7802 static int ipw2100_wx_reset(struct net_device *dev, in ipw2100_wx_reset() argument
7806 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_reset()
7814 static int ipw2100_wx_set_powermode(struct net_device *dev, in ipw2100_wx_set_powermode() argument
7818 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_powermode()
7838 static int ipw2100_wx_get_powermode(struct net_device *dev, in ipw2100_wx_get_powermode() argument
7846 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_powermode()
7878 static int ipw2100_wx_set_preamble(struct net_device *dev, in ipw2100_wx_set_preamble() argument
7882 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_preamble()
7907 static int ipw2100_wx_get_preamble(struct net_device *dev, in ipw2100_wx_get_preamble() argument
7915 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_preamble()
7926 static int ipw2100_wx_set_crc_check(struct net_device *dev, in ipw2100_wx_set_crc_check() argument
7930 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_crc_check()
7954 static int ipw2100_wx_get_crc_check(struct net_device *dev, in ipw2100_wx_get_crc_check() argument
7962 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_crc_check()
8080 static struct iw_statistics *ipw2100_wx_wireless_stats(struct net_device *dev) in ipw2100_wx_wireless_stats() argument
8095 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_wireless_stats()
8360 rc = request_firmware(&fw->fw_entry, fw_name, &priv->pci_dev->dev); in ipw2100_get_firmware()
8483 struct net_device *dev = priv->net_dev; in ipw2100_ucode_download() local
8493 write_nic_word(dev, IPW2100_CONTROL_REG, 0x703); in ipw2100_ucode_download()
8495 write_nic_word(dev, IPW2100_CONTROL_REG, 0x707); in ipw2100_ucode_download()
8499 write_nic_byte(dev, 0x210014, 0x72); /* fifo width =16 */ in ipw2100_ucode_download()
8501 write_nic_byte(dev, 0x210014, 0x72); /* fifo width =16 */ in ipw2100_ucode_download()
8505 write_nic_byte(dev, 0x210000, 0x40); in ipw2100_ucode_download()
8507 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
8509 write_nic_byte(dev, 0x210000, 0x40); in ipw2100_ucode_download()
8515 write_nic_byte(dev, 0x210010, *microcode_data++); in ipw2100_ucode_download()
8516 write_nic_byte(dev, 0x210010, *microcode_data++); in ipw2100_ucode_download()
8521 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
8526 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
8528 write_nic_byte(dev, 0x210000, 0x80); in ipw2100_ucode_download()
8532 write_nic_word(dev, IPW2100_CONTROL_REG, 0x703); in ipw2100_ucode_download()
8534 write_nic_word(dev, IPW2100_CONTROL_REG, 0x707); in ipw2100_ucode_download()
8538 write_nic_byte(dev, 0x210014, 0x72); // fifo width =16 in ipw2100_ucode_download()
8540 write_nic_byte(dev, 0x210014, 0x72); // fifo width =16 in ipw2100_ucode_download()
8545 write_nic_byte(dev, 0x210000, 0x00); // clear enable system in ipw2100_ucode_download()
8547 write_nic_byte(dev, 0x210000, 0x80); // set enable system in ipw2100_ucode_download()
8555 read_nic_byte(dev, 0x210000, &data); in ipw2100_ucode_download()
8562 dev->name); in ipw2100_ucode_download()
8571 read_nic_word(dev, 0x210004, ((u16 *) & response) + j); in ipw2100_ucode_download()
8581 dev->name); in ipw2100_ucode_download()