wfx_dev
static int bh_work_rx(struct wfx_dev *wdev, int max_msg, int *num_cnf)
static void tx_helper(struct wfx_dev *wdev, struct wfx_hif_msg *hif)
static void device_wakeup(struct wfx_dev *wdev)
static int bh_work_tx(struct wfx_dev *wdev, int max_msg)
static void ack_sdio_data(struct wfx_dev *wdev)
struct wfx_dev *wdev = container_of(work, struct wfx_dev, hif.bh);
void wfx_bh_request_rx(struct wfx_dev *wdev)
void wfx_bh_request_tx(struct wfx_dev *wdev)
void wfx_bh_poll_irq(struct wfx_dev *wdev)
void wfx_bh_register(struct wfx_dev *wdev)
void wfx_bh_unregister(struct wfx_dev *wdev)
static void device_release(struct wfx_dev *wdev)
static int rx_helper(struct wfx_dev *wdev, size_t read_len, int *is_cnf)
struct wfx_dev;
void wfx_bh_register(struct wfx_dev *wdev);
void wfx_bh_unregister(struct wfx_dev *wdev);
void wfx_bh_request_rx(struct wfx_dev *wdev);
void wfx_bh_request_tx(struct wfx_dev *wdev);
void wfx_bh_poll_irq(struct wfx_dev *wdev);
struct wfx_dev *core;
struct wfx_dev *core;
static int wfx_get_hw_rate(struct wfx_dev *wdev, const struct ieee80211_tx_rate *rate)
struct wfx_vif *wfx_skb_wvif(struct wfx_dev *wdev, struct sk_buff *skb)
struct wfx_dev *wdev = hw->priv;
static void wfx_tx_fill_rates(struct wfx_dev *wdev, struct ieee80211_tx_info *tx_info,
struct wfx_dev *wdev = wvif->wdev;
void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg)
struct wfx_dev *wdev = hw->priv;
struct wfx_dev;
void wfx_tx_confirm_cb(struct wfx_dev *wdev, const struct wfx_hif_cnf_tx *arg);
struct wfx_vif *wfx_skb_wvif(struct wfx_dev *wdev, struct sk_buff *skb);
struct wfx_dev *wdev = seq->private;
struct wfx_dev *wdev = seq->private;
struct wfx_dev *wdev = file->private_data;
struct wfx_dev *wdev;
struct wfx_dev *wdev = context->wdev;
int wfx_debug_init(struct wfx_dev *wdev)
struct wfx_dev *wdev = seq->private;
struct wfx_dev;
int wfx_debug_init(struct wfx_dev *wdev);
static int wait_ncp_status(struct wfx_dev *wdev, u32 status)
static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len)
static void print_boot_status(struct wfx_dev *wdev)
static int load_firmware_secure(struct wfx_dev *wdev)
static int init_gpr(struct wfx_dev *wdev)
int wfx_init_device(struct wfx_dev *wdev)
static int wfx_sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len)
static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip,
struct wfx_dev;
int wfx_init_device(struct wfx_dev *wdev);
static int wfx_hif_event_indication(struct wfx_dev *wdev,
static int wfx_hif_pm_mode_complete_indication(struct wfx_dev *wdev,
static int wfx_hif_scan_complete_indication(struct wfx_dev *wdev,
static int wfx_hif_join_complete_indication(struct wfx_dev *wdev,
static int wfx_hif_generic_confirm(struct wfx_dev *wdev,
static int wfx_hif_suspend_resume_indication(struct wfx_dev *wdev,
static int wfx_hif_generic_indication(struct wfx_dev *wdev,
static int wfx_hif_error_indication(struct wfx_dev *wdev,
static int wfx_hif_exception_indication(struct wfx_dev *wdev,
int (*handler)(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf);
void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb)
static int wfx_hif_tx_confirm(struct wfx_dev *wdev,
static int wfx_hif_multi_tx_confirm(struct wfx_dev *wdev,
static int wfx_hif_startup_indication(struct wfx_dev *wdev,
static int wfx_hif_wakeup_indication(struct wfx_dev *wdev,
static int wfx_hif_receive_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif,
struct wfx_dev;
void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb);
int wfx_hif_shutdown(struct wfx_dev *wdev)
int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len)
int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len)
int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len)
int wfx_hif_add_key(struct wfx_dev *wdev, const struct wfx_hif_req_add_key *arg)
int wfx_hif_remove_key(struct wfx_dev *wdev, int idx)
static u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates)
int wfx_cmd_send(struct wfx_dev *wdev, struct wfx_hif_msg *request,
struct wfx_dev;
int wfx_cmd_send(struct wfx_dev *wdev, struct wfx_hif_msg *request,
int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
int wfx_hif_add_key(struct wfx_dev *wdev, const struct wfx_hif_req_add_key *arg);
int wfx_hif_remove_key(struct wfx_dev *wdev, int idx);
int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len);
int wfx_hif_shutdown(struct wfx_dev *wdev);
int wfx_hif_set_operational_mode(struct wfx_dev *wdev, enum wfx_hif_op_power_mode mode)
int wfx_hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable)
int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
struct wfx_dev;
int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
int wfx_hif_set_operational_mode(struct wfx_dev *wdev, enum wfx_hif_op_power_mode mode);
int wfx_hif_use_multi_tx_conf(struct wfx_dev *wdev, bool enable);
static int wfx_indirect_write(struct wfx_dev *wdev, int reg, u32 addr,
static int wfx_indirect_read_locked(struct wfx_dev *wdev, int reg, u32 addr,
static int wfx_indirect_write_locked(struct wfx_dev *wdev, int reg, u32 addr,
static int wfx_indirect_read32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 *val)
static int wfx_read32(struct wfx_dev *wdev, int reg, u32 *val)
static int wfx_indirect_write32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 val)
int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t len)
int wfx_data_write(struct wfx_dev *wdev, const void *buf, size_t len)
int wfx_sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len)
int wfx_ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len)
int wfx_sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len)
int wfx_ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len)
int wfx_sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val)
int wfx_ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val)
int wfx_sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val)
int wfx_ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val)
int wfx_config_reg_read(struct wfx_dev *wdev, u32 *val)
int wfx_config_reg_write(struct wfx_dev *wdev, u32 val)
int wfx_config_reg_write_bits(struct wfx_dev *wdev, u32 mask, u32 val)
int wfx_control_reg_read(struct wfx_dev *wdev, u32 *val)
int wfx_control_reg_write(struct wfx_dev *wdev, u32 val)
int wfx_control_reg_write_bits(struct wfx_dev *wdev, u32 mask, u32 val)
int wfx_igpr_reg_read(struct wfx_dev *wdev, int index, u32 *val)
int wfx_igpr_reg_write(struct wfx_dev *wdev, int index, u32 val)
static int wfx_write32(struct wfx_dev *wdev, int reg, u32 val)
static int wfx_read32_locked(struct wfx_dev *wdev, int reg, u32 *val)
static int wfx_write32_locked(struct wfx_dev *wdev, int reg, u32 val)
static int wfx_write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val)
static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, void *buf, size_t len)
struct wfx_dev;
int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_len);
int wfx_data_write(struct wfx_dev *wdev, const void *buf, size_t buf_len);
int wfx_sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
int wfx_sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
int wfx_ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len);
int wfx_ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len);
int wfx_sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
int wfx_sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
int wfx_ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val);
int wfx_ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val);
int wfx_config_reg_read(struct wfx_dev *wdev, u32 *val);
int wfx_config_reg_write(struct wfx_dev *wdev, u32 val);
int wfx_config_reg_write_bits(struct wfx_dev *wdev, u32 mask, u32 val);
int wfx_control_reg_read(struct wfx_dev *wdev, u32 *val);
int wfx_control_reg_write(struct wfx_dev *wdev, u32 val);
int wfx_control_reg_write_bits(struct wfx_dev *wdev, u32 mask, u32 val);
int wfx_igpr_reg_read(struct wfx_dev *wdev, int index, u32 *val);
int wfx_igpr_reg_write(struct wfx_dev *wdev, int index, u32 val);
static int wfx_alloc_key(struct wfx_dev *wdev)
struct wfx_dev *wdev = wvif->wdev;
static void wfx_free_key(struct wfx_dev *wdev, int idx)
struct wfx_dev;
bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor)
int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
static int wfx_send_pdata_pds(struct wfx_dev *wdev)
struct wfx_dev *wdev = data;
struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata,
struct wfx_dev *wdev;
hw = ieee80211_alloc_hw(sizeof(struct wfx_dev), &wfx_ops);
int wfx_probe(struct wfx_dev *wdev)
void wfx_release(struct wfx_dev *wdev)
struct wfx_dev;
struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata,
int wfx_probe(struct wfx_dev *wdev);
void wfx_release(struct wfx_dev *wdev);
bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor);
int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len);
void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped)
struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id)
void wfx_tx_lock(struct wfx_dev *wdev)
void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms)
unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, struct sk_buff *skb)
void wfx_tx_unlock(struct wfx_dev *wdev)
static struct sk_buff *wfx_tx_queues_get_skb(struct wfx_dev *wdev)
struct wfx_hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev)
void wfx_tx_flush(struct wfx_dev *wdev)
void wfx_tx_lock_flush(struct wfx_dev *wdev)
struct wfx_dev;
void wfx_tx_lock(struct wfx_dev *wdev);
void wfx_tx_unlock(struct wfx_dev *wdev);
void wfx_tx_flush(struct wfx_dev *wdev);
void wfx_tx_lock_flush(struct wfx_dev *wdev);
struct wfx_hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev);
struct sk_buff *wfx_pending_get(struct wfx_dev *wdev, u32 packet_id);
void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev, struct sk_buff *skb);
void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms);
struct wfx_dev *wdev = hw->priv;
struct wfx_dev;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = container_of(to_delayed_work(work), struct wfx_dev,
struct wfx_dev *wdev = wvif->wdev;
void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd)
struct wfx_dev *wdev = wvif->wdev;
struct wfx_dev *wdev = wvif->wdev;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev *wdev = hw->priv;
struct wfx_dev;
void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd);
TP_PROTO(struct wfx_dev *wdev, const struct wfx_queue *elected_queue),
static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id)
static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev, struct wfx_vif *cur)
static inline int wvif_count(struct wfx_dev *wdev)
struct wfx_dev *wdev;