Home
last modified time | relevance | path

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

12

/linux/drivers/staging/wfx/
A Dhwio.h13 struct wfx_dev;
15 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_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);
28 int ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
58 int config_reg_read(struct wfx_dev *wdev, u32 *val);
59 int config_reg_write(struct wfx_dev *wdev, u32 val);
65 int control_reg_read(struct wfx_dev *wdev, u32 *val);
66 int control_reg_write(struct wfx_dev *wdev, u32 val);
[all …]
A 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()
284 int sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in sram_reg_read()
289 int ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in ahb_reg_read()
294 int sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val) in sram_reg_write()
299 int ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val) in ahb_reg_write()
304 int config_reg_read(struct wfx_dev *wdev, u32 *val) in config_reg_read()
309 int config_reg_write(struct wfx_dev *wdev, u32 val) in config_reg_write()
319 int control_reg_read(struct wfx_dev *wdev, u32 *val) in control_reg_read()
324 int control_reg_write(struct wfx_dev *wdev, u32 val) in control_reg_write()
[all …]
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 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);
A 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);
A 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);
A Dmain.h18 struct wfx_dev;
32 struct wfx_dev *wfx_init_common(struct device *dev,
37 int wfx_probe(struct wfx_dev *wdev);
38 void wfx_release(struct wfx_dev *wdev);
40 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor);
41 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len);
A Dhif_rx.c19 static int hif_generic_confirm(struct wfx_dev *wdev, in hif_generic_confirm()
53 static int hif_tx_confirm(struct wfx_dev *wdev, in hif_tx_confirm()
62 static int hif_multi_tx_confirm(struct wfx_dev *wdev, in hif_multi_tx_confirm()
74 static int hif_startup_indication(struct wfx_dev *wdev, in hif_startup_indication()
93 static int hif_wakeup_indication(struct wfx_dev *wdev, in hif_wakeup_indication()
104 static int hif_receive_indication(struct wfx_dev *wdev, in hif_receive_indication()
122 static int hif_event_indication(struct wfx_dev *wdev, in hif_event_indication()
233 static int hif_generic_indication(struct wfx_dev *wdev, in hif_generic_indication()
313 static int hif_error_indication(struct wfx_dev *wdev, in hif_error_indication()
340 static int hif_exception_indication(struct wfx_dev *wdev, in hif_exception_indication()
[all …]
A Dbh.c18 static void device_wakeup(struct wfx_dev *wdev) in device_wakeup()
59 static void device_release(struct wfx_dev *wdev) in device_release()
172 static void tx_helper(struct wfx_dev *wdev, struct hif_msg *hif) in tx_helper()
200 static int bh_work_tx(struct wfx_dev *wdev, int max_msg) in bh_work_tx()
226 static void ack_sdio_data(struct wfx_dev *wdev) in ack_sdio_data()
240 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()
287 void wfx_bh_request_tx(struct wfx_dev *wdev) in wfx_bh_request_tx()
299 void wfx_bh_poll_irq(struct wfx_dev *wdev) in wfx_bh_poll_irq()
320 void wfx_bh_register(struct wfx_dev *wdev) in wfx_bh_register()
[all …]
A Ddebug.c65 struct wfx_dev *wdev = seq->private; in wfx_counters_show()
155 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show()
187 struct wfx_dev *wdev = seq->private; in wfx_tx_power_loop_show()
213 struct wfx_dev *wdev = file->private_data; in wfx_send_pds_write()
238 struct wfx_dev *wdev;
249 struct wfx_dev *wdev = context->wdev; in wfx_send_hif_msg_write()
330 struct wfx_dev *wdev = (struct wfx_dev *)data; in wfx_ps_timeout_set()
342 struct wfx_dev *wdev = (struct wfx_dev *)data; in wfx_ps_timeout_get()
350 int wfx_debug_init(struct wfx_dev *wdev) in wfx_debug_init()
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()
55 void wfx_tx_lock_flush(struct wfx_dev *wdev) in wfx_tx_lock_flush()
126 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) in wfx_pending_drop()
148 struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id) in wfx_pending_get()
178 void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms) in wfx_pending_dump_old_frames()
205 unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, in wfx_pending_get_pkt_us_delay()
234 static struct sk_buff *wfx_tx_queues_get_skb(struct wfx_dev *wdev) in wfx_tx_queues_get_skb()
292 struct hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev) in wfx_tx_queues_get()
A Dwfx.h30 struct wfx_dev { struct
64 struct wfx_dev *wdev; argument
95 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif()
107 static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev, in wvif_iterate()
126 static inline int wvif_count(struct wfx_dev *wdev) in wvif_count()
A Dfwio.c82 static int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, in sram_write_dma_safe()
101 static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, in get_firmware()
151 static int wait_ncp_status(struct wfx_dev *wdev, u32 status) in wait_ncp_status()
176 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()
A Dsta.c44 struct wfx_dev, in wfx_cooling_timeout_work()
103 struct wfx_dev *wdev = hw->priv; in wfx_configure_filter()
219 struct wfx_dev *wdev = hw->priv; in wfx_conf_tx()
239 struct wfx_dev *wdev = hw->priv; in wfx_set_rts_threshold()
284 struct wfx_dev *wdev = wvif->wdev; in wfx_reset()
385 struct wfx_dev *wdev = wvif->wdev; in wfx_start_ap()
517 struct wfx_dev *wdev = hw->priv; in wfx_bss_info_changed()
632 struct wfx_dev *wdev = hw->priv; in wfx_set_tim()
730 struct wfx_dev *wdev = hw->priv; in wfx_add_interface()
794 struct wfx_dev *wdev = hw->priv; in wfx_remove_interface()
[all …]
A Dmain.c155 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor) in wfx_api_older_than()
180 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len) in wfx_send_pds()
228 static int wfx_send_pdata_pds(struct wfx_dev *wdev) in wfx_send_pdata_pds()
255 struct wfx_dev *wdev = data; in wfx_free_common()
263 struct wfx_dev *wfx_init_common(struct device *dev, in wfx_init_common()
269 struct wfx_dev *wdev; in wfx_init_common()
271 hw = ieee80211_alloc_hw(sizeof(struct wfx_dev), &wfx_ops); in wfx_init_common()
346 int wfx_probe(struct wfx_dev *wdev) in wfx_probe()
479 void wfx_release(struct wfx_dev *wdev) in wfx_release()
A 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);
A Dfwio.h11 struct wfx_dev;
13 int wfx_init_device(struct wfx_dev *wdev);
A Dhif_rx.h12 struct wfx_dev;
15 void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb);
A Ddebug.h11 struct wfx_dev;
13 int wfx_debug_init(struct wfx_dev *wdev);
A 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);
A Ddata_tx.h18 struct wfx_dev;
46 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct hif_cnf_tx *arg);
A Dhif_tx.c49 int wfx_cmd_send(struct wfx_dev *wdev, struct hif_msg *request, in wfx_cmd_send()
125 int hif_shutdown(struct wfx_dev *wdev) in hif_shutdown()
143 int hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in hif_configuration()
175 int hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_read_mib()
211 int hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_write_mib()
343 int hif_add_key(struct wfx_dev *wdev, const struct hif_req_add_key *arg) in hif_add_key()
367 int hif_remove_key(struct wfx_dev *wdev, int idx) in hif_remove_key()
A Ddata_tx.c20 static int wfx_get_hw_rate(struct wfx_dev *wdev, in wfx_get_hw_rate()
50 struct wfx_dev *wdev = wvif->wdev; in wfx_tx_policy_build()
402 struct wfx_dev *wdev = hw->priv; in wfx_tx()
453 static void wfx_tx_fill_rates(struct wfx_dev *wdev, in wfx_tx_fill_rates()
491 void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct hif_cnf_tx *arg) in wfx_tx_confirm_cb()
572 struct wfx_dev *wdev = hw->priv; in wfx_flush()
A 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()
A Dkey.c15 static int wfx_alloc_key(struct wfx_dev *wdev) in wfx_alloc_key()
27 static void wfx_free_key(struct wfx_dev *wdev, int idx) in wfx_free_key()
163 struct wfx_dev *wdev = wvif->wdev; in wfx_add_key()
A Dkey.h13 struct wfx_dev;

Completed in 35 milliseconds

12