/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | wlcore.h | 49 int (*setup)(struct wl1271 *wl); 50 int (*identify_chip)(struct wl1271 *wl); 51 int (*identify_fw)(struct wl1271 *wl); 52 int (*boot)(struct wl1271 *wl); 53 int (*plt_init)(struct wl1271 *wl); 54 int (*trigger_cmd)(struct wl1271 *wl, int cmd_box_addr, 56 int (*ack_event)(struct wl1271 *wl); 57 int (*wait_for_event)(struct wl1271 *wl, enum wlcore_wait_event event, 59 int (*process_mailbox_events)(struct wl1271 *wl); 60 u32 (*calc_tx_blocks)(struct wl1271 *wl, u32 len, u32 spare_blks); [all …]
|
D | tx.h | 233 static inline int wl1271_tx_total_queue_count(struct wl1271 *wl) in wl1271_tx_total_queue_count() 244 int wlcore_tx_work_locked(struct wl1271 *wl); 245 int wlcore_tx_complete(struct wl1271 *wl); 246 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif); 247 void wl12xx_tx_reset(struct wl1271 *wl); 248 void wl1271_tx_flush(struct wl1271 *wl); 249 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum ieee80211_band band); 250 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, 252 u32 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set); 253 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all …]
|
D | hw_ops.h | 29 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks() 38 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks() 48 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() 59 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) in wlcore_hw_get_rx_buf_align() 69 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wlcore_hw_prepare_read() 78 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) in wlcore_hw_get_rx_packet_len() 86 static inline int wlcore_hw_tx_delayed_compl(struct wl1271 *wl) in wlcore_hw_tx_delayed_compl() 94 static inline void wlcore_hw_tx_immediate_compl(struct wl1271 *wl) in wlcore_hw_tx_immediate_compl() 101 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_init_vif() 110 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, in wlcore_hw_convert_fw_status() [all …]
|
D | event.h | 67 struct wl1271; 69 int wl1271_event_unmask(struct wl1271 *wl); 70 int wl1271_event_handle(struct wl1271 *wl, u8 mbox); 72 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable); 73 void wlcore_event_sched_scan_completed(struct wl1271 *wl, 75 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, 78 void wlcore_event_channel_switch(struct wl1271 *wl, 81 void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap); 82 void wlcore_event_dummy_packet(struct wl1271 *wl); 83 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap); [all …]
|
D | io.h | 45 struct wl1271; 47 void wlcore_disable_interrupts(struct wl1271 *wl); 48 void wlcore_disable_interrupts_nosync(struct wl1271 *wl); 49 void wlcore_enable_interrupts(struct wl1271 *wl); 50 void wlcore_synchronize_interrupts(struct wl1271 *wl); 52 void wl1271_io_reset(struct wl1271 *wl); 53 void wl1271_io_init(struct wl1271 *wl); 54 int wlcore_translate_addr(struct wl1271 *wl, int addr); 57 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write() 75 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read() [all …]
|
D | init.h | 29 int wl1271_hw_init_power_auth(struct wl1271 *wl); 30 int wl1271_init_templates_config(struct wl1271 *wl); 31 int wl1271_init_pta(struct wl1271 *wl); 32 int wl1271_init_energy_detection(struct wl1271 *wl); 33 int wl1271_chip_specific_init(struct wl1271 *wl); 34 int wl1271_hw_init(struct wl1271 *wl); 35 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 36 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif); 37 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif); 38 int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | cmd.h | 32 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, 34 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, 36 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id); 37 int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 38 int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 39 int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 40 int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 41 int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif); 42 int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, 44 int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif); [all …]
|
D | acx.h | 1042 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, 1045 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth); 1046 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1048 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif); 1049 int wl1271_acx_mem_map(struct wl1271 *wl, 1051 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl); 1052 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1054 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1056 int wl1271_acx_service_period_timeout(struct wl1271 *wl, 1058 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all …]
|
D | event.c | 32 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger() 56 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() 82 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense() 97 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed() 110 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint() 132 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch() 164 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet() 176 static void wlcore_disconnect_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_disconnect_sta() 210 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_max_tx_failure() 217 void wlcore_event_inactive_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_inactive_sta() [all …]
|
D | scan.h | 29 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, 32 int wl1271_scan_build_probe_req(struct wl1271 *wl, 35 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif); 37 int wl1271_scan_sched_scan_config(struct wl1271 *wl, 41 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif); 42 void wlcore_scan_sched_scan_results(struct wl1271 *wl); 166 wlcore_set_scan_chan_params(struct wl1271 *wl, 174 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl,
|
D | ps.h | 30 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, 32 void wl1271_ps_elp_sleep(struct wl1271 *wl); 33 int wl1271_ps_elp_wakeup(struct wl1271 *wl); 35 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 37 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
D | io.c | 35 bool wl1271_set_block_size(struct wl1271 *wl) in wl1271_set_block_size() 45 void wlcore_disable_interrupts(struct wl1271 *wl) in wlcore_disable_interrupts() 51 void wlcore_disable_interrupts_nosync(struct wl1271 *wl) in wlcore_disable_interrupts_nosync() 57 void wlcore_enable_interrupts(struct wl1271 *wl) in wlcore_enable_interrupts() 63 void wlcore_synchronize_interrupts(struct wl1271 *wl) in wlcore_synchronize_interrupts() 69 int wlcore_translate_addr(struct wl1271 *wl, int addr) in wlcore_translate_addr() 137 int wlcore_set_partition(struct wl1271 *wl, in wlcore_set_partition() 190 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset() 196 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
|
D | init.c | 37 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() 158 static int wl1271_ap_init_deauth_template(struct wl1271 *wl, in wl1271_ap_init_deauth_template() 184 static int wl1271_ap_init_null_template(struct wl1271 *wl, in wl1271_ap_init_null_template() 217 static int wl1271_ap_init_qos_null_template(struct wl1271 *wl, in wl1271_ap_init_qos_null_template() 250 static int wl12xx_init_rx_config(struct wl1271 *wl) in wl12xx_init_rx_config() 261 static int wl12xx_init_phy_vif_config(struct wl1271 *wl, in wl12xx_init_phy_vif_config() 281 static int wl1271_init_sta_beacon_filter(struct wl1271 *wl, in wl1271_init_sta_beacon_filter() 298 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta() 313 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection() 324 static int wl1271_init_beacon_broadcast(struct wl1271 *wl, in wl1271_init_beacon_broadcast() [all …]
|
D | acx.c | 37 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_wake_up_conditions() 68 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) in wl1271_acx_sleep_auth() 97 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power() 128 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg() 158 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map() 173 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time() 199 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot() 228 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl() 260 int wl1271_acx_service_period_timeout(struct wl1271 *wl, in wl1271_acx_service_period_timeout() 291 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_rts_threshold() [all …]
|
D | debugfs.h | 32 int wl1271_debugfs_init(struct wl1271 *wl); 33 void wl1271_debugfs_exit(struct wl1271 *wl); 34 void wl1271_debugfs_reset(struct wl1271 *wl); 35 void wl1271_debugfs_update_stats(struct wl1271 *wl); 43 struct wl1271 *wl = file->private_data; \ 76 struct wl1271 *wl = file->private_data; \ 96 struct wl1271 *wl = file->private_data; \
|
D | tx.c | 43 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() 62 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id() 76 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id() 88 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta() 119 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link() 147 bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) in wl12xx_is_dummy_packet() 153 static u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid_ap() 175 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid() 192 unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl, in wlcore_calc_packet_alignment() 203 static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_tx_allocate() [all …]
|
D | debugfs.c | 59 void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats() 93 struct wl1271 *wl = file->private_data; in tx_queue_len_read() 110 static void chip_op_handler(struct wl1271 *wl, unsigned long value, in chip_op_handler() 114 int (*chip_op) (struct wl1271 *wl); in chip_op_handler() 132 static inline void no_write_handler(struct wl1271 *wl, in no_write_handler() 145 struct wl1271 *wl = file->private_data; \ 155 struct wl1271 *wl = file->private_data; \ 196 struct wl1271 *wl = file->private_data; in gpio_power_read() 211 struct wl1271 *wl = file->private_data; in gpio_power_write() 243 struct wl1271 *wl = file->private_data; in start_recovery_write() [all …]
|
D | main.c | 52 static void __wl1271_op_remove_interface(struct wl1271 *wl, 55 static void wlcore_op_stop_locked(struct wl1271 *wl); 56 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif); 58 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized() 83 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() 92 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() 114 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_recalc_rx_streaming() 143 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_enable_work() 179 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work() 203 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer() [all …]
|
D | cmd.c | 53 static int __wlcore_cmd_send(struct wl1271 *wl, u16 id, void *buf, in __wlcore_cmd_send() 134 static int wlcore_cmd_send_failsafe(struct wl1271 *wl, u16 id, void *buf, in wlcore_cmd_send_failsafe() 162 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send() 177 int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, in wlcore_cmd_wait_for_event_or_timeout() 230 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, in wl12xx_cmd_role_enable() 273 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable() 306 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id() 316 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() 354 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() 424 static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, in wl12xx_cmd_role_start_dev() [all …]
|
D | boot.h | 29 int wlcore_boot_upload_firmware(struct wl1271 *wl); 30 int wlcore_boot_upload_nvs(struct wl1271 *wl); 31 int wlcore_boot_run_firmware(struct wl1271 *wl);
|
D | sysfs.c | 31 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_show_bt_coex_state() 49 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_store_bt_coex_state() 91 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_show_hw_pg_ver() 114 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_read_fwlog() 172 int wlcore_sysfs_init(struct wl1271 *wl) in wlcore_sysfs_init() 209 void wlcore_sysfs_free(struct wl1271 *wl) in wlcore_sysfs_free()
|
D | ps.c | 37 struct wl1271 *wl; in wl1271_elp_work() 42 wl = container_of(dwork, struct wl1271, elp_work); in wl1271_elp_work() 78 void wl1271_ps_elp_sleep(struct wl1271 *wl) in wl1271_ps_elp_sleep() 107 int wl1271_ps_elp_wakeup(struct wl1271 *wl) in wl1271_ps_elp_wakeup() 175 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode() 237 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames() 273 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_ps_link_start() 309 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl12xx_ps_link_end()
|
D | rx.c | 41 static u32 wlcore_rx_get_buf_size(struct wl1271 *wl, in wlcore_rx_get_buf_size() 51 static u32 wlcore_rx_get_align_buf_size(struct wl1271 *wl, u32 pkt_len) in wlcore_rx_get_align_buf_size() 59 static void wl1271_rx_status(struct wl1271 *wl, in wl1271_rx_status() 114 static int wl1271_rx_handle_data(struct wl1271 *wl, u8 *data, u32 length, in wl1271_rx_handle_data() 213 int wlcore_rx(struct wl1271 *wl, struct wl_fw_status *status) in wlcore_rx() 306 int wl1271_rx_filter_enable(struct wl1271 *wl, in wl1271_rx_filter_enable() 334 int wl1271_rx_filter_clear_all(struct wl1271 *wl) in wl1271_rx_filter_clear_all()
|
D | testmode.c | 72 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() 151 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() 215 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() 247 static int wl1271_tm_detect_fem(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_detect_fem() 284 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode() 315 static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[]) in wl12xx_tm_cmd_get_mac() 364 struct wl1271 *wl = hw->priv; in wl1271_tm_cmd()
|
D | wlcore_i.h | 108 struct wl1271; 341 struct wl1271 *wl; 527 int wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode); 528 int wl1271_plt_stop(struct wl1271 *wl); 529 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif); 530 void wl12xx_queue_recovery_work(struct wl1271 *wl); 531 size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen);
|
D | sysfs.h | 25 int wlcore_sysfs_init(struct wl1271 *wl); 26 void wlcore_sysfs_free(struct wl1271 *wl);
|
D | rx.h | 148 int wlcore_rx(struct wl1271 *wl, struct wl_fw_status *status); 150 int wl1271_rx_filter_enable(struct wl1271 *wl, 153 int wl1271_rx_filter_clear_all(struct wl1271 *wl);
|
D | scan.c | 37 struct wl1271 *wl; in wl1271_scan_complete_work() 42 wl = container_of(dwork, struct wl1271, scan_complete_work); in wl1271_scan_complete_work() 123 static int wlcore_count_started_vifs(struct wl1271 *wl) in wlcore_count_started_vifs() 134 wlcore_scan_get_channels(struct wl1271 *wl, in wlcore_scan_get_channels() 254 wlcore_set_scan_chan_params(struct wl1271 *wl, in wlcore_set_scan_chan_params() 340 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, in wlcore_scan() 379 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl, in wlcore_scan_sched_scan_ssid_list() 482 void wlcore_scan_sched_scan_results(struct wl1271 *wl) in wlcore_scan_sched_scan_results()
|
D | boot.c | 35 static int wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl() 53 static int wlcore_boot_parse_fw_ver(struct wl1271 *wl, in wlcore_boot_parse_fw_ver() 83 static int wlcore_validate_fw_ver(struct wl1271 *wl) in wlcore_validate_fw_ver() 140 static int wlcore_boot_static_data(struct wl1271 *wl) in wlcore_boot_static_data() 174 static int wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, in wl1271_boot_upload_firmware_chunk() 249 int wlcore_boot_upload_firmware(struct wl1271 *wl) in wlcore_boot_upload_firmware() 283 int wlcore_boot_upload_nvs(struct wl1271 *wl) in wlcore_boot_upload_nvs() 437 int wlcore_boot_run_firmware(struct wl1271 *wl) in wlcore_boot_run_firmware()
|
D | vendor_cmd.c | 34 struct wl1271 *wl = hw->priv; in wlcore_vendor_cmd_smart_config_start() 78 struct wl1271 *wl = hw->priv; in wlcore_vendor_cmd_smart_config_stop() 109 struct wl1271 *wl = hw->priv; in wlcore_vendor_cmd_smart_config_set_group_key()
|
D | spi.c | 171 struct wl1271 *wl = dev_get_drvdata(child); in wl12xx_spi_read_busy() 207 struct wl1271 *wl = dev_get_drvdata(child); in wl12xx_spi_raw_read()
|
D | sdio.c | 387 struct wl1271 *wl = platform_get_drvdata(glue->core); in wl1271_suspend()
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | cmd.h | 86 int wl18xx_cmd_channel_switch(struct wl1271 *wl, 89 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap); 90 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl); 91 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, 93 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start); 94 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel); 95 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | acx.c | 29 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, in wl18xx_acx_host_if_cfg_bitmap() 64 int wl18xx_acx_set_checksum_state(struct wl1271 *wl) in wl18xx_acx_set_checksum_state() 90 int wl18xx_acx_clear_statistics(struct wl1271 *wl) in wl18xx_acx_clear_statistics() 114 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode() 150 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, in wl18xx_acx_set_peer_cap() 203 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, in wl18xx_acx_interrupt_notify_config() 231 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action) in wl18xx_acx_rx_ba_filter() 255 int wl18xx_acx_ap_sleep(struct wl1271 *wl) in wl18xx_acx_ap_sleep() 286 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl) in wl18xx_acx_dynamic_fw_traces()
|
D | scan.h | 119 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 121 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 122 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 123 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 126 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | main.c | 663 static int wl18xx_identify_chip(struct wl1271 *wl) in wl18xx_identify_chip() 712 static int wl18xx_set_clk(struct wl1271 *wl) in wl18xx_set_clk() 818 static int wl18xx_boot_soft_reset(struct wl1271 *wl) in wl18xx_boot_soft_reset() 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() 945 static int wl18xx_set_mac_and_phy(struct wl1271 *wl) in wl18xx_set_mac_and_phy() 969 static int wl18xx_enable_interrupts(struct wl1271 *wl) in wl18xx_enable_interrupts() 997 static int wl18xx_boot(struct wl1271 *wl) in wl18xx_boot() 1046 static int wl18xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, in wl18xx_trigger_cmd() 1058 static int wl18xx_ack_event(struct wl1271 *wl) in wl18xx_ack_event() [all …]
|
D | cmd.c | 28 int wl18xx_cmd_channel_switch(struct wl1271 *wl, in wl18xx_cmd_channel_switch() 87 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap) in wl18xx_cmd_smart_config_start() 115 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl) in wl18xx_cmd_smart_config_stop() 140 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, in wl18xx_cmd_smart_config_set_group_key() 176 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) in wl18xx_cmd_set_cac() 207 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel) in wl18xx_cmd_radar_detection_debug() 233 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_cmd_dfs_master_restart()
|
D | acx.h | 391 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, 394 int wl18xx_acx_set_checksum_state(struct wl1271 *wl); 395 int wl18xx_acx_clear_statistics(struct wl1271 *wl); 396 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide); 397 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, 401 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, bool action); 402 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action); 403 int wl18xx_acx_ap_sleep(struct wl1271 *wl); 404 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl);
|
D | event.c | 29 int wl18xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, in wl18xx_wait_for_event() 63 static int wlcore_smart_config_sync_event(struct wl1271 *wl, u8 sync_channel, in wlcore_smart_config_sync_event() 92 static int wlcore_smart_config_decode_event(struct wl1271 *wl, in wlcore_smart_config_decode_event() 115 static void wlcore_event_time_sync(struct wl1271 *wl, u16 tsf_msb, u16 tsf_lsb) in wlcore_event_time_sync() 123 int wl18xx_process_mailbox_events(struct wl1271 *wl) in wl18xx_process_mailbox_events()
|
D | scan.c | 41 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_send() 160 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_completed() 169 int wl18xx_scan_sched_scan_config(struct wl1271 *wl, in wl18xx_scan_sched_scan_config() 303 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_sched_scan_start() 310 static int __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, in __wl18xx_scan_stop() 338 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_sched_scan_stop() 342 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_start() 348 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_stop()
|
D | io.h | 25 int __must_check wl18xx_top_reg_write(struct wl1271 *wl, int addr, u16 val); 26 int __must_check wl18xx_top_reg_read(struct wl1271 *wl, int addr, u16 *out);
|
D | io.c | 27 int wl18xx_top_reg_write(struct wl1271 *wl, int addr, u16 val) in wl18xx_top_reg_write() 55 int wl18xx_top_reg_read(struct wl1271 *wl, int addr, u16 *out) in wl18xx_top_reg_read()
|
D | tx.c | 32 void wl18xx_get_last_tx_rate(struct wl1271 *wl, struct ieee80211_vif *vif, in wl18xx_get_last_tx_rate() 76 static void wl18xx_tx_complete_packet(struct wl1271 *wl, u8 tx_stat_byte) in wl18xx_tx_complete_packet() 142 void wl18xx_tx_immediate_complete(struct wl1271 *wl) in wl18xx_tx_immediate_complete()
|
D | event.h | 111 int wl18xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, 113 int wl18xx_process_mailbox_events(struct wl1271 *wl);
|
D | debugfs.h | 25 int wl18xx_debugfs_add_files(struct wl1271 *wl,
|
D | debugfs.c | 193 struct wl1271 *wl = file->private_data; in conf_read() 236 struct wl1271 *wl = file->private_data; in clear_fw_stats_write() 264 struct wl1271 *wl = file->private_data; in radar_detection_write() 303 struct wl1271 *wl = file->private_data; in dynamic_fw_traces_write() 336 struct wl1271 *wl = file->private_data; in dynamic_fw_traces_read() 348 int wl18xx_debugfs_add_files(struct wl1271 *wl, in wl18xx_debugfs_add_files()
|
D | tx.h | 44 void wl18xx_tx_immediate_complete(struct wl1271 *wl);
|
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/ |
D | cmd.h | 123 int wl1271_cmd_general_parms(struct wl1271 *wl); 124 int wl128x_cmd_general_parms(struct wl1271 *wl); 125 int wl1271_cmd_radio_parms(struct wl1271 *wl); 126 int wl128x_cmd_radio_parms(struct wl1271 *wl); 127 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl); 128 int wl12xx_cmd_channel_switch(struct wl1271 *wl,
|
D | main.c | 609 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read() 638 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip() 733 static int __must_check wl12xx_top_reg_write(struct wl1271 *wl, int addr, in wl12xx_top_reg_write() 758 static int __must_check wl12xx_top_reg_read(struct wl1271 *wl, int addr, in wl12xx_top_reg_read() 800 static int wl128x_switch_tcxo_to_fref(struct wl1271 *wl) in wl128x_switch_tcxo_to_fref() 829 static bool wl128x_is_tcxo_valid(struct wl1271 *wl) in wl128x_is_tcxo_valid() 844 static bool wl128x_is_fref_valid(struct wl1271 *wl) in wl128x_is_fref_valid() 859 static int wl128x_manually_configure_mcs_pll(struct wl1271 *wl) in wl128x_manually_configure_mcs_pll() 878 static int wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) in wl128x_configure_mcs_pll() 926 static int wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) in wl128x_boot_clk() [all …]
|
D | scan.h | 132 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 134 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 135 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 136 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 139 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | scan.c | 27 static int wl1271_get_scan_channels(struct wl1271 *wl, in wl1271_get_scan_channels() 94 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_scan_send() 191 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_stop() 218 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_stm() 321 int wl1271_scan_sched_scan_config(struct wl1271 *wl, in wl1271_scan_sched_scan_config() 428 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_sched_scan_start() 461 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_sched_scan_start() 474 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_sched_scan_stop() 502 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_scan_start() 509 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_completed()
|
D | cmd.c | 29 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl) in wl1271_cmd_ext_radio_parms() 63 int wl1271_cmd_general_parms(struct wl1271 *wl) in wl1271_cmd_general_parms() 130 int wl128x_cmd_general_parms(struct wl1271 *wl) in wl128x_cmd_general_parms() 198 int wl1271_cmd_radio_parms(struct wl1271 *wl) in wl1271_cmd_radio_parms() 242 int wl128x_cmd_radio_parms(struct wl1271 *wl) in wl128x_cmd_radio_parms() 288 int wl12xx_cmd_channel_switch(struct wl1271 *wl, in wl12xx_cmd_channel_switch()
|
D | event.c | 27 int wl12xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, in wl12xx_wait_for_event() 48 int wl12xx_process_mailbox_events(struct wl1271 *wl) in wl12xx_process_mailbox_events()
|
D | event.h | 106 int wl12xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, 108 int wl12xx_process_mailbox_events(struct wl1271 *wl);
|
D | debugfs.h | 25 int wl12xx_debugfs_add_files(struct wl1271 *wl,
|
D | acx.c | 29 int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap) in wl1271_acx_host_if_cfg_bitmap()
|
D | Kconfig | 6 This module adds support for wireless adapters based on TI wl1271,
|
D | acx.h | 271 int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap);
|
D | debugfs.c | 125 int wl12xx_debugfs_add_files(struct wl1271 *wl, in wl12xx_debugfs_add_files()
|
/linux-4.4.14/Documentation/devicetree/bindings/net/wireless/ |
D | ti,wlcore.txt | 9 * "ti,wl1271"
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | omap4-var-som-om44-wlan.dtsi | 72 compatible = "ti,wl1271";
|
D | omap3-cm-t3730.dts | 80 compatible = "ti,wl1271";
|
D | omap3-evm-common.dtsi | 114 compatible = "ti,wl1271";
|
D | omap3-cm-t3517.dts | 140 compatible = "ti,wl1271";
|
D | omap3-zoom3.dts | 202 compatible = "ti,wl1271";
|
D | imx6qdl-apf6.dtsi | 77 compatible = "ti,wl1271";
|
D | omap4-panda-common.dtsi | 455 compatible = "ti,wl1271";
|
D | imx6qdl-nitrogen6x.dtsi | 659 compatible = "ti,wl1271";
|
D | omap5-board-common.dtsi | 342 compatible = "ti,wl1271";
|
D | am335x-evmsk.dts | 677 compatible = "ti,wl1271";
|
D | imx6qdl-nitrogen6_max.dtsi | 848 compatible = "ti,wl1271";
|