/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | wlcore.h | 38 int (*setup)(struct wl1271 *wl); 39 int (*identify_chip)(struct wl1271 *wl); 40 int (*identify_fw)(struct wl1271 *wl); 41 int (*boot)(struct wl1271 *wl); 42 int (*plt_init)(struct wl1271 *wl); 45 int (*ack_event)(struct wl1271 *wl); 63 int (*hw_init)(struct wl1271 *wl); 70 int (*get_mac)(struct wl1271 *wl); 74 void (*set_rx_csum)(struct wl1271 *wl, 110 int (*ap_sleep)(struct wl1271 *wl); [all …]
|
H A D | tx.h | 230 int wlcore_tx_work_locked(struct wl1271 *wl); 231 int wlcore_tx_complete(struct wl1271 *wl); 233 void wl12xx_tx_reset(struct wl1271 *wl); 234 void wl1271_tx_flush(struct wl1271 *wl); 242 void wl1271_handle_tx_low_watermark(struct wl1271 *wl); 247 void wl1271_free_tx_id(struct wl1271 *wl, int id); 254 void wlcore_stop_queues(struct wl1271 *wl, 256 void wlcore_wake_queues(struct wl1271 *wl, 258 bool wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, 262 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, [all …]
|
H A D | event.h | 61 struct wl1271; 63 int wl1271_event_unmask(struct wl1271 *wl); 64 int wl1271_event_handle(struct wl1271 *wl, u8 mbox); 66 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable); 67 void wlcore_event_sched_scan_completed(struct wl1271 *wl, 69 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, 72 void wlcore_event_channel_switch(struct wl1271 *wl, 76 void wlcore_event_dummy_packet(struct wl1271 *wl); 79 void wlcore_event_roc_complete(struct wl1271 *wl); 80 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr); [all …]
|
H A D | hw_ops.h | 34 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() 45 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) in wlcore_hw_get_rx_buf_align() 113 static inline int wlcore_identify_fw(struct wl1271 *wl) in wlcore_identify_fw() 122 wlcore_hw_set_tx_desc_csum(struct wl1271 *wl, in wlcore_hw_set_tx_desc_csum() 133 wlcore_hw_set_rx_csum(struct wl1271 *wl, in wlcore_hw_set_rx_csum() 215 wlcore_hw_rx_ba_filter(struct wl1271 *wl, bool action) in wlcore_hw_rx_ba_filter() 223 wlcore_hw_ap_sleep(struct wl1271 *wl) in wlcore_hw_ap_sleep() 232 wlcore_hw_set_peer_cap(struct wl1271 *wl, in wlcore_hw_set_peer_cap() 254 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_high_prio() 264 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_low_prio() [all …]
|
H A D | io.h | 32 struct wl1271; 34 void wlcore_disable_interrupts(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); 208 static inline int wl1271_power_on(struct wl1271 *wl) in wl1271_power_on() 220 int wlcore_set_partition(struct wl1271 *wl, 223 bool wl1271_set_block_size(struct wl1271 *wl); [all …]
|
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, struct wl12xx_vif *wlvif);
|
H A D | cmd.h | 22 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id); 37 int wl1271_cmd_data_path(struct wl1271 *wl, bool enable); 42 int wl1271_cmd_template_set(struct wl1271 *wl, u8 role_id, 58 int wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, 73 int wl12xx_croc(struct wl1271 *wl, u8 role_id); 80 int wlcore_cmd_regdomain_config_locked(struct wl1271 *wl); 83 int wl12xx_cmd_config_fwlog(struct wl1271 *wl); 84 int wl12xx_cmd_start_fwlog(struct wl1271 *wl); 85 int wl12xx_cmd_stop_fwlog(struct wl1271 *wl); 86 int wl12xx_cmd_channel_switch(struct wl1271 *wl, [all …]
|
H A D | acx.h | 1029 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, 1036 int wl1271_acx_mem_map(struct wl1271 *wl, 1047 int wl1271_acx_dco_itrim_params(struct wl1271 *wl); 1055 int wl12xx_acx_sg_cfg(struct wl1271 *wl); 1056 int wl1271_acx_cca_threshold(struct wl1271 *wl); 1076 int wl12xx_acx_mem_cfg(struct wl1271 *wl); 1077 int wl1271_acx_init_mem_config(struct wl1271 *wl); 1079 int wl1271_acx_smart_reflex(struct wl1271 *wl); 1084 int wl1271_acx_pm_config(struct wl1271 *wl); 1112 int wl1271_acx_fm_coex(struct wl1271 *wl); [all …]
|
H A D | scan.h | 15 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, 18 int wl1271_scan_build_probe_req(struct wl1271 *wl, 21 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif); 23 int wl1271_scan_sched_scan_config(struct wl1271 *wl, 27 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif); 28 void wlcore_scan_sched_scan_results(struct wl1271 *wl); 152 wlcore_set_scan_chan_params(struct wl1271 *wl, 160 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl,
|
H A D | event.c | 25 int wlcore_event_fw_logger(struct wl1271 *wl) in wlcore_event_fw_logger() 109 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger() 160 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense() 175 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed() 188 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint() 210 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch() 242 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet() 295 void wlcore_event_inactive_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_inactive_sta() 302 void wlcore_event_roc_complete(struct wl1271 *wl) in wlcore_event_roc_complete() 350 int wl1271_event_unmask(struct wl1271 *wl) in wl1271_event_unmask() [all …]
|
H A D | io.c | 21 bool wl1271_set_block_size(struct wl1271 *wl) in wl1271_set_block_size() 31 void wlcore_disable_interrupts(struct wl1271 *wl) in wlcore_disable_interrupts() 37 void wlcore_disable_interrupts_nosync(struct wl1271 *wl) in wlcore_disable_interrupts_nosync() 43 void wlcore_enable_interrupts(struct wl1271 *wl) in wlcore_enable_interrupts() 49 void wlcore_synchronize_interrupts(struct wl1271 *wl) in wlcore_synchronize_interrupts() 55 int wlcore_translate_addr(struct wl1271 *wl, int addr) in wlcore_translate_addr() 123 int wlcore_set_partition(struct wl1271 *wl, in wlcore_set_partition() 188 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset() 194 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
|
H A D | init.c | 23 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() 170 static int wl1271_ap_init_null_template(struct wl1271 *wl, in wl1271_ap_init_null_template() 236 static int wl12xx_init_rx_config(struct wl1271 *wl) in wl12xx_init_rx_config() 247 static int wl12xx_init_phy_vif_config(struct wl1271 *wl, in wl12xx_init_phy_vif_config() 284 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta() 299 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection() 310 static int wl1271_init_beacon_broadcast(struct wl1271 *wl, in wl1271_init_beacon_broadcast() 322 static int wl12xx_init_fwlog(struct wl1271 *wl) in wl12xx_init_fwlog() 358 static int wl1271_sta_hw_init_post_mem(struct wl1271 *wl, in wl1271_sta_hw_init_post_mem() 417 static int wl1271_ap_hw_init_post_mem(struct wl1271 *wl, in wl1271_ap_hw_init_post_mem() [all …]
|
H A D | acx.c | 158 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time() 311 int wl1271_acx_dco_itrim_params(struct wl1271 *wl) in wl1271_acx_dco_itrim_params() 507 int wl12xx_acx_sg_cfg(struct wl1271 *wl) in wl12xx_acx_sg_cfg() 537 int wl1271_acx_cca_threshold(struct wl1271 *wl) in wl1271_acx_cca_threshold() 929 int wl1271_acx_tx_config_options(struct wl1271 *wl) in wl1271_acx_tx_config_options() 956 int wl12xx_acx_mem_cfg(struct wl1271 *wl) in wl12xx_acx_mem_cfg() 997 int wl1271_acx_init_mem_config(struct wl1271 *wl) in wl1271_acx_init_mem_config() 1028 int wl1271_acx_init_rx_interrupt(struct wl1271 *wl) in wl1271_acx_init_rx_interrupt() 1123 int wl1271_acx_pm_config(struct wl1271 *wl) in wl1271_acx_pm_config() 1608 int wl1271_acx_fm_coex(struct wl1271 *wl) in wl1271_acx_fm_coex() [all …]
|
H A D | debugfs.h | 18 int wl1271_debugfs_init(struct wl1271 *wl); 19 void wl1271_debugfs_exit(struct wl1271 *wl); 20 void wl1271_debugfs_reset(struct wl1271 *wl); 21 void wl1271_debugfs_update_stats(struct wl1271 *wl); 29 struct wl1271 *wl = file->private_data; \ 58 struct wl1271 *wl = file->private_data; \ 78 struct wl1271 *wl = file->private_data; \
|
H A D | tx.c | 30 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() 63 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id() 106 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link() 483 static int wlcore_select_ac(struct wl1271 *wl) in wlcore_select_ac() 748 int wlcore_tx_work_locked(struct wl1271 *wl) in wlcore_tx_work_locked() 854 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); in wl1271_tx_work() 971 int wlcore_tx_complete(struct wl1271 *wl) in wlcore_tx_complete() 1075 void wl12xx_tx_reset(struct wl1271 *wl) in wl12xx_tx_reset() 1133 void wl1271_tx_flush(struct wl1271 *wl) in wl1271_tx_flush() 1241 void wlcore_stop_queues(struct wl1271 *wl, in wlcore_stop_queues() [all …]
|
H A D | debugfs.c | 81 struct wl1271 *wl = file->private_data; in tx_queue_len_read() 102 int (*chip_op) (struct wl1271 *wl); in chip_op_handler() 178 struct wl1271 *wl = file->private_data; in gpio_power_read() 193 struct wl1271 *wl = file->private_data; in gpio_power_write() 225 struct wl1271 *wl = file->private_data; in start_recovery_write() 243 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_read() 254 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_write() 308 struct wl1271 *wl = file->private_data; in forced_ps_read() 319 struct wl1271 *wl = file->private_data; in forced_ps_write() 378 struct wl1271 *wl = file->private_data; in split_scan_timeout_read() [all …]
|
H A D | cmd.c | 164 int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, in wlcore_cmd_wait_for_event_or_timeout() 267 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable() 418 static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, in wl12xx_cmd_role_start_dev() 469 static int wl12xx_cmd_role_stop_dev(struct wl1271 *wl, in wl12xx_cmd_role_stop_dev() 929 int wl1271_cmd_data_path(struct wl1271 *wl, bool enable) in wl1271_cmd_data_path() 1088 int wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, in wl12xx_cmd_build_klv_null_data() 1693 int wlcore_cmd_regdomain_config_locked(struct wl1271 *wl) in wlcore_cmd_regdomain_config_locked() 1773 int wl12xx_cmd_config_fwlog(struct wl1271 *wl) in wl12xx_cmd_config_fwlog() 1805 int wl12xx_cmd_start_fwlog(struct wl1271 *wl) in wl12xx_cmd_start_fwlog() 1831 int wl12xx_cmd_stop_fwlog(struct wl1271 *wl) in wl12xx_cmd_stop_fwlog() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | cmd.h | 72 int wl18xx_cmd_channel_switch(struct wl1271 *wl, 75 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap); 76 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl); 77 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, 79 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start); 80 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel); 81 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
H A D | acx.c | 15 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, in wl18xx_acx_host_if_cfg_bitmap() 50 int wl18xx_acx_set_checksum_state(struct wl1271 *wl) in wl18xx_acx_set_checksum_state() 76 int wl18xx_acx_clear_statistics(struct wl1271 *wl) in wl18xx_acx_clear_statistics() 100 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode() 136 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, in wl18xx_acx_set_peer_cap() 189 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, in wl18xx_acx_interrupt_notify_config() 217 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action) in wl18xx_acx_rx_ba_filter() 241 int wl18xx_acx_ap_sleep(struct wl1271 *wl) in wl18xx_acx_ap_sleep() 272 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl) in wl18xx_acx_dynamic_fw_traces() 299 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl) in wl18xx_acx_time_sync_cfg()
|
H A D | scan.h | 105 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 107 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 108 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 109 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 112 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
H A D | main.c | 710 static int wl18xx_set_clk(struct wl1271 *wl) in wl18xx_set_clk() 834 static int wl18xx_pre_boot(struct wl1271 *wl) in wl18xx_pre_boot() 864 static int wl18xx_pre_upload(struct wl1271 *wl) in wl18xx_pre_upload() 997 static int wl18xx_boot(struct wl1271 *wl) in wl18xx_boot() 1060 static int wl18xx_ack_event(struct wl1271 *wl) in wl18xx_ack_event() 1152 static int wl18xx_hw_init(struct wl1271 *wl) in wl18xx_hw_init() 1458 static int wl18xx_plt_init(struct wl1271 *wl) in wl18xx_plt_init() 1475 static int wl18xx_get_mac(struct wl1271 *wl) in wl18xx_get_mac() 1704 static int wl18xx_setup(struct wl1271 *wl); 1870 static int wl18xx_setup(struct wl1271 *wl) in wl18xx_setup() [all …]
|
H A D | acx.h | 389 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, 392 int wl18xx_acx_set_checksum_state(struct wl1271 *wl); 393 int wl18xx_acx_clear_statistics(struct wl1271 *wl); 394 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide); 395 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, 399 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, bool action); 400 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action); 401 int wl18xx_acx_ap_sleep(struct wl1271 *wl); 402 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl); 403 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl);
|
H A D | cmd.c | 14 int wl18xx_cmd_channel_switch(struct wl1271 *wl, in wl18xx_cmd_channel_switch() 73 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap) in wl18xx_cmd_smart_config_start() 101 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl) in wl18xx_cmd_smart_config_stop() 126 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, in wl18xx_cmd_smart_config_set_group_key() 162 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) in wl18xx_cmd_set_cac() 193 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel) in wl18xx_cmd_radar_detection_debug() 219 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_cmd_dfs_master_restart()
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | cmd.h | 109 int wl1271_cmd_general_parms(struct wl1271 *wl); 110 int wl128x_cmd_general_parms(struct wl1271 *wl); 111 int wl1271_cmd_radio_parms(struct wl1271 *wl); 112 int wl128x_cmd_radio_parms(struct wl1271 *wl); 113 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl); 114 int wl12xx_cmd_channel_switch(struct wl1271 *wl,
|
H A D | main.c | 959 static int wl127x_boot_clk(struct wl1271 *wl) in wl127x_boot_clk() 1079 static int wl12xx_pre_boot(struct wl1271 *wl) in wl12xx_pre_boot() 1143 static int wl12xx_pre_upload(struct wl1271 *wl) in wl12xx_pre_upload() 1218 static int wl12xx_boot(struct wl1271 *wl) in wl12xx_boot() 1280 static int wl12xx_ack_event(struct wl1271 *wl) in wl12xx_ack_event() 1372 static int wl12xx_hw_init(struct wl1271 *wl) in wl12xx_hw_init() 1554 static int wl12xx_get_mac(struct wl1271 *wl) in wl12xx_get_mac() 1569 static int wl12xx_plt_init(struct wl1271 *wl) in wl12xx_plt_init() 1682 static int wl12xx_setup(struct wl1271 *wl); 1797 static int wl12xx_setup(struct wl1271 *wl) in wl12xx_setup() [all …]
|