Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/st/cw1200/
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) in cw1200_debug_txed()
41 static inline void cw1200_debug_txed_agg(struct cw1200_common *priv) in cw1200_debug_txed_agg()
46 static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, in cw1200_debug_txed_multi()
53 static inline void cw1200_debug_rxed(struct cw1200_common *priv) in cw1200_debug_rxed()
58 static inline void cw1200_debug_rxed_agg(struct cw1200_common *priv) in cw1200_debug_rxed_agg()
63 static inline void cw1200_debug_tx_cache_miss(struct cw1200_common *priv) in cw1200_debug_tx_cache_miss()
68 static inline void cw1200_debug_tx_align(struct cw1200_common *priv) in cw1200_debug_tx_align()
73 static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv) in cw1200_debug_tx_ttl()
[all …]
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);
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);
[all …]
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,
[all …]
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, in cw1200_reg_read_16()
179 static inline int cw1200_reg_write_16(struct cw1200_common *priv, in cw1200_reg_write_16()
186 static inline int cw1200_reg_read_32(struct cw1200_common *priv, in cw1200_reg_read_32()
195 static inline int cw1200_reg_write_32(struct cw1200_common *priv, in cw1200_reg_write_32()
202 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf,
[all …]
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, in 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);
[all …]
Dhwio.c33 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, in __cw1200_reg_read()
54 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, in __cw1200_reg_write()
69 static inline int __cw1200_reg_read_32(struct cw1200_common *priv, in __cw1200_reg_read_32()
78 static inline int __cw1200_reg_write_32(struct cw1200_common *priv, in __cw1200_reg_write_32()
85 static inline int __cw1200_reg_read_16(struct cw1200_common *priv, in __cw1200_reg_read_16()
94 static inline int __cw1200_reg_write_16(struct cw1200_common *priv, in __cw1200_reg_write_16()
101 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
111 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
121 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) in cw1200_data_read()
147 int cw1200_data_write(struct cw1200_common *priv, const void *buf, in cw1200_data_write()
[all …]
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);
[all …]
Dbh.c48 typedef int (*cw1200_wsm_handler)(struct cw1200_common *priv,
53 struct cw1200_common *priv = in cw1200_bh_work()
54 container_of(work, struct cw1200_common, bh_work); in cw1200_bh_work()
58 int cw1200_register_bh(struct cw1200_common *priv) in cw1200_register_bh()
89 void cw1200_unregister_bh(struct cw1200_common *priv) in cw1200_unregister_bh()
102 void cw1200_irq_handler(struct cw1200_common *priv) in cw1200_irq_handler()
118 void cw1200_bh_wakeup(struct cw1200_common *priv) in cw1200_bh_wakeup()
130 int cw1200_bh_suspend(struct cw1200_common *priv) in cw1200_bh_suspend()
145 int cw1200_bh_resume(struct cw1200_common *priv) in cw1200_bh_resume()
160 static inline void wsm_alloc_tx_buffer(struct cw1200_common *priv) in wsm_alloc_tx_buffer()
[all …]
Dpm.h18 /* extern */ struct cw1200_common;
30 struct cw1200_common *priv);
34 int cw1200_can_suspend(struct cw1200_common *priv);
43 static inline int cw1200_can_suspend(struct cw1200_common *priv) in cw1200_can_suspend()
Dwsm.c84 static int wsm_cmd_send(struct cw1200_common *priv,
94 static int wsm_generic_confirm(struct cw1200_common *priv, in wsm_generic_confirm()
108 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration()
137 static int wsm_configuration_confirm(struct cw1200_common *priv, in wsm_configuration_confirm()
166 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) in wsm_reset()
192 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_read_mib()
217 static int wsm_read_mib_confirm(struct cw1200_common *priv, in wsm_read_mib_confirm()
243 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_write_mib()
270 static int wsm_write_mib_confirm(struct cw1200_common *priv, in wsm_write_mib_confirm()
290 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) in wsm_scan()
[all …]
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) in cw1200_tx_queues_lock()
40 static inline void cw1200_tx_queues_unlock(struct cw1200_common *priv) in cw1200_tx_queues_unlock()
68 static void tx_policy_build(const struct cw1200_common *priv, in tx_policy_build()
253 void tx_policy_clean(struct cw1200_common *priv) in tx_policy_clean()
284 void tx_policy_init(struct cw1200_common *priv) in tx_policy_init()
299 static int tx_policy_get(struct cw1200_common *priv, in tx_policy_get()
340 static void tx_policy_put(struct cw1200_common *priv, int idx) in tx_policy_put()
355 static int tx_policy_upload(struct cw1200_common *priv) in tx_policy_upload()
[all …]
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) in cw1200_scan_start()
58 struct cw1200_common *priv = hw->priv; in cw1200_hw_scan()
133 struct cw1200_common *priv = container_of(work, struct cw1200_common, in cw1200_scan_work()
272 static void cw1200_scan_restart_delayed(struct cw1200_common *priv) in cw1200_scan_restart_delayed()
291 static void cw1200_scan_complete(struct cw1200_common *priv) in cw1200_scan_complete()
305 void cw1200_scan_failed_cb(struct cw1200_common *priv) in cw1200_scan_failed_cb()
318 void cw1200_scan_complete_cb(struct cw1200_common *priv, in cw1200_scan_complete_cb()
333 struct cw1200_common *priv = in cw1200_clear_recent_scan_work()
334 container_of(work, struct cw1200_common, in cw1200_clear_recent_scan_work()
[all …]
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);
Dhwbus.h17 void cw1200_irq_handler(struct cw1200_common *priv);
20 int __cw1200_irq_enable(struct cw1200_common *priv, int enable);
Dscan.h48 void cw1200_scan_complete_cb(struct cw1200_common *priv,
50 void cw1200_scan_failed_cb(struct cw1200_common *priv);
Dpm.c100 struct cw1200_common *priv) in cw1200_pm_init()
140 static int cw1200_resume_work(struct cw1200_common *priv, in cw1200_resume_work()
150 int cw1200_can_suspend(struct cw1200_common *priv) in cw1200_can_suspend()
162 struct cw1200_common *priv = hw->priv; in cw1200_wow_suspend()
307 struct cw1200_common *priv = hw->priv; in cw1200_wow_resume()
Dmain.c260 struct cw1200_common *priv; in cw1200_init_common()
262 hw = ieee80211_alloc_hw(sizeof(struct cw1200_common), &cw1200_ops); in cw1200_init_common()
412 struct cw1200_common *priv = dev->priv; in cw1200_register_common()
447 struct cw1200_common *priv = dev->priv; in cw1200_unregister_common()
514 struct cw1200_common **core, in cw1200_core_probe()
520 struct cw1200_common *priv; in cw1200_core_probe()
588 void cw1200_core_release(struct cw1200_common *self) in cw1200_core_release()
Ddebug.c90 struct cw1200_common *priv, in cw1200_debug_print_map()
105 struct cw1200_common *priv = seq->private; in cw1200_status_show()
309 struct cw1200_common *priv = seq->private; in cw1200_counters_show()
365 struct cw1200_common *priv = file->private_data; in cw1200_wsm_dumps()
387 int cw1200_debug_init(struct cw1200_common *priv) in cw1200_debug_init()
422 void cw1200_debug_release(struct cw1200_common *priv) in cw1200_debug_release()
Dcw1200.h94 struct cw1200_common { struct
296 struct cw1200_common **pself, argument
299 void cw1200_core_release(struct cw1200_common *self);
Dfwio.c54 static int cw1200_load_firmware_cw1200(struct cw1200_common *priv) in cw1200_load_firmware_cw1200()
268 static int config_reg_read(struct cw1200_common *priv, u32 *val) in config_reg_read()
290 static int config_reg_write(struct cw1200_common *priv, u32 val) in config_reg_write()
305 int cw1200_load_firmware(struct cw1200_common *priv) in cw1200_load_firmware()
Dfwio.h32 int cw1200_load_firmware(struct cw1200_common *priv);
Dcw1200_sdio.c50 struct cw1200_common *core;
Dcw1200_spi.c40 struct cw1200_common *core;
Dqueue.c148 struct cw1200_common *priv) in cw1200_queue_stats_init()