/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/ |
D | iwm.h | 215 typedef int (*iwm_handler)(struct iwm_priv *priv, u8 *buf, 220 struct iwm_priv { struct 251 (struct iwm_priv *priv, u8 *buf, unsigned long buf_size); argument 314 static inline void *iwm_private(struct iwm_priv *iwm) in iwm_private() argument 323 #define wiphy_to_iwm(w) (struct iwm_priv *)(wiphy_priv(w)) 325 #define wdev_to_iwm(w) (struct iwm_priv *)(wdev_priv(w)) 333 void iwm_if_free(struct iwm_priv *iwm); 334 int iwm_if_add(struct iwm_priv *iwm); 335 void iwm_if_remove(struct iwm_priv *iwm); 337 int iwm_priv_init(struct iwm_priv *iwm); [all …]
|
D | commands.h | 474 int iwm_read_mac(struct iwm_priv *iwm, u8 *mac); 475 int iwm_send_prio_table(struct iwm_priv *iwm); 476 int iwm_send_init_calib_cfg(struct iwm_priv *iwm, u8 calib_requested); 477 int iwm_send_periodic_calib_cfg(struct iwm_priv *iwm, u8 calib_requested); 478 int iwm_send_calib_results(struct iwm_priv *iwm); 479 int iwm_store_rxiq_calib_result(struct iwm_priv *iwm); 480 int iwm_send_ct_kill_cfg(struct iwm_priv *iwm, u8 entry, u8 exit); 483 int iwm_send_wifi_if_cmd(struct iwm_priv *iwm, void *payload, u16 payload_size, 485 int iwm_send_umac_reset(struct iwm_priv *iwm, __le32 reset_flags, bool resp); 486 int iwm_umac_set_config_fix(struct iwm_priv *iwm, u16 tbl, u16 key, u32 value); [all …]
|
D | bus.h | 30 int (*enable)(struct iwm_priv *iwm); 31 int (*disable)(struct iwm_priv *iwm); 32 int (*send_chunk)(struct iwm_priv *iwm, u8* buf, int count); 34 void (*debugfs_init)(struct iwm_priv *iwm, struct dentry *parent_dir); 35 void (*debugfs_exit)(struct iwm_priv *iwm); 42 static inline int iwm_bus_send_chunk(struct iwm_priv *iwm, u8 *buf, int count) in iwm_bus_send_chunk() 47 static inline int iwm_bus_enable(struct iwm_priv *iwm) in iwm_bus_enable() 52 static inline int iwm_bus_disable(struct iwm_priv *iwm) in iwm_bus_disable()
|
D | main.c | 117 struct iwm_priv *iwm = in iwm_statistics_request() 118 container_of(work, struct iwm_priv, stats_request.work); in iwm_statistics_request() 125 struct iwm_priv *iwm = in iwm_disconnect_work() 126 container_of(work, struct iwm_priv, disconnect.work); in iwm_disconnect_work() 145 struct iwm_priv *iwm = in iwm_ct_kill_work() 146 container_of(work, struct iwm_priv, ct_kill_delay.work); in iwm_ct_kill_work() 154 static int __iwm_up(struct iwm_priv *iwm); 155 static int __iwm_down(struct iwm_priv *iwm); 159 struct iwm_priv *iwm; in iwm_reset_worker() 163 iwm = container_of(work, struct iwm_priv, reset_worker); in iwm_reset_worker() [all …]
|
D | hal.h | 205 void iwm_cmd_flush(struct iwm_priv *iwm); 207 struct iwm_wifi_cmd *iwm_get_pending_wifi_cmd(struct iwm_priv *iwm, 209 struct iwm_nonwifi_cmd *iwm_get_pending_nonwifi_cmd(struct iwm_priv *iwm, 213 int iwm_hal_send_target_cmd(struct iwm_priv *iwm, 217 int iwm_hal_send_host_cmd(struct iwm_priv *iwm, 223 int iwm_hal_send_umac_cmd(struct iwm_priv *iwm, 228 u16 iwm_alloc_wifi_cmd_seq(struct iwm_priv *iwm); 230 void iwm_udma_wifi_hdr_set_eop(struct iwm_priv *iwm, u8 *buf, u8 eop); 231 void iwm_build_udma_wifi_hdr(struct iwm_priv *iwm, 234 void iwm_build_umac_hdr(struct iwm_priv *iwm,
|
D | hal.c | 110 static int iwm_nonwifi_cmd_init(struct iwm_priv *iwm, in iwm_nonwifi_cmd_init() 139 u16 iwm_alloc_wifi_cmd_seq(struct iwm_priv *iwm) in iwm_alloc_wifi_cmd_seq() 149 static void iwm_wifi_cmd_init(struct iwm_priv *iwm, in iwm_wifi_cmd_init() 192 void iwm_cmd_flush(struct iwm_priv *iwm) in iwm_cmd_flush() 209 struct iwm_wifi_cmd *iwm_get_pending_wifi_cmd(struct iwm_priv *iwm, u16 seq_num) in iwm_get_pending_wifi_cmd() 222 struct iwm_nonwifi_cmd *iwm_get_pending_nonwifi_cmd(struct iwm_priv *iwm, in iwm_get_pending_nonwifi_cmd() 238 static void iwm_build_udma_nonwifi_hdr(struct iwm_priv *iwm, in iwm_build_udma_nonwifi_hdr() 258 static int iwm_send_udma_nonwifi_cmd(struct iwm_priv *iwm, in iwm_send_udma_nonwifi_cmd() 285 void iwm_udma_wifi_hdr_set_eop(struct iwm_priv *iwm, u8 *buf, u8 eop) in iwm_udma_wifi_hdr_set_eop() 292 void iwm_build_udma_wifi_hdr(struct iwm_priv *iwm, in iwm_build_udma_wifi_hdr() [all …]
|
D | eeprom.h | 121 int iwm_eeprom_init(struct iwm_priv *iwm); 122 void iwm_eeprom_exit(struct iwm_priv *iwm); 123 u8 *iwm_eeprom_access(struct iwm_priv *iwm, u8 eeprom_id); 124 int iwm_eeprom_fat_channels(struct iwm_priv *iwm); 125 u32 iwm_eeprom_wireless_mode(struct iwm_priv *iwm);
|
D | cfg80211.c | 167 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_add_key() 189 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_get_key() 212 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_del_key() 231 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_set_default_key() 249 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_get_station() 266 int iwm_cfg80211_inform_bss(struct iwm_priv *iwm) in iwm_cfg80211_inform_bss() 310 struct iwm_priv *iwm; in iwm_cfg80211_change_iface() 344 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_cfg80211_scan() 376 struct iwm_priv *iwm = wiphy_to_iwm(wiphy); in iwm_cfg80211_set_wiphy_params() 410 struct iwm_priv *iwm = wiphy_to_iwm(wiphy); in iwm_cfg80211_join_ibss() [all …]
|
D | commands.c | 53 static int iwm_send_lmac_ptrough_cmd(struct iwm_priv *iwm, in iwm_send_lmac_ptrough_cmd() 72 int iwm_send_wifi_if_cmd(struct iwm_priv *iwm, void *payload, u16 payload_size, in iwm_send_wifi_if_cmd() 147 int iwm_send_prio_table(struct iwm_priv *iwm) in iwm_send_prio_table() 203 int iwm_send_init_calib_cfg(struct iwm_priv *iwm, u8 calib_requested) in iwm_send_init_calib_cfg() 219 int iwm_send_periodic_calib_cfg(struct iwm_priv *iwm, u8 calib_requested) in iwm_send_periodic_calib_cfg() 232 int iwm_store_rxiq_calib_result(struct iwm_priv *iwm) in iwm_store_rxiq_calib_result() 265 int iwm_send_calib_results(struct iwm_priv *iwm) in iwm_send_calib_results() 288 int iwm_send_ct_kill_cfg(struct iwm_priv *iwm, u8 entry, u8 exit) in iwm_send_ct_kill_cfg() 299 int iwm_send_umac_reset(struct iwm_priv *iwm, __le32 reset_flags, bool resp) in iwm_send_umac_reset() 314 int iwm_umac_set_config_fix(struct iwm_priv *iwm, u16 tbl, u16 key, u32 value) in iwm_umac_set_config_fix() [all …]
|
D | netdev.c | 58 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_open() 65 struct iwm_priv *iwm = ndev_to_iwm(ndev); in iwm_stop() 107 struct iwm_priv *iwm; in iwm_if_alloc() 161 void iwm_if_free(struct iwm_priv *iwm) in iwm_if_free() 174 int iwm_if_add(struct iwm_priv *iwm) in iwm_if_add() 188 void iwm_if_remove(struct iwm_priv *iwm) in iwm_if_remove()
|
D | rx.c | 98 static int iwm_ntf_error(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_error() 130 static int iwm_ntf_umac_alive(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_umac_alive() 147 static int iwm_ntf_init_complete(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_init_complete() 167 static int iwm_ntf_tx_credit_update(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_tx_credit_update() 200 static int iwm_ntf_umac_reset(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_umac_reset() 208 static int iwm_ntf_lmac_version(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_lmac_version() 217 static int iwm_ntf_tx(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_tx() 243 static int iwm_ntf_calib_res(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_calib_res() 279 static int iwm_ntf_calib_complete(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_calib_complete() 288 static int iwm_ntf_calib_cfg(struct iwm_priv *iwm, u8 *buf, in iwm_ntf_calib_cfg() [all …]
|
D | sdio.c | 81 struct iwm_priv *iwm; in iwm_sdio_isr_worker() 106 struct iwm_priv *iwm; in iwm_sdio_isr() 173 struct iwm_priv *iwm = hw_to_iwm(hw); in iwm_sdio_rx_free() 181 static int if_sdio_enable(struct iwm_priv *iwm) in if_sdio_enable() 223 static int if_sdio_disable(struct iwm_priv *iwm) in if_sdio_disable() 246 static int if_sdio_send_chunk(struct iwm_priv *iwm, u8 *buf, int count) in if_sdio_send_chunk() 276 struct iwm_priv *iwm = filp->private_data; in iwm_debugfs_sdio_read() 370 static void if_sdio_debugfs_init(struct iwm_priv *iwm, struct dentry *parent_dir) in if_sdio_debugfs_init() 379 static void if_sdio_debugfs_exit(struct iwm_priv *iwm) in if_sdio_debugfs_exit() 403 struct iwm_priv *iwm; in iwm_sdio_probe() [all …]
|
D | eeprom.c | 82 static int iwm_eeprom_read(struct iwm_priv *iwm, u8 eeprom_id) in iwm_eeprom_read() 146 u8 *iwm_eeprom_access(struct iwm_priv *iwm, u8 eeprom_id) in iwm_eeprom_access() 154 int iwm_eeprom_fat_channels(struct iwm_priv *iwm) in iwm_eeprom_fat_channels() 180 u32 iwm_eeprom_wireless_mode(struct iwm_priv *iwm) in iwm_eeprom_wireless_mode() 200 int iwm_eeprom_init(struct iwm_priv *iwm) in iwm_eeprom_init() 231 void iwm_eeprom_exit(struct iwm_priv *iwm) in iwm_eeprom_exit()
|
D | debug.h | 91 struct iwm_priv *iwm; 116 void iwm_debugfs_init(struct iwm_priv *iwm); 117 void iwm_debugfs_exit(struct iwm_priv *iwm); 119 static inline void iwm_debugfs_init(struct iwm_priv *iwm) {} in iwm_debugfs_init() 120 static inline void iwm_debugfs_exit(struct iwm_priv *iwm) {} in iwm_debugfs_exit()
|
D | fw.c | 57 static int iwm_fw_op_offset(struct iwm_priv *iwm, const struct firmware *fw, in iwm_fw_op_offset() 108 static int iwm_load_firmware_chunk(struct iwm_priv *iwm, in iwm_load_firmware_chunk() 161 static int iwm_load_img(struct iwm_priv *iwm, const char *img_name) in iwm_load_img() 234 static int iwm_load_umac(struct iwm_priv *iwm) in iwm_load_umac() 259 static int iwm_load_lmac(struct iwm_priv *iwm, const char *img_name) in iwm_load_lmac() 271 static int iwm_init_calib(struct iwm_priv *iwm, unsigned long cfg_bitmap, in iwm_init_calib() 310 int iwm_load_fw(struct iwm_priv *iwm) in iwm_load_fw()
|
D | cfg80211.h | 27 int iwm_cfg80211_inform_bss(struct iwm_priv *iwm); 29 void iwm_wdev_free(struct iwm_priv *iwm);
|
D | tx.c | 101 static bool iwm_tx_credit_ok(struct iwm_priv *iwm, int id, int nb) in iwm_tx_credit_ok() 117 void iwm_tx_credit_inc(struct iwm_priv *iwm, int id, int total_freed_pages) in iwm_tx_credit_inc() 164 static void iwm_tx_credit_dec(struct iwm_priv *iwm, int id, int alloc_pages) in iwm_tx_credit_dec() 192 int iwm_tx_credit_alloc(struct iwm_priv *iwm, int id, int nb) in iwm_tx_credit_alloc() 248 void iwm_tx_credit_init_pools(struct iwm_priv *iwm, in iwm_tx_credit_init_pools() 305 static __le16 iwm_tx_build_packet(struct iwm_priv *iwm, struct sk_buff *skb, in iwm_tx_build_packet() 336 static int iwm_tx_send_concat_packets(struct iwm_priv *iwm, in iwm_tx_send_concat_packets() 361 struct iwm_priv *iwm; in iwm_tx_worker() 370 iwm = container_of(txq, struct iwm_priv, txq[txq->id]); in iwm_tx_worker() 454 struct iwm_priv *iwm = ndev_to_iwm(netdev); in iwm_xmit_frame()
|
D | trace.h | 21 TP_PROTO(struct iwm_priv *iwm, struct iwm_udma_out_nonwifi_hdr *hdr), 59 TP_PROTO(struct iwm_priv *iwm, struct iwm_umac_wifi_out_hdr *hdr), 102 TP_PROTO(struct iwm_priv *iwm, u8 *buf, int len), 155 TP_PROTO(struct iwm_priv *iwm, void *buf, int len), 182 TP_PROTO(struct iwm_priv *iwm, struct iwm_umac_wifi_in_hdr *hdr), 217 TP_PROTO(struct iwm_priv *iwm, void *buf, int len), 251 TP_PROTO(struct iwm_priv *iwm, void *buf, int len),
|
D | debugfs.c | 60 struct iwm_priv *iwm = data; in iwm_debugfs_u32_read() 68 struct iwm_priv *iwm = data; in iwm_debugfs_dbg_level_write() 84 struct iwm_priv *iwm = data; in iwm_debugfs_dbg_modules_write() 111 struct iwm_priv *iwm = filp->private_data; in iwm_debugfs_txq_read() 196 struct iwm_priv *iwm = filp->private_data; in iwm_debugfs_tx_credit_read() 267 struct iwm_priv *iwm = filp->private_data; in iwm_debugfs_rx_ticket_read() 325 struct iwm_priv *iwm = filp->private_data; in iwm_debugfs_fw_err_read() 429 void iwm_debugfs_init(struct iwm_priv *iwm) in iwm_debugfs_init() 471 void iwm_debugfs_exit(struct iwm_priv *iwm) in iwm_debugfs_exit()
|
D | sdio.h | 54 struct iwm_priv *iwm;
|
D | fw.h | 98 int iwm_load_fw(struct iwm_priv *iwm);
|