/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/wl12xx/ |
H A D | wl1271_init.h | 29 int wl1271_hw_init_power_auth(struct wl1271 *wl); 30 int wl1271_init_templates_config(struct wl1271 *wl); 31 int wl1271_init_phy_config(struct wl1271 *wl); 32 int wl1271_init_pta(struct wl1271 *wl); 33 int wl1271_init_energy_detection(struct wl1271 *wl); 34 int wl1271_hw_init(struct wl1271 *wl);
|
H A D | wl1251_boot.h | 29 int wl1251_boot_soft_reset(struct wl1251 *wl); 30 int wl1251_boot_init_seq(struct wl1251 *wl); 31 int wl1251_boot_run_firmware(struct wl1251 *wl); 32 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl); 33 int wl1251_boot(struct wl1251 *wl);
|
H A D | wl1251_debugfs.h | 29 int wl1251_debugfs_init(struct wl1251 *wl); 30 void wl1251_debugfs_exit(struct wl1251 *wl); 31 void wl1251_debugfs_reset(struct wl1251 *wl);
|
H A D | wl1271_debugfs.h | 29 int wl1271_debugfs_init(struct wl1271 *wl); 30 void wl1271_debugfs_exit(struct wl1271 *wl); 31 void wl1271_debugfs_reset(struct wl1271 *wl);
|
H A D | wl1271_event.c | 35 struct wl1271 *wl; local 38 wl = container_of(dwork, struct wl1271, pspoll_work); 42 mutex_lock(&wl->mutex); 44 if (!test_and_clear_bit(WL1271_FLAG_PSPOLL_FAILURE, &wl->flags)) 47 if (!test_bit(WL1271_FLAG_STA_ASSOCIATED, &wl->flags)) 55 wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE, true); 58 mutex_unlock(&wl->mutex); 61 static void wl1271_event_pspoll_delivery_fail(struct wl1271 *wl) argument 63 int delay = wl->conf.conn.ps_poll_recovery_period; 66 wl 89 wl1271_event_ps_report(struct wl1271 *wl, struct event_mailbox *mbox, bool *beacon_loss) argument 156 wl1271_event_rssi_trigger(struct wl1271 *wl, struct event_mailbox *mbox) argument 181 wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) argument 247 wl1271_event_unmask(struct wl1271 *wl) argument 258 wl1271_event_mbox_config(struct wl1271 *wl) argument 267 wl1271_event_handle(struct wl1271 *wl, u8 mbox_num) argument [all...] |
H A D | wl1251_event.c | 31 static int wl1251_event_scan_complete(struct wl1251 *wl, argument 38 if (wl->scanning) { 39 mutex_unlock(&wl->mutex); 40 ieee80211_scan_completed(wl->hw, false); 41 mutex_lock(&wl->mutex); 43 wl->scanning = false; 56 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) argument 67 ret = wl1251_event_scan_complete(wl, mbox); 75 if (wl->psm_requested && wl 100 wl1251_event_unmask(struct wl1251 *wl) argument 111 wl1251_event_mbox_config(struct wl1251 *wl) argument 120 wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) argument [all...] |
H A D | wl1271_io.h | 47 void wl1271_disable_interrupts(struct wl1271 *wl); 48 void wl1271_enable_interrupts(struct wl1271 *wl); 50 void wl1271_io_reset(struct wl1271 *wl); 51 void wl1271_io_init(struct wl1271 *wl); 53 static inline struct device *wl1271_wl_to_dev(struct wl1271 *wl) argument 55 return wl->if_ops->dev(wl); 60 static inline void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf, argument 63 wl->if_ops->write(wl, add 66 wl1271_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 72 wl1271_raw_read32(struct wl1271 *wl, int addr) argument 80 wl1271_raw_write32(struct wl1271 *wl, int addr, u32 val) argument 88 wl1271_translate_addr(struct wl1271 *wl, int addr) argument 111 wl1271_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 121 wl1271_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 131 wl1271_read32(struct wl1271 *wl, int addr) argument 136 wl1271_write32(struct wl1271 *wl, int addr, u32 val) argument 141 wl1271_power_off(struct wl1271 *wl) argument 147 wl1271_power_on(struct wl1271 *wl) argument [all...] |
H A D | wl1251_ps.c | 35 struct wl1251 *wl; local 38 wl = container_of(dwork, struct wl1251, elp_work); 42 mutex_lock(&wl->mutex); 44 if (wl->elp || !wl->psm) 48 wl1251_write_elp(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); 49 wl->elp = true; 52 mutex_unlock(&wl->mutex); 58 void wl1251_ps_elp_sleep(struct wl1251 *wl) argument 62 if (wl 69 wl1251_ps_elp_wakeup(struct wl1251 *wl) argument 103 wl1251_ps_set_elp(struct wl1251 *wl, bool enable) argument 135 wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode) argument [all...] |
H A D | wl1251_init.c | 34 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) argument 38 ret = wl1251_acx_feature_cfg(wl); 44 ret = wl1251_acx_default_key(wl, wl->default_key); 53 int wl1251_hw_init_templates_config(struct wl1251 *wl) argument 59 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, 64 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, 69 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, 74 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, 80 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RES 105 wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) argument 120 wl1251_hw_init_phy_config(struct wl1251 *wl) argument 147 wl1251_hw_init_beacon_filter(struct wl1251 *wl) argument 163 wl1251_hw_init_pta(struct wl1251 *wl) argument 178 wl1251_hw_init_energy_detection(struct wl1251 *wl) argument 189 wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) argument 200 wl1251_hw_init_power_auth(struct wl1251 *wl) argument 205 wl1251_hw_init_mem_config(struct wl1251 *wl) argument 272 wl1251_hw_init_tx_queue_config(struct wl1251 *wl) argument 308 wl1251_hw_init_data_path_config(struct wl1251 *wl) argument 331 wl1251_hw_init(struct wl1251 *wl) argument [all...] |
H A D | wl1251_io.h | 37 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) argument 41 wl->if_ops->read(wl, addr, &response, sizeof(u32)); 46 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) argument 48 wl->if_ops->write(wl, addr, &val, sizeof(u32)); 51 static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr) argument 55 if (wl->if_ops->read_elp) 56 wl->if_ops->read_elp(wl, add 63 wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) argument [all...] |
H A D | wl1271_ps.c | 33 struct wl1271 *wl; local 36 wl = container_of(dwork, struct wl1271, elp_work); 40 mutex_lock(&wl->mutex); 42 if (test_bit(WL1271_FLAG_IN_ELP, &wl->flags) || 43 (!test_bit(WL1271_FLAG_PSM, &wl->flags) && 44 !test_bit(WL1271_FLAG_IDLE, &wl->flags))) 48 wl1271_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); 49 set_bit(WL1271_FLAG_IN_ELP, &wl->flags); 52 mutex_unlock(&wl->mutex); 58 void wl1271_ps_elp_sleep(struct wl1271 *wl) argument 68 wl1271_ps_elp_wakeup(struct wl1271 *wl, bool chip_awake) argument 123 wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode, bool send) argument [all...] |
H A D | wl1251_ps.h | 31 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode); 32 void wl1251_ps_elp_sleep(struct wl1251 *wl); 33 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
|
H A D | wl1271_ps.h | 30 int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode, 32 void wl1271_ps_elp_sleep(struct wl1271 *wl); 33 int wl1271_ps_elp_wakeup(struct wl1271 *wl, bool chip_awake);
|
H A D | wl1251_boot.c | 34 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) argument 36 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); 37 wl1251_reg_write32(wl, HI_CFG, HI_CFG_DEF_VAL); 40 int wl1251_boot_soft_reset(struct wl1251 *wl) argument 46 wl1251_reg_write32(wl, ACX_REG_SLV_SOFT_RESET, ACX_SLV_SOFT_RESET_BIT); 51 boot_data = wl1251_reg_read32(wl, ACX_REG_SLV_SOFT_RESET); 67 wl1251_reg_write32(wl, ENABLE, 0x0); 70 wl1251_reg_write32(wl, SPARE_A2, 0xffff); 75 int wl1251_boot_init_seq(struct wl1251 *wl) argument 213 wl1251_boot_set_ecpu_ctrl(struct wl1251 *wl, u32 flag) argument 225 wl1251_boot_run_firmware(struct wl1251 *wl) argument 319 wl1251_boot_upload_firmware(struct wl1251 *wl) argument 404 wl1251_boot_upload_nvs(struct wl1251 *wl) argument 485 wl1251_boot(struct wl1251 *wl) argument [all...] |
H A D | wl1271_main.c | 279 static void wl1271_conf_init(struct wl1271 *wl) argument 293 memcpy(&wl->conf, &default_conf, sizeof(default_conf)); 297 static int wl1271_plt_init(struct wl1271 *wl) argument 303 ret = wl1271_cmd_general_parms(wl); 307 ret = wl1271_cmd_radio_parms(wl); 311 ret = wl1271_init_templates_config(wl); 315 ret = wl1271_acx_init_mem_config(wl); 320 ret = wl1271_init_phy_config(wl); 324 ret = wl1271_acx_dco_itrim_params(wl); 329 ret = wl1271_acx_conn_monit_params(wl, fals 396 wl1271_fw_status(struct wl1271 *wl, struct wl1271_fw_status *status) argument 441 struct wl1271 *wl = local 514 wl1271_fetch_firmware(struct wl1271 *wl) argument 552 wl1271_fetch_nvs(struct wl1271 *wl) argument 587 wl1271_fw_wakeup(struct wl1271 *wl) argument 595 wl1271_setup(struct wl1271 *wl) argument 612 wl1271_chip_wakeup(struct wl1271 *wl) argument 680 wl1271_plt_start(struct wl1271 *wl) argument 739 wl1271_plt_stop(struct wl1271 *wl) argument 769 struct wl1271 *wl = hw->priv; local 835 struct wl1271 *wl = hw->priv; local 928 struct wl1271 *wl = hw->priv; local 1007 wl1271_configure_filters(struct wl1271 *wl, unsigned int filters) argument 1041 wl1271_dummy_join(struct wl1271 *wl) argument 1063 wl1271_join(struct wl1271 *wl, bool set_assoc) argument 1118 wl1271_unjoin(struct wl1271 *wl) argument 1137 wl1271_set_band_rate(struct wl1271 *wl) argument 1145 wl1271_min_rate_get(struct wl1271 *wl) argument 1163 wl1271_handle_idle(struct wl1271 *wl, bool idle) argument 1201 struct wl1271 *wl = hw->priv; local 1321 struct wl1271 *wl = hw->priv; local 1360 struct wl1271 *wl = hw->priv; local 1413 struct wl1271 *wl = hw->priv; local 1531 struct wl1271 *wl = hw->priv; local 1564 struct wl1271 *wl = hw->priv; local 1588 wl1271_ssid_set(struct wl1271 *wl, struct sk_buff *beacon) argument 1611 struct wl1271 *wl = hw->priv; local 1858 struct wl1271 *wl = hw->priv; local 1901 struct wl1271 *wl = hw->priv; local 1928 struct wl1271 *wl = hw->priv; local 2175 wl1271_rate_to_idx(struct wl1271 *wl, int rate) argument 2199 struct wl1271 *wl = dev_get_drvdata(dev); local 2217 struct wl1271 *wl = dev_get_drvdata(dev); local 2260 struct wl1271 *wl = dev_get_drvdata(dev); local 2278 wl1271_register_hw(struct wl1271 *wl) argument 2301 wl1271_unregister_hw(struct wl1271 *wl) argument 2309 wl1271_init_ieee80211(struct wl1271 *wl) argument 2350 struct wl1271 *wl; local 2453 wl1271_free_hw(struct wl1271 *wl) argument [all...] |
H A D | wl1251_init.h | 76 int wl1251_hw_init_hwenc_config(struct wl1251 *wl); 77 int wl1251_hw_init_templates_config(struct wl1251 *wl); 78 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter); 79 int wl1251_hw_init_phy_config(struct wl1251 *wl); 80 int wl1251_hw_init_beacon_filter(struct wl1251 *wl); 81 int wl1251_hw_init_pta(struct wl1251 *wl); 82 int wl1251_hw_init_energy_detection(struct wl1251 *wl); 83 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl); 84 int wl1251_hw_init_power_auth(struct wl1251 *wl); 85 int wl1251_hw_init_mem_config(struct wl1251 *wl); [all...] |
H A D | wl1251_main.c | 47 void wl1251_enable_interrupts(struct wl1251 *wl) argument 49 wl->if_ops->enable_irq(wl); 52 void wl1251_disable_interrupts(struct wl1251 *wl) argument 54 wl->if_ops->disable_irq(wl); 57 static void wl1251_power_off(struct wl1251 *wl) argument 59 wl->set_power(false); 62 static void wl1251_power_on(struct wl1251 *wl) argument 64 wl 67 wl1251_fetch_firmware(struct wl1251 *wl) argument 106 wl1251_fetch_nvs(struct wl1251 *wl) argument 143 wl1251_fw_wakeup(struct wl1251 *wl) argument 155 wl1251_chip_wakeup(struct wl1251 *wl) argument 218 struct wl1251 *wl = local 324 wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_period) argument 350 struct wl1251 *wl = local 377 struct wl1251 *wl = hw->priv; local 404 struct wl1251 *wl = hw->priv; local 454 struct wl1251 *wl = hw->priv; local 511 struct wl1251 *wl = hw->priv; local 553 struct wl1251 *wl = hw->priv; local 561 wl1251_build_qos_null_data(struct wl1251 *wl) argument 583 struct wl1251 *wl = hw->priv; local 666 struct wl1251 *wl = hw->priv; local 706 wl1251_set_key_type(struct wl1251 *wl, struct wl1251_cmd_set_keys *key, enum set_key_cmd cmd, struct ieee80211_key_conf *mac80211_key, const u8 *addr) argument 749 struct wl1251 *wl = hw->priv; local 850 struct wl1251 *wl = hw->priv; local 912 struct wl1251 *wl = hw->priv; local 938 struct wl1251 *wl = hw->priv; local 1125 struct wl1251 *wl = hw->priv; local 1167 struct wl1251 *wl = hw->priv; local 1204 wl1251_read_eeprom_byte(struct wl1251 *wl, off_t offset, u8 *data) argument 1227 wl1251_read_eeprom(struct wl1251 *wl, off_t offset, u8 *data, size_t len) argument 1244 wl1251_read_eeprom_mac(struct wl1251 *wl) argument 1264 wl1251_register_hw(struct wl1251 *wl) argument 1286 wl1251_init_ieee80211(struct wl1251 *wl) argument 1328 struct wl1251 *wl; local 1400 wl1251_free_hw(struct wl1251 *wl) argument [all...] |
H A D | wl1271_init.c | 34 static int wl1271_init_hwenc_config(struct wl1271 *wl) argument 38 ret = wl1271_acx_feature_cfg(wl); 44 ret = wl1271_cmd_set_default_wep_key(wl, wl->default_key); 53 int wl1271_init_templates_config(struct wl1271 *wl) argument 58 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_CFG_PROBE_REQ_2_4, NULL, 66 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_CFG_PROBE_REQ_5, 73 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_NULL_DATA, NULL, 79 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_PS_POLL, NULL, 85 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_QOS_NULL_DAT 117 wl1271_init_rx_config(struct wl1271 *wl, u32 config, u32 filter) argument 132 wl1271_init_phy_config(struct wl1271 *wl) argument 159 wl1271_init_beacon_filter(struct wl1271 *wl) argument 175 wl1271_init_pta(struct wl1271 *wl) argument 190 wl1271_init_energy_detection(struct wl1271 *wl) argument 201 wl1271_init_beacon_broadcast(struct wl1271 *wl) argument 212 wl1271_hw_init(struct wl1271 *wl) argument [all...] |
H A D | wl1271_io.c | 46 void wl1271_disable_interrupts(struct wl1271 *wl) argument 48 wl->if_ops->disable_irq(wl); 51 void wl1271_enable_interrupts(struct wl1271 *wl) argument 53 wl->if_ops->enable_irq(wl); 90 int wl1271_set_partition(struct wl1271 *wl, argument 94 memcpy(&wl->part, p, sizeof(*p)); 106 wl1271_raw_write32(wl, HW_PART0_START_ADDR, p->mem.start); 107 wl1271_raw_write32(wl, HW_PART0_SIZE_ADD 117 wl1271_io_reset(struct wl1271 *wl) argument 122 wl1271_io_init(struct wl1271 *wl) argument 127 wl1271_top_reg_write(struct wl1271 *wl, int addr, u16 val) argument 140 wl1271_top_reg_read(struct wl1271 *wl, int addr) argument [all...] |
H A D | wl1271_scan.c | 31 static int wl1271_get_scan_channels(struct wl1271 *wl, argument 45 if (!wl->scan.scanned_ch[i] && 75 wl->scan.scanned_ch[i] = true; 86 static int wl1271_scan_send(struct wl1271 *wl, enum ieee80211_band band, argument 107 cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, 130 if (wl->scan.ssid_len && wl->scan.ssid) { 131 cmd->params.ssid_len = wl->scan.ssid_len; 132 memcpy(cmd->params.ssid, wl 166 wl1271_scan_stm(struct wl1271 *wl) argument 234 wl1271_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len, struct cfg80211_scan_request *req) argument [all...] |
H A D | wl1271_boot.c | 92 static void wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) argument 97 cpu_ctrl = wl1271_read32(wl, ACX_REG_ECPU_CONTROL); 101 wl1271_write32(wl, ACX_REG_ECPU_CONTROL, cpu_ctrl); 104 static void wl1271_boot_fw_version(struct wl1271 *wl) argument 108 wl1271_read(wl, wl->cmd_box_addr, &static_data, sizeof(static_data), 111 strncpy(wl->chip.fw_ver, static_data.fw_version, 112 sizeof(wl->chip.fw_ver)); 115 wl->chip.fw_ver[sizeof(wl 118 wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, size_t fw_data_len, u32 dest) argument 185 wl1271_boot_upload_firmware(struct wl1271 *wl) argument 218 wl1271_boot_upload_nvs(struct wl1271 *wl) argument 296 wl1271_boot_enable_interrupts(struct wl1271 *wl) argument 304 wl1271_boot_soft_reset(struct wl1271 *wl) argument 339 wl1271_boot_run_firmware(struct wl1271 *wl) argument 421 wl1271_boot_write_irq_polarity(struct wl1271 *wl) argument 434 wl1271_boot_hw_version(struct wl1271 *wl) argument 444 wl1271_boot(struct wl1271 *wl) argument [all...] |
H A D | wl1271_tx.c | 33 static int wl1271_tx_id(struct wl1271 *wl, struct sk_buff *skb) argument 37 if (wl->tx_frames[i] == NULL) { 38 wl->tx_frames[i] = skb; 39 wl->tx_frames_cnt++; 46 static int wl1271_tx_allocate(struct wl1271 *wl, struct sk_buff *skb, u32 extra) argument 54 id = wl1271_tx_id(wl, skb); 62 if (total_blocks <= wl->tx_blocks_available) { 70 wl->tx_blocks_available -= total_blocks; 78 wl->tx_frames[id] = NULL; 79 wl 85 wl1271_tx_fill_hdr(struct wl1271 *wl, struct sk_buff *skb, u32 extra, struct ieee80211_tx_info *control) argument 139 wl1271_tx_send_packet(struct wl1271 *wl, struct sk_buff *skb, struct ieee80211_tx_info *control) argument 179 wl1271_tx_frame(struct wl1271 *wl, struct sk_buff *skb) argument 221 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set) argument 239 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); local 299 wl1271_tx_complete_packet(struct wl1271 *wl, struct wl1271_tx_hw_res_descr *result) argument 363 wl1271_tx_complete(struct wl1271 *wl) argument 414 wl1271_tx_reset(struct wl1271 *wl) argument 439 wl1271_tx_flush(struct wl1271 *wl) argument [all...] |
H A D | wl1251_io.c | 42 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) argument 56 return addr - wl->physical_reg_addr + wl->virtual_reg_addr; 59 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) argument 61 return addr - wl->physical_mem_addr + wl->virtual_mem_addr; 64 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) argument 68 physical = wl1251_translate_mem_addr(wl, addr); 70 wl->if_ops->read(wl, physica 73 wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) argument 82 wl1251_mem_read32(struct wl1251 *wl, int addr) argument 87 wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) argument 92 wl1251_reg_read32(struct wl1251 *wl, int addr) argument 97 wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) argument 135 wl1251_set_partition(struct wl1251 *wl, u32 mem_start, u32 mem_size, u32 reg_start, u32 reg_size) argument [all...] |
H A D | wl1251_sdio.c | 47 static struct sdio_func *wl_to_func(struct wl1251 *wl) argument 49 struct wl1251_sdio *wl_sdio = wl->if_priv; 55 struct wl1251 *wl = sdio_get_drvdata(func); local 59 ieee80211_queue_work(wl->hw, &wl->irq_work); 69 static void wl1251_sdio_read(struct wl1251 *wl, int addr, argument 73 struct sdio_func *func = wl_to_func(wl); 82 static void wl1251_sdio_write(struct wl1251 *wl, int addr, argument 86 struct sdio_func *func = wl_to_func(wl); 95 static void wl1251_sdio_read_elp(struct wl1251 *wl, in argument 115 wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) argument 131 wl1251_sdio_reset(struct wl1251 *wl) argument 135 wl1251_sdio_enable_irq(struct wl1251 *wl) argument 144 wl1251_sdio_disable_irq(struct wl1251 *wl) argument 156 struct wl1251 *wl = cookie; local 163 wl1251_enable_line_irq(struct wl1251 *wl) argument 168 wl1251_disable_line_irq(struct wl1251 *wl) argument 213 struct wl1251 *wl; local 293 struct wl1251 *wl = sdio_get_drvdata(func); local [all...] |
H A D | wl1271_sdio.c | 54 static inline struct sdio_func *wl_to_func(struct wl1271 *wl) argument 56 return wl->if_priv; 59 static struct device *wl1271_sdio_wl_to_dev(struct wl1271 *wl) argument 61 return &(wl_to_func(wl)->dev); 66 struct wl1271 *wl = cookie; local 72 spin_lock_irqsave(&wl->wl_lock, flags); 73 if (wl->elp_compl) { 74 complete(wl->elp_compl); 75 wl->elp_compl = NULL; 78 if (!test_and_set_bit(WL1271_FLAG_IRQ_RUNNING, &wl 86 wl1271_sdio_disable_interrupts(struct wl1271 *wl) argument 91 wl1271_sdio_enable_interrupts(struct wl1271 *wl) argument 96 wl1271_sdio_reset(struct wl1271 *wl) argument 100 wl1271_sdio_init(struct wl1271 *wl) argument 104 wl1271_sdio_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 130 wl1271_sdio_raw_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 155 wl1271_sdio_set_power(struct wl1271 *wl, bool enable) argument 187 struct wl1271 *wl; local 249 struct wl1271 *wl = sdio_get_drvdata(func); local [all...] |