zd_usb
struct zd_usb usb;
static inline struct zd_chip *zd_usb_to_chip(struct zd_usb *usb)
struct zd_usb *usb = &chip->usb;
static inline struct zd_mac *zd_usb_to_mac(struct zd_usb *usb)
static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req,
int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb)
static bool zd_tx_timeout(struct zd_usb *usb)
struct zd_usb *usb =
container_of(work, struct zd_usb, tx.watchdog_work.work);
void zd_tx_watchdog_enable(struct zd_usb *usb)
void zd_tx_watchdog_disable(struct zd_usb *usb)
struct zd_usb *usb =
container_of(work, struct zd_usb, rx.idle_work.work);
struct zd_usb *usb = from_tasklet(usb, t, rx.reset_timer_tasklet);
void zd_usb_reset_rx_idle_timer(struct zd_usb *usb)
static inline void init_usb_interrupt(struct zd_usb *usb)
static inline void init_usb_rx(struct zd_usb *usb)
static inline void init_usb_tx(struct zd_usb *usb)
void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw,
void zd_usb_clear(struct zd_usb *usb)
int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size)
int zd_usb_init_hw(struct zd_usb *usb)
struct zd_usb *usb;
struct zd_usb *usb;
static void zd_usb_resume(struct zd_usb *usb)
static void zd_usb_stop(struct zd_usb *usb)
struct zd_usb *usb;
struct zd_usb *usb;
static void prepare_read_regs_int(struct zd_usb *usb,
static void disable_read_regs_int(struct zd_usb *usb)
static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req,
static int get_results(struct zd_usb *usb, u16 *values,
int zd_usb_ioread16v(struct zd_usb *usb, u16 *values,
struct zd_usb *usb = urb->context;
static int zd_submit_waiting_urb(struct zd_usb *usb, bool last)
void zd_usb_iowrite16v_async_start(struct zd_usb *usb)
int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout)
int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits)
static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size,
static int handle_version_mismatch(struct zd_usb *usb,
static int upload_firmware(struct zd_usb *usb)
int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len)
struct zd_usb *usb = urb->context;
struct zd_usb *usb = urb->context;
struct zd_usb *usb;
static inline int usb_int_enabled(struct zd_usb *usb)
int zd_usb_enable_int(struct zd_usb *usb)
void zd_usb_disable_int(struct zd_usb *usb)
static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer,
struct zd_usb *usb;
static struct urb *alloc_rx_urb(struct zd_usb *usb)
static int __zd_usb_enable_rx(struct zd_usb *usb)
int zd_usb_enable_rx(struct zd_usb *usb)
static void __zd_usb_disable_rx(struct zd_usb *usb)
void zd_usb_disable_rx(struct zd_usb *usb)
static void zd_usb_reset_rx(struct zd_usb *usb)
void zd_usb_disable_tx(struct zd_usb *usb)
void zd_usb_enable_tx(struct zd_usb *usb)
static void tx_dec_submitted_urbs(struct zd_usb *usb)
static void tx_inc_submitted_urbs(struct zd_usb *usb)
struct zd_usb *usb;
static inline struct usb_device *zd_usb_to_usbdev(struct zd_usb *usb)
static inline struct ieee80211_hw *zd_usb_to_hw(struct zd_usb *usb)
void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw,
int zd_usb_init_hw(struct zd_usb *usb);
void zd_usb_clear(struct zd_usb *usb);
int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size);
void zd_tx_watchdog_enable(struct zd_usb *usb);
void zd_tx_watchdog_disable(struct zd_usb *usb);
int zd_usb_enable_int(struct zd_usb *usb);
void zd_usb_disable_int(struct zd_usb *usb);
int zd_usb_enable_rx(struct zd_usb *usb);
void zd_usb_disable_rx(struct zd_usb *usb);
void zd_usb_reset_rx_idle_timer(struct zd_usb *usb);
void zd_usb_enable_tx(struct zd_usb *usb);
void zd_usb_disable_tx(struct zd_usb *usb);
int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb);
int zd_usb_ioread16v(struct zd_usb *usb, u16 *values,
static inline int zd_usb_ioread16(struct zd_usb *usb, u16 *value,
void zd_usb_iowrite16v_async_start(struct zd_usb *usb);
int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout);
int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits);
int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len);