Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/staging/wfx/
Dhwio.h13 struct wfx_dev;
15 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_len);
16 int wfx_data_write(struct wfx_dev *wdev, const void *buf, size_t buf_len);
18 int sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
19 int sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
21 int ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
22 int ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
24 int sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
25 int sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
27 int ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
[all …]
Dqueue.h14 struct wfx_dev;
24 void wfx_tx_lock(struct wfx_dev *wdev);
25 void wfx_tx_unlock(struct wfx_dev *wdev);
26 void wfx_tx_flush(struct wfx_dev *wdev);
27 void wfx_tx_lock_flush(struct wfx_dev *wdev);
33 struct hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev);
39 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
40 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
41 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev,
43 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms);
Dhwio.c29 static int read32(struct wfx_dev *wdev, int reg, u32 *val) in read32()
48 static int write32(struct wfx_dev *wdev, int reg, u32 val) in write32()
65 static int read32_locked(struct wfx_dev *wdev, int reg, u32 *val) in read32_locked()
76 static int write32_locked(struct wfx_dev *wdev, int reg, u32 val) in write32_locked()
87 static int write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val) in write32_bits_locked()
109 static int indirect_read(struct wfx_dev *wdev, int reg, u32 addr, in indirect_read()
160 static int indirect_write(struct wfx_dev *wdev, int reg, u32 addr, in indirect_write()
174 static int indirect_read_locked(struct wfx_dev *wdev, int reg, u32 addr, in indirect_read_locked()
186 static int indirect_write_locked(struct wfx_dev *wdev, int reg, u32 addr, in indirect_write_locked()
198 static int indirect_read32_locked(struct wfx_dev *wdev, int reg, in indirect_read32_locked()
[all …]
Dbh.h15 struct wfx_dev;
27 void wfx_bh_register(struct wfx_dev *wdev);
28 void wfx_bh_unregister(struct wfx_dev *wdev);
29 void wfx_bh_request_rx(struct wfx_dev *wdev);
30 void wfx_bh_request_tx(struct wfx_dev *wdev);
31 void wfx_bh_poll_irq(struct wfx_dev *wdev);
Dmain.h18 struct wfx_dev;
33 struct wfx_dev *wfx_init_common(struct device *dev,
38 int wfx_probe(struct wfx_dev *wdev);
39 void wfx_release(struct wfx_dev *wdev);
41 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor);
42 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len);
Dhif_tx.h18 struct wfx_dev;
32 int wfx_cmd_send(struct wfx_dev *wdev, struct hif_msg *request,
35 int hif_shutdown(struct wfx_dev *wdev);
36 int hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len);
38 int hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id,
40 int hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id,
49 int hif_add_key(struct wfx_dev *wdev, const struct hif_req_add_key *arg);
50 int hif_remove_key(struct wfx_dev *wdev, int idx);
Dhif_rx.c20 static int hif_generic_confirm(struct wfx_dev *wdev, in hif_generic_confirm()
54 static int hif_tx_confirm(struct wfx_dev *wdev, in hif_tx_confirm()
63 static int hif_multi_tx_confirm(struct wfx_dev *wdev, in hif_multi_tx_confirm()
75 static int hif_startup_indication(struct wfx_dev *wdev, in hif_startup_indication()
94 static int hif_wakeup_indication(struct wfx_dev *wdev, in hif_wakeup_indication()
105 static int hif_receive_indication(struct wfx_dev *wdev, in hif_receive_indication()
123 static int hif_event_indication(struct wfx_dev *wdev, in hif_event_indication()
158 static int hif_pm_mode_complete_indication(struct wfx_dev *wdev, in hif_pm_mode_complete_indication()
173 static int hif_scan_complete_indication(struct wfx_dev *wdev, in hif_scan_complete_indication()
189 static int hif_join_complete_indication(struct wfx_dev *wdev, in hif_join_complete_indication()
[all …]
Dbh.c18 static void device_wakeup(struct wfx_dev *wdev) in device_wakeup()
57 static void device_release(struct wfx_dev *wdev) in device_release()
65 static int rx_helper(struct wfx_dev *wdev, size_t read_len, int *is_cnf) in rx_helper()
135 static int bh_work_rx(struct wfx_dev *wdev, int max_msg, int *num_cnf) in bh_work_rx()
170 static void tx_helper(struct wfx_dev *wdev, struct hif_msg *hif) in tx_helper()
198 static int bh_work_tx(struct wfx_dev *wdev, int max_msg) in bh_work_tx()
224 static void ack_sdio_data(struct wfx_dev *wdev) in ack_sdio_data()
238 struct wfx_dev *wdev = container_of(work, struct wfx_dev, hif.bh); in bh_work()
269 void wfx_bh_request_rx(struct wfx_dev *wdev) in wfx_bh_request_rx()
289 void wfx_bh_request_tx(struct wfx_dev *wdev) in wfx_bh_request_tx()
[all …]
Ddebug.c65 struct wfx_dev *wdev = seq->private; in wfx_counters_show()
151 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show()
183 struct wfx_dev *wdev = seq->private; in wfx_tx_power_loop_show()
209 struct wfx_dev *wdev = file->private_data; in wfx_send_pds_write()
234 struct wfx_dev *wdev;
245 struct wfx_dev *wdev = context->wdev; in wfx_send_hif_msg_write()
324 struct wfx_dev *wdev = (struct wfx_dev *)data; in wfx_ps_timeout_set()
336 struct wfx_dev *wdev = (struct wfx_dev *)data; in wfx_ps_timeout_get()
344 int wfx_debug_init(struct wfx_dev *wdev) in wfx_debug_init()
Dqueue.c17 void wfx_tx_lock(struct wfx_dev *wdev) in wfx_tx_lock()
22 void wfx_tx_unlock(struct wfx_dev *wdev) in wfx_tx_unlock()
31 void wfx_tx_flush(struct wfx_dev *wdev) in wfx_tx_flush()
55 void wfx_tx_lock_flush(struct wfx_dev *wdev) in wfx_tx_lock_flush()
125 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) in wfx_pending_drop()
147 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) in wfx_pending_get()
177 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms) in wfx_pending_dump_old_frames()
204 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, in wfx_pending_get_pkt_us_delay()
232 static struct sk_buff *wfx_tx_queues_get_skb(struct wfx_dev *wdev) in wfx_tx_queues_get_skb()
289 struct hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev) in wfx_tx_queues_get()
Dwfx.h30 struct wfx_dev { struct
64 struct wfx_dev *wdev; argument
94 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif()
109 static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev, in wvif_iterate()
128 static inline int wvif_count(struct wfx_dev *wdev) in wvif_count()
Dfwio.c83 static int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, in sram_write_dma_safe()
102 static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, in get_firmware()
152 static int wait_ncp_status(struct wfx_dev *wdev, u32 status) in wait_ncp_status()
177 static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len) in upload_firmware()
220 static void print_boot_status(struct wfx_dev *wdev) in print_boot_status()
234 static int load_firmware_secure(struct wfx_dev *wdev) in load_firmware_secure()
308 static int init_gpr(struct wfx_dev *wdev) in init_gpr()
333 int wfx_init_device(struct wfx_dev *wdev) in wfx_init_device()
Dsta.c23 u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates) in wfx_rate_mask_to_hw()
43 struct wfx_dev *wdev = container_of(to_delayed_work(work), in wfx_cooling_timeout_work()
44 struct wfx_dev, in wfx_cooling_timeout_work()
51 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd) in wfx_suspend_hot_dev()
98 struct wfx_dev *wdev = hw->priv; in wfx_configure_filter()
204 struct wfx_dev *wdev = hw->priv; in wfx_conf_tx()
224 struct wfx_dev *wdev = hw->priv; in wfx_set_rts_threshold()
271 struct wfx_dev *wdev = wvif->wdev; in wfx_reset()
372 struct wfx_dev *wdev = wvif->wdev; in wfx_start_ap()
502 struct wfx_dev *wdev = hw->priv; in wfx_bss_info_changed()
[all …]
Dhif_tx_mib.h21 int hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
30 int hif_set_operational_mode(struct wfx_dev *wdev, enum hif_op_power_mode mode);
42 int hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable);
Dfwio.h11 struct wfx_dev;
13 int wfx_init_device(struct wfx_dev *wdev);
Dhif_rx.h13 struct wfx_dev;
16 void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb);
Ddebug.h11 struct wfx_dev;
13 int wfx_debug_init(struct wfx_dev *wdev);
Dmain.c155 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor) in wfx_api_older_than()
167 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len) in wfx_send_pds()
215 static int wfx_send_pdata_pds(struct wfx_dev *wdev) in wfx_send_pdata_pds()
242 struct wfx_dev *wdev = data; in wfx_free_common()
250 struct wfx_dev *wfx_init_common(struct device *dev, in wfx_init_common()
256 struct wfx_dev *wdev; in wfx_init_common()
258 hw = ieee80211_alloc_hw(sizeof(struct wfx_dev), &wfx_ops); in wfx_init_common()
333 int wfx_probe(struct wfx_dev *wdev) in wfx_probe()
463 void wfx_release(struct wfx_dev *wdev) in wfx_release()
Dsta.h13 struct wfx_dev;
64 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd);
71 u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates);
Ddata_tx.h18 struct wfx_dev;
45 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct hif_cnf_tx *arg);
Dhif_tx.c49 int wfx_cmd_send(struct wfx_dev *wdev, struct hif_msg *request, in wfx_cmd_send()
124 int hif_shutdown(struct wfx_dev *wdev) in hif_shutdown()
142 int hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in hif_configuration()
174 int hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_read_mib()
210 int hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_write_mib()
354 int hif_add_key(struct wfx_dev *wdev, const struct hif_req_add_key *arg) in hif_add_key()
377 int hif_remove_key(struct wfx_dev *wdev, int idx) in hif_remove_key()
Ddata_tx.c20 static int wfx_get_hw_rate(struct wfx_dev *wdev, in wfx_get_hw_rate()
49 struct wfx_dev *wdev = wvif->wdev; in wfx_tx_policy_build()
397 struct wfx_dev *wdev = hw->priv; in wfx_tx()
447 static void wfx_tx_fill_rates(struct wfx_dev *wdev, in wfx_tx_fill_rates()
485 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct hif_cnf_tx *arg) in wfx_tx_confirm_cb()
561 struct wfx_dev *wdev = hw->priv; in wfx_flush()
Dkey.h13 struct wfx_dev;
Dscan.h13 struct wfx_dev;
Dhif_tx_mib.c67 int hif_get_counters_table(struct wfx_dev *wdev, int vif_id, in hif_get_counters_table()
135 int hif_set_operational_mode(struct wfx_dev *wdev, enum hif_op_power_mode mode) in hif_set_operational_mode()
258 int hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable) in hif_use_multi_tx_conf()

12