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

/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dbh.h15 /* extern */ struct cw1200_common;
17 int cw1200_register_bh(struct cw1200_common *priv);
18 void cw1200_unregister_bh(struct cw1200_common *priv);
19 void cw1200_irq_handler(struct cw1200_common *priv);
20 void cw1200_bh_wakeup(struct cw1200_common *priv);
21 int cw1200_bh_suspend(struct cw1200_common *priv);
22 int cw1200_bh_resume(struct cw1200_common *priv);
24 void cw1200_enable_powersave(struct cw1200_common *priv,
26 int wsm_release_tx_buffer(struct cw1200_common *priv, int count);
H A Ddebug.h33 int cw1200_debug_init(struct cw1200_common *priv);
34 void cw1200_debug_release(struct cw1200_common *priv);
36 static inline void cw1200_debug_txed(struct cw1200_common *priv) cw1200_debug_txed()
41 static inline void cw1200_debug_txed_agg(struct cw1200_common *priv) cw1200_debug_txed_agg()
46 static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, cw1200_debug_txed_multi()
53 static inline void cw1200_debug_rxed(struct cw1200_common *priv) cw1200_debug_rxed()
58 static inline void cw1200_debug_rxed_agg(struct cw1200_common *priv) cw1200_debug_rxed_agg()
63 static inline void cw1200_debug_tx_cache_miss(struct cw1200_common *priv) cw1200_debug_tx_cache_miss()
68 static inline void cw1200_debug_tx_align(struct cw1200_common *priv) cw1200_debug_tx_align()
73 static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv) cw1200_debug_tx_ttl()
78 static inline void cw1200_debug_tx_burst(struct cw1200_common *priv) cw1200_debug_tx_burst()
83 static inline void cw1200_debug_ba(struct cw1200_common *priv, cw1200_debug_ba()
H A Dtxrx.h55 void tx_policy_init(struct cw1200_common *priv);
57 void tx_policy_clean(struct cw1200_common *priv);
62 u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv,
67 void cw1200_skb_dtor(struct cw1200_common *priv,
74 void cw1200_tx_confirm_cb(struct cw1200_common *priv,
77 void cw1200_rx_cb(struct cw1200_common *priv,
89 int cw1200_alloc_key(struct cw1200_common *priv);
90 void cw1200_free_key(struct cw1200_common *priv, int idx);
91 void cw1200_free_keys(struct cw1200_common *priv);
92 int cw1200_upload_keys(struct cw1200_common *priv);
100 int cw1200_find_link_id(struct cw1200_common *priv, const u8 *mac);
101 int cw1200_alloc_link_id(struct cw1200_common *priv, const u8 *mac);
H A Dpm.h18 /* extern */ struct cw1200_common;
30 struct cw1200_common *priv);
35 int cw1200_can_suspend(struct cw1200_common *priv);
H A Dsta.h49 int cw1200_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
54 void cw1200_join_complete_cb(struct cw1200_common *priv,
60 void cw1200_free_event_queue(struct cw1200_common *priv);
67 void __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, int init, int good,
69 static inline void cw1200_cqm_bssloss_sm(struct cw1200_common *priv, cw1200_cqm_bssloss_sm()
80 int cw1200_setup_mac(struct cw1200_common *priv);
85 void cw1200_update_listening(struct cw1200_common *priv, bool enabled);
86 void cw1200_update_filtering(struct cw1200_common *priv);
89 int cw1200_enable_listening(struct cw1200_common *priv);
90 int cw1200_disable_listening(struct cw1200_common *priv);
91 int cw1200_set_uapsd_param(struct cw1200_common *priv,
116 void cw1200_suspend_resume(struct cw1200_common *priv,
H A Dhwio.h20 /* extern */ struct cw1200_common;
159 int cw1200_data_read(struct cw1200_common *priv,
161 int cw1200_data_write(struct cw1200_common *priv,
164 int cw1200_reg_read(struct cw1200_common *priv, u16 addr,
166 int cw1200_reg_write(struct cw1200_common *priv, u16 addr,
169 static inline int cw1200_reg_read_16(struct cw1200_common *priv, cw1200_reg_read_16()
179 static inline int cw1200_reg_write_16(struct cw1200_common *priv, cw1200_reg_write_16()
186 static inline int cw1200_reg_read_32(struct cw1200_common *priv, cw1200_reg_read_32()
195 static inline int cw1200_reg_write_32(struct cw1200_common *priv, cw1200_reg_write_32()
202 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf,
204 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf,
207 static inline int cw1200_apb_read(struct cw1200_common *priv, u32 addr, cw1200_apb_read()
215 static inline int cw1200_ahb_read(struct cw1200_common *priv, u32 addr, cw1200_ahb_read()
223 static inline int cw1200_apb_read_32(struct cw1200_common *priv, cw1200_apb_read_32()
232 static inline int cw1200_apb_write_32(struct cw1200_common *priv, cw1200_apb_write_32()
238 static inline int cw1200_ahb_read_32(struct cw1200_common *priv, cw1200_ahb_read_32()
H A Dhwio.c33 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, __cw1200_reg_read()
54 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, __cw1200_reg_write()
69 static inline int __cw1200_reg_read_32(struct cw1200_common *priv, __cw1200_reg_read_32()
78 static inline int __cw1200_reg_write_32(struct cw1200_common *priv, __cw1200_reg_write_32()
85 static inline int __cw1200_reg_read_16(struct cw1200_common *priv, __cw1200_reg_read_16()
94 static inline int __cw1200_reg_write_16(struct cw1200_common *priv, __cw1200_reg_write_16()
101 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, cw1200_reg_read()
111 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, cw1200_reg_write()
121 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) cw1200_data_read()
147 int cw1200_data_write(struct cw1200_common *priv, const void *buf, cw1200_data_write()
174 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, cw1200_indirect_read()
238 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, cw1200_apb_write()
270 int __cw1200_irq_enable(struct cw1200_common *priv, int enable) __cw1200_irq_enable()
H A Dhwbus.h17 void cw1200_irq_handler(struct cw1200_common *priv);
20 int __cw1200_irq_enable(struct cw1200_common *priv, int enable);
H A Dqueue.h19 /* extern */ struct cw1200_common;
25 typedef void (*cw1200_queue_skb_dtor_t)(struct cw1200_common *priv,
56 struct cw1200_common *priv;
70 struct cw1200_common *priv);
H A Dwsm.h21 struct cw1200_common;
654 int wsm_configuration(struct cw1200_common *priv,
665 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg);
670 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *buf,
676 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *buf,
740 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg);
745 int wsm_stop_scan(struct cw1200_common *priv);
791 typedef void (*wsm_tx_confirm_cb) (struct cw1200_common *priv,
868 typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg,
891 typedef void (*wsm_event_cb) (struct cw1200_common *priv,
955 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg);
980 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
1006 int wsm_set_bss_params(struct cw1200_common *priv,
1070 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg);
1079 int wsm_remove_key(struct cw1200_common *priv,
1111 int wsm_set_tx_queue_params(struct cw1200_common *priv,
1155 int wsm_set_edca_params(struct cw1200_common *priv,
1158 int wsm_set_uapsd_param(struct cw1200_common *priv,
1183 int wsm_switch_channel(struct cw1200_common *priv,
1186 typedef void (*wsm_channel_switch_cb) (struct cw1200_common *priv);
1229 int wsm_start(struct cw1200_common *priv, const struct wsm_start *arg);
1239 int wsm_beacon_transmit(struct cw1200_common *priv,
1242 int wsm_start_find(struct cw1200_common *priv);
1244 int wsm_stop_find(struct cw1200_common *priv);
1246 typedef void (*wsm_find_complete_cb) (struct cw1200_common *priv, u32 status);
1262 typedef void (*wsm_suspend_resume_cb) (struct cw1200_common *priv,
1274 int wsm_update_ie(struct cw1200_common *priv,
1284 int wsm_map_link(struct cw1200_common *priv, const struct wsm_map_link *arg);
1289 static inline int wsm_set_output_power(struct cw1200_common *priv, wsm_set_output_power()
1297 static inline int wsm_set_beacon_wakeup_period(struct cw1200_common *priv, wsm_set_beacon_wakeup_period()
1323 static inline int wsm_set_rcpi_rssi_threshold(struct cw1200_common *priv, wsm_set_rcpi_rssi_threshold()
1355 static inline int wsm_get_counters_table(struct cw1200_common *priv, wsm_get_counters_table()
1362 static inline int wsm_get_station_id(struct cw1200_common *priv, u8 *mac) wsm_get_station_id()
1374 static inline int wsm_set_rx_filter(struct cw1200_common *priv, wsm_set_rx_filter()
1389 int wsm_set_probe_responder(struct cw1200_common *priv, bool enable);
1407 static inline int wsm_set_beacon_filter_table(struct cw1200_common *priv, wsm_set_beacon_filter_table()
1425 static inline int wsm_beacon_filter_control(struct cw1200_common *priv, wsm_beacon_filter_control()
1450 static inline int wsm_set_operational_mode(struct cw1200_common *priv, wsm_set_operational_mode()
1468 static inline int wsm_set_template_frame(struct cw1200_common *priv, wsm_set_template_frame()
1488 static inline int wsm_set_protected_mgmt_policy(struct cw1200_common *priv, wsm_set_protected_mgmt_policy()
1511 static inline int wsm_set_block_ack_policy(struct cw1200_common *priv, wsm_set_block_ack_policy()
1531 static inline int wsm_set_association_mode(struct cw1200_common *priv, wsm_set_association_mode()
1562 static inline int wsm_set_tx_rate_retry_policy(struct cw1200_common *priv, wsm_set_tx_rate_retry_policy()
1582 static inline int wsm_set_ether_type_filter(struct cw1200_common *priv, wsm_set_ether_type_filter()
1603 static inline int wsm_set_udp_port_filter(struct cw1200_common *priv, wsm_set_udp_port_filter()
1683 static inline int wsm_keep_alive_period(struct cw1200_common *priv, wsm_keep_alive_period()
1699 static inline int wsm_set_bssid_filtering(struct cw1200_common *priv, wsm_set_bssid_filtering()
1716 static inline int wsm_set_multicast_filter(struct cw1200_common *priv, wsm_set_multicast_filter()
1729 static inline int wsm_set_arp_ipv4_filter(struct cw1200_common *priv, wsm_set_arp_ipv4_filter()
1747 static inline int wsm_set_p2p_ps_modeinfo(struct cw1200_common *priv, wsm_set_p2p_ps_modeinfo()
1754 static inline int wsm_get_p2p_ps_modeinfo(struct cw1200_common *priv, wsm_get_p2p_ps_modeinfo()
1763 static inline int wsm_use_multi_tx_conf(struct cw1200_common *priv, wsm_use_multi_tx_conf()
1781 static inline int wsm_set_uapsd_info(struct cw1200_common *priv, wsm_set_uapsd_info()
1795 static inline int wsm_set_override_internal_txrate(struct cw1200_common *priv, wsm_set_override_internal_txrate()
1805 void wsm_lock_tx(struct cw1200_common *priv);
1806 void wsm_lock_tx_async(struct cw1200_common *priv);
1807 bool wsm_flush_tx(struct cw1200_common *priv);
1808 void wsm_unlock_tx(struct cw1200_common *priv);
1813 int wsm_handle_exception(struct cw1200_common *priv, u8 *data, size_t len);
1814 int wsm_handle_rx(struct cw1200_common *priv, u16 id, struct wsm_hdr *wsm,
1845 int wsm_get_tx(struct cw1200_common *priv, u8 **data,
1847 void wsm_txed(struct cw1200_common *priv, u8 *data);
H A Dsta.c28 static void cw1200_do_join(struct cw1200_common *priv);
29 static void cw1200_do_unjoin(struct cw1200_common *priv);
31 static int cw1200_upload_beacon(struct cw1200_common *priv);
32 static int cw1200_upload_pspoll(struct cw1200_common *priv);
33 static int cw1200_upload_null(struct cw1200_common *priv);
34 static int cw1200_upload_qosnull(struct cw1200_common *priv);
35 static int cw1200_start_ap(struct cw1200_common *priv);
36 static int cw1200_update_beaconing(struct cw1200_common *priv);
37 static int cw1200_enable_beaconing(struct cw1200_common *priv,
43 static int __cw1200_flush(struct cw1200_common *priv, bool drop);
59 struct cw1200_common *priv = dev->priv; cw1200_start()
98 struct cw1200_common *priv = dev->priv; cw1200_stop()
151 void __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, __cw1200_cqm_bssloss_sm()
212 struct cw1200_common *priv = dev->priv; cw1200_add_interface()
254 struct cw1200_common *priv = dev->priv; cw1200_remove_interface()
330 struct cw1200_common *priv = dev->priv; cw1200_config()
442 void cw1200_update_filtering(struct cw1200_common *priv) cw1200_update_filtering()
516 struct cw1200_common *priv = cw1200_update_filtering_work()
517 container_of(work, struct cw1200_common, cw1200_update_filtering_work()
525 struct cw1200_common *priv = cw1200_set_beacon_wakeup_period_work()
526 container_of(work, struct cw1200_common, cw1200_set_beacon_wakeup_period_work()
544 struct cw1200_common *priv = hw->priv; cw1200_prepare_multicast()
579 struct cw1200_common *priv = dev->priv; cw1200_configure_filter()
618 struct cw1200_common *priv = dev->priv; cw1200_conf_tx()
665 struct cw1200_common *priv = dev->priv; cw1200_get_stats()
671 int cw1200_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg) cw1200_set_pm()
692 struct cw1200_common *priv = dev->priv; cw1200_set_key()
850 struct cw1200_common *priv = cw1200_wep_key_work()
851 container_of(work, struct cw1200_common, wep_key_work); cw1200_wep_key_work()
870 struct cw1200_common *priv = hw->priv; cw1200_set_rts_threshold()
904 static int __cw1200_flush(struct cw1200_common *priv, bool drop) __cw1200_flush()
944 struct cw1200_common *priv = hw->priv; cw1200_flush()
965 void cw1200_free_event_queue(struct cw1200_common *priv) cw1200_free_event_queue()
978 struct cw1200_common *priv = cw1200_event_handler()
979 container_of(work, struct cw1200_common, event_handler); cw1200_event_handler()
1049 struct cw1200_common *priv = cw1200_bss_loss_work()
1050 container_of(work, struct cw1200_common, bss_loss_work.work); cw1200_bss_loss_work()
1060 struct cw1200_common *priv = cw1200_bss_params_work()
1061 container_of(work, struct cw1200_common, bss_params_work); cw1200_bss_params_work()
1078 static int cw1200_parse_sdd_file(struct cw1200_common *priv) cw1200_parse_sdd_file()
1126 int cw1200_setup_mac(struct cw1200_common *priv) cw1200_setup_mac()
1176 static void cw1200_join_complete(struct cw1200_common *priv) cw1200_join_complete()
1197 struct cw1200_common *priv = cw1200_join_complete_work()
1198 container_of(work, struct cw1200_common, join_complete_work); cw1200_join_complete_work()
1204 void cw1200_join_complete_cb(struct cw1200_common *priv, cw1200_join_complete_cb()
1217 static void cw1200_do_join(struct cw1200_common *priv) cw1200_do_join()
1381 struct cw1200_common *priv = cw1200_join_timeout()
1382 container_of(work, struct cw1200_common, join_timeout.work); cw1200_join_timeout()
1389 static void cw1200_do_unjoin(struct cw1200_common *priv) cw1200_do_unjoin()
1452 struct cw1200_common *priv = cw1200_unjoin_work()
1453 container_of(work, struct cw1200_common, unjoin_work); cw1200_unjoin_work()
1463 int cw1200_enable_listening(struct cw1200_common *priv) cw1200_enable_listening()
1486 int cw1200_disable_listening(struct cw1200_common *priv) cw1200_disable_listening()
1496 void cw1200_update_listening(struct cw1200_common *priv, bool enabled) cw1200_update_listening()
1513 int cw1200_set_uapsd_param(struct cw1200_common *priv, cw1200_set_uapsd_param()
1555 struct cw1200_common *priv = hw->priv; cw1200_sta_add()
1586 struct cw1200_common *priv = hw->priv; cw1200_sta_remove()
1611 struct cw1200_common *priv = dev->priv; __cw1200_sta_notify()
1652 struct cw1200_common *priv = dev->priv; cw1200_sta_notify()
1661 static void cw1200_ps_notify(struct cw1200_common *priv, cw1200_ps_notify()
1675 static int cw1200_set_tim_impl(struct cw1200_common *priv, bool aid0_bit_set) cw1200_set_tim_impl()
1718 struct cw1200_common *priv = cw1200_set_tim_work()
1719 container_of(work, struct cw1200_common, set_tim_work); cw1200_set_tim_work()
1726 struct cw1200_common *priv = dev->priv; cw1200_set_tim()
1733 struct cw1200_common *priv = cw1200_set_cts_work()
1734 container_of(work, struct cw1200_common, set_cts_work); cw1200_set_cts_work()
1763 static int cw1200_set_btcoexinfo(struct cw1200_common *priv) cw1200_set_btcoexinfo()
1814 struct cw1200_common *priv = dev->priv; cw1200_bss_info_changed()
2095 struct cw1200_common *priv = cw1200_multicast_start_work()
2096 container_of(work, struct cw1200_common, multicast_start_work); cw1200_multicast_start_work()
2113 struct cw1200_common *priv = cw1200_multicast_stop_work()
2114 container_of(work, struct cw1200_common, multicast_stop_work); cw1200_multicast_stop_work()
2127 struct cw1200_common *priv = cw1200_mcast_timeout()
2128 (struct cw1200_common *)arg; cw1200_mcast_timeout()
2158 void cw1200_suspend_resume(struct cw1200_common *priv, cw1200_suspend_resume()
2202 static int cw1200_upload_beacon(struct cw1200_common *priv) cw1200_upload_beacon()
2253 static int cw1200_upload_pspoll(struct cw1200_common *priv) cw1200_upload_pspoll()
2273 static int cw1200_upload_null(struct cw1200_common *priv) cw1200_upload_null()
2292 static int cw1200_upload_qosnull(struct cw1200_common *priv) cw1200_upload_qosnull()
2313 static int cw1200_enable_beaconing(struct cw1200_common *priv, cw1200_enable_beaconing()
2323 static int cw1200_start_ap(struct cw1200_common *priv) cw1200_start_ap()
2379 static int cw1200_update_beaconing(struct cw1200_common *priv) cw1200_update_beaconing()
H A Dtxrx.c24 static int cw1200_handle_action_rx(struct cw1200_common *priv,
27 cw1200_get_tx_rate(const struct cw1200_common *priv,
33 static inline void cw1200_tx_queues_lock(struct cw1200_common *priv) cw1200_tx_queues_lock()
40 static inline void cw1200_tx_queues_unlock(struct cw1200_common *priv) cw1200_tx_queues_unlock()
68 static void tx_policy_build(const struct cw1200_common *priv, tx_policy_build()
253 void tx_policy_clean(struct cw1200_common *priv) tx_policy_clean()
284 void tx_policy_init(struct cw1200_common *priv) tx_policy_init()
299 static int tx_policy_get(struct cw1200_common *priv, tx_policy_get()
340 static void tx_policy_put(struct cw1200_common *priv, int idx) tx_policy_put()
355 static int tx_policy_upload(struct cw1200_common *priv) tx_policy_upload()
390 struct cw1200_common *priv = tx_policy_upload_work()
391 container_of(work, struct cw1200_common, tx_policy_upload_work); tx_policy_upload_work()
416 u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) cw1200_rate_mask_to_wsm()
428 cw1200_get_tx_rate(const struct cw1200_common *priv, cw1200_get_tx_rate()
440 cw1200_tx_h_calc_link_ids(struct cw1200_common *priv, cw1200_tx_h_calc_link_ids()
478 cw1200_tx_h_pm(struct cw1200_common *priv, cw1200_tx_h_pm()
491 cw1200_tx_h_calc_tid(struct cw1200_common *priv, cw1200_tx_h_calc_tid()
503 cw1200_tx_h_crypt(struct cw1200_common *priv, cw1200_tx_h_crypt()
520 cw1200_tx_h_align(struct cw1200_common *priv, cw1200_tx_h_align()
551 cw1200_tx_h_action(struct cw1200_common *priv, cw1200_tx_h_action()
565 cw1200_tx_h_wsm(struct cw1200_common *priv, cw1200_tx_h_wsm()
588 cw1200_tx_h_bt(struct cw1200_common *priv, cw1200_tx_h_bt()
641 cw1200_tx_h_rate_policy(struct cw1200_common *priv, cw1200_tx_h_rate_policy()
685 cw1200_tx_h_pm_state(struct cw1200_common *priv, cw1200_tx_h_pm_state()
710 struct cw1200_common *priv = dev->priv; cw1200_tx()
795 static int cw1200_handle_action_rx(struct cw1200_common *priv, cw1200_handle_action_rx()
807 static int cw1200_handle_pspoll(struct cw1200_common *priv, cw1200_handle_pspoll()
853 void cw1200_tx_confirm_cb(struct cw1200_common *priv, cw1200_tx_confirm_cb()
965 static void cw1200_notify_buffered_tx(struct cw1200_common *priv, cw1200_notify_buffered_tx()
993 void cw1200_skb_dtor(struct cw1200_common *priv, cw1200_skb_dtor()
1006 void cw1200_rx_cb(struct cw1200_common *priv, cw1200_rx_cb()
1232 int cw1200_alloc_key(struct cw1200_common *priv) cw1200_alloc_key()
1245 void cw1200_free_key(struct cw1200_common *priv, int idx) cw1200_free_key()
1252 void cw1200_free_keys(struct cw1200_common *priv) cw1200_free_keys()
1258 int cw1200_upload_keys(struct cw1200_common *priv) cw1200_upload_keys()
1273 struct cw1200_common *priv = cw1200_link_id_reset()
1274 container_of(work, struct cw1200_common, linkid_reset_work); cw1200_link_id_reset()
1311 int cw1200_find_link_id(struct cw1200_common *priv, const u8 *mac) cw1200_find_link_id()
1327 int cw1200_alloc_link_id(struct cw1200_common *priv, const u8 *mac) cw1200_alloc_link_id()
1369 struct cw1200_common *priv = cw1200_link_id_work()
1370 container_of(work, struct cw1200_common, link_id_work); cw1200_link_id_work()
1378 struct cw1200_common *priv = cw1200_link_id_gc_work()
1379 container_of(work, struct cw1200_common, link_id_gc_work.work); cw1200_link_id_gc_work()
H A Dwsm.c84 static int wsm_cmd_send(struct cw1200_common *priv,
94 static int wsm_generic_confirm(struct cw1200_common *priv, wsm_generic_confirm()
108 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) wsm_configuration()
137 static int wsm_configuration_confirm(struct cw1200_common *priv, wsm_configuration_confirm()
166 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) wsm_reset()
192 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, wsm_read_mib()
217 static int wsm_read_mib_confirm(struct cw1200_common *priv, wsm_read_mib_confirm()
243 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, wsm_write_mib()
270 static int wsm_write_mib_confirm(struct cw1200_common *priv, wsm_write_mib_confirm()
290 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) wsm_scan()
343 int wsm_stop_scan(struct cw1200_common *priv) wsm_stop_scan()
355 static int wsm_tx_confirm(struct cw1200_common *priv, wsm_tx_confirm()
377 static int wsm_multi_tx_confirm(struct cw1200_common *priv, wsm_multi_tx_confirm()
412 static int wsm_join_confirm(struct cw1200_common *priv, wsm_join_confirm()
430 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg) wsm_join()
468 int wsm_set_bss_params(struct cw1200_common *priv, wsm_set_bss_params()
494 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg) wsm_add_key()
516 int wsm_remove_key(struct cw1200_common *priv, const struct wsm_remove_key *arg) wsm_remove_key()
540 int wsm_set_tx_queue_params(struct cw1200_common *priv, wsm_set_tx_queue_params()
569 int wsm_set_edca_params(struct cw1200_common *priv, wsm_set_edca_params()
616 int wsm_switch_channel(struct cw1200_common *priv, wsm_switch_channel()
645 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg) wsm_set_pm()
671 int wsm_start(struct cw1200_common *priv, const struct wsm_start *arg) wsm_start()
704 int wsm_beacon_transmit(struct cw1200_common *priv, wsm_beacon_transmit()
727 int wsm_start_find(struct cw1200_common *priv) wsm_start_find()
740 int wsm_stop_find(struct cw1200_common *priv) wsm_stop_find()
753 int wsm_map_link(struct cw1200_common *priv, const struct wsm_map_link *arg) wsm_map_link()
776 int wsm_update_ie(struct cw1200_common *priv, wsm_update_ie()
799 int wsm_set_probe_responder(struct cw1200_common *priv, bool enable) wsm_set_probe_responder()
815 static int wsm_startup_indication(struct cw1200_common *priv, wsm_startup_indication()
865 static int wsm_receive_indication(struct cw1200_common *priv, wsm_receive_indication()
920 static int wsm_event_indication(struct cw1200_common *priv, struct wsm_buf *buf) wsm_event_indication()
955 static int wsm_channel_switch_indication(struct cw1200_common *priv, wsm_channel_switch_indication()
971 static int wsm_set_pm_indication(struct cw1200_common *priv, wsm_set_pm_indication()
982 static int wsm_scan_started(struct cw1200_common *priv, void *arg, wsm_scan_started()
997 static int wsm_scan_complete_indication(struct cw1200_common *priv, wsm_scan_complete_indication()
1012 static int wsm_join_complete_indication(struct cw1200_common *priv, wsm_join_complete_indication()
1026 static int wsm_find_complete_indication(struct cw1200_common *priv, wsm_find_complete_indication()
1033 static int wsm_ba_timeout_indication(struct cw1200_common *priv, wsm_ba_timeout_indication()
1055 static int wsm_suspend_resume_indication(struct cw1200_common *priv, wsm_suspend_resume_indication()
1079 static int wsm_cmd_send(struct cw1200_common *priv, wsm_cmd_send()
1167 void wsm_lock_tx(struct cw1200_common *priv) wsm_lock_tx()
1177 void wsm_lock_tx_async(struct cw1200_common *priv) wsm_lock_tx_async()
1183 bool wsm_flush_tx(struct cw1200_common *priv) wsm_flush_tx()
1230 void wsm_unlock_tx(struct cw1200_common *priv) wsm_unlock_tx()
1246 int wsm_handle_exception(struct cw1200_common *priv, u8 *data, size_t len) wsm_handle_exception()
1302 int wsm_handle_rx(struct cw1200_common *priv, u16 id, wsm_handle_rx()
1460 static bool wsm_handle_tx_data(struct cw1200_common *priv, wsm_handle_tx_data()
1583 static int cw1200_get_prio_queue(struct cw1200_common *priv, cw1200_get_prio_queue()
1625 static int wsm_get_tx_queue_and_mask(struct cw1200_common *priv, wsm_get_tx_queue_and_mask()
1665 int wsm_get_tx(struct cw1200_common *priv, u8 **data, wsm_get_tx()
1770 void wsm_txed(struct cw1200_common *priv, u8 *data) wsm_txed()
H A Dbh.c48 typedef int (*cw1200_wsm_handler)(struct cw1200_common *priv,
53 struct cw1200_common *priv = cw1200_bh_work()
54 container_of(work, struct cw1200_common, bh_work); cw1200_bh_work()
58 int cw1200_register_bh(struct cw1200_common *priv) cw1200_register_bh()
89 void cw1200_unregister_bh(struct cw1200_common *priv) cw1200_unregister_bh()
102 void cw1200_irq_handler(struct cw1200_common *priv) cw1200_irq_handler()
118 void cw1200_bh_wakeup(struct cw1200_common *priv) cw1200_bh_wakeup()
130 int cw1200_bh_suspend(struct cw1200_common *priv) cw1200_bh_suspend()
145 int cw1200_bh_resume(struct cw1200_common *priv) cw1200_bh_resume()
160 static inline void wsm_alloc_tx_buffer(struct cw1200_common *priv) wsm_alloc_tx_buffer()
165 int wsm_release_tx_buffer(struct cw1200_common *priv, int count) wsm_release_tx_buffer()
180 static int cw1200_bh_read_ctrl_reg(struct cw1200_common *priv, cw1200_bh_read_ctrl_reg()
197 static int cw1200_device_wakeup(struct cw1200_common *priv) cw1200_device_wakeup()
232 void cw1200_enable_powersave(struct cw1200_common *priv, cw1200_enable_powersave()
240 static int cw1200_bh_rx_helper(struct cw1200_common *priv, cw1200_bh_rx_helper()
353 static int cw1200_bh_tx_helper(struct cw1200_common *priv, cw1200_bh_tx_helper()
425 struct cw1200_common *priv = arg; cw1200_bh()
H A Dscan.c18 static void cw1200_scan_restart_delayed(struct cw1200_common *priv);
20 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) cw1200_scan_start()
58 struct cw1200_common *priv = hw->priv; cw1200_hw_scan()
133 struct cw1200_common *priv = container_of(work, struct cw1200_common, cw1200_scan_work()
268 static void cw1200_scan_restart_delayed(struct cw1200_common *priv) cw1200_scan_restart_delayed()
287 static void cw1200_scan_complete(struct cw1200_common *priv) cw1200_scan_complete()
301 void cw1200_scan_failed_cb(struct cw1200_common *priv) cw1200_scan_failed_cb()
314 void cw1200_scan_complete_cb(struct cw1200_common *priv, cw1200_scan_complete_cb()
329 struct cw1200_common *priv = cw1200_clear_recent_scan_work()
330 container_of(work, struct cw1200_common, cw1200_clear_recent_scan_work()
337 struct cw1200_common *priv = cw1200_scan_timeout()
338 container_of(work, struct cw1200_common, scan.timeout.work); cw1200_scan_timeout()
355 struct cw1200_common *priv = cw1200_probe_work()
356 container_of(work, struct cw1200_common, scan.probe_work.work); cw1200_probe_work()
H A Dscan.h48 void cw1200_scan_complete_cb(struct cw1200_common *priv,
50 void cw1200_scan_failed_cb(struct cw1200_common *priv);
H A Dfwio.h32 int cw1200_load_firmware(struct cw1200_common *priv);
H A Dpm.c100 struct cw1200_common *priv) cw1200_pm_init()
141 static int cw1200_resume_work(struct cw1200_common *priv, cw1200_resume_work()
151 int cw1200_can_suspend(struct cw1200_common *priv) cw1200_can_suspend()
163 struct cw1200_common *priv = hw->priv; cw1200_wow_suspend()
308 struct cw1200_common *priv = hw->priv; cw1200_wow_resume()
H A Ddebug.c90 struct cw1200_common *priv, cw1200_debug_print_map()
105 struct cw1200_common *priv = seq->private; cw1200_status_show()
309 struct cw1200_common *priv = seq->private; cw1200_counters_show()
365 struct cw1200_common *priv = file->private_data; cw1200_wsm_dumps()
387 int cw1200_debug_init(struct cw1200_common *priv) cw1200_debug_init()
422 void cw1200_debug_release(struct cw1200_common *priv) cw1200_debug_release()
H A Dmain.c260 struct cw1200_common *priv; cw1200_init_common()
262 hw = ieee80211_alloc_hw(sizeof(struct cw1200_common), &cw1200_ops); cw1200_init_common()
413 struct cw1200_common *priv = dev->priv; cw1200_register_common()
448 struct cw1200_common *priv = dev->priv; cw1200_unregister_common()
515 struct cw1200_common **core, cw1200_core_probe()
521 struct cw1200_common *priv; cw1200_core_probe()
545 /* Pass struct cw1200_common back up */ cw1200_core_probe()
589 void cw1200_core_release(struct cw1200_common *self) cw1200_core_release()
H A Dfwio.c54 static int cw1200_load_firmware_cw1200(struct cw1200_common *priv) cw1200_load_firmware_cw1200()
268 static int config_reg_read(struct cw1200_common *priv, u32 *val) config_reg_read()
290 static int config_reg_write(struct cw1200_common *priv, u32 val) config_reg_write()
305 int cw1200_load_firmware(struct cw1200_common *priv) cw1200_load_firmware()
H A Dcw1200.h94 struct cw1200_common { struct
296 struct cw1200_common **pself,
299 void cw1200_core_release(struct cw1200_common *self);
H A Dcw1200_sdio.c49 struct cw1200_common *core;
H A Dcw1200_spi.c40 struct cw1200_common *core;
H A Dqueue.c148 struct cw1200_common *priv) cw1200_queue_stats_init()

Completed in 191 milliseconds