Home
last modified time | relevance | path

Searched refs:wl (Results 1 - 25 of 339) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Dmain.c32 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts() argument
34 wl->if_ops->enable_irq(wl); in wl1251_enable_interrupts()
37 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts() argument
39 wl->if_ops->disable_irq(wl); in wl1251_disable_interrupts()
42 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off() argument
44 return wl->if_ops->power(wl, false); in wl1251_power_off()
47 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on() argument
52 wl1251_fetch_firmware(struct wl1251 *wl) wl1251_fetch_firmware() argument
91 wl1251_fetch_nvs(struct wl1251 *wl) wl1251_fetch_nvs() argument
129 wl1251_fw_wakeup(struct wl1251 *wl) wl1251_fw_wakeup() argument
141 wl1251_chip_wakeup(struct wl1251 *wl) wl1251_chip_wakeup() argument
200 struct wl1251 *wl = wl1251_irq_work() local
306 wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_period) wl1251_join() argument
342 struct wl1251 *wl = hw->priv; wl1251_op_tx() local
370 struct wl1251 *wl = hw->priv; wl1251_op_start() local
420 struct wl1251 *wl = hw->priv; wl1251_op_stop() local
483 struct wl1251 *wl = hw->priv; wl1251_op_add_interface() local
529 struct wl1251 *wl = hw->priv; wl1251_op_remove_interface() local
538 wl1251_build_null_data(struct wl1251 *wl) wl1251_build_null_data() argument
566 wl1251_build_qos_null_data(struct wl1251 *wl) wl1251_build_qos_null_data() argument
587 wl1251_can_do_pm(struct ieee80211_conf *conf, struct wl1251 *wl) wl1251_can_do_pm() argument
594 struct wl1251 *wl = hw->priv; wl1251_op_config() local
723 struct wl1251 *wl = hw->priv; wl1251_op_prepare_multicast() local
762 struct wl1251 *wl = hw->priv; wl1251_op_configure_filter() 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) wl1251_set_key_type() argument
871 struct wl1251 *wl = hw->priv; wl1251_op_set_key() local
977 struct wl1251 *wl = hw->priv; wl1251_op_hw_scan() local
1056 struct wl1251 *wl = hw->priv; wl1251_op_set_rts_threshold() local
1082 struct wl1251 *wl = hw->priv; wl1251_op_bss_info_changed() local
1290 struct wl1251 *wl = hw->priv; wl1251_op_conf_tx() local
1332 struct wl1251 *wl = hw->priv; wl1251_op_get_survey() local
1371 wl1251_read_eeprom_byte(struct wl1251 *wl, off_t offset, u8 *data) wl1251_read_eeprom_byte() argument
1394 wl1251_read_eeprom(struct wl1251 *wl, off_t offset, u8 *data, size_t len) wl1251_read_eeprom() argument
1411 wl1251_read_eeprom_mac(struct wl1251 *wl) wl1251_read_eeprom_mac() argument
1436 wl1251_check_nvs_mac(struct wl1251 *wl) wl1251_check_nvs_mac() argument
1450 wl1251_read_nvs_mac(struct wl1251 *wl) wl1251_read_nvs_mac() argument
1471 wl1251_write_nvs_mac(struct wl1251 *wl) wl1251_write_nvs_mac() argument
1486 wl1251_register_hw(struct wl1251 *wl) wl1251_register_hw() argument
1508 wl1251_init_ieee80211(struct wl1251 *wl) wl1251_init_ieee80211() argument
1580 struct wl1251 *wl; wl1251_alloc_hw() local
1649 wl1251_free_hw(struct wl1251 *wl) wl1251_free_hw() argument
[all...]
H A Dinit.c18 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) in wl1251_hw_init_hwenc_config() argument
22 ret = wl1251_acx_feature_cfg(wl, 0); in wl1251_hw_init_hwenc_config()
28 ret = wl1251_acx_default_key(wl, wl->default_key); in wl1251_hw_init_hwenc_config()
37 int wl1251_hw_init_templates_config(struct wl1251 *wl) in wl1251_hw_init_templates_config() argument
43 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, in wl1251_hw_init_templates_config()
48 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
53 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, in wl1251_hw_init_templates_config()
58 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
64 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RES in wl1251_hw_init_templates_config()
89 wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) wl1251_hw_init_rx_config() argument
104 wl1251_hw_init_phy_config(struct wl1251 *wl) wl1251_hw_init_phy_config() argument
131 wl1251_hw_init_beacon_filter(struct wl1251 *wl) wl1251_hw_init_beacon_filter() argument
147 wl1251_hw_init_pta(struct wl1251 *wl) wl1251_hw_init_pta() argument
162 wl1251_hw_init_energy_detection(struct wl1251 *wl) wl1251_hw_init_energy_detection() argument
173 wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) wl1251_hw_init_beacon_broadcast() argument
184 wl1251_hw_init_power_auth(struct wl1251 *wl) wl1251_hw_init_power_auth() argument
189 wl1251_hw_init_mem_config(struct wl1251 *wl) wl1251_hw_init_mem_config() argument
256 wl1251_hw_init_tx_queue_config(struct wl1251 *wl) wl1251_hw_init_tx_queue_config() argument
292 wl1251_hw_init_data_path_config(struct wl1251 *wl) wl1251_hw_init_data_path_config() argument
313 wl1251_hw_init(struct wl1251 *wl) wl1251_hw_init() argument
[all...]
H A Devent.c15 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete() argument
24 if (wl->scanning) { in wl1251_event_scan_complete()
29 ieee80211_scan_completed(wl->hw, &info); in wl1251_event_scan_complete()
31 wl->scanning = false; in wl1251_event_scan_complete()
32 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) in wl1251_event_scan_complete()
33 ret = wl1251_ps_set_mode(wl, STATION_IDLE); in wl1251_event_scan_complete()
40 static int wl1251_event_ps_report(struct wl1251 *wl, in wl1251_event_ps_report() argument
51 if (wl->station_mode != STATION_POWER_SAVE_MODE) { in wl1251_event_ps_report()
53 wl->psm_entry_retry = 0; in wl1251_event_ps_report()
57 if (wl in wl1251_event_ps_report()
83 wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) wl1251_event_process() argument
158 wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) wl1251_event_wait() argument
181 wl1251_event_unmask(struct wl1251 *wl) wl1251_event_unmask() argument
192 wl1251_event_mbox_config(struct wl1251 *wl) wl1251_event_mbox_config() argument
201 wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) wl1251_event_handle() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Dmain.c32 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts() argument
34 wl->if_ops->enable_irq(wl); in wl1251_enable_interrupts()
37 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts() argument
39 wl->if_ops->disable_irq(wl); in wl1251_disable_interrupts()
42 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off() argument
44 return wl->if_ops->power(wl, false); in wl1251_power_off()
47 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on() argument
52 wl1251_fetch_firmware(struct wl1251 *wl) wl1251_fetch_firmware() argument
91 wl1251_fetch_nvs(struct wl1251 *wl) wl1251_fetch_nvs() argument
129 wl1251_fw_wakeup(struct wl1251 *wl) wl1251_fw_wakeup() argument
141 wl1251_chip_wakeup(struct wl1251 *wl) wl1251_chip_wakeup() argument
200 struct wl1251 *wl = wl1251_irq_work() local
306 wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_period) wl1251_join() argument
342 struct wl1251 *wl = hw->priv; wl1251_op_tx() local
370 struct wl1251 *wl = hw->priv; wl1251_op_start() local
420 struct wl1251 *wl = hw->priv; wl1251_op_stop() local
483 struct wl1251 *wl = hw->priv; wl1251_op_add_interface() local
529 struct wl1251 *wl = hw->priv; wl1251_op_remove_interface() local
538 wl1251_build_null_data(struct wl1251 *wl) wl1251_build_null_data() argument
566 wl1251_build_qos_null_data(struct wl1251 *wl) wl1251_build_qos_null_data() argument
587 wl1251_can_do_pm(struct ieee80211_conf *conf, struct wl1251 *wl) wl1251_can_do_pm() argument
594 struct wl1251 *wl = hw->priv; wl1251_op_config() local
723 struct wl1251 *wl = hw->priv; wl1251_op_prepare_multicast() local
762 struct wl1251 *wl = hw->priv; wl1251_op_configure_filter() 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) wl1251_set_key_type() argument
871 struct wl1251 *wl = hw->priv; wl1251_op_set_key() local
977 struct wl1251 *wl = hw->priv; wl1251_op_hw_scan() local
1056 struct wl1251 *wl = hw->priv; wl1251_op_set_rts_threshold() local
1082 struct wl1251 *wl = hw->priv; wl1251_op_bss_info_changed() local
1289 struct wl1251 *wl = hw->priv; wl1251_op_conf_tx() local
1331 struct wl1251 *wl = hw->priv; wl1251_op_get_survey() local
1369 wl1251_read_eeprom_byte(struct wl1251 *wl, off_t offset, u8 *data) wl1251_read_eeprom_byte() argument
1392 wl1251_read_eeprom(struct wl1251 *wl, off_t offset, u8 *data, size_t len) wl1251_read_eeprom() argument
1409 wl1251_read_eeprom_mac(struct wl1251 *wl) wl1251_read_eeprom_mac() argument
1434 wl1251_check_nvs_mac(struct wl1251 *wl) wl1251_check_nvs_mac() argument
1448 wl1251_read_nvs_mac(struct wl1251 *wl) wl1251_read_nvs_mac() argument
1469 wl1251_write_nvs_mac(struct wl1251 *wl) wl1251_write_nvs_mac() argument
1484 wl1251_register_hw(struct wl1251 *wl) wl1251_register_hw() argument
1506 wl1251_init_ieee80211(struct wl1251 *wl) wl1251_init_ieee80211() argument
1572 struct wl1251 *wl; wl1251_alloc_hw() local
1641 wl1251_free_hw(struct wl1251 *wl) wl1251_free_hw() argument
[all...]
H A Dinit.c18 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) in wl1251_hw_init_hwenc_config() argument
22 ret = wl1251_acx_feature_cfg(wl, 0); in wl1251_hw_init_hwenc_config()
28 ret = wl1251_acx_default_key(wl, wl->default_key); in wl1251_hw_init_hwenc_config()
37 int wl1251_hw_init_templates_config(struct wl1251 *wl) in wl1251_hw_init_templates_config() argument
43 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, in wl1251_hw_init_templates_config()
48 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
53 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, in wl1251_hw_init_templates_config()
58 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
64 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RES in wl1251_hw_init_templates_config()
89 wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) wl1251_hw_init_rx_config() argument
104 wl1251_hw_init_phy_config(struct wl1251 *wl) wl1251_hw_init_phy_config() argument
131 wl1251_hw_init_beacon_filter(struct wl1251 *wl) wl1251_hw_init_beacon_filter() argument
147 wl1251_hw_init_pta(struct wl1251 *wl) wl1251_hw_init_pta() argument
162 wl1251_hw_init_energy_detection(struct wl1251 *wl) wl1251_hw_init_energy_detection() argument
173 wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) wl1251_hw_init_beacon_broadcast() argument
184 wl1251_hw_init_power_auth(struct wl1251 *wl) wl1251_hw_init_power_auth() argument
189 wl1251_hw_init_mem_config(struct wl1251 *wl) wl1251_hw_init_mem_config() argument
256 wl1251_hw_init_tx_queue_config(struct wl1251 *wl) wl1251_hw_init_tx_queue_config() argument
292 wl1251_hw_init_data_path_config(struct wl1251 *wl) wl1251_hw_init_data_path_config() argument
313 wl1251_hw_init(struct wl1251 *wl) wl1251_hw_init() argument
[all...]
H A Devent.c15 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete() argument
24 if (wl->scanning) { in wl1251_event_scan_complete()
29 ieee80211_scan_completed(wl->hw, &info); in wl1251_event_scan_complete()
31 wl->scanning = false; in wl1251_event_scan_complete()
32 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) in wl1251_event_scan_complete()
33 ret = wl1251_ps_set_mode(wl, STATION_IDLE); in wl1251_event_scan_complete()
40 static int wl1251_event_ps_report(struct wl1251 *wl, in wl1251_event_ps_report() argument
51 if (wl->station_mode != STATION_POWER_SAVE_MODE) { in wl1251_event_ps_report()
53 wl->psm_entry_retry = 0; in wl1251_event_ps_report()
57 if (wl in wl1251_event_ps_report()
83 wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) wl1251_event_process() argument
158 wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) wl1251_event_wait() argument
183 wl1251_event_unmask(struct wl1251 *wl) wl1251_event_unmask() argument
194 wl1251_event_mbox_config(struct wl1251 *wl) wl1251_event_mbox_config() argument
203 wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) wl1251_event_handle() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h15 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks() argument
17 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks()
20 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks()
24 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks() argument
27 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks()
30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks()
34 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() argument
38 if (!wl in wlcore_hw_set_tx_desc_data_len()
45 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) wlcore_hw_get_rx_buf_align() argument
55 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) wlcore_hw_prepare_read() argument
64 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) wlcore_hw_get_rx_packet_len() argument
72 wlcore_hw_tx_delayed_compl(struct wl1271 *wl) wlcore_hw_tx_delayed_compl() argument
80 wlcore_hw_tx_immediate_compl(struct wl1271 *wl) wlcore_hw_tx_immediate_compl() argument
87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_init_vif() argument
96 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) wlcore_hw_convert_fw_status() argument
105 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_sta_get_ap_rate_mask() argument
113 wlcore_identify_fw(struct wl1271 *wl) wlcore_identify_fw() argument
122 wlcore_hw_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wlcore_hw_set_tx_desc_csum() argument
133 wlcore_hw_set_rx_csum(struct wl1271 *wl, struct wl1271_rx_descriptor *desc, struct sk_buff *skb) wlcore_hw_set_rx_csum() argument
142 wlcore_hw_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_ap_get_mimo_wide_rate_mask() argument
152 wlcore_debugfs_init(struct wl1271 *wl, struct dentry *rootdir) wlcore_debugfs_init() argument
161 wlcore_handle_static_data(struct wl1271 *wl, void *static_data) wlcore_handle_static_data() argument
170 wlcore_hw_get_spare_blocks(struct wl1271 *wl, bool is_gem) wlcore_hw_get_spare_blocks() 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) wlcore_hw_set_key() argument
191 wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) wlcore_hw_pre_pkt_send() argument
200 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_sta_rc_update() argument
207 wlcore_hw_interrupt_notify(struct wl1271 *wl, bool action) wlcore_hw_interrupt_notify() argument
215 wlcore_hw_rx_ba_filter(struct wl1271 *wl, bool action) wlcore_hw_rx_ba_filter() argument
223 wlcore_hw_ap_sleep(struct wl1271 *wl) wlcore_hw_ap_sleep() 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) wlcore_hw_set_peer_cap() argument
245 wlcore_hw_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) wlcore_hw_convert_hwaddr() argument
254 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wlcore_hw_lnk_high_prio() argument
264 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wlcore_hw_lnk_low_prio() argument
274 wlcore_smart_config_start(struct wl1271 *wl, u32 group_bitmap) wlcore_smart_config_start() argument
283 wlcore_smart_config_stop(struct wl1271 *wl) wlcore_smart_config_stop() argument
292 wlcore_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, u8 key_len, u8 *key) wlcore_smart_config_set_group_key() argument
302 wlcore_hw_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) wlcore_hw_set_cac() argument
311 wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_dfs_master_restart() argument
[all...]
H A Dio.h34 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, in wlcore_raw_write() argument
50 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || in wlcore_raw_write()
51 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl in wlcore_raw_write()
62 wlcore_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_read() argument
80 wlcore_raw_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_read_data() argument
87 wlcore_raw_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_write_data() argument
94 wlcore_raw_read32(struct wl1271 *wl, int addr, u32 *val) wlcore_raw_read32() argument
110 wlcore_raw_write32(struct wl1271 *wl, int addr, u32 val) wlcore_raw_write32() argument
118 wlcore_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_read() argument
128 wlcore_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_write() argument
138 wlcore_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_write_data() argument
145 wlcore_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_read_data() argument
152 wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) wlcore_read_hwaddr() argument
167 wlcore_read32(struct wl1271 *wl, int addr, u32 *val) wlcore_read32() argument
173 wlcore_write32(struct wl1271 *wl, int addr, u32 val) wlcore_write32() argument
179 wlcore_read_reg(struct wl1271 *wl, int reg, u32 *val) wlcore_read_reg() argument
187 wlcore_write_reg(struct wl1271 *wl, int reg, u32 val) wlcore_write_reg() argument
195 wl1271_power_off(struct wl1271 *wl) wl1271_power_off() argument
208 wl1271_power_on(struct wl1271 *wl) wl1271_power_on() argument
[all...]
H A Dinit.c23 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() argument
29 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
30 wl->scan_templ_id_2_4, NULL, in wl1271_init_templates_config()
36 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
37 wl->scan_templ_id_5, in wl1271_init_templates_config()
43 if (wl->quirks & WLCORE_QUIRK_DUAL_PROBE_TMPL) { in wl1271_init_templates_config()
44 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
45 wl->sched_scan_templ_id_2_4, in wl1271_init_templates_config()
52 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
53 wl in wl1271_init_templates_config()
144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_deauth_template() argument
170 wl1271_ap_init_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_null_template() argument
203 wl1271_ap_init_qos_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_qos_null_template() argument
236 wl12xx_init_rx_config(struct wl1271 *wl) wl12xx_init_rx_config() argument
247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_phy_vif_config() argument
267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_sta_beacon_filter() argument
284 wl1271_init_pta(struct wl1271 *wl) wl1271_init_pta() argument
299 wl1271_init_energy_detection(struct wl1271 *wl) wl1271_init_energy_detection() argument
310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_beacon_broadcast() argument
322 wl12xx_init_fwlog(struct wl1271 *wl) wl12xx_init_fwlog() argument
337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_sta_hw_init() argument
358 wl1271_sta_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_sta_hw_init_post_mem() argument
373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_hw_init() argument
389 wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_templates() argument
417 wl1271_ap_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_hw_init_post_mem() argument
423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_ap_rates() argument
482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_ba_policies() argument
502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_sta_role() argument
534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_ap_role() argument
555 wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_init_vif_specific() argument
659 wl1271_hw_init(struct wl1271 *wl) wl1271_hw_init() argument
[all...]
H A Dtx.c30 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() argument
37 ret = wl12xx_cmd_set_default_wep_key(wl, id, in wl1271_set_default_wep_key()
40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
49 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id() argument
53 id = find_first_zero_bit(wl->tx_frames_map, wl->num_tx_desc); in wl1271_alloc_tx_id()
54 if (id >= wl->num_tx_desc) in wl1271_alloc_tx_id()
57 __set_bit(id, wl->tx_frames_map); in wl1271_alloc_tx_id()
58 wl->tx_frames[id] = skb; in wl1271_alloc_tx_id()
59 wl in wl1271_alloc_tx_id()
63 wl1271_free_tx_id(struct wl1271 *wl, int id) wl1271_free_tx_id() argument
75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_tx_ap_update_inconnection_sta() argument
106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_tx_regulate_link() argument
134 wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) wl12xx_is_dummy_packet() argument
140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid_ap() argument
162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid() argument
179 wlcore_calc_packet_alignment(struct wl1271 *wl, unsigned int packet_length) wlcore_calc_packet_alignment() 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) wl1271_tx_allocate() 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) wl1271_tx_fill_hdr() argument
360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) wl1271_prepare_tx_frame() argument
439 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, enum nl80211_band rate_band) wl1271_tx_enabled_rates_get() argument
465 wl1271_handle_tx_low_watermark(struct wl1271 *wl) wl1271_handle_tx_low_watermark() argument
483 wlcore_select_ac(struct wl1271 *wl) wlcore_select_ac() argument
507 wlcore_lnk_dequeue(struct wl1271 *wl, struct wl1271_link *lnk, u8 q) wlcore_lnk_dequeue() argument
528 wlcore_lnk_dequeue_high_prio(struct wl1271 *wl, u8 hlid, u8 ac, u8 *low_prio_hlid) wlcore_lnk_dequeue_high_prio() argument
547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) wlcore_vif_dequeue_high_prio() argument
582 wl1271_skb_dequeue(struct wl1271 *wl, u8 *hlid) wl1271_skb_dequeue() argument
672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) wl1271_skb_queue_head() argument
702 wl12xx_rearm_rx_streaming(struct wl1271 *wl, unsigned long *active_hlids) wl12xx_rearm_rx_streaming() argument
748 wlcore_tx_work_locked(struct wl1271 *wl) wlcore_tx_work_locked() argument
854 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); wl1271_tx_work() local
898 wl1271_tx_complete_packet(struct wl1271 *wl, struct wl1271_tx_hw_res_descr *result) wl1271_tx_complete_packet() argument
973 wlcore_tx_complete(struct wl1271 *wl) wlcore_tx_complete() argument
1019 wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid) wl1271_tx_reset_link_queues() argument
1056 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_tx_reset_wlvif() argument
1077 wl12xx_tx_reset(struct wl1271 *wl) wl12xx_tx_reset() argument
1135 wl1271_tx_flush(struct wl1271 *wl) wl1271_tx_flush() argument
1189 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set) wl1271_tx_min_rate_get() argument
1198 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue_locked() argument
1213 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue() argument
1223 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_wake_queue() argument
1243 wlcore_stop_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_stop_queues() argument
1264 wlcore_wake_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_wake_queues() argument
1285 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason() argument
1300 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason_locked() argument
1310 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) wlcore_is_queue_stopped_locked() argument
[all...]
H A Dmain.c40 static void __wl1271_op_remove_interface(struct wl1271 *wl,
43 static void wlcore_op_stop_locked(struct wl1271 *wl);
44 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
46 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized() argument
59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
71 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() local
75 wl->dfs_region = request->dfs_region; in wl1271_reg_notify()
77 wlcore_regdomain_config(wl); in wl1271_reg_notify()
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() argument
85 /* we should hold wl in wl1271_set_rx_streaming()
102 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_recalc_rx_streaming() argument
131 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_enable_work() local
170 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_disable_work() local
197 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_timer() local
202 wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) wl12xx_rearm_tx_watchdog_locked() argument
218 struct wl1271 *wl = wlvif->wl; wlcore_rc_update_work() local
251 struct wl1271 *wl; wl12xx_tx_watchdog_work() local
310 wlcore_adjust_conf(struct wl1271 *wl) wlcore_adjust_conf() argument
335 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) wl12xx_irq_ps_regulate_link() argument
364 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) wl12xx_irq_update_links_status() argument
386 wlcore_fw_status(struct wl1271 *wl, struct wl_fw_status *status) wlcore_fw_status() argument
493 wl1271_flush_deferred_work(struct wl1271 *wl) wl1271_flush_deferred_work() argument
508 struct wl1271 *wl = wl1271_netstack_work() local
518 wlcore_irq_locked(struct wl1271 *wl) wlcore_irq_locked() argument
653 struct wl1271 *wl = cookie; wlcore_irq() local
736 wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) wl12xx_fetch_firmware() argument
799 wl12xx_queue_recovery_work(struct wl1271 *wl) wl12xx_queue_recovery_work() argument
812 wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) wl12xx_copy_fwlog() argument
826 wl12xx_read_fwlog_panic(struct wl1271 *wl) wl12xx_read_fwlog_panic() argument
860 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) wlcore_save_freed_pkts() argument
880 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) wlcore_save_freed_pkts_addr() argument
898 wlcore_print_recovery(struct wl1271 *wl) wlcore_print_recovery() argument
929 struct wl1271 *wl = wl1271_recovery_work() local
999 wlcore_fw_wakeup(struct wl1271 *wl) wlcore_fw_wakeup() argument
1004 wl1271_setup(struct wl1271 *wl) wl1271_setup() argument
1025 wl12xx_set_power_on(struct wl1271 *wl) wl12xx_set_power_on() argument
1054 wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) wl12xx_chip_wakeup() argument
1093 wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode) wl1271_plt_start() argument
1161 wl1271_plt_stop(struct wl1271 *wl) wl1271_plt_stop() argument
1215 struct wl1271 *wl = hw->priv; wl1271_op_tx() local
1284 wl1271_tx_dummy_packet(struct wl1271 *wl) wl1271_tx_dummy_packet() argument
1318 wl12xx_alloc_dummy_packet(struct wl1271 *wl) wl12xx_alloc_dummy_packet() argument
1560 wl1271_configure_wowlan(struct wl1271 *wl, struct cfg80211_wowlan *wow) wl1271_configure_wowlan() argument
1625 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_sta() argument
1655 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_ap() argument
1677 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend() argument
1688 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_configure_resume() argument
1726 struct wl1271 *wl = hw->priv; wl1271_op_suspend() local
1806 struct wl1271 *wl = hw->priv; wl1271_op_resume() local
1916 wlcore_op_stop_locked(struct wl1271 *wl) wlcore_op_stop_locked() argument
2026 struct wl1271 *wl = hw->priv; wlcore_op_stop() local
2040 struct wl1271 *wl; wlcore_channel_switch_work() local
2080 struct wl1271 *wl; wlcore_connection_loss_work() local
2108 struct wl1271 *wl; wlcore_pending_auth_complete_work() local
2149 wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) wl12xx_allocate_rate_policy() argument
2161 wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) wl12xx_free_rate_policy() argument
2170 wlcore_allocate_klv_template(struct wl1271 *wl, u8 *idx) wlcore_allocate_klv_template() argument
2182 wlcore_free_klv_template(struct wl1271 *wl, u8 *idx) wlcore_free_klv_template() argument
2191 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_get_role_type() argument
2219 wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) wl12xx_init_vif_data() argument
2315 wl12xx_init_fw(struct wl1271 *wl) wl12xx_init_fw() argument
2396 wl12xx_need_fw_change(struct wl1271 *wl, struct vif_counter_data vif_counter_data, bool add) wl12xx_need_fw_change() argument
2432 wl12xx_force_active_psm(struct wl1271 *wl) wl12xx_force_active_psm() argument
2466 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_allocate_hw_queue_base() argument
2525 struct wl1271 *wl = hw->priv; wl1271_op_add_interface() local
2646 __wl1271_op_remove_interface(struct wl1271 *wl, struct ieee80211_vif *vif, bool reset_tx_queues) __wl1271_op_remove_interface() argument
2802 struct wl1271 *wl = hw->priv; wl1271_op_remove_interface() local
2839 struct wl1271 *wl = hw->priv; wl12xx_op_change_interface() local
2853 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_join() argument
2904 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_set_ssid() argument
2926 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_assoc() argument
3011 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_unset_assoc() argument
3066 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_band_rate() argument
3072 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) wl1271_sta_handle_idle() argument
3091 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) wl12xx_config_vif() argument
3112 struct wl1271 *wl = hw->priv; wl1271_op_config() local
3200 struct wl1271 *wl = hw->priv; wl1271_op_configure_filter() local
3271 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) wl1271_record_ap_key() argument
3318 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_free_ap_keys() argument
3328 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_hwenc() argument
3368 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta, bool is_pairwise) wl1271_set_key() argument
3451 struct wl1271 *wl = hw->priv; wlcore_op_set_key() local
3493 wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) wlcore_set_key() argument
3607 struct wl1271 *wl = hw->priv; wl1271_op_set_default_key_idx() local
3650 wlcore_regdomain_config(struct wl1271 *wl) wlcore_regdomain_config() argument
3685 struct wl1271 *wl = hw->priv; wl1271_op_hw_scan() local
3735 struct wl1271 *wl = hw->priv; wl1271_op_cancel_hw_scan() local
3790 struct wl1271 *wl = hw->priv; wl1271_op_sched_scan_start() local
3826 struct wl1271 *wl = hw->priv; wl1271_op_sched_scan_stop() local
3855 struct wl1271 *wl = hw->priv; wl1271_op_set_frag_threshold() local
3886 struct wl1271 *wl = hw->priv; wl1271_op_set_rts_threshold() local
3948 wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, struct ieee80211_vif *vif) wl1271_ap_set_probe_resp_tmpl() argument
3976 wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, struct ieee80211_vif *vif, u8 *probe_rsp_data, size_t probe_rsp_len, u32 rates) wl1271_ap_set_probe_resp_tmpl_legacy() argument
4034 wl1271_bss_erp_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_erp_info_changed() argument
4077 wlcore_set_beacon_template(struct wl1271 *wl, struct ieee80211_vif *vif, bool is_ap) wlcore_set_beacon_template() argument
4163 wl1271_bss_beacon_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_beacon_info_changed() argument
4204 wl1271_bss_info_changed_ap(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_info_changed_ap() argument
4302 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_bssid() argument
4353 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_clear_bssid() argument
4376 wl1271_bss_info_changed_sta(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_info_changed_sta() argument
4629 struct wl1271 *wl = hw->priv; wl1271_op_bss_info_changed() local
4705 struct wl1271 *wl = hw->priv; wlcore_op_change_chanctx() local
4754 struct wl1271 *wl = hw->priv; wlcore_op_assign_vif_chanctx() local
4806 struct wl1271 *wl = hw->priv; wlcore_op_unassign_vif_chanctx() local
4844 __wlcore_switch_vif_chan(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_chanctx_conf *new_ctx) __wlcore_switch_vif_chan() argument
4887 struct wl1271 *wl = hw->priv; wlcore_op_switch_vif_chanctx() local
4922 struct wl1271 *wl = hw->priv; wl1271_op_conf_tx() local
4978 struct wl1271 *wl = hw->priv; wl1271_op_get_tsf() local
5022 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl1271_allocate_sta() argument
5051 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_free_sta() argument
5077 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_add() argument
5101 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_remove() argument
5123 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_roc_if_possible() argument
5142 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) wlcore_update_inconn_sta() argument
5182 wl12xx_update_sta_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) wl12xx_update_sta_state() argument
5294 struct wl1271 *wl = hw->priv; wl12xx_op_sta_state() local
5329 struct wl1271 *wl = hw->priv; wl1271_op_ampdu_action() local
5457 struct wl1271 *wl = hw->priv; wl12xx_set_bitrate_mask() local
5502 struct wl1271 *wl = hw->priv; wl12xx_op_channel_switch() local
5553 wlcore_get_beacon_ie(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 eid) wlcore_get_beacon_ie() argument
5569 wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *csa_count) wlcore_get_csa_count() argument
5589 struct wl1271 *wl = hw->priv; wlcore_op_channel_switch_beacon() local
5636 struct wl1271 *wl = hw->priv; wlcore_op_flush() local
5648 struct wl1271 *wl = hw->priv; wlcore_op_remain_on_channel() local
5690 __wlcore_roc_completed(struct wl1271 *wl) __wlcore_roc_completed() argument
5713 wlcore_roc_completed(struct wl1271 *wl) wlcore_roc_completed() argument
5745 struct wl1271 *wl; wlcore_roc_complete_work() local
5759 struct wl1271 *wl = hw->priv; wlcore_op_cancel_remain_on_channel() local
5799 struct wl1271 *wl = hw->priv; wlcore_op_sta_statistics() local
5836 struct wl1271 *wl = hw->priv; wlcore_op_get_expected_throughput() local
5845 struct wl1271 *wl = hw->priv; wl1271_tx_frames_pending() local
6048 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) wlcore_rate_to_idx() argument
6068 wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) wl12xx_derive_mac_addresses() argument
6107 wl12xx_get_hw_info(struct wl1271 *wl) wl12xx_get_hw_info() argument
6129 wl1271_register_hw(struct wl1271 *wl) wl1271_register_hw() argument
6198 wl1271_unregister_hw(struct wl1271 *wl) wl1271_unregister_hw() argument
6208 wl1271_init_ieee80211(struct wl1271 *wl) wl1271_init_ieee80211() argument
6361 struct wl1271 *wl; wlcore_alloc_hw() local
6507 wlcore_free_hw(struct wl1271 *wl) wlcore_free_hw() argument
6558 struct wl1271 *wl = context; wlcore_nvs_cb() local
6688 struct wl1271 *wl = dev_get_drvdata(dev); wlcore_runtime_suspend() local
6721 struct wl1271 *wl = dev_get_drvdata(dev); wlcore_runtime_resume() local
6772 wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) wlcore_probe() argument
6811 struct wl1271 *wl = platform_get_drvdata(pdev); wlcore_remove() local
[all...]
H A Dboot.c21 static int wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl() argument
27 ret = wlcore_read_reg(wl, REG_ECPU_CONTROL, &cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
33 ret = wlcore_write_reg(wl, REG_ECPU_CONTROL, cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
39 static int wlcore_boot_parse_fw_ver(struct wl1271 *wl, in wlcore_boot_parse_fw_ver() argument
44 strncpy(wl->chip.fw_ver_str, static_data->fw_version, in wlcore_boot_parse_fw_ver()
45 sizeof(wl->chip.fw_ver_str)); in wlcore_boot_parse_fw_ver()
48 wl->chip.fw_ver_str[sizeof(wl->chip.fw_ver_str) - 1] = '\0'; in wlcore_boot_parse_fw_ver()
50 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", in wlcore_boot_parse_fw_ver()
51 &wl in wlcore_boot_parse_fw_ver()
69 wlcore_validate_fw_ver(struct wl1271 *wl) wlcore_validate_fw_ver() argument
129 wlcore_boot_static_data(struct wl1271 *wl) wlcore_boot_static_data() argument
163 wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, size_t fw_data_len, u32 dest) wl1271_boot_upload_firmware_chunk() argument
238 wlcore_boot_upload_firmware(struct wl1271 *wl) wlcore_boot_upload_firmware() argument
272 wlcore_boot_upload_nvs(struct wl1271 *wl) wlcore_boot_upload_nvs() argument
433 wlcore_boot_run_firmware(struct wl1271 *wl) wlcore_boot_run_firmware() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h15 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks() argument
17 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks()
20 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks()
24 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks() argument
27 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks()
30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks()
34 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() argument
38 if (!wl in wlcore_hw_set_tx_desc_data_len()
45 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) wlcore_hw_get_rx_buf_align() argument
55 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) wlcore_hw_prepare_read() argument
64 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) wlcore_hw_get_rx_packet_len() argument
72 wlcore_hw_tx_delayed_compl(struct wl1271 *wl) wlcore_hw_tx_delayed_compl() argument
80 wlcore_hw_tx_immediate_compl(struct wl1271 *wl) wlcore_hw_tx_immediate_compl() argument
87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_init_vif() argument
96 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) wlcore_hw_convert_fw_status() argument
105 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_sta_get_ap_rate_mask() argument
113 wlcore_identify_fw(struct wl1271 *wl) wlcore_identify_fw() argument
122 wlcore_hw_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wlcore_hw_set_tx_desc_csum() argument
133 wlcore_hw_set_rx_csum(struct wl1271 *wl, struct wl1271_rx_descriptor *desc, struct sk_buff *skb) wlcore_hw_set_rx_csum() argument
142 wlcore_hw_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_ap_get_mimo_wide_rate_mask() argument
152 wlcore_debugfs_init(struct wl1271 *wl, struct dentry *rootdir) wlcore_debugfs_init() argument
161 wlcore_handle_static_data(struct wl1271 *wl, void *static_data) wlcore_handle_static_data() argument
170 wlcore_hw_get_spare_blocks(struct wl1271 *wl, bool is_gem) wlcore_hw_get_spare_blocks() 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) wlcore_hw_set_key() argument
191 wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) wlcore_hw_pre_pkt_send() argument
200 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_sta_rc_update() argument
207 wlcore_hw_interrupt_notify(struct wl1271 *wl, bool action) wlcore_hw_interrupt_notify() argument
215 wlcore_hw_rx_ba_filter(struct wl1271 *wl, bool action) wlcore_hw_rx_ba_filter() argument
223 wlcore_hw_ap_sleep(struct wl1271 *wl) wlcore_hw_ap_sleep() 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) wlcore_hw_set_peer_cap() argument
245 wlcore_hw_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) wlcore_hw_convert_hwaddr() argument
254 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wlcore_hw_lnk_high_prio() argument
264 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wlcore_hw_lnk_low_prio() argument
274 wlcore_smart_config_start(struct wl1271 *wl, u32 group_bitmap) wlcore_smart_config_start() argument
283 wlcore_smart_config_stop(struct wl1271 *wl) wlcore_smart_config_stop() argument
292 wlcore_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, u8 key_len, u8 *key) wlcore_smart_config_set_group_key() argument
302 wlcore_hw_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) wlcore_hw_set_cac() argument
311 wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_hw_dfs_master_restart() argument
[all...]
H A Dio.h34 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, in wlcore_raw_write() argument
50 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || in wlcore_raw_write()
51 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl in wlcore_raw_write()
62 wlcore_raw_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_raw_read() argument
80 wlcore_raw_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_read_data() argument
87 wlcore_raw_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_raw_write_data() argument
94 wlcore_raw_read32(struct wl1271 *wl, int addr, u32 *val) wlcore_raw_read32() argument
110 wlcore_raw_write32(struct wl1271 *wl, int addr, u32 val) wlcore_raw_write32() argument
118 wlcore_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_read() argument
128 wlcore_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) wlcore_write() argument
138 wlcore_write_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_write_data() argument
145 wlcore_read_data(struct wl1271 *wl, int reg, void *buf, size_t len, bool fixed) wlcore_read_data() argument
152 wlcore_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) wlcore_read_hwaddr() argument
167 wlcore_read32(struct wl1271 *wl, int addr, u32 *val) wlcore_read32() argument
173 wlcore_write32(struct wl1271 *wl, int addr, u32 val) wlcore_write32() argument
179 wlcore_read_reg(struct wl1271 *wl, int reg, u32 *val) wlcore_read_reg() argument
187 wlcore_write_reg(struct wl1271 *wl, int reg, u32 val) wlcore_write_reg() argument
195 wl1271_power_off(struct wl1271 *wl) wl1271_power_off() argument
208 wl1271_power_on(struct wl1271 *wl) wl1271_power_on() argument
[all...]
H A Dinit.c23 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() argument
29 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
30 wl->scan_templ_id_2_4, NULL, in wl1271_init_templates_config()
36 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
37 wl->scan_templ_id_5, in wl1271_init_templates_config()
43 if (wl->quirks & WLCORE_QUIRK_DUAL_PROBE_TMPL) { in wl1271_init_templates_config()
44 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
45 wl->sched_scan_templ_id_2_4, in wl1271_init_templates_config()
52 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
53 wl in wl1271_init_templates_config()
144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_deauth_template() argument
170 wl1271_ap_init_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_null_template() argument
203 wl1271_ap_init_qos_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_qos_null_template() argument
236 wl12xx_init_rx_config(struct wl1271 *wl) wl12xx_init_rx_config() argument
247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_phy_vif_config() argument
267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_sta_beacon_filter() argument
284 wl1271_init_pta(struct wl1271 *wl) wl1271_init_pta() argument
299 wl1271_init_energy_detection(struct wl1271 *wl) wl1271_init_energy_detection() argument
310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_beacon_broadcast() argument
322 wl12xx_init_fwlog(struct wl1271 *wl) wl12xx_init_fwlog() argument
337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_sta_hw_init() argument
358 wl1271_sta_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_sta_hw_init_post_mem() argument
373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_hw_init() argument
389 wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_init_templates() argument
417 wl1271_ap_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_ap_hw_init_post_mem() argument
423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_ap_rates() argument
482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_ba_policies() argument
502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_sta_role() argument
534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_ap_role() argument
555 wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) wl1271_init_vif_specific() argument
659 wl1271_hw_init(struct wl1271 *wl) wl1271_hw_init() argument
[all...]
H A Dtx.c30 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() argument
37 ret = wl12xx_cmd_set_default_wep_key(wl, id, in wl1271_set_default_wep_key()
40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
49 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id() argument
53 id = find_first_zero_bit(wl->tx_frames_map, wl->num_tx_desc); in wl1271_alloc_tx_id()
54 if (id >= wl->num_tx_desc) in wl1271_alloc_tx_id()
57 __set_bit(id, wl->tx_frames_map); in wl1271_alloc_tx_id()
58 wl->tx_frames[id] = skb; in wl1271_alloc_tx_id()
59 wl in wl1271_alloc_tx_id()
63 wl1271_free_tx_id(struct wl1271 *wl, int id) wl1271_free_tx_id() argument
75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_tx_ap_update_inconnection_sta() argument
106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_tx_regulate_link() argument
134 wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) wl12xx_is_dummy_packet() argument
140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid_ap() argument
162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid() argument
179 wlcore_calc_packet_alignment(struct wl1271 *wl, unsigned int packet_length) wlcore_calc_packet_alignment() 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) wl1271_tx_allocate() 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) wl1271_tx_fill_hdr() argument
360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) wl1271_prepare_tx_frame() argument
439 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, enum nl80211_band rate_band) wl1271_tx_enabled_rates_get() argument
465 wl1271_handle_tx_low_watermark(struct wl1271 *wl) wl1271_handle_tx_low_watermark() argument
483 wlcore_select_ac(struct wl1271 *wl) wlcore_select_ac() argument
507 wlcore_lnk_dequeue(struct wl1271 *wl, struct wl1271_link *lnk, u8 q) wlcore_lnk_dequeue() argument
528 wlcore_lnk_dequeue_high_prio(struct wl1271 *wl, u8 hlid, u8 ac, u8 *low_prio_hlid) wlcore_lnk_dequeue_high_prio() argument
547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) wlcore_vif_dequeue_high_prio() argument
582 wl1271_skb_dequeue(struct wl1271 *wl, u8 *hlid) wl1271_skb_dequeue() argument
672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) wl1271_skb_queue_head() argument
702 wl12xx_rearm_rx_streaming(struct wl1271 *wl, unsigned long *active_hlids) wl12xx_rearm_rx_streaming() argument
748 wlcore_tx_work_locked(struct wl1271 *wl) wlcore_tx_work_locked() argument
854 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); wl1271_tx_work() local
896 wl1271_tx_complete_packet(struct wl1271 *wl, struct wl1271_tx_hw_res_descr *result) wl1271_tx_complete_packet() argument
971 wlcore_tx_complete(struct wl1271 *wl) wlcore_tx_complete() argument
1017 wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid) wl1271_tx_reset_link_queues() argument
1054 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_tx_reset_wlvif() argument
1075 wl12xx_tx_reset(struct wl1271 *wl) wl12xx_tx_reset() argument
1133 wl1271_tx_flush(struct wl1271 *wl) wl1271_tx_flush() argument
1187 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set) wl1271_tx_min_rate_get() argument
1196 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue_locked() argument
1211 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue() argument
1221 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_wake_queue() argument
1241 wlcore_stop_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_stop_queues() argument
1262 wlcore_wake_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_wake_queues() argument
1283 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_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) wlcore_is_queue_stopped_by_reason_locked() argument
1308 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) wlcore_is_queue_stopped_locked() argument
[all...]
H A Dmain.c40 static void __wl1271_op_remove_interface(struct wl1271 *wl,
43 static void wlcore_op_stop_locked(struct wl1271 *wl);
44 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
46 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized() argument
59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
71 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() local
75 wl->dfs_region = request->dfs_region; in wl1271_reg_notify()
77 wlcore_regdomain_config(wl); in wl1271_reg_notify()
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() argument
85 /* we should hold wl in wl1271_set_rx_streaming()
102 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_recalc_rx_streaming() argument
131 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_enable_work() local
168 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_disable_work() local
193 struct wl1271 *wl = wlvif->wl; wl1271_rx_streaming_timer() local
198 wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) wl12xx_rearm_tx_watchdog_locked() argument
214 struct wl1271 *wl = wlvif->wl; wlcore_rc_update_work() local
245 struct wl1271 *wl; wl12xx_tx_watchdog_work() local
304 wlcore_adjust_conf(struct wl1271 *wl) wlcore_adjust_conf() argument
329 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) wl12xx_irq_ps_regulate_link() argument
358 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) wl12xx_irq_update_links_status() argument
380 wlcore_fw_status(struct wl1271 *wl, struct wl_fw_status *status) wlcore_fw_status() argument
487 wl1271_flush_deferred_work(struct wl1271 *wl) wl1271_flush_deferred_work() argument
502 struct wl1271 *wl = wl1271_netstack_work() local
512 wlcore_irq_locked(struct wl1271 *wl) wlcore_irq_locked() argument
645 struct wl1271 *wl = cookie; wlcore_irq() local
728 wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) wl12xx_fetch_firmware() argument
791 wl12xx_queue_recovery_work(struct wl1271 *wl) wl12xx_queue_recovery_work() argument
804 wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) wl12xx_copy_fwlog() argument
818 wl12xx_read_fwlog_panic(struct wl1271 *wl) wl12xx_read_fwlog_panic() argument
850 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) wlcore_save_freed_pkts() argument
870 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) wlcore_save_freed_pkts_addr() argument
888 wlcore_print_recovery(struct wl1271 *wl) wlcore_print_recovery() argument
919 struct wl1271 *wl = wl1271_recovery_work() local
987 wlcore_fw_wakeup(struct wl1271 *wl) wlcore_fw_wakeup() argument
992 wl1271_setup(struct wl1271 *wl) wl1271_setup() argument
1013 wl12xx_set_power_on(struct wl1271 *wl) wl12xx_set_power_on() argument
1042 wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) wl12xx_chip_wakeup() argument
1081 wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode) wl1271_plt_start() argument
1149 wl1271_plt_stop(struct wl1271 *wl) wl1271_plt_stop() argument
1203 struct wl1271 *wl = hw->priv; wl1271_op_tx() local
1272 wl1271_tx_dummy_packet(struct wl1271 *wl) wl1271_tx_dummy_packet() argument
1306 wl12xx_alloc_dummy_packet(struct wl1271 *wl) wl12xx_alloc_dummy_packet() argument
1548 wl1271_configure_wowlan(struct wl1271 *wl, struct cfg80211_wowlan *wow) wl1271_configure_wowlan() argument
1613 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_sta() argument
1643 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_ap() argument
1665 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend() argument
1676 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_configure_resume() argument
1714 struct wl1271 *wl = hw->priv; wl1271_op_suspend() local
1793 struct wl1271 *wl = hw->priv; wl1271_op_resume() local
1901 wlcore_op_stop_locked(struct wl1271 *wl) wlcore_op_stop_locked() argument
2011 struct wl1271 *wl = hw->priv; wlcore_op_stop() local
2025 struct wl1271 *wl; wlcore_channel_switch_work() local
2063 struct wl1271 *wl; wlcore_connection_loss_work() local
2091 struct wl1271 *wl; wlcore_pending_auth_complete_work() local
2130 wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) wl12xx_allocate_rate_policy() argument
2142 wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) wl12xx_free_rate_policy() argument
2151 wlcore_allocate_klv_template(struct wl1271 *wl, u8 *idx) wlcore_allocate_klv_template() argument
2163 wlcore_free_klv_template(struct wl1271 *wl, u8 *idx) wlcore_free_klv_template() argument
2172 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_get_role_type() argument
2200 wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) wl12xx_init_vif_data() argument
2296 wl12xx_init_fw(struct wl1271 *wl) wl12xx_init_fw() argument
2377 wl12xx_need_fw_change(struct wl1271 *wl, struct vif_counter_data vif_counter_data, bool add) wl12xx_need_fw_change() argument
2413 wl12xx_force_active_psm(struct wl1271 *wl) wl12xx_force_active_psm() argument
2447 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_allocate_hw_queue_base() argument
2506 struct wl1271 *wl = hw->priv; wl1271_op_add_interface() local
2625 __wl1271_op_remove_interface(struct wl1271 *wl, struct ieee80211_vif *vif, bool reset_tx_queues) __wl1271_op_remove_interface() argument
2779 struct wl1271 *wl = hw->priv; wl1271_op_remove_interface() local
2816 struct wl1271 *wl = hw->priv; wl12xx_op_change_interface() local
2830 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_join() argument
2881 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_set_ssid() argument
2903 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_assoc() argument
2990 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_unset_assoc() argument
3045 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_band_rate() argument
3051 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) wl1271_sta_handle_idle() argument
3070 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) wl12xx_config_vif() argument
3091 struct wl1271 *wl = hw->priv; wl1271_op_config() local
3177 struct wl1271 *wl = hw->priv; wl1271_op_configure_filter() local
3246 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) wl1271_record_ap_key() argument
3293 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_free_ap_keys() argument
3303 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_hwenc() argument
3343 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta, bool is_pairwise) wl1271_set_key() argument
3426 struct wl1271 *wl = hw->priv; wlcore_op_set_key() local
3466 wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) wlcore_set_key() argument
3580 struct wl1271 *wl = hw->priv; wl1271_op_set_default_key_idx() local
3621 wlcore_regdomain_config(struct wl1271 *wl) wlcore_regdomain_config() argument
3654 struct wl1271 *wl = hw->priv; wl1271_op_hw_scan() local
3702 struct wl1271 *wl = hw->priv; wl1271_op_cancel_hw_scan() local
3755 struct wl1271 *wl = hw->priv; wl1271_op_sched_scan_start() local
3789 struct wl1271 *wl = hw->priv; wl1271_op_sched_scan_stop() local
3816 struct wl1271 *wl = hw->priv; wl1271_op_set_frag_threshold() local
3845 struct wl1271 *wl = hw->priv; wl1271_op_set_rts_threshold() local
3905 wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, struct ieee80211_vif *vif) wl1271_ap_set_probe_resp_tmpl() argument
3933 wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, struct ieee80211_vif *vif, u8 *probe_rsp_data, size_t probe_rsp_len, u32 rates) wl1271_ap_set_probe_resp_tmpl_legacy() argument
3990 wl1271_bss_erp_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_erp_info_changed() argument
4033 wlcore_set_beacon_template(struct wl1271 *wl, struct ieee80211_vif *vif, bool is_ap) wlcore_set_beacon_template() argument
4119 wl1271_bss_beacon_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_beacon_info_changed() argument
4160 wl1271_bss_info_changed_ap(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_info_changed_ap() argument
4258 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_vif *vif, u32 sta_rate_set) wlcore_set_bssid() argument
4309 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_clear_bssid() argument
4332 wl1271_bss_info_changed_sta(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) wl1271_bss_info_changed_sta() argument
4585 struct wl1271 *wl = hw->priv; wl1271_op_bss_info_changed() local
4659 struct wl1271 *wl = hw->priv; wlcore_op_change_chanctx() local
4707 struct wl1271 *wl = hw->priv; wlcore_op_assign_vif_chanctx() local
4758 struct wl1271 *wl = hw->priv; wlcore_op_unassign_vif_chanctx() local
4794 __wlcore_switch_vif_chan(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_chanctx_conf *new_ctx) __wlcore_switch_vif_chan() argument
4837 struct wl1271 *wl = hw->priv; wlcore_op_switch_vif_chanctx() local
4871 struct wl1271 *wl = hw->priv; wl1271_op_conf_tx() local
4925 struct wl1271 *wl = hw->priv; wl1271_op_get_tsf() local
4967 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl1271_allocate_sta() argument
4996 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_free_sta() argument
5022 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_add() argument
5046 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_remove() argument
5068 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_roc_if_possible() argument
5087 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) wlcore_update_inconn_sta() argument
5127 wl12xx_update_sta_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) wl12xx_update_sta_state() argument
5240 struct wl1271 *wl = hw->priv; wl12xx_op_sta_state() local
5273 struct wl1271 *wl = hw->priv; wl1271_op_ampdu_action() local
5399 struct wl1271 *wl = hw->priv; wl12xx_set_bitrate_mask() local
5442 struct wl1271 *wl = hw->priv; wl12xx_op_channel_switch() local
5491 wlcore_get_beacon_ie(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 eid) wlcore_get_beacon_ie() argument
5507 wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *csa_count) wlcore_get_csa_count() argument
5527 struct wl1271 *wl = hw->priv; wlcore_op_channel_switch_beacon() local
5572 struct wl1271 *wl = hw->priv; wlcore_op_flush() local
5584 struct wl1271 *wl = hw->priv; wlcore_op_remain_on_channel() local
5624 __wlcore_roc_completed(struct wl1271 *wl) __wlcore_roc_completed() argument
5647 wlcore_roc_completed(struct wl1271 *wl) wlcore_roc_completed() argument
5677 struct wl1271 *wl; wlcore_roc_complete_work() local
5691 struct wl1271 *wl = hw->priv; wlcore_op_cancel_remain_on_channel() local
5732 struct wl1271 *wl = hw->priv; wlcore_op_sta_statistics() local
5767 struct wl1271 *wl = hw->priv; wlcore_op_get_expected_throughput() local
5776 struct wl1271 *wl = hw->priv; wl1271_tx_frames_pending() local
5980 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) wlcore_rate_to_idx() argument
6000 wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) wl12xx_derive_mac_addresses() argument
6039 wl12xx_get_hw_info(struct wl1271 *wl) wl12xx_get_hw_info() argument
6061 wl1271_register_hw(struct wl1271 *wl) wl1271_register_hw() argument
6130 wl1271_unregister_hw(struct wl1271 *wl) wl1271_unregister_hw() argument
6140 wl1271_init_ieee80211(struct wl1271 *wl) wl1271_init_ieee80211() argument
6293 struct wl1271 *wl; wlcore_alloc_hw() local
6439 wlcore_free_hw(struct wl1271 *wl) wlcore_free_hw() argument
6490 struct wl1271 *wl = context; wlcore_nvs_cb() local
6620 struct wl1271 *wl = dev_get_drvdata(dev); wlcore_runtime_suspend() local
6653 struct wl1271 *wl = dev_get_drvdata(dev); wlcore_runtime_resume() local
6704 wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) wlcore_probe() argument
6743 struct wl1271 *wl = platform_get_drvdata(pdev); wlcore_remove() local
[all...]
H A Dsysfs.c19 struct wl1271 *wl = dev_get_drvdata(dev); in bt_coex_state_show() local
24 mutex_lock(&wl->mutex); in bt_coex_state_show()
26 wl->sg_enabled); in bt_coex_state_show()
27 mutex_unlock(&wl->mutex); in bt_coex_state_show()
37 struct wl1271 *wl = dev_get_drvdata(dev); in bt_coex_state_store() local
47 mutex_lock(&wl->mutex); in bt_coex_state_store()
51 if (res == wl->sg_enabled) in bt_coex_state_store()
54 wl->sg_enabled = res; in bt_coex_state_store()
56 if (unlikely(wl->state != WLCORE_STATE_ON)) in bt_coex_state_store()
59 ret = pm_runtime_resume_and_get(wl in bt_coex_state_store()
78 struct wl1271 *wl = dev_get_drvdata(dev); hw_pg_ver_show() local
100 struct wl1271 *wl = dev_get_drvdata(dev); wl1271_sysfs_read_fwlog() local
132 wlcore_sysfs_init(struct wl1271 *wl) wlcore_sysfs_init() argument
169 wlcore_sysfs_free(struct wl1271 *wl) wlcore_sysfs_free() argument
[all...]
H A Dboot.c21 static int wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl() argument
27 ret = wlcore_read_reg(wl, REG_ECPU_CONTROL, &cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
33 ret = wlcore_write_reg(wl, REG_ECPU_CONTROL, cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
39 static int wlcore_boot_parse_fw_ver(struct wl1271 *wl, in wlcore_boot_parse_fw_ver() argument
44 strncpy(wl->chip.fw_ver_str, static_data->fw_version, in wlcore_boot_parse_fw_ver()
45 sizeof(wl->chip.fw_ver_str)); in wlcore_boot_parse_fw_ver()
48 wl->chip.fw_ver_str[sizeof(wl->chip.fw_ver_str) - 1] = '\0'; in wlcore_boot_parse_fw_ver()
50 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", in wlcore_boot_parse_fw_ver()
51 &wl in wlcore_boot_parse_fw_ver()
69 wlcore_validate_fw_ver(struct wl1271 *wl) wlcore_validate_fw_ver() argument
129 wlcore_boot_static_data(struct wl1271 *wl) wlcore_boot_static_data() argument
163 wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, size_t fw_data_len, u32 dest) wl1271_boot_upload_firmware_chunk() argument
238 wlcore_boot_upload_firmware(struct wl1271 *wl) wlcore_boot_upload_firmware() argument
272 wlcore_boot_upload_nvs(struct wl1271 *wl) wlcore_boot_upload_nvs() argument
433 wlcore_boot_run_firmware(struct wl1271 *wl) wlcore_boot_run_firmware() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
H A Dmain.c597 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read() argument
601 if (wl->chip.id != CHIP_ID_128X_PG20) { in wl127x_prepare_read()
602 struct wl1271_acx_mem_map *wl_mem_map = wl->target_mem_map; in wl127x_prepare_read()
603 struct wl12xx_priv *priv = wl->priv; in wl127x_prepare_read()
617 ret = wlcore_write(wl, WL1271_SLV_REG_DATA, priv->rx_mem_addr, in wl127x_prepare_read()
626 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip() argument
630 switch (wl->chip.id) { in wl12xx_identify_chip()
633 wl->chip.id); in wl12xx_identify_chip()
635 wl->quirks |= WLCORE_QUIRK_LEGACY_NVS | in wl12xx_identify_chip()
639 wl in wl12xx_identify_chip()
718 wl12xx_top_reg_write(struct wl1271 *wl, int addr, u16 val) wl12xx_top_reg_write() argument
743 wl12xx_top_reg_read(struct wl1271 *wl, int addr, u16 *out) wl12xx_top_reg_read() argument
785 wl128x_switch_tcxo_to_fref(struct wl1271 *wl) wl128x_switch_tcxo_to_fref() argument
814 wl128x_is_tcxo_valid(struct wl1271 *wl) wl128x_is_tcxo_valid() argument
829 wl128x_is_fref_valid(struct wl1271 *wl) wl128x_is_fref_valid() argument
844 wl128x_manually_configure_mcs_pll(struct wl1271 *wl) wl128x_manually_configure_mcs_pll() argument
863 wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) wl128x_configure_mcs_pll() argument
911 wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) wl128x_boot_clk() argument
959 wl127x_boot_clk(struct wl1271 *wl) wl127x_boot_clk() argument
1035 wl1271_boot_soft_reset(struct wl1271 *wl) wl1271_boot_soft_reset() argument
1079 wl12xx_pre_boot(struct wl1271 *wl) wl12xx_pre_boot() argument
1143 wl12xx_pre_upload(struct wl1271 *wl) wl12xx_pre_upload() argument
1190 wl12xx_enable_interrupts(struct wl1271 *wl) wl12xx_enable_interrupts() argument
1218 wl12xx_boot(struct wl1271 *wl) wl12xx_boot() argument
1266 wl12xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, void *buf, size_t len) wl12xx_trigger_cmd() argument
1280 wl12xx_ack_event(struct wl1271 *wl) wl12xx_ack_event() argument
1286 wl12xx_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) wl12xx_calc_tx_blocks() argument
1295 wl12xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) wl12xx_set_tx_desc_blocks() argument
1307 wl12xx_set_tx_desc_data_len(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wl12xx_set_tx_desc_data_len() argument
1342 wl12xx_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) wl12xx_get_rx_buf_align() argument
1350 wl12xx_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) wl12xx_get_rx_packet_len() argument
1363 wl12xx_tx_delayed_compl(struct wl1271 *wl) wl12xx_tx_delayed_compl() argument
1372 wl12xx_hw_init(struct wl1271 *wl) wl12xx_hw_init() argument
1425 wl12xx_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) wl12xx_convert_fw_status() argument
1456 wl12xx_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_sta_get_ap_rate_mask() argument
1462 wl12xx_conf_init(struct wl1271 *wl) wl12xx_conf_init() argument
1473 wl12xx_mac_in_fuse(struct wl1271 *wl) wl12xx_mac_in_fuse() argument
1501 wl12xx_get_fuse_mac(struct wl1271 *wl) wl12xx_get_fuse_mac() argument
1536 wl12xx_get_pg_ver(struct wl1271 *wl, s8 *ver) wl12xx_get_pg_ver() argument
1554 wl12xx_get_mac(struct wl1271 *wl) wl12xx_get_mac() argument
1562 wl12xx_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wl12xx_set_tx_desc_csum() argument
1569 wl12xx_plt_init(struct wl1271 *wl) wl12xx_plt_init() argument
1632 wl12xx_get_spare_blocks(struct wl1271 *wl, bool is_gem) wl12xx_get_spare_blocks() argument
1640 wl12xx_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) wl12xx_set_key() argument
1648 wl12xx_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) wl12xx_set_peer_cap() argument
1657 wl12xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wl12xx_lnk_high_prio() argument
1670 wl12xx_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wl12xx_lnk_low_prio() argument
1677 wl12xx_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) wl12xx_convert_hwaddr() argument
1797 wl12xx_setup(struct wl1271 *wl) wl12xx_setup() argument
1894 struct wl1271 *wl; wl12xx_probe() local
1924 struct wl1271 *wl = platform_get_drvdata(pdev); wl12xx_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/
H A Dmain.c597 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read() argument
601 if (wl->chip.id != CHIP_ID_128X_PG20) { in wl127x_prepare_read()
602 struct wl1271_acx_mem_map *wl_mem_map = wl->target_mem_map; in wl127x_prepare_read()
603 struct wl12xx_priv *priv = wl->priv; in wl127x_prepare_read()
617 ret = wlcore_write(wl, WL1271_SLV_REG_DATA, priv->rx_mem_addr, in wl127x_prepare_read()
626 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip() argument
630 switch (wl->chip.id) { in wl12xx_identify_chip()
633 wl->chip.id); in wl12xx_identify_chip()
635 wl->quirks |= WLCORE_QUIRK_LEGACY_NVS | in wl12xx_identify_chip()
639 wl in wl12xx_identify_chip()
718 wl12xx_top_reg_write(struct wl1271 *wl, int addr, u16 val) wl12xx_top_reg_write() argument
743 wl12xx_top_reg_read(struct wl1271 *wl, int addr, u16 *out) wl12xx_top_reg_read() argument
785 wl128x_switch_tcxo_to_fref(struct wl1271 *wl) wl128x_switch_tcxo_to_fref() argument
814 wl128x_is_tcxo_valid(struct wl1271 *wl) wl128x_is_tcxo_valid() argument
829 wl128x_is_fref_valid(struct wl1271 *wl) wl128x_is_fref_valid() argument
844 wl128x_manually_configure_mcs_pll(struct wl1271 *wl) wl128x_manually_configure_mcs_pll() argument
863 wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) wl128x_configure_mcs_pll() argument
911 wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) wl128x_boot_clk() argument
959 wl127x_boot_clk(struct wl1271 *wl) wl127x_boot_clk() argument
1035 wl1271_boot_soft_reset(struct wl1271 *wl) wl1271_boot_soft_reset() argument
1079 wl12xx_pre_boot(struct wl1271 *wl) wl12xx_pre_boot() argument
1143 wl12xx_pre_upload(struct wl1271 *wl) wl12xx_pre_upload() argument
1190 wl12xx_enable_interrupts(struct wl1271 *wl) wl12xx_enable_interrupts() argument
1218 wl12xx_boot(struct wl1271 *wl) wl12xx_boot() argument
1266 wl12xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, void *buf, size_t len) wl12xx_trigger_cmd() argument
1280 wl12xx_ack_event(struct wl1271 *wl) wl12xx_ack_event() argument
1286 wl12xx_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) wl12xx_calc_tx_blocks() argument
1295 wl12xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) wl12xx_set_tx_desc_blocks() argument
1307 wl12xx_set_tx_desc_data_len(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wl12xx_set_tx_desc_data_len() argument
1342 wl12xx_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) wl12xx_get_rx_buf_align() argument
1350 wl12xx_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) wl12xx_get_rx_packet_len() argument
1363 wl12xx_tx_delayed_compl(struct wl1271 *wl) wl12xx_tx_delayed_compl() argument
1372 wl12xx_hw_init(struct wl1271 *wl) wl12xx_hw_init() argument
1425 wl12xx_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) wl12xx_convert_fw_status() argument
1456 wl12xx_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_sta_get_ap_rate_mask() argument
1462 wl12xx_conf_init(struct wl1271 *wl) wl12xx_conf_init() argument
1473 wl12xx_mac_in_fuse(struct wl1271 *wl) wl12xx_mac_in_fuse() argument
1501 wl12xx_get_fuse_mac(struct wl1271 *wl) wl12xx_get_fuse_mac() argument
1536 wl12xx_get_pg_ver(struct wl1271 *wl, s8 *ver) wl12xx_get_pg_ver() argument
1554 wl12xx_get_mac(struct wl1271 *wl) wl12xx_get_mac() argument
1562 wl12xx_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) wl12xx_set_tx_desc_csum() argument
1569 wl12xx_plt_init(struct wl1271 *wl) wl12xx_plt_init() argument
1632 wl12xx_get_spare_blocks(struct wl1271 *wl, bool is_gem) wl12xx_get_spare_blocks() argument
1640 wl12xx_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) wl12xx_set_key() argument
1648 wl12xx_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) wl12xx_set_peer_cap() argument
1657 wl12xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wl12xx_lnk_high_prio() argument
1670 wl12xx_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) wl12xx_lnk_low_prio() argument
1677 wl12xx_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) wl12xx_convert_hwaddr() argument
1797 wl12xx_setup(struct wl1271 *wl) wl12xx_setup() argument
1894 struct wl1271 *wl; wl12xx_probe() local
1924 struct wl1271 *wl = platform_get_drvdata(pdev); wl12xx_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c282 * by the wl parameter.
286 static void brcms_free(struct brcms_info *wl) in brcms_free() argument
291 if (wl->fw.fw_cnt) in brcms_free()
292 brcms_ucode_data_free(&wl->ucode); in brcms_free()
293 if (wl->irq) in brcms_free()
294 free_irq(wl->irq, wl); in brcms_free()
297 tasklet_kill(&wl->tasklet); in brcms_free()
299 if (wl->pub) { in brcms_free()
300 brcms_debugfs_detach(wl in brcms_free()
334 struct brcms_info *wl = hw->priv; brcms_remove() local
353 brcms_release_fw(struct brcms_info *wl) brcms_release_fw() argument
366 brcms_request_fw(struct brcms_info *wl, struct bcma_device *pdev) brcms_request_fw() argument
406 struct brcms_info *wl = hw->priv; brcms_ops_tx() local
423 struct brcms_info *wl = hw->priv; brcms_ops_start() local
463 struct brcms_info *wl = hw->priv; brcms_ops_stop() local
491 struct brcms_info *wl = hw->priv; brcms_ops_add_interface() local
522 struct brcms_info *wl = hw->priv; brcms_ops_remove_interface() local
532 struct brcms_info *wl = hw->priv; brcms_ops_config() local
588 struct brcms_info *wl = hw->priv; brcms_ops_bss_info_changed() local
744 struct brcms_info *wl = hw->priv; brcms_ops_configure_filter() local
773 struct brcms_info *wl = hw->priv; brcms_ops_sw_scan_start() local
783 struct brcms_info *wl = hw->priv; brcms_ops_sw_scan_complete() local
794 struct brcms_info *wl = hw->priv; brcms_ops_conf_tx() local
807 struct brcms_info *wl = hw->priv; brcms_ops_sta_add() local
828 struct brcms_info *wl = hw->priv; brcms_ops_ampdu_action() local
886 struct brcms_info *wl = hw->priv; brcms_ops_rfkill_poll() local
896 brcms_tx_flush_completed(struct brcms_info *wl) brcms_tx_flush_completed() argument
909 struct brcms_info *wl = hw->priv; brcms_ops_flush() local
924 struct brcms_info *wl = hw->priv; brcms_ops_get_tsf() local
937 struct brcms_info *wl = hw->priv; brcms_ops_set_tsf() local
947 struct brcms_info *wl = hw->priv; brcms_ops_beacon_set_tim() local
986 struct brcms_info *wl; brcms_dpc() local
1023 struct brcms_info *wl; brcms_isr() local
1047 struct brcms_info *wl = hw->priv; ieee_hw_rate_init() local
1127 struct brcms_info *wl = NULL; brcms_attach() local
1222 struct brcms_info *wl; brcms_bcma_probe() local
1263 struct brcms_info *wl; brcms_suspend() local
1345 brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif, bool state, int prio) brcms_txflowcontrol() argument
1354 brcms_init(struct brcms_info *wl) brcms_init() argument
1365 brcms_reset(struct brcms_info *wl) brcms_reset() argument
1379 brcms_fatal_error(struct brcms_info *wl) brcms_fatal_error() argument
1391 brcms_intrson(struct brcms_info *wl) brcms_intrson() argument
1400 brcms_intrsoff(struct brcms_info *wl) brcms_intrsoff() argument
1411 brcms_intrsrestore(struct brcms_info *wl, u32 macintmask) brcms_intrsrestore() argument
1423 brcms_up(struct brcms_info *wl) brcms_up() argument
1492 brcms_init_timer(struct brcms_info *wl, void (*fn) (void *arg), void *arg, const char *name) brcms_init_timer() argument
1565 struct brcms_info *wl = t->wl; brcms_free_timer() local
1599 brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, u32 idx) brcms_ucode_init_buf() argument
1631 brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) brcms_ucode_init_uint() argument
1672 brcms_check_firmwares(struct brcms_info *wl) brcms_check_firmwares() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c281 * by the wl parameter.
285 static void brcms_free(struct brcms_info *wl) in brcms_free() argument
290 if (wl->fw.fw_cnt) in brcms_free()
291 brcms_ucode_data_free(&wl->ucode); in brcms_free()
292 if (wl->irq) in brcms_free()
293 free_irq(wl->irq, wl); in brcms_free()
296 tasklet_kill(&wl->tasklet); in brcms_free()
298 if (wl->pub) { in brcms_free()
299 brcms_debugfs_detach(wl in brcms_free()
333 struct brcms_info *wl = hw->priv; brcms_remove() local
352 brcms_release_fw(struct brcms_info *wl) brcms_release_fw() argument
365 brcms_request_fw(struct brcms_info *wl, struct bcma_device *pdev) brcms_request_fw() argument
405 struct brcms_info *wl = hw->priv; brcms_ops_tx() local
422 struct brcms_info *wl = hw->priv; brcms_ops_start() local
462 struct brcms_info *wl = hw->priv; brcms_ops_stop() local
490 struct brcms_info *wl = hw->priv; brcms_ops_add_interface() local
521 struct brcms_info *wl = hw->priv; brcms_ops_remove_interface() local
531 struct brcms_info *wl = hw->priv; brcms_ops_config() local
587 struct brcms_info *wl = hw->priv; brcms_ops_bss_info_changed() local
743 struct brcms_info *wl = hw->priv; brcms_ops_configure_filter() local
772 struct brcms_info *wl = hw->priv; brcms_ops_sw_scan_start() local
782 struct brcms_info *wl = hw->priv; brcms_ops_sw_scan_complete() local
794 struct brcms_info *wl = hw->priv; brcms_ops_conf_tx() local
807 struct brcms_info *wl = hw->priv; brcms_ops_sta_add() local
827 struct brcms_info *wl = hw->priv; brcms_ops_ampdu_action() local
884 struct brcms_info *wl = hw->priv; brcms_ops_rfkill_poll() local
894 brcms_tx_flush_completed(struct brcms_info *wl) brcms_tx_flush_completed() argument
907 struct brcms_info *wl = hw->priv; brcms_ops_flush() local
922 struct brcms_info *wl = hw->priv; brcms_ops_get_tsf() local
935 struct brcms_info *wl = hw->priv; brcms_ops_set_tsf() local
945 struct brcms_info *wl = hw->priv; brcms_ops_beacon_set_tim() local
985 struct brcms_info *wl; brcms_dpc() local
1022 struct brcms_info *wl; brcms_isr() local
1046 struct brcms_info *wl = hw->priv; ieee_hw_rate_init() local
1124 struct brcms_info *wl = NULL; brcms_attach() local
1219 struct brcms_info *wl; brcms_bcma_probe() local
1260 struct brcms_info *wl; brcms_suspend() local
1342 brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif, bool state, int prio) brcms_txflowcontrol() argument
1351 brcms_init(struct brcms_info *wl) brcms_init() argument
1362 brcms_reset(struct brcms_info *wl) brcms_reset() argument
1376 brcms_fatal_error(struct brcms_info *wl) brcms_fatal_error() argument
1388 brcms_intrson(struct brcms_info *wl) brcms_intrson() argument
1397 brcms_intrsoff(struct brcms_info *wl) brcms_intrsoff() argument
1408 brcms_intrsrestore(struct brcms_info *wl, u32 macintmask) brcms_intrsrestore() argument
1420 brcms_up(struct brcms_info *wl) brcms_up() argument
1489 brcms_init_timer(struct brcms_info *wl, void (*fn) (void *arg), void *arg, const char *name) brcms_init_timer() argument
1562 struct brcms_info *wl = t->wl; brcms_free_timer() local
1596 brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, u32 idx) brcms_ucode_init_buf() argument
1628 brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) brcms_ucode_init_uint() argument
1669 brcms_check_firmwares(struct brcms_info *wl) brcms_check_firmwares() argument
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dwakelock.c41 struct wakelock *wl; in pm_show_wakelocks() local
47 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
90 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add() argument
92 list_add(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_add()
95 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent() argument
97 list_move(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_most_recent()
102 struct wakelock *wl, *aux; in __wakelocks_gc() local
108 list_for_each_entry_safe_reverse(wl, au in __wakelocks_gc()
142 wakelocks_lru_add(struct wakelock *wl) wakelocks_lru_add() argument
143 wakelocks_lru_most_recent(struct wakelock *wl) wakelocks_lru_most_recent() argument
152 struct wakelock *wl; wakelock_lookup_add() local
206 struct wakelock *wl; pm_wake_lock() local
253 struct wakelock *wl; pm_wake_unlock() local
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dwakelock.c41 struct wakelock *wl; in pm_show_wakelocks() local
47 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
90 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add() argument
92 list_add(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_add()
95 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent() argument
97 list_move(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_most_recent()
102 struct wakelock *wl, *aux; in __wakelocks_gc() local
108 list_for_each_entry_safe_reverse(wl, au in __wakelocks_gc()
142 wakelocks_lru_add(struct wakelock *wl) wakelocks_lru_add() argument
143 wakelocks_lru_most_recent(struct wakelock *wl) wakelocks_lru_most_recent() argument
152 struct wakelock *wl; wakelock_lookup_add() local
206 struct wakelock *wl; pm_wake_lock() local
253 struct wakelock *wl; pm_wake_unlock() local
[all...]

Completed in 24 milliseconds

12345678910>>...14