Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/wireless/silabs/wfx/
Dhwio.h13 struct wfx_dev;
18 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_len);
19 int wfx_data_write(struct wfx_dev *wdev, const void *buf, size_t buf_len);
21 int wfx_sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
22 int wfx_sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
24 int wfx_ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
25 int wfx_ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
27 int wfx_sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
28 int wfx_sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
30 int wfx_ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
[all …]
Dqueue.h14 struct wfx_dev;
25 void wfx_tx_lock(struct wfx_dev *wdev);
26 void wfx_tx_unlock(struct wfx_dev *wdev);
27 void wfx_tx_flush(struct wfx_dev *wdev);
28 void wfx_tx_lock_flush(struct wfx_dev *wdev);
34 struct wfx_hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev);
40 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
41 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
42 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, struct sk_buff *skb);
43 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms);
Dhwio.c20 static int wfx_read32(struct wfx_dev *wdev, int reg, u32 *val) in wfx_read32()
37 static int wfx_write32(struct wfx_dev *wdev, int reg, u32 val) in wfx_write32()
52 static int wfx_read32_locked(struct wfx_dev *wdev, int reg, u32 *val) in wfx_read32_locked()
63 static int wfx_write32_locked(struct wfx_dev *wdev, int reg, u32 val) in wfx_write32_locked()
74 static int wfx_write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val) in wfx_write32_bits_locked()
96 static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, void *buf, size_t len) in wfx_indirect_read()
146 static int wfx_indirect_write(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write()
160 static int wfx_indirect_read_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_read_locked()
172 static int wfx_indirect_write_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write_locked()
184 static int wfx_indirect_read32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 *val) in wfx_indirect_read32_locked()
[all …]
Dbh.h16 struct wfx_dev;
28 void wfx_bh_register(struct wfx_dev *wdev);
29 void wfx_bh_unregister(struct wfx_dev *wdev);
30 void wfx_bh_request_rx(struct wfx_dev *wdev);
31 void wfx_bh_request_tx(struct wfx_dev *wdev);
32 void wfx_bh_poll_irq(struct wfx_dev *wdev);
Dmain.h18 struct wfx_dev;
32 struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata,
35 int wfx_probe(struct wfx_dev *wdev);
36 void wfx_release(struct wfx_dev *wdev);
38 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor);
39 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len);
Dhif_tx.h22 struct wfx_dev;
36 int wfx_cmd_send(struct wfx_dev *wdev, struct wfx_hif_msg *request,
39 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
40 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
47 int wfx_hif_add_key(struct wfx_dev *wdev, const struct wfx_hif_req_add_key *arg);
48 int wfx_hif_remove_key(struct wfx_dev *wdev, int idx);
59 int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len);
60 int wfx_hif_shutdown(struct wfx_dev *wdev);
Dhif_rx.c19 static int wfx_hif_generic_confirm(struct wfx_dev *wdev, in wfx_hif_generic_confirm()
52 static int wfx_hif_tx_confirm(struct wfx_dev *wdev, in wfx_hif_tx_confirm()
61 static int wfx_hif_multi_tx_confirm(struct wfx_dev *wdev, in wfx_hif_multi_tx_confirm()
73 static int wfx_hif_startup_indication(struct wfx_dev *wdev, in wfx_hif_startup_indication()
87 static int wfx_hif_wakeup_indication(struct wfx_dev *wdev, in wfx_hif_wakeup_indication()
97 static int wfx_hif_receive_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, in wfx_hif_receive_indication()
113 static int wfx_hif_event_indication(struct wfx_dev *wdev, in wfx_hif_event_indication()
147 static int wfx_hif_pm_mode_complete_indication(struct wfx_dev *wdev, in wfx_hif_pm_mode_complete_indication()
161 static int wfx_hif_scan_complete_indication(struct wfx_dev *wdev, in wfx_hif_scan_complete_indication()
177 static int wfx_hif_join_complete_indication(struct wfx_dev *wdev, in wfx_hif_join_complete_indication()
[all …]
Dbh.c18 static void device_wakeup(struct wfx_dev *wdev) in device_wakeup()
55 static void device_release(struct wfx_dev *wdev) in device_release()
63 static int rx_helper(struct wfx_dev *wdev, size_t read_len, int *is_cnf) in rx_helper()
133 static int bh_work_rx(struct wfx_dev *wdev, int max_msg, int *num_cnf) in bh_work_rx()
168 static void tx_helper(struct wfx_dev *wdev, struct wfx_hif_msg *hif) in tx_helper()
196 static int bh_work_tx(struct wfx_dev *wdev, int max_msg) in bh_work_tx()
222 static void ack_sdio_data(struct wfx_dev *wdev) in ack_sdio_data()
235 struct wfx_dev *wdev = container_of(work, struct wfx_dev, hif.bh); in bh_work()
263 void wfx_bh_request_rx(struct wfx_dev *wdev) in wfx_bh_request_rx()
281 void wfx_bh_request_tx(struct wfx_dev *wdev) in wfx_bh_request_tx()
[all …]
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()
54 void wfx_tx_lock_flush(struct wfx_dev *wdev) in wfx_tx_lock_flush()
128 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()
202 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, struct sk_buff *skb) in wfx_pending_get_pkt_us_delay()
231 static struct sk_buff *wfx_tx_queues_get_skb(struct wfx_dev *wdev) in wfx_tx_queues_get_skb()
307 struct wfx_hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev) in wfx_tx_queues_get()
Dhif_tx_mib.h16 struct wfx_dev;
24 int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
31 int wfx_hif_set_operational_mode(struct wfx_dev *wdev, enum wfx_hif_op_power_mode mode);
41 int wfx_hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable);
Dwfx.h30 struct wfx_dev { struct
65 struct wfx_dev *wdev; argument
101 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif()
113 static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev, struct wfx_vif *cur) in wvif_iterate()
131 static inline int wvif_count(struct wfx_dev *wdev) in wvif_count()
Ddata_tx.h18 struct wfx_dev;
46 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg);
51 struct wfx_vif *wfx_skb_wvif(struct wfx_dev *wdev, struct sk_buff *skb);
Dfwio.c80 static int wfx_sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len) in wfx_sram_write_dma_safe()
98 static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, in get_firmware()
147 static int wait_ncp_status(struct wfx_dev *wdev, u32 status) in wait_ncp_status()
171 static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len) in upload_firmware()
211 static void print_boot_status(struct wfx_dev *wdev) in print_boot_status()
225 static int load_firmware_secure(struct wfx_dev *wdev) in load_firmware_secure()
295 static int init_gpr(struct wfx_dev *wdev) in init_gpr()
318 int wfx_init_device(struct wfx_dev *wdev) in wfx_init_device()
Ddebug.c64 struct wfx_dev *wdev = seq->private; in wfx_counters_show()
153 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show()
183 struct wfx_dev *wdev = seq->private; in wfx_tx_power_loop_show()
208 struct wfx_dev *wdev = file->private_data; in wfx_send_pds_write()
233 struct wfx_dev *wdev;
243 struct wfx_dev *wdev = context->wdev; in wfx_send_hif_msg_write()
319 int wfx_debug_init(struct wfx_dev *wdev) in wfx_debug_init()
Dsta.c25 struct wfx_dev *wdev = container_of(to_delayed_work(work), struct wfx_dev, in wfx_cooling_timeout_work()
32 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd) in wfx_suspend_hot_dev()
85 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()
269 struct wfx_dev *wdev = wvif->wdev; in wfx_reset()
385 struct wfx_dev *wdev = wvif->wdev; in wfx_start_ap()
403 struct wfx_dev *wdev = wvif->wdev; in wfx_stop_ap()
517 struct wfx_dev *wdev = hw->priv; in wfx_bss_info_changed()
626 struct wfx_dev *wdev = hw->priv; in wfx_set_tim()
[all …]
Dfwio.h11 struct wfx_dev;
13 int wfx_init_device(struct wfx_dev *wdev);
Dmain.c158 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor) in wfx_api_older_than()
176 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len) in wfx_send_pds()
221 static int wfx_send_pdata_pds(struct wfx_dev *wdev) in wfx_send_pdata_pds()
247 struct wfx_dev *wdev = data; in wfx_free_common()
256 struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata, in wfx_init_common()
260 struct wfx_dev *wdev; in wfx_init_common()
262 hw = ieee80211_alloc_hw(sizeof(struct wfx_dev), &wfx_ops); in wfx_init_common()
340 int wfx_probe(struct wfx_dev *wdev) in wfx_probe()
470 void wfx_release(struct wfx_dev *wdev) in wfx_release()
Dhif_rx.h12 struct wfx_dev;
15 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);
Dhif_tx.c48 static u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates) in wfx_rate_mask_to_hw()
66 int wfx_cmd_send(struct wfx_dev *wdev, struct wfx_hif_msg *request, in wfx_cmd_send()
140 int wfx_hif_shutdown(struct wfx_dev *wdev) in wfx_hif_shutdown()
158 int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in wfx_hif_configuration()
190 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_read_mib()
223 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_write_mib()
373 int wfx_hif_add_key(struct wfx_dev *wdev, const struct wfx_hif_req_add_key *arg) in wfx_hif_add_key()
394 int wfx_hif_remove_key(struct wfx_dev *wdev, int idx) in wfx_hif_remove_key()
Ddata_tx.c20 static int wfx_get_hw_rate(struct wfx_dev *wdev, const struct ieee80211_tx_rate *rate) in wfx_get_hw_rate()
49 struct wfx_dev *wdev = wvif->wdev; in wfx_tx_policy_build()
229 struct wfx_vif *wfx_skb_wvif(struct wfx_dev *wdev, struct sk_buff *skb) in wfx_skb_wvif()
413 struct wfx_dev *wdev = hw->priv; in wfx_tx()
462 static void wfx_tx_fill_rates(struct wfx_dev *wdev, struct ieee80211_tx_info *tx_info, in wfx_tx_fill_rates()
498 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg) in wfx_tx_confirm_cb()
572 struct wfx_dev *wdev = hw->priv; in wfx_flush()
Dsta.h13 struct wfx_dev;
62 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd);
Dkey.h13 struct wfx_dev;
Dhif_tx_mib.c63 int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id, in wfx_hif_get_counters_table()
126 int wfx_hif_set_operational_mode(struct wfx_dev *wdev, enum wfx_hif_op_power_mode mode) in wfx_hif_set_operational_mode()
245 int wfx_hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable) in wfx_hif_use_multi_tx_conf()
Dscan.h13 struct wfx_dev;

12