Lines Matching refs:ipw2100_priv

307 static void ipw2100_tx_send_commands(struct ipw2100_priv *priv);
308 static void ipw2100_tx_send_data(struct ipw2100_priv *priv);
309 static int ipw2100_adapter_setup(struct ipw2100_priv *priv);
311 static void ipw2100_queues_initialize(struct ipw2100_priv *priv);
312 static void ipw2100_queues_free(struct ipw2100_priv *priv);
313 static int ipw2100_queues_allocate(struct ipw2100_priv *priv);
315 static int ipw2100_fw_download(struct ipw2100_priv *priv,
317 static int ipw2100_get_firmware(struct ipw2100_priv *priv,
319 static int ipw2100_get_fwversion(struct ipw2100_priv *priv, char *buf,
321 static int ipw2100_get_ucodeversion(struct ipw2100_priv *priv, char *buf,
323 static void ipw2100_release_firmware(struct ipw2100_priv *priv,
325 static int ipw2100_ucode_download(struct ipw2100_priv *priv,
333 struct ipw2100_priv *priv = libipw_priv(dev); in read_register()
341 struct ipw2100_priv *priv = libipw_priv(dev); in write_register()
350 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_word()
358 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_byte()
366 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_word()
374 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_byte()
517 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, in ipw2100_get_ordinal()
596 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, in ipw2100_set_ordinal()
679 static void schedule_reset(struct ipw2100_priv *priv) in schedule_reset()
715 static int ipw2100_hw_send_command(struct ipw2100_priv *priv, in ipw2100_hw_send_command()
833 static int ipw2100_verify(struct ipw2100_priv *priv) in ipw2100_verify()
877 static int ipw2100_wait_for_card_state(struct ipw2100_priv *priv, int state) in ipw2100_wait_for_card_state()
920 static int sw_reset_and_clock(struct ipw2100_priv *priv) in sw_reset_and_clock()
979 static int ipw2100_download_firmware(struct ipw2100_priv *priv) in ipw2100_download_firmware()
1102 static inline void ipw2100_enable_interrupts(struct ipw2100_priv *priv) in ipw2100_enable_interrupts()
1110 static inline void ipw2100_disable_interrupts(struct ipw2100_priv *priv) in ipw2100_disable_interrupts()
1118 static void ipw2100_initialize_ordinals(struct ipw2100_priv *priv) in ipw2100_initialize_ordinals()
1140 static inline void ipw2100_hw_set_gpio(struct ipw2100_priv *priv) in ipw2100_hw_set_gpio()
1152 static int rf_kill_active(struct ipw2100_priv *priv) in rf_kill_active()
1184 static int ipw2100_get_hw_features(struct ipw2100_priv *priv) in ipw2100_get_hw_features()
1232 static int ipw2100_start_adapter(struct ipw2100_priv *priv) in ipw2100_start_adapter()
1332 static inline void ipw2100_reset_fatalerror(struct ipw2100_priv *priv) in ipw2100_reset_fatalerror()
1343 static int ipw2100_power_cycle_adapter(struct ipw2100_priv *priv) in ipw2100_power_cycle_adapter()
1396 static int ipw2100_hw_phy_off(struct ipw2100_priv *priv) in ipw2100_hw_phy_off()
1430 static int ipw2100_enable_adapter(struct ipw2100_priv *priv) in ipw2100_enable_adapter()
1474 static int ipw2100_hw_stop_adapter(struct ipw2100_priv *priv) in ipw2100_hw_stop_adapter()
1580 static int ipw2100_disable_adapter(struct ipw2100_priv *priv) in ipw2100_disable_adapter()
1625 static int ipw2100_set_scan_options(struct ipw2100_priv *priv) in ipw2100_set_scan_options()
1657 static int ipw2100_start_scan(struct ipw2100_priv *priv) in ipw2100_start_scan()
1710 static int ipw2100_up(struct ipw2100_priv *priv, int deferred) in ipw2100_up()
1836 static void ipw2100_down(struct ipw2100_priv *priv) in ipw2100_down()
1891 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wdev_init()
1948 struct ipw2100_priv *priv = in ipw2100_reset_adapter()
1949 container_of(work, struct ipw2100_priv, reset_work.work); in ipw2100_reset_adapter()
1983 static void isr_indicate_associated(struct ipw2100_priv *priv, u32 status) in isr_indicate_associated()
2073 static int ipw2100_set_essid(struct ipw2100_priv *priv, char *essid, in ipw2100_set_essid()
2123 static void isr_indicate_association_lost(struct ipw2100_priv *priv, u32 status) in isr_indicate_association_lost()
2151 static void isr_indicate_rf_kill(struct ipw2100_priv *priv, u32 status) in isr_indicate_rf_kill()
2167 struct ipw2100_priv *priv = container_of(work, struct ipw2100_priv, in ipw2100_scan_event()
2176 static void isr_scan_complete(struct ipw2100_priv *priv, u32 status) in isr_scan_complete()
2197 void (*cb) (struct ipw2100_priv * priv, u32 status);
2204 void (*cb) (struct ipw2100_priv * priv, u32 status);
2208 static void isr_indicate_scanning(struct ipw2100_priv *priv, u32 status) in isr_indicate_scanning()
2230 static void isr_status_change(struct ipw2100_priv *priv, int status) in isr_status_change()
2258 static void isr_rx_complete_command(struct ipw2100_priv *priv, in isr_rx_complete_command()
2289 static int ipw2100_alloc_skb(struct ipw2100_priv *priv, in ipw2100_alloc_skb()
2315 static void ipw2100_snapshot_free(struct ipw2100_priv *priv) in ipw2100_snapshot_free()
2326 static int ipw2100_snapshot_alloc(struct ipw2100_priv *priv) in ipw2100_snapshot_alloc()
2346 static u32 ipw2100_match_buf(struct ipw2100_priv *priv, u8 * in_buf, in ipw2100_match_buf()
2404 static void ipw2100_corruption_detected(struct ipw2100_priv *priv, int i) in ipw2100_corruption_detected()
2449 static void isr_rx(struct ipw2100_priv *priv, int i, in isr_rx()
2523 static void isr_rx_monitor(struct ipw2100_priv *priv, int i, in isr_rx_monitor()
2605 static int ipw2100_corruption_check(struct ipw2100_priv *priv, int i) in ipw2100_corruption_check()
2661 static void __ipw2100_rx_process(struct ipw2100_priv *priv) in __ipw2100_rx_process()
2806 static int __ipw2100_tx_process(struct ipw2100_priv *priv) in __ipw2100_tx_process()
2982 static inline void __ipw2100_tx_complete(struct ipw2100_priv *priv) in __ipw2100_tx_complete()
2996 static void ipw2100_tx_send_commands(struct ipw2100_priv *priv) in ipw2100_tx_send_commands()
3065 static void ipw2100_tx_send_data(struct ipw2100_priv *priv) in ipw2100_tx_send_data()
3209 static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) in ipw2100_irq_tasklet()
3332 struct ipw2100_priv *priv = data; in ipw2100_interrupt()
3383 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_tx()
3427 static int ipw2100_msg_allocate(struct ipw2100_priv *priv) in ipw2100_msg_allocate()
3475 static int ipw2100_msg_initialize(struct ipw2100_priv *priv) in ipw2100_msg_initialize()
3489 static void ipw2100_msg_free(struct ipw2100_priv *priv) in ipw2100_msg_free()
3533 struct ipw2100_priv *p = dev_get_drvdata(d); in show_cfg()
3542 struct ipw2100_priv *p = dev_get_drvdata(d); in show_status()
3551 struct ipw2100_priv *p = dev_get_drvdata(d); in show_capability()
3796 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_registers()
3817 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_hardware()
3858 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_memory()
3915 struct ipw2100_priv *priv = dev_get_drvdata(d); in store_memory()
3952 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_ordinals()
3988 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_stats()
4006 static int ipw2100_switch_mode(struct ipw2100_priv *priv, u32 mode) in ipw2100_switch_mode()
4053 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_internals()
4107 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_bssinfo()
4175 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_fatal_error()
4201 struct ipw2100_priv *priv = dev_get_drvdata(d); in store_fatal_error()
4211 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_scan_age()
4218 struct ipw2100_priv *priv = dev_get_drvdata(d); in store_scan_age()
4248 struct ipw2100_priv *priv = dev_get_drvdata(d); in show_rf_kill()
4254 static int ipw_radio_kill_sw(struct ipw2100_priv *priv, int disable_radio) in ipw_radio_kill_sw()
4288 struct ipw2100_priv *priv = dev_get_drvdata(d); in store_rf_kill()
4317 static int status_queue_allocate(struct ipw2100_priv *priv, int entries) in status_queue_allocate()
4335 static void status_queue_free(struct ipw2100_priv *priv) in status_queue_free()
4349 static int bd_queue_allocate(struct ipw2100_priv *priv, in bd_queue_allocate()
4370 static void bd_queue_free(struct ipw2100_priv *priv, struct ipw2100_bd_queue *q) in bd_queue_free()
4385 static void bd_queue_initialize(struct ipw2100_priv *priv, in bd_queue_initialize()
4402 static void ipw2100_kill_works(struct ipw2100_priv *priv) in ipw2100_kill_works()
4414 static int ipw2100_tx_allocate(struct ipw2100_priv *priv) in ipw2100_tx_allocate()
4473 static void ipw2100_tx_initialize(struct ipw2100_priv *priv) in ipw2100_tx_initialize()
4523 static void ipw2100_tx_free(struct ipw2100_priv *priv) in ipw2100_tx_free()
4555 static int ipw2100_rx_allocate(struct ipw2100_priv *priv) in ipw2100_rx_allocate()
4625 static void ipw2100_rx_initialize(struct ipw2100_priv *priv) in ipw2100_rx_initialize()
4649 static void ipw2100_rx_free(struct ipw2100_priv *priv) in ipw2100_rx_free()
4677 static int ipw2100_read_mac_address(struct ipw2100_priv *priv) in ipw2100_read_mac_address()
4702 static int ipw2100_set_mac_address(struct ipw2100_priv *priv, int batch_mode) in ipw2100_set_mac_address()
4728 static int ipw2100_set_port_type(struct ipw2100_priv *priv, u32 port_type, in ipw2100_set_port_type()
4769 static int ipw2100_set_channel(struct ipw2100_priv *priv, u32 channel, in ipw2100_set_channel()
4819 static int ipw2100_system_config(struct ipw2100_priv *priv, int batch_mode) in ipw2100_system_config()
4880 static int ipw2100_set_tx_rates(struct ipw2100_priv *priv, u32 rate, in ipw2100_set_tx_rates()
4920 static int ipw2100_set_power_mode(struct ipw2100_priv *priv, int power_level) in ipw2100_set_power_mode()
4955 static int ipw2100_set_rts_threshold(struct ipw2100_priv *priv, u32 threshold) in ipw2100_set_rts_threshold()
4979 int ipw2100_set_fragmentation_threshold(struct ipw2100_priv *priv,
5019 static int ipw2100_set_short_retry(struct ipw2100_priv *priv, u32 retry) in ipw2100_set_short_retry()
5039 static int ipw2100_set_long_retry(struct ipw2100_priv *priv, u32 retry) in ipw2100_set_long_retry()
5059 static int ipw2100_set_mandatory_bssid(struct ipw2100_priv *priv, u8 * bssid, in ipw2100_set_mandatory_bssid()
5093 static int ipw2100_disassociate_bssid(struct ipw2100_priv *priv) in ipw2100_disassociate_bssid()
5115 static int ipw2100_set_wpa_ie(struct ipw2100_priv *,
5119 static int ipw2100_set_wpa_ie(struct ipw2100_priv *priv, in ipw2100_set_wpa_ie()
5159 static int ipw2100_set_security_information(struct ipw2100_priv *priv, in ipw2100_set_security_information()
5225 static int ipw2100_set_tx_power(struct ipw2100_priv *priv, u32 tx_power) in ipw2100_set_tx_power()
5249 static int ipw2100_set_ibss_beacon_interval(struct ipw2100_priv *priv, in ipw2100_set_ibss_beacon_interval()
5284 static void ipw2100_queues_initialize(struct ipw2100_priv *priv) in ipw2100_queues_initialize()
5291 static void ipw2100_queues_free(struct ipw2100_priv *priv) in ipw2100_queues_free()
5298 static int ipw2100_queues_allocate(struct ipw2100_priv *priv) in ipw2100_queues_allocate()
5315 static int ipw2100_set_wep_flags(struct ipw2100_priv *priv, u32 flags, in ipw2100_set_wep_flags()
5375 static int ipw2100_set_key(struct ipw2100_priv *priv, in ipw2100_set_key()
5438 static int ipw2100_set_key_index(struct ipw2100_priv *priv, in ipw2100_set_key_index()
5473 static int ipw2100_configure_security(struct ipw2100_priv *priv, int batch_mode) in ipw2100_configure_security()
5553 struct ipw2100_priv *priv = in ipw2100_security_work()
5554 container_of(work, struct ipw2100_priv, security_work.work); in ipw2100_security_work()
5567 struct ipw2100_priv *priv = libipw_priv(dev); in shim__set_security()
5642 static int ipw2100_adapter_setup(struct ipw2100_priv *priv) in ipw2100_adapter_setup()
5756 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_set_address()
5784 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_open()
5800 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_close()
5839 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_tx_timeout()
5853 static int ipw2100_wpa_enable(struct ipw2100_priv *priv, int value) in ipw2100_wpa_enable()
5861 static int ipw2100_wpa_set_auth_algs(struct ipw2100_priv *priv, int value) in ipw2100_wpa_set_auth_algs()
5890 static void ipw2100_wpa_assoc_frame(struct ipw2100_priv *priv, in ipw2100_wpa_assoc_frame()
5910 struct ipw2100_priv *priv = libipw_priv(dev); in ipw_ethtool_get_drvinfo()
5928 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_ethtool_get_link()
5939 struct ipw2100_priv *priv = in ipw2100_hang_check()
5940 container_of(work, struct ipw2100_priv, hang_check.work); in ipw2100_hang_check()
5982 struct ipw2100_priv *priv = in ipw2100_rf_kill()
5983 container_of(work, struct ipw2100_priv, rf_kill.work); in ipw2100_rf_kill()
6010 static void ipw2100_irq_tasklet(struct ipw2100_priv *priv);
6026 struct ipw2100_priv *priv; in ipw2100_alloc_device()
6029 dev = alloc_libipw(sizeof(struct ipw2100_priv), 0); in ipw2100_alloc_device()
6155 struct ipw2100_priv *priv = NULL; in ipw2100_pci_init_one()
6351 struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); in ipw2100_pci_remove_one()
6402 struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); in ipw2100_suspend()
6429 struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); in ipw2100_resume()
6479 struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); in ipw2100_shutdown()
6611 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_name()
6625 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_freq()
6675 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_freq()
6696 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_mode()
6739 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_mode()
6774 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_range()
6895 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_wap()
6937 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_wap()
6955 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_essid()
7008 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_essid()
7035 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_nick()
7057 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_nick()
7072 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_rate()
7112 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_rate()
7164 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_rts()
7203 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_rts()
7220 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_txpow()
7265 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_txpow()
7292 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_frag()
7322 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_frag()
7336 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_retry()
7384 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_retry()
7412 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_scan()
7444 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_scan()
7459 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_encode()
7471 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_encode()
7479 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_power()
7528 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_power()
7552 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_genie()
7587 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_genie()
7609 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_auth()
7702 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_auth()
7762 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_encodeext()
7771 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_encodeext()
7780 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_mlme()
7808 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_promisc()
7839 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_reset()
7851 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_powermode()
7879 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_powermode()
7915 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_preamble()
7948 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_preamble()
7963 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_set_crc_check()
7995 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_get_crc_check()
8128 struct ipw2100_priv *priv = libipw_priv(dev); in ipw2100_wx_wireless_stats()
8263 struct ipw2100_priv *priv = in ipw2100_wx_event_work()
8264 container_of(work, struct ipw2100_priv, wx_event_work.work); in ipw2100_wx_event_work()
8369 static int ipw2100_get_firmware(struct ipw2100_priv *priv, in ipw2100_get_firmware()
8415 static void ipw2100_release_firmware(struct ipw2100_priv *priv, in ipw2100_release_firmware()
8423 static int ipw2100_get_fwversion(struct ipw2100_priv *priv, char *buf, in ipw2100_get_fwversion()
8442 static int ipw2100_get_ucodeversion(struct ipw2100_priv *priv, char *buf, in ipw2100_get_ucodeversion()
8456 static int ipw2100_fw_download(struct ipw2100_priv *priv, struct ipw2100_fw *fw) in ipw2100_fw_download()
8513 static int ipw2100_ucode_download(struct ipw2100_priv *priv, in ipw2100_ucode_download()