/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | hw_ops.h | 15 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) argument 17 if (!wl->ops->calc_tx_blocks) 20 return wl->ops->calc_tx_blocks(wl, len, spare_blks); 24 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, argument 27 if (!wl->ops->set_tx_desc_blocks) 30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); 34 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, argument 38 if (!wl 45 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) argument 55 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) argument 64 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) argument 72 wlcore_hw_tx_delayed_compl(struct wl1271 *wl) argument 80 wlcore_hw_tx_immediate_compl(struct wl1271 *wl) argument 87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 96 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) argument 105 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 113 wlcore_identify_fw(struct wl1271 *wl) argument 122 wlcore_hw_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) argument 133 wlcore_hw_set_rx_csum(struct wl1271 *wl, struct wl1271_rx_descriptor *desc, struct sk_buff *skb) argument 142 wlcore_hw_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 152 wlcore_debugfs_init(struct wl1271 *wl, struct dentry *rootdir) argument 161 wlcore_handle_static_data(struct wl1271 *wl, void *static_data) argument 170 wlcore_hw_get_spare_blocks(struct wl1271 *wl, bool is_gem) argument 179 wlcore_hw_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) argument 191 wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) argument 200 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 207 wlcore_hw_interrupt_notify(struct wl1271 *wl, bool action) argument 215 wlcore_hw_rx_ba_filter(struct wl1271 *wl, bool action) argument 223 wlcore_hw_ap_sleep(struct wl1271 *wl) argument 232 wlcore_hw_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) argument 245 wlcore_hw_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) argument 254 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) argument 264 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) argument 274 wlcore_smart_config_start(struct wl1271 *wl, u32 group_bitmap) argument 283 wlcore_smart_config_stop(struct wl1271 *wl) argument 292 wlcore_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, u8 key_len, u8 *key) argument 302 wlcore_hw_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) argument 311 wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
H A D | sysfs.h | 11 int wlcore_sysfs_init(struct wl1271 *wl); 12 void wlcore_sysfs_free(struct wl1271 *wl);
|
H A D | init.h | 15 int wl1271_hw_init_power_auth(struct wl1271 *wl); 16 int wl1271_init_templates_config(struct wl1271 *wl); 17 int wl1271_init_pta(struct wl1271 *wl); 18 int wl1271_init_energy_detection(struct wl1271 *wl); 19 int wl1271_chip_specific_init(struct wl1271 *wl); 20 int wl1271_hw_init(struct wl1271 *wl); 21 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 22 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif); 23 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif); 24 int wl1271_sta_hw_init(struct wl1271 *wl, struc [all...] |
H A D | io.h | 34 void wlcore_disable_interrupts(struct wl1271 *wl); 35 void wlcore_disable_interrupts_nosync(struct wl1271 *wl); 36 void wlcore_enable_interrupts(struct wl1271 *wl); 37 void wlcore_synchronize_interrupts(struct wl1271 *wl); 39 void wl1271_io_reset(struct wl1271 *wl); 40 void wl1271_io_init(struct wl1271 *wl); 41 int wlcore_translate_addr(struct wl1271 *wl, int addr); 44 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, argument 50 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || 51 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl 62 wlcore_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 80 wlcore_raw_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) argument 87 wlcore_raw_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) argument 94 wlcore_raw_read32(struct wl1271 *wl, int addr, u32 *val) argument 110 wlcore_raw_write32(struct wl1271 *wl, int addr, u32 val) argument 118 wlcore_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 128 wlcore_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 138 wlcore_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) argument 145 wlcore_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) argument 152 wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) argument 167 wlcore_read32(struct wl1271 *wl, int addr, u32 *val) argument 173 wlcore_write32(struct wl1271 *wl, int addr, u32 val) argument 179 wlcore_read_reg(struct wl1271 *wl, int reg, u32 *val) argument 187 wlcore_write_reg(struct wl1271 *wl, int reg, u32 val) argument 195 wl1271_power_off(struct wl1271 *wl) argument 208 wl1271_power_on(struct wl1271 *wl) argument [all...] |
H A D | sysfs.c | 19 struct wl1271 *wl = dev_get_drvdata(dev); local 24 mutex_lock(&wl->mutex); 26 wl->sg_enabled); 27 mutex_unlock(&wl->mutex); 37 struct wl1271 *wl = dev_get_drvdata(dev); local 47 mutex_lock(&wl->mutex); 51 if (res == wl->sg_enabled) 54 wl->sg_enabled = res; 56 if (unlikely(wl->state != WLCORE_STATE_ON)) 59 ret = pm_runtime_resume_and_get(wl 78 struct wl1271 *wl = dev_get_drvdata(dev); local 100 struct wl1271 *wl = dev_get_drvdata(dev); local 132 wlcore_sysfs_init(struct wl1271 *wl) argument 169 wlcore_sysfs_free(struct wl1271 *wl) argument [all...] |
H A D | boot.c | 21 static int wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) argument 27 ret = wlcore_read_reg(wl, REG_ECPU_CONTROL, &cpu_ctrl); 33 ret = wlcore_write_reg(wl, REG_ECPU_CONTROL, cpu_ctrl); 39 static int wlcore_boot_parse_fw_ver(struct wl1271 *wl, argument 44 strscpy(wl->chip.fw_ver_str, static_data->fw_version, 45 sizeof(wl->chip.fw_ver_str)); 47 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", 48 &wl->chip.fw_ver[0], &wl->chip.fw_ver[1], 49 &wl 66 wlcore_validate_fw_ver(struct wl1271 *wl) argument 126 wlcore_boot_static_data(struct wl1271 *wl) argument 160 wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, size_t fw_data_len, u32 dest) argument 235 wlcore_boot_upload_firmware(struct wl1271 *wl) argument 269 wlcore_boot_upload_nvs(struct wl1271 *wl) argument 430 wlcore_boot_run_firmware(struct wl1271 *wl) argument [all...] |
H A D | init.c | 23 int wl1271_init_templates_config(struct wl1271 *wl) argument 29 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 30 wl->scan_templ_id_2_4, NULL, 36 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 37 wl->scan_templ_id_5, 43 if (wl->quirks & WLCORE_QUIRK_DUAL_PROBE_TMPL) { 44 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 45 wl->sched_scan_templ_id_2_4, 52 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 53 wl 144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 170 wl1271_ap_init_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 203 wl1271_ap_init_qos_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 236 wl12xx_init_rx_config(struct wl1271 *wl) argument 247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 284 wl1271_init_pta(struct wl1271 *wl) argument 299 wl1271_init_energy_detection(struct wl1271 *wl) argument 310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 322 wl12xx_init_fwlog(struct wl1271 *wl) argument 337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 358 wl1271_sta_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 389 wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) argument 417 wl1271_ap_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 555 wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) argument 659 wl1271_hw_init(struct wl1271 *wl) argument [all...] |
H A D | tx.c | 30 static int wl1271_set_default_wep_key(struct wl1271 *wl, argument 37 ret = wl12xx_cmd_set_default_wep_key(wl, id, 40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); 49 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) argument 53 id = find_first_zero_bit(wl->tx_frames_map, wl->num_tx_desc); 54 if (id >= wl->num_tx_desc) 57 __set_bit(id, wl->tx_frames_map); 58 wl->tx_frames[id] = skb; 59 wl 63 wl1271_free_tx_id(struct wl1271 *wl, int id) argument 75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 134 wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) argument 140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument 162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument 179 wlcore_calc_packet_alignment(struct wl1271 *wl, unsigned int packet_length) argument 190 wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, u32 buf_offset, u8 hlid, bool is_gem) argument 250 wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, struct ieee80211_tx_info *control, u8 hlid) argument 360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) argument 439 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, enum nl80211_band rate_band) argument 465 wl1271_handle_tx_low_watermark(struct wl1271 *wl) argument 483 wlcore_select_ac(struct wl1271 *wl) argument 507 wlcore_lnk_dequeue(struct wl1271 *wl, struct wl1271_link *lnk, u8 q) argument 528 wlcore_lnk_dequeue_high_prio(struct wl1271 *wl, u8 hlid, u8 ac, u8 *low_prio_hlid) argument 547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) argument 582 wl1271_skb_dequeue(struct wl1271 *wl, u8 *hlid) argument 672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) argument 702 wl12xx_rearm_rx_streaming(struct wl1271 *wl, unsigned long *active_hlids) argument 748 wlcore_tx_work_locked(struct wl1271 *wl) argument 854 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); local 896 wl1271_tx_complete_packet(struct wl1271 *wl, struct wl1271_tx_hw_res_descr *result) argument 971 wlcore_tx_complete(struct wl1271 *wl) argument 1017 wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid) argument 1054 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1075 wl12xx_tx_reset(struct wl1271 *wl) argument 1133 wl1271_tx_flush(struct wl1271 *wl) argument 1187 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set) argument 1196 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1211 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1221 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1241 wlcore_stop_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) argument 1262 wlcore_wake_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) argument 1283 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1298 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1308 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) argument [all...] |
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | boot.h | 13 int wl1251_boot_soft_reset(struct wl1251 *wl); 14 int wl1251_boot_init_seq(struct wl1251 *wl); 15 int wl1251_boot_run_firmware(struct wl1251 *wl); 16 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl); 17 int wl1251_boot(struct wl1251 *wl);
|
H A D | debugfs.h | 13 int wl1251_debugfs_init(struct wl1251 *wl); 14 void wl1251_debugfs_exit(struct wl1251 *wl); 15 void wl1251_debugfs_reset(struct wl1251 *wl);
|
H A D | io.h | 23 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) argument 25 wl->if_ops->read(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); 27 return le32_to_cpu(wl->buffer_32); 30 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) argument 32 wl->buffer_32 = cpu_to_le32(val); 33 wl->if_ops->write(wl, add 36 wl1251_read_elp(struct wl1251 *wl, int addr) argument 48 wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) argument [all...] |
H A D | main.c | 32 void wl1251_enable_interrupts(struct wl1251 *wl) argument 34 wl->if_ops->enable_irq(wl); 37 void wl1251_disable_interrupts(struct wl1251 *wl) argument 39 wl->if_ops->disable_irq(wl); 42 static int wl1251_power_off(struct wl1251 *wl) argument 44 return wl->if_ops->power(wl, false); 47 static int wl1251_power_on(struct wl1251 *wl) argument 52 wl1251_fetch_firmware(struct wl1251 *wl) argument 91 wl1251_fetch_nvs(struct wl1251 *wl) argument 129 wl1251_fw_wakeup(struct wl1251 *wl) argument 141 wl1251_chip_wakeup(struct wl1251 *wl) argument 200 struct wl1251 *wl = local 306 wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_period) argument 342 struct wl1251 *wl = hw->priv; local 370 struct wl1251 *wl = hw->priv; local 420 struct wl1251 *wl = hw->priv; local 483 struct wl1251 *wl = hw->priv; local 529 struct wl1251 *wl = hw->priv; local 538 wl1251_build_null_data(struct wl1251 *wl) argument 566 wl1251_build_qos_null_data(struct wl1251 *wl) argument 587 wl1251_can_do_pm(struct ieee80211_conf *conf, struct wl1251 *wl) argument 594 struct wl1251 *wl = hw->priv; local 723 struct wl1251 *wl = hw->priv; local 762 struct wl1251 *wl = hw->priv; local 827 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 871 struct wl1251 *wl = hw->priv; local 977 struct wl1251 *wl = hw->priv; local 1056 struct wl1251 *wl = hw->priv; local 1082 struct wl1251 *wl = hw->priv; local 1290 struct wl1251 *wl = hw->priv; local 1332 struct wl1251 *wl = hw->priv; local 1375 wl1251_read_eeprom_byte(struct wl1251 *wl, off_t offset, u8 *data) argument 1398 wl1251_read_eeprom(struct wl1251 *wl, off_t offset, u8 *data, size_t len) argument 1415 wl1251_read_eeprom_mac(struct wl1251 *wl) argument 1440 wl1251_check_nvs_mac(struct wl1251 *wl) argument 1454 wl1251_read_nvs_mac(struct wl1251 *wl) argument 1475 wl1251_write_nvs_mac(struct wl1251 *wl) argument 1490 wl1251_register_hw(struct wl1251 *wl) argument 1512 wl1251_init_ieee80211(struct wl1251 *wl) argument 1584 struct wl1251 *wl; local 1653 wl1251_free_hw(struct wl1251 *wl) argument [all...] |
H A D | init.c | 18 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) argument 22 ret = wl1251_acx_feature_cfg(wl, 0); 28 ret = wl1251_acx_default_key(wl, wl->default_key); 37 int wl1251_hw_init_templates_config(struct wl1251 *wl) argument 43 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, 48 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, 53 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, 58 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, 64 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RES 89 wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) argument 104 wl1251_hw_init_phy_config(struct wl1251 *wl) argument 131 wl1251_hw_init_beacon_filter(struct wl1251 *wl) argument 147 wl1251_hw_init_pta(struct wl1251 *wl) argument 162 wl1251_hw_init_energy_detection(struct wl1251 *wl) argument 173 wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) argument 184 wl1251_hw_init_power_auth(struct wl1251 *wl) argument 189 wl1251_hw_init_mem_config(struct wl1251 *wl) argument 256 wl1251_hw_init_tx_queue_config(struct wl1251 *wl) argument 292 wl1251_hw_init_data_path_config(struct wl1251 *wl) argument 313 wl1251_hw_init(struct wl1251 *wl) argument [all...] |
H A D | ps.c | 19 struct wl1251 *wl; local 22 wl = container_of(dwork, struct wl1251, elp_work); 26 mutex_lock(&wl->mutex); 28 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) 32 wl1251_write_elp(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); 33 wl->elp = true; 36 mutex_unlock(&wl->mutex); 42 void wl1251_ps_elp_sleep(struct wl1251 *wl) argument 46 if (wl 52 wl1251_ps_elp_wakeup(struct wl1251 *wl) argument 92 wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) argument [all...] |
H A D | event.c | 15 static int wl1251_event_scan_complete(struct wl1251 *wl, argument 24 if (wl->scanning) { 29 ieee80211_scan_completed(wl->hw, &info); 31 wl->scanning = false; 32 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) 33 ret = wl1251_ps_set_mode(wl, STATION_IDLE); 40 static int wl1251_event_ps_report(struct wl1251 *wl, argument 51 if (wl->station_mode != STATION_POWER_SAVE_MODE) { 53 wl->psm_entry_retry = 0; 57 if (wl 83 wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) argument 158 wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) argument 181 wl1251_event_unmask(struct wl1251 *wl) argument 192 wl1251_event_mbox_config(struct wl1251 *wl) argument 201 wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) argument [all...] |
H A D | ps.h | 15 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode); 16 void wl1251_ps_elp_sleep(struct wl1251 *wl); 17 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
|
H A D | boot.c | 17 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) argument 19 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); 20 wl1251_reg_write32(wl, HI_CFG, HI_CFG_DEF_VAL); 23 int wl1251_boot_soft_reset(struct wl1251 *wl) argument 29 wl1251_reg_write32(wl, ACX_REG_SLV_SOFT_RESET, ACX_SLV_SOFT_RESET_BIT); 34 boot_data = wl1251_reg_read32(wl, ACX_REG_SLV_SOFT_RESET); 50 wl1251_reg_write32(wl, ENABLE, 0x0); 53 wl1251_reg_write32(wl, SPARE_A2, 0xffff); 58 int wl1251_boot_init_seq(struct wl1251 *wl) argument 196 wl1251_boot_set_ecpu_ctrl(struct wl1251 *wl, u32 flag) argument 208 wl1251_boot_run_firmware(struct wl1251 *wl) argument 303 wl1251_boot_upload_firmware(struct wl1251 *wl) argument 388 wl1251_boot_upload_nvs(struct wl1251 *wl) argument 467 wl1251_boot(struct wl1251 *wl) argument [all...] |
H A D | init.h | 60 int wl1251_hw_init_hwenc_config(struct wl1251 *wl); 61 int wl1251_hw_init_templates_config(struct wl1251 *wl); 62 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter); 63 int wl1251_hw_init_phy_config(struct wl1251 *wl); 64 int wl1251_hw_init_beacon_filter(struct wl1251 *wl); 65 int wl1251_hw_init_pta(struct wl1251 *wl); 66 int wl1251_hw_init_energy_detection(struct wl1251 *wl); 67 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl); 68 int wl1251_hw_init_power_auth(struct wl1251 *wl); 69 int wl1251_hw_init_mem_config(struct wl1251 *wl); [all...] |
H A D | tx.c | 19 static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) argument 23 data_in_count = wl->data_in_count; 40 static int wl1251_tx_path_status(struct wl1251 *wl) argument 45 addr = wl->data_path->tx_control_addr; 46 status = wl1251_mem_read32(wl, addr); 48 busy = wl1251_tx_double_buffer_busy(wl, data_out_count); 56 static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb) argument 61 if (wl->tx_frames[i] == NULL) { 62 wl->tx_frames[i] = skb; 134 static int wl1251_tx_fill_hdr(struct wl1251 *wl, struc argument 167 wl1251_tx_send_packet(struct wl1251 *wl, struct sk_buff *skb, struct ieee80211_tx_info *control) argument 249 wl1251_tx_trigger(struct wl1251 *wl) argument 268 enable_tx_for_packet_injection(struct wl1251 *wl) argument 289 wl1251_tx_frame(struct wl1251 *wl, struct sk_buff *skb) argument 332 struct wl1251 *wl = container_of(work, struct wl1251, tx_work); local 395 wl1251_tx_packet_cb(struct wl1251 *wl, struct tx_result *result) argument 443 wl1251_tx_complete(struct wl1251 *wl) argument 552 wl1251_tx_flush(struct wl1251 *wl) argument [all...] |
/linux-master/drivers/net/wireless/ti/wl12xx/ |
H A D | event.c | 13 int wl12xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, argument 31 return wlcore_cmd_wait_for_event_or_timeout(wl, local_event, timeout); 34 int wl12xx_process_mailbox_events(struct wl1271 *wl) argument 36 struct wl12xx_event_mailbox *mbox = wl->mbox; 49 if (wl->scan_wlvif) 50 wl12xx_scan_completed(wl, wl->scan_wlvif); 58 wlcore_scan_sched_scan_results(wl); 62 wlcore_event_sched_scan_completed(wl, 65 wlcore_event_soft_gemini_sense(wl, [all...] |
H A D | debugfs.h | 11 int wl12xx_debugfs_add_files(struct wl1271 *wl,
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | led.c | 22 static void brcms_radio_led_ctrl(struct brcms_info *wl, bool state) argument 24 if (!wl->radio_led.gpiod) 28 gpiod_set_value(wl->radio_led.gpiod, 1); 30 gpiod_set_value(wl->radio_led.gpiod, 0); 38 struct brcms_info *wl = container_of(led_dev, local 40 brcms_radio_led_ctrl(wl, brightness); 43 void brcms_led_unregister(struct brcms_info *wl) argument 45 if (wl->led_dev.dev) 46 led_classdev_unregister(&wl->led_dev); 47 if (wl 51 brcms_led_register(struct brcms_info *wl) argument [all...] |
H A D | led.h | 28 void brcms_led_unregister(struct brcms_info *wl); 29 int brcms_led_register(struct brcms_info *wl); 31 static inline void brcms_led_unregister(struct brcms_info *wl) {}; argument 32 static inline int brcms_led_register(struct brcms_info *wl) argument
|
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.h | 11 int wl18xx_debugfs_add_files(struct wl1271 *wl,
|
/linux-master/kernel/power/ |
H A D | wakelock.c | 41 struct wakelock *wl; local 47 wl = rb_entry(node, struct wakelock, node); 48 if (wl->ws->active == show_active) 49 len += sysfs_emit_at(buf, len, "%s ", wl->name); 90 static inline void wakelocks_lru_add(struct wakelock *wl) argument 92 list_add(&wl->lru, &wakelocks_lru_list); 95 static inline void wakelocks_lru_most_recent(struct wakelock *wl) argument 97 list_move(&wl->lru, &wakelocks_lru_list); 102 struct wakelock *wl, *aux; local 108 list_for_each_entry_safe_reverse(wl, au 142 wakelocks_lru_add(struct wakelock *wl) argument 143 wakelocks_lru_most_recent(struct wakelock *wl) argument 152 struct wakelock *wl; local 206 struct wakelock *wl; local 253 struct wakelock *wl; local [all...] |