Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/st/cw1200/
Ddebug.h30 int cw1200_debug_init(struct cw1200_common *priv);
31 void cw1200_debug_release(struct cw1200_common *priv);
33 static inline void cw1200_debug_txed(struct cw1200_common *priv) in cw1200_debug_txed()
38 static inline void cw1200_debug_txed_agg(struct cw1200_common *priv) in cw1200_debug_txed_agg()
43 static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, in cw1200_debug_txed_multi()
50 static inline void cw1200_debug_rxed(struct cw1200_common *priv) in cw1200_debug_rxed()
55 static inline void cw1200_debug_rxed_agg(struct cw1200_common *priv) in cw1200_debug_rxed_agg()
60 static inline void cw1200_debug_tx_cache_miss(struct cw1200_common *priv) in cw1200_debug_tx_cache_miss()
65 static inline void cw1200_debug_tx_align(struct cw1200_common *priv) in cw1200_debug_tx_align()
70 static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv) in cw1200_debug_tx_ttl()
[all …]
Dbh.h12 /* extern */ struct cw1200_common;
14 int cw1200_register_bh(struct cw1200_common *priv);
15 void cw1200_unregister_bh(struct cw1200_common *priv);
16 void cw1200_irq_handler(struct cw1200_common *priv);
17 void cw1200_bh_wakeup(struct cw1200_common *priv);
18 int cw1200_bh_suspend(struct cw1200_common *priv);
19 int cw1200_bh_resume(struct cw1200_common *priv);
21 void cw1200_enable_powersave(struct cw1200_common *priv,
23 int wsm_release_tx_buffer(struct cw1200_common *priv, int count);
Dtxrx.h52 void tx_policy_init(struct cw1200_common *priv);
54 void tx_policy_clean(struct cw1200_common *priv);
59 u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv,
64 void cw1200_skb_dtor(struct cw1200_common *priv,
71 void cw1200_tx_confirm_cb(struct cw1200_common *priv,
74 void cw1200_rx_cb(struct cw1200_common *priv,
86 int cw1200_alloc_key(struct cw1200_common *priv);
87 void cw1200_free_key(struct cw1200_common *priv, int idx);
88 void cw1200_free_keys(struct cw1200_common *priv);
89 int cw1200_upload_keys(struct cw1200_common *priv);
[all …]
Dwsm.h18 struct cw1200_common;
651 int wsm_configuration(struct cw1200_common *priv,
662 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg);
667 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *buf,
673 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *buf,
737 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg);
742 int wsm_stop_scan(struct cw1200_common *priv);
788 typedef void (*wsm_tx_confirm_cb) (struct cw1200_common *priv,
865 typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg,
888 typedef void (*wsm_event_cb) (struct cw1200_common *priv,
[all …]
Dhwio.h17 /* extern */ struct cw1200_common;
156 int cw1200_data_read(struct cw1200_common *priv,
158 int cw1200_data_write(struct cw1200_common *priv,
161 int cw1200_reg_read(struct cw1200_common *priv, u16 addr,
163 int cw1200_reg_write(struct cw1200_common *priv, u16 addr,
166 static inline int cw1200_reg_read_16(struct cw1200_common *priv, in cw1200_reg_read_16()
176 static inline int cw1200_reg_write_16(struct cw1200_common *priv, in cw1200_reg_write_16()
183 static inline int cw1200_reg_read_32(struct cw1200_common *priv, in cw1200_reg_read_32()
192 static inline int cw1200_reg_write_32(struct cw1200_common *priv, in cw1200_reg_write_32()
199 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf,
[all …]
Dsta.h46 int cw1200_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
51 void cw1200_join_complete_cb(struct cw1200_common *priv,
57 void cw1200_free_event_queue(struct cw1200_common *priv);
64 void __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, int init, int good,
66 static inline void cw1200_cqm_bssloss_sm(struct cw1200_common *priv, in cw1200_cqm_bssloss_sm()
77 int cw1200_setup_mac(struct cw1200_common *priv);
82 void cw1200_update_listening(struct cw1200_common *priv, bool enabled);
83 void cw1200_update_filtering(struct cw1200_common *priv);
86 int cw1200_enable_listening(struct cw1200_common *priv);
87 int cw1200_disable_listening(struct cw1200_common *priv);
[all …]
Dsta.c25 static void cw1200_do_join(struct cw1200_common *priv);
26 static void cw1200_do_unjoin(struct cw1200_common *priv);
28 static int cw1200_upload_beacon(struct cw1200_common *priv);
29 static int cw1200_upload_pspoll(struct cw1200_common *priv);
30 static int cw1200_upload_null(struct cw1200_common *priv);
31 static int cw1200_upload_qosnull(struct cw1200_common *priv);
32 static int cw1200_start_ap(struct cw1200_common *priv);
33 static int cw1200_update_beaconing(struct cw1200_common *priv);
34 static int cw1200_enable_beaconing(struct cw1200_common *priv,
40 static int __cw1200_flush(struct cw1200_common *priv, bool drop);
[all …]
Dhwio.c30 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, in __cw1200_reg_read()
51 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, in __cw1200_reg_write()
66 static inline int __cw1200_reg_read_32(struct cw1200_common *priv, in __cw1200_reg_read_32()
75 static inline int __cw1200_reg_write_32(struct cw1200_common *priv, in __cw1200_reg_write_32()
82 static inline int __cw1200_reg_read_16(struct cw1200_common *priv, in __cw1200_reg_read_16()
91 static inline int __cw1200_reg_write_16(struct cw1200_common *priv, in __cw1200_reg_write_16()
98 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
108 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
118 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) in cw1200_data_read()
144 int cw1200_data_write(struct cw1200_common *priv, const void *buf, in cw1200_data_write()
[all …]
Dwsm.c81 static int wsm_cmd_send(struct cw1200_common *priv,
91 static int wsm_generic_confirm(struct cw1200_common *priv, in wsm_generic_confirm()
105 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration()
134 static int wsm_configuration_confirm(struct cw1200_common *priv, in wsm_configuration_confirm()
163 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) in wsm_reset()
189 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_read_mib()
214 static int wsm_read_mib_confirm(struct cw1200_common *priv, in wsm_read_mib_confirm()
240 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_write_mib()
267 static int wsm_write_mib_confirm(struct cw1200_common *priv, in wsm_write_mib_confirm()
287 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) in wsm_scan()
[all …]
Dbh.c45 typedef int (*cw1200_wsm_handler)(struct cw1200_common *priv,
50 struct cw1200_common *priv = in cw1200_bh_work()
51 container_of(work, struct cw1200_common, bh_work); in cw1200_bh_work()
55 int cw1200_register_bh(struct cw1200_common *priv) in cw1200_register_bh()
86 void cw1200_unregister_bh(struct cw1200_common *priv) in cw1200_unregister_bh()
99 void cw1200_irq_handler(struct cw1200_common *priv) in cw1200_irq_handler()
115 void cw1200_bh_wakeup(struct cw1200_common *priv) in cw1200_bh_wakeup()
127 int cw1200_bh_suspend(struct cw1200_common *priv) in cw1200_bh_suspend()
142 int cw1200_bh_resume(struct cw1200_common *priv) in cw1200_bh_resume()
157 static inline void wsm_alloc_tx_buffer(struct cw1200_common *priv) in wsm_alloc_tx_buffer()
[all …]
Dpm.h15 /* extern */ struct cw1200_common;
27 struct cw1200_common *priv);
31 int cw1200_can_suspend(struct cw1200_common *priv);
40 static inline int cw1200_can_suspend(struct cw1200_common *priv) in cw1200_can_suspend()
Dtxrx.c21 static int cw1200_handle_action_rx(struct cw1200_common *priv,
24 cw1200_get_tx_rate(const struct cw1200_common *priv,
30 static inline void cw1200_tx_queues_lock(struct cw1200_common *priv) in cw1200_tx_queues_lock()
37 static inline void cw1200_tx_queues_unlock(struct cw1200_common *priv) in cw1200_tx_queues_unlock()
65 static void tx_policy_build(const struct cw1200_common *priv, in tx_policy_build()
250 void tx_policy_clean(struct cw1200_common *priv) in tx_policy_clean()
281 void tx_policy_init(struct cw1200_common *priv) in tx_policy_init()
296 static int tx_policy_get(struct cw1200_common *priv, in tx_policy_get()
337 static void tx_policy_put(struct cw1200_common *priv, int idx) in tx_policy_put()
352 static int tx_policy_upload(struct cw1200_common *priv) in tx_policy_upload()
[all …]
Dscan.c15 static void cw1200_scan_restart_delayed(struct cw1200_common *priv);
17 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) in cw1200_scan_start()
55 struct cw1200_common *priv = hw->priv; in cw1200_hw_scan()
131 struct cw1200_common *priv = container_of(work, struct cw1200_common, in cw1200_scan_work()
270 static void cw1200_scan_restart_delayed(struct cw1200_common *priv) in cw1200_scan_restart_delayed()
289 static void cw1200_scan_complete(struct cw1200_common *priv) in cw1200_scan_complete()
303 void cw1200_scan_failed_cb(struct cw1200_common *priv) in cw1200_scan_failed_cb()
316 void cw1200_scan_complete_cb(struct cw1200_common *priv, in cw1200_scan_complete_cb()
331 struct cw1200_common *priv = in cw1200_clear_recent_scan_work()
332 container_of(work, struct cw1200_common, in cw1200_clear_recent_scan_work()
[all …]
Dqueue.h16 /* extern */ struct cw1200_common;
22 typedef void (*cw1200_queue_skb_dtor_t)(struct cw1200_common *priv,
53 struct cw1200_common *priv;
67 struct cw1200_common *priv);
Dhwbus.h14 void cw1200_irq_handler(struct cw1200_common *priv);
17 int __cw1200_irq_enable(struct cw1200_common *priv, int enable);
Dpm.c97 struct cw1200_common *priv) in cw1200_pm_init()
137 static int cw1200_resume_work(struct cw1200_common *priv, in cw1200_resume_work()
147 int cw1200_can_suspend(struct cw1200_common *priv) in cw1200_can_suspend()
159 struct cw1200_common *priv = hw->priv; in cw1200_wow_suspend()
304 struct cw1200_common *priv = hw->priv; in cw1200_wow_resume()
Dscan.h45 void cw1200_scan_complete_cb(struct cw1200_common *priv,
47 void cw1200_scan_failed_cb(struct cw1200_common *priv);
Ddebug.c87 struct cw1200_common *priv, in cw1200_debug_print_map()
102 struct cw1200_common *priv = seq->private; in cw1200_status_show()
294 struct cw1200_common *priv = seq->private; in cw1200_counters_show()
338 struct cw1200_common *priv = file->private_data; in cw1200_wsm_dumps()
360 int cw1200_debug_init(struct cw1200_common *priv) in cw1200_debug_init()
381 void cw1200_debug_release(struct cw1200_common *priv) in cw1200_debug_release()
Dmain.c257 struct cw1200_common *priv; in cw1200_init_common()
259 hw = ieee80211_alloc_hw(sizeof(struct cw1200_common), &cw1200_ops); in cw1200_init_common()
414 struct cw1200_common *priv = dev->priv; in cw1200_register_common()
449 struct cw1200_common *priv = dev->priv; in cw1200_unregister_common()
516 struct cw1200_common **core, in cw1200_core_probe()
522 struct cw1200_common *priv; in cw1200_core_probe()
590 void cw1200_core_release(struct cw1200_common *self) in cw1200_core_release()
Dcw1200.h91 struct cw1200_common { struct
293 struct cw1200_common **pself, argument
296 void cw1200_core_release(struct cw1200_common *self);
Dfwio.c51 static int cw1200_load_firmware_cw1200(struct cw1200_common *priv) in cw1200_load_firmware_cw1200()
265 static int config_reg_read(struct cw1200_common *priv, u32 *val) in config_reg_read()
287 static int config_reg_write(struct cw1200_common *priv, u32 val) in config_reg_write()
302 int cw1200_load_firmware(struct cw1200_common *priv) in cw1200_load_firmware()
Dfwio.h29 int cw1200_load_firmware(struct cw1200_common *priv);
Dcw1200_sdio.c48 struct cw1200_common *core;
Dcw1200_spi.c37 struct cw1200_common *core;
Dqueue.c144 struct cw1200_common *priv) in cw1200_queue_stats_init()