Lines Matching refs:il_priv
102 void (*callback) (struct il_priv *il, struct il_device_cmd *cmd,
414 int il_eeprom_init(struct il_priv *il);
415 void il_eeprom_free(struct il_priv *il);
416 const u8 *il_eeprom_query_addr(const struct il_priv *il, size_t offset);
417 u16 il_eeprom_query16(const struct il_priv *il, size_t offset);
418 int il_init_channel_map(struct il_priv *il);
419 void il_free_channel_map(struct il_priv *il);
420 const struct il_channel_info *il_get_channel_info(const struct il_priv *il,
578 void (*callback) (struct il_priv *il, struct il_device_cmd *cmd,
856 void il4965_update_chain_flags(struct il_priv *il);
1124 struct il_priv { struct
1142 void (*handlers[IL_CN_MAX]) (struct il_priv *il, argument
1437 il_txq_ctx_activate(struct il_priv *il, int txq_id) in il_txq_ctx_activate()
1443 il_txq_ctx_deactivate(struct il_priv *il, int txq_id) in il_txq_ctx_deactivate()
1449 il_is_associated(struct il_priv *il) in il_is_associated()
1455 il_is_any_associated(struct il_priv *il) in il_is_any_associated()
1493 __il_free_pages(struct il_priv *il, struct page *page) in __il_free_pages()
1500 il_free_pages(struct il_priv *il, unsigned long page) in il_free_pages()
1542 void (*txq_update_byte_cnt_tbl) (struct il_priv *il,
1545 int (*txq_attach_buf_to_tfd) (struct il_priv *il,
1548 void (*txq_free_tfd) (struct il_priv *il, struct il_tx_queue *txq);
1549 int (*txq_init) (struct il_priv *il, struct il_tx_queue *txq);
1551 void (*init_alive_start) (struct il_priv *il);
1555 int (*load_ucode) (struct il_priv *il);
1557 void (*dump_nic_error_log) (struct il_priv *il);
1558 int (*dump_fh) (struct il_priv *il, char **buf, bool display);
1559 int (*set_channel_switch) (struct il_priv *il,
1562 int (*apm_init) (struct il_priv *il);
1565 int (*send_tx_power) (struct il_priv *il);
1566 void (*update_chain_flags) (struct il_priv *il);
1569 int (*eeprom_acquire_semaphore) (struct il_priv *il);
1570 void (*eeprom_release_semaphore) (struct il_priv *il);
1572 int (*rxon_assoc) (struct il_priv *il);
1573 int (*commit_rxon) (struct il_priv *il);
1574 void (*set_rxon_chain) (struct il_priv *il);
1579 int (*request_scan) (struct il_priv *il, struct ieee80211_vif *vif);
1580 void (*post_scan) (struct il_priv *il);
1581 void (*post_associate) (struct il_priv *il);
1582 void (*config_ap) (struct il_priv *il);
1584 int (*update_bcast_stations) (struct il_priv *il);
1585 int (*manage_ibss_station) (struct il_priv *il,
1588 int (*send_led_cmd) (struct il_priv *il, struct il_led_cmd *led_cmd);
1621 void il_leds_init(struct il_priv *il);
1622 void il_leds_exit(struct il_priv *il);
1702 void il_set_rxon_hwcrypto(struct il_priv *il, int hw_decrypt);
1703 int il_check_rxon_cmd(struct il_priv *il);
1704 int il_full_rxon_required(struct il_priv *il);
1705 int il_set_rxon_channel(struct il_priv *il, struct ieee80211_channel *ch);
1706 void il_set_flags_for_band(struct il_priv *il, enum nl80211_band band,
1708 u8 il_get_single_channel_number(struct il_priv *il, enum nl80211_band band);
1709 void il_set_rxon_ht(struct il_priv *il, struct il_ht_config *ht_conf);
1710 bool il_is_ht40_tx_allowed(struct il_priv *il,
1712 void il_connection_init_rx_config(struct il_priv *il);
1713 void il_set_rate(struct il_priv *il);
1714 int il_set_decrypted_flag(struct il_priv *il, struct ieee80211_hdr *hdr,
1716 void il_irq_handle_error(struct il_priv *il);
1724 int il_alloc_txq_mem(struct il_priv *il);
1725 void il_free_txq_mem(struct il_priv *il);
1728 void il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len);
1731 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) in il_update_stats()
1739 void il_hdl_pm_sleep(struct il_priv *il, struct il_rx_buf *rxb);
1740 void il_hdl_pm_debug_stats(struct il_priv *il, struct il_rx_buf *rxb);
1741 void il_hdl_error(struct il_priv *il, struct il_rx_buf *rxb);
1742 void il_hdl_csa(struct il_priv *il, struct il_rx_buf *rxb);
1747 void il_cmd_queue_unmap(struct il_priv *il);
1748 void il_cmd_queue_free(struct il_priv *il);
1749 int il_rx_queue_alloc(struct il_priv *il);
1750 void il_rx_queue_update_write_ptr(struct il_priv *il, struct il_rx_queue *q);
1752 void il_tx_cmd_complete(struct il_priv *il, struct il_rx_buf *rxb);
1754 void il_hdl_spectrum_measurement(struct il_priv *il, struct il_rx_buf *rxb);
1755 void il_recover_from_stats(struct il_priv *il, struct il_rx_pkt *pkt);
1756 void il_chswitch_done(struct il_priv *il, bool is_success);
1761 void il_txq_update_write_ptr(struct il_priv *il, struct il_tx_queue *txq);
1762 int il_tx_queue_init(struct il_priv *il, u32 txq_id);
1763 void il_tx_queue_reset(struct il_priv *il, u32 txq_id);
1764 void il_tx_queue_unmap(struct il_priv *il, int txq_id);
1765 void il_tx_queue_free(struct il_priv *il, int txq_id);
1766 void il_setup_watchdog(struct il_priv *il);
1770 int il_set_tx_power(struct il_priv *il, s8 tx_power, bool force);
1776 u8 il_get_lowest_plcp(struct il_priv *il);
1781 void il_init_scan_params(struct il_priv *il);
1782 int il_scan_cancel(struct il_priv *il);
1783 int il_scan_cancel_timeout(struct il_priv *il, unsigned long ms);
1784 void il_force_scan_end(struct il_priv *il);
1787 void il_internal_short_hw_scan(struct il_priv *il);
1788 int il_force_reset(struct il_priv *il, bool external);
1789 u16 il_fill_probe_req(struct il_priv *il, struct ieee80211_mgmt *frame,
1791 void il_setup_rx_scan_handlers(struct il_priv *il);
1792 u16 il_get_active_dwell_time(struct il_priv *il, enum nl80211_band band,
1794 u16 il_get_passive_dwell_time(struct il_priv *il, enum nl80211_band band,
1796 void il_setup_scan_deferred_work(struct il_priv *il);
1797 void il_cancel_scan_deferred_work(struct il_priv *il);
1815 int __must_check il_send_cmd_sync(struct il_priv *il, struct il_host_cmd *cmd);
1816 int il_send_cmd(struct il_priv *il, struct il_host_cmd *cmd);
1817 int __must_check il_send_cmd_pdu(struct il_priv *il, u8 id, u16 len,
1819 int il_send_cmd_pdu_async(struct il_priv *il, u8 id, u16 len, const void *data,
1820 void (*callback) (struct il_priv *il,
1824 int il_enqueue_hcmd(struct il_priv *il, struct il_host_cmd *cmd);
1831 u32 il_usecs_to_beacons(struct il_priv *il, u32 usec, u32 beacon_interval);
1832 __le32 il_add_beacon_time(struct il_priv *il, u32 base, u32 addon,
1849 void il4965_dump_nic_error_log(struct il_priv *il);
1851 void il_print_rx_config_cmd(struct il_priv *il);
1854 il_print_rx_config_cmd(struct il_priv *il) in il_print_rx_config_cmd()
1859 void il_clear_isr_stats(struct il_priv *il);
1864 int il_init_geos(struct il_priv *il);
1865 void il_free_geos(struct il_priv *il);
1889 il_is_ready(struct il_priv *il) in il_is_ready()
1899 il_is_alive(struct il_priv *il) in il_is_alive()
1905 il_is_init(struct il_priv *il) in il_is_init()
1911 il_is_rfkill(struct il_priv *il) in il_is_rfkill()
1917 il_is_ctkill(struct il_priv *il) in il_is_ctkill()
1923 il_is_ready_rf(struct il_priv *il) in il_is_ready_rf()
1932 void il_send_bt_config(struct il_priv *il);
1933 int il_send_stats_request(struct il_priv *il, u8 flags, bool clear);
1934 void il_apm_stop(struct il_priv *il);
1935 void _il_apm_stop(struct il_priv *il);
1937 int il_apm_init(struct il_priv *il);
1939 int il_send_rxon_timing(struct il_priv *il);
1942 il_send_rxon_assoc(struct il_priv *il) in il_send_rxon_assoc()
1948 il_commit_rxon(struct il_priv *il) in il_commit_rxon()
1954 il_get_hw_mode(struct il_priv *il, enum nl80211_band band) in il_get_hw_mode()
1964 void il_tx_cmd_protection(struct il_priv *il, struct ieee80211_tx_info *info,
1969 void il_set_bit(struct il_priv *p, u32 r, u32 m);
1970 void il_clear_bit(struct il_priv *p, u32 r, u32 m);
1971 bool _il_grab_nic_access(struct il_priv *il);
1972 int _il_poll_bit(struct il_priv *il, u32 addr, u32 bits, u32 mask, int timeout);
1973 int il_poll_bit(struct il_priv *il, u32 addr, u32 mask, int timeout);
1974 u32 il_rd_prph(struct il_priv *il, u32 reg);
1975 void il_wr_prph(struct il_priv *il, u32 addr, u32 val);
1976 u32 il_read_targ_mem(struct il_priv *il, u32 addr);
1977 void il_write_targ_mem(struct il_priv *il, u32 addr, u32 val);
1979 static inline bool il_need_reclaim(struct il_priv *il, struct il_rx_pkt *pkt) in il_need_reclaim()
1994 _il_write8(struct il_priv *il, u32 ofs, u8 val) in _il_write8()
2001 _il_wr(struct il_priv *il, u32 ofs, u32 val) in _il_wr()
2007 _il_rd(struct il_priv *il, u32 ofs) in _il_rd()
2013 _il_clear_bit(struct il_priv *il, u32 reg, u32 mask) in _il_clear_bit()
2019 _il_set_bit(struct il_priv *il, u32 reg, u32 mask) in _il_set_bit()
2025 _il_release_nic_access(struct il_priv *il) in _il_release_nic_access()
2031 il_rd(struct il_priv *il, u32 reg) in il_rd()
2045 il_wr(struct il_priv *il, u32 reg, u32 value) in il_wr()
2058 _il_rd_prph(struct il_priv *il, u32 reg) in _il_rd_prph()
2065 _il_wr_prph(struct il_priv *il, u32 addr, u32 val) in _il_wr_prph()
2072 il_set_bits_prph(struct il_priv *il, u32 reg, u32 mask) in il_set_bits_prph()
2085 il_set_bits_mask_prph(struct il_priv *il, u32 reg, u32 bits, u32 mask) in il_set_bits_mask_prph()
2098 il_clear_bits_prph(struct il_priv *il, u32 reg, u32 mask) in il_clear_bits_prph()
2123 void il_restore_stations(struct il_priv *il);
2124 void il_clear_ucode_stations(struct il_priv *il);
2125 void il_dealloc_bcast_stations(struct il_priv *il);
2126 int il_get_free_ucode_key_idx(struct il_priv *il);
2127 int il_send_add_sta(struct il_priv *il, struct il_addsta_cmd *sta, u8 flags);
2128 int il_add_station_common(struct il_priv *il, const u8 *addr, bool is_ap,
2130 int il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr);
2134 u8 il_prep_station(struct il_priv *il, const u8 *addr, bool is_ap,
2137 int il_send_lq_cmd(struct il_priv *il, struct il_link_quality_cmd *lq,
2150 il_clear_driver_stations(struct il_priv *il) in il_clear_driver_stations()
2182 il_sta_id_or_broadcast(struct il_priv *il, struct ieee80211_sta *sta) in il_sta_id_or_broadcast()
2267 _il_wake_queue(struct il_priv *il, u8 ac) in _il_wake_queue()
2274 _il_stop_queue(struct il_priv *il, u8 ac) in _il_stop_queue()
2280 il_wake_queue(struct il_priv *il, struct il_tx_queue *txq) in il_wake_queue()
2291 il_stop_queue(struct il_priv *il, struct il_tx_queue *txq) in il_stop_queue()
2302 il_wake_queues_by_reason(struct il_priv *il, int reason) in il_wake_queues_by_reason()
2312 il_stop_queues_by_reason(struct il_priv *il, int reason) in il_stop_queues_by_reason()
2334 il_disable_interrupts(struct il_priv *il) in il_disable_interrupts()
2348 il_enable_rfkill_int(struct il_priv *il) in il_enable_rfkill_int()
2354 il_enable_interrupts(struct il_priv *il) in il_enable_interrupts()
2366 il_beacon_time_mask_low(struct il_priv *il, u16 tsf_bits) in il_beacon_time_mask_low()
2377 il_beacon_time_mask_high(struct il_priv *il, u16 tsf_bits) in il_beacon_time_mask_high()
2822 struct il_priv *drv;
2875 void il4965_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta,
2877 void il3945_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta,
2902 int il_power_update_mode(struct il_priv *il, bool force);
2903 void il_power_initialize(struct il_priv *il);
2916 il_get_debug_level(struct il_priv *il) in il_get_debug_level()
2925 il_get_debug_level(struct il_priv *il) in il_get_debug_level()
2955 il_print_hex_dump(struct il_priv *il, int level, const void *p, u32 len) in il_print_hex_dump()
2961 void il_dbgfs_register(struct il_priv *il, const char *name);
2962 void il_dbgfs_unregister(struct il_priv *il);
2964 static inline void il_dbgfs_register(struct il_priv *il, const char *name) in il_dbgfs_register()
2969 il_dbgfs_unregister(struct il_priv *il) in il_dbgfs_unregister()