Lines Matching refs:zd_usb
102 static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req,
215 static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size, in get_fw_name()
225 static int handle_version_mismatch(struct zd_usb *usb, in handle_version_mismatch()
258 static int upload_firmware(struct zd_usb *usb) in upload_firmware()
325 int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len) in zd_usb_read_fw()
360 struct zd_usb *usb = urb->context; in handle_regs_int_override()
375 struct zd_usb *usb = urb->context; in handle_regs_int()
428 struct zd_usb *usb; in int_urb_complete()
502 static inline int usb_int_enabled(struct zd_usb *usb) in usb_int_enabled()
514 int zd_usb_enable_int(struct zd_usb *usb) in zd_usb_enable_int()
577 void zd_usb_disable_int(struct zd_usb *usb) in zd_usb_disable_int()
605 static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer, in handle_rx_packet()
651 struct zd_usb *usb; in rx_urb_complete()
713 static struct urb *alloc_rx_urb(struct zd_usb *usb) in alloc_rx_urb()
746 static int __zd_usb_enable_rx(struct zd_usb *usb) in __zd_usb_enable_rx()
798 int zd_usb_enable_rx(struct zd_usb *usb) in zd_usb_enable_rx()
812 static void __zd_usb_disable_rx(struct zd_usb *usb) in __zd_usb_disable_rx()
839 void zd_usb_disable_rx(struct zd_usb *usb) in zd_usb_disable_rx()
851 static void zd_usb_reset_rx(struct zd_usb *usb) in zd_usb_reset_rx()
880 void zd_usb_disable_tx(struct zd_usb *usb) in zd_usb_disable_tx()
908 void zd_usb_enable_tx(struct zd_usb *usb) in zd_usb_enable_tx()
921 static void tx_dec_submitted_urbs(struct zd_usb *usb) in tx_dec_submitted_urbs()
935 static void tx_inc_submitted_urbs(struct zd_usb *usb) in tx_inc_submitted_urbs()
961 struct zd_usb *usb; in tx_urb_complete()
1016 int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb) in zd_usb_tx()
1057 static bool zd_tx_timeout(struct zd_usb *usb) in zd_tx_timeout()
1083 struct zd_usb *usb = in zd_tx_watchdog_handler()
1084 container_of(work, struct zd_usb, tx.watchdog_work.work); in zd_tx_watchdog_handler()
1104 void zd_tx_watchdog_enable(struct zd_usb *usb) in zd_tx_watchdog_enable()
1116 void zd_tx_watchdog_disable(struct zd_usb *usb) in zd_tx_watchdog_disable()
1129 struct zd_usb *usb = in zd_rx_idle_timer_handler()
1130 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1144 struct zd_usb *usb = from_tasklet(usb, t, rx.reset_timer_tasklet); in zd_usb_reset_rx_idle_timer_tasklet()
1149 void zd_usb_reset_rx_idle_timer(struct zd_usb *usb) in zd_usb_reset_rx_idle_timer()
1156 static inline void init_usb_interrupt(struct zd_usb *usb) in init_usb_interrupt()
1167 static inline void init_usb_rx(struct zd_usb *usb) in init_usb_rx()
1185 static inline void init_usb_tx(struct zd_usb *usb) in init_usb_tx()
1199 void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw, in zd_usb_init()
1211 void zd_usb_clear(struct zd_usb *usb) in zd_usb_clear()
1242 int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size) in zd_usb_scnprint_id()
1316 int zd_usb_init_hw(struct zd_usb *usb) in zd_usb_init_hw()
1352 struct zd_usb *usb; in probe()
1417 struct zd_usb *usb; in disconnect()
1448 static void zd_usb_resume(struct zd_usb *usb) in zd_usb_resume()
1475 static void zd_usb_stop(struct zd_usb *usb) in zd_usb_stop()
1492 struct zd_usb *usb; in pre_reset()
1512 struct zd_usb *usb; in post_reset()
1598 static void prepare_read_regs_int(struct zd_usb *usb, in prepare_read_regs_int()
1612 static void disable_read_regs_int(struct zd_usb *usb) in disable_read_regs_int()
1621 static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req, in check_read_regs()
1660 static int get_results(struct zd_usb *usb, u16 *values, in get_results()
1695 int zd_usb_ioread16v(struct zd_usb *usb, u16 *values, in zd_usb_ioread16v()
1777 struct zd_usb *usb = urb->context; in iowrite16v_urb_complete()
1787 static int zd_submit_waiting_urb(struct zd_usb *usb, bool last) in zd_submit_waiting_urb()
1815 void zd_usb_iowrite16v_async_start(struct zd_usb *usb) in zd_usb_iowrite16v_async_start()
1828 int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout) in zd_usb_iowrite16v_async_end()
1864 int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v_async()
1947 int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v()
1961 int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits) in zd_usb_rfwrite()