Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dhwio.h13 struct wfx_dev;
18 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_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);
31 int wfx_ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
61 int wfx_config_reg_read(struct wfx_dev *wdev, u32 *val);
62 int wfx_config_reg_write(struct wfx_dev *wdev, u32 val);
68 int wfx_control_reg_read(struct wfx_dev *wdev, u32 *val);
69 int wfx_control_reg_write(struct wfx_dev *wdev, u32 val);
[all …]
H A 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 wfx_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, struct sk_buff *skb);
42 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms);
H A 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()
216 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t len) in wfx_data_read()
264 int wfx_sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in wfx_sram_reg_read()
269 int wfx_ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in wfx_ahb_reg_read()
274 int wfx_sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val) in wfx_sram_reg_write()
279 int wfx_ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val) in wfx_ahb_reg_write()
284 int wfx_config_reg_read(struct wfx_dev *wdev, u32 *val) in wfx_config_reg_read()
289 int wfx_config_reg_write(struct wfx_dev *wdev, u32 val) in wfx_config_reg_write()
299 int wfx_control_reg_read(struct wfx_dev *wdev, u32 *val) in wfx_control_reg_read()
[all …]
H A 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);
H A 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);
H A 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);
58 int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len);
59 int wfx_hif_shutdown(struct wfx_dev *wdev);
H A 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()
113 static int wfx_hif_event_indication(struct wfx_dev *wdev, in wfx_hif_event_indication()
161 static int wfx_hif_scan_complete_indication(struct wfx_dev *wdev, in wfx_hif_scan_complete_indication()
219 static int wfx_hif_generic_indication(struct wfx_dev *wdev, in wfx_hif_generic_indication()
296 static int wfx_hif_error_indication(struct wfx_dev *wdev, in wfx_hif_error_indication()
322 static int wfx_hif_exception_indication(struct wfx_dev *wdev, in wfx_hif_exception_indication()
[all …]
H A 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()
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()
292 void wfx_bh_poll_irq(struct wfx_dev *wdev) in wfx_bh_poll_irq()
314 void wfx_bh_register(struct wfx_dev *wdev) in wfx_bh_register()
[all …]
H A 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()
122 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) in wfx_pending_drop()
143 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) in wfx_pending_get()
173 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms) in wfx_pending_dump_old_frames()
198 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, struct sk_buff *skb) in wfx_pending_get_pkt_us_delay()
227 static struct sk_buff *wfx_tx_queues_get_skb(struct wfx_dev *wdev) in wfx_tx_queues_get_skb()
283 struct wfx_hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev) in wfx_tx_queues_get()
H A 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);
H A Dwfx.h30 struct wfx_dev { struct
64 struct wfx_dev *wdev; argument
99 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif()
111 static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev, struct wfx_vif *cur) in wvif_iterate()
129 static inline int wvif_count(struct wfx_dev *wdev) in wvif_count()
H A 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()
H A Dfwio.h11 struct wfx_dev;
13 int wfx_init_device(struct wfx_dev *wdev);
H A Dhif_rx.h12 struct wfx_dev;
15 void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb);
H A Ddebug.h11 struct wfx_dev;
13 int wfx_debug_init(struct wfx_dev *wdev);
H A 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()
H A Dsta.c43 struct wfx_dev *wdev = container_of(to_delayed_work(work), struct wfx_dev, in wfx_cooling_timeout_work()
103 struct wfx_dev *wdev = hw->priv; in wfx_configure_filter()
222 struct wfx_dev *wdev = hw->priv; in wfx_conf_tx()
242 struct wfx_dev *wdev = hw->priv; in wfx_set_rts_threshold()
287 struct wfx_dev *wdev = wvif->wdev; in wfx_reset()
403 struct wfx_dev *wdev = wvif->wdev; in wfx_start_ap()
530 struct wfx_dev *wdev = hw->priv; in wfx_bss_info_changed()
639 struct wfx_dev *wdev = hw->priv; in wfx_set_tim()
733 struct wfx_dev *wdev = hw->priv; in wfx_add_interface()
795 struct wfx_dev *wdev = hw->priv; in wfx_remove_interface()
[all …]
H A Dmain.c156 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor) in wfx_api_older_than()
174 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len) in wfx_send_pds()
219 static int wfx_send_pdata_pds(struct wfx_dev *wdev) in wfx_send_pdata_pds()
245 struct wfx_dev *wdev = data; in wfx_free_common()
253 struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata, in wfx_init_common()
257 struct wfx_dev *wdev; in wfx_init_common()
259 hw = ieee80211_alloc_hw(sizeof(struct wfx_dev), &wfx_ops); in wfx_init_common()
335 int wfx_probe(struct wfx_dev *wdev) in wfx_probe()
465 void wfx_release(struct wfx_dev *wdev) in wfx_release()
H A Dsta.h13 struct wfx_dev;
62 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd);
69 u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates);
H A Ddata_tx.h18 struct wfx_dev;
45 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg);
H A Dhif_tx.c48 int wfx_cmd_send(struct wfx_dev *wdev, struct wfx_hif_msg *request, in wfx_cmd_send()
122 int wfx_hif_shutdown(struct wfx_dev *wdev) in wfx_hif_shutdown()
140 int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in wfx_hif_configuration()
172 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()
205 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()
330 int wfx_hif_add_key(struct wfx_dev *wdev, const struct wfx_hif_req_add_key *arg) in wfx_hif_add_key()
351 int wfx_hif_remove_key(struct wfx_dev *wdev, int idx) in wfx_hif_remove_key()
H A 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()
373 struct wfx_dev *wdev = hw->priv; in wfx_tx()
422 static void wfx_tx_fill_rates(struct wfx_dev *wdev, struct ieee80211_tx_info *tx_info, in wfx_tx_fill_rates()
458 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg) in wfx_tx_confirm_cb()
532 struct wfx_dev *wdev = hw->priv; in wfx_flush()
H A Dkey.h13 struct wfx_dev;
H A Dscan.h13 struct wfx_dev;
H A 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()

12