Lines Matching refs:zd_usb

114 static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req,
227 static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size, in get_fw_name()
237 static int handle_version_mismatch(struct zd_usb *usb, in handle_version_mismatch()
270 static int upload_firmware(struct zd_usb *usb) in upload_firmware()
337 int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len) in zd_usb_read_fw()
372 struct zd_usb *usb = urb->context; in handle_regs_int_override()
387 struct zd_usb *usb = urb->context; in handle_regs_int()
441 struct zd_usb *usb; in int_urb_complete()
515 static inline int usb_int_enabled(struct zd_usb *usb) in usb_int_enabled()
527 int zd_usb_enable_int(struct zd_usb *usb) in zd_usb_enable_int()
590 void zd_usb_disable_int(struct zd_usb *usb) in zd_usb_disable_int()
620 static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer, in handle_rx_packet()
666 struct zd_usb *usb; in rx_urb_complete()
728 static struct urb *alloc_rx_urb(struct zd_usb *usb) in alloc_rx_urb()
761 static int __zd_usb_enable_rx(struct zd_usb *usb) in __zd_usb_enable_rx()
813 int zd_usb_enable_rx(struct zd_usb *usb) in zd_usb_enable_rx()
827 static void __zd_usb_disable_rx(struct zd_usb *usb) in __zd_usb_disable_rx()
854 void zd_usb_disable_rx(struct zd_usb *usb) in zd_usb_disable_rx()
866 static void zd_usb_reset_rx(struct zd_usb *usb) in zd_usb_reset_rx()
895 void zd_usb_disable_tx(struct zd_usb *usb) in zd_usb_disable_tx()
923 void zd_usb_enable_tx(struct zd_usb *usb) in zd_usb_enable_tx()
936 static void tx_dec_submitted_urbs(struct zd_usb *usb) in tx_dec_submitted_urbs()
950 static void tx_inc_submitted_urbs(struct zd_usb *usb) in tx_inc_submitted_urbs()
976 struct zd_usb *usb; in tx_urb_complete()
1031 int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb) in zd_usb_tx()
1072 static bool zd_tx_timeout(struct zd_usb *usb) in zd_tx_timeout()
1098 struct zd_usb *usb = in zd_tx_watchdog_handler()
1099 container_of(work, struct zd_usb, tx.watchdog_work.work); in zd_tx_watchdog_handler()
1119 void zd_tx_watchdog_enable(struct zd_usb *usb) in zd_tx_watchdog_enable()
1131 void zd_tx_watchdog_disable(struct zd_usb *usb) in zd_tx_watchdog_disable()
1144 struct zd_usb *usb = in zd_rx_idle_timer_handler()
1145 container_of(work, struct zd_usb, rx.idle_work.work); in zd_rx_idle_timer_handler()
1159 struct zd_usb *usb = (struct zd_usb *)param; in zd_usb_reset_rx_idle_timer_tasklet()
1164 void zd_usb_reset_rx_idle_timer(struct zd_usb *usb) in zd_usb_reset_rx_idle_timer()
1171 static inline void init_usb_interrupt(struct zd_usb *usb) in init_usb_interrupt()
1182 static inline void init_usb_rx(struct zd_usb *usb) in init_usb_rx()
1199 static inline void init_usb_tx(struct zd_usb *usb) in init_usb_tx()
1213 void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw, in zd_usb_init()
1225 void zd_usb_clear(struct zd_usb *usb) in zd_usb_clear()
1256 int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size) in zd_usb_scnprint_id()
1330 int zd_usb_init_hw(struct zd_usb *usb) in zd_usb_init_hw()
1366 struct zd_usb *usb; in probe()
1431 struct zd_usb *usb; in disconnect()
1462 static void zd_usb_resume(struct zd_usb *usb) in zd_usb_resume()
1489 static void zd_usb_stop(struct zd_usb *usb) in zd_usb_stop()
1506 struct zd_usb *usb; in pre_reset()
1526 struct zd_usb *usb; in post_reset()
1617 static void prepare_read_regs_int(struct zd_usb *usb, in prepare_read_regs_int()
1631 static void disable_read_regs_int(struct zd_usb *usb) in disable_read_regs_int()
1640 static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req, in check_read_regs()
1679 static int get_results(struct zd_usb *usb, u16 *values, in get_results()
1714 int zd_usb_ioread16v(struct zd_usb *usb, u16 *values, in zd_usb_ioread16v()
1796 struct zd_usb *usb = urb->context; in iowrite16v_urb_complete()
1806 static int zd_submit_waiting_urb(struct zd_usb *usb, bool last) in zd_submit_waiting_urb()
1834 void zd_usb_iowrite16v_async_start(struct zd_usb *usb) in zd_usb_iowrite16v_async_start()
1847 int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout) in zd_usb_iowrite16v_async_end()
1883 int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v_async()
1967 int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v()
1981 int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits) in zd_usb_rfwrite()