Lines Matching full:usb
2 /* ZD1211 USB-WLAN driver for Linux
15 #include <linux/usb.h>
44 * used if one combined frame is split over two USB transactions.
102 /* USB interrupt */
136 /* Stores the USB int structure and contains the USB address of the
203 /* Contains the usb parts. The structure doesn't require a lock because intf
218 #define zd_usb_dev(usb) (&usb->intf->dev) argument
220 static inline struct usb_device *zd_usb_to_usbdev(struct zd_usb *usb) in zd_usb_to_usbdev() argument
222 return interface_to_usbdev(usb->intf); in zd_usb_to_usbdev()
230 static inline struct ieee80211_hw *zd_usb_to_hw(struct zd_usb *usb) in zd_usb_to_hw() argument
232 return zd_intf_to_hw(usb->intf); in zd_usb_to_hw()
235 void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw,
237 int zd_usb_init_hw(struct zd_usb *usb);
238 void zd_usb_clear(struct zd_usb *usb);
240 int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size);
242 void zd_tx_watchdog_enable(struct zd_usb *usb);
243 void zd_tx_watchdog_disable(struct zd_usb *usb);
245 int zd_usb_enable_int(struct zd_usb *usb);
246 void zd_usb_disable_int(struct zd_usb *usb);
248 int zd_usb_enable_rx(struct zd_usb *usb);
249 void zd_usb_disable_rx(struct zd_usb *usb);
251 void zd_usb_reset_rx_idle_timer(struct zd_usb *usb);
253 void zd_usb_enable_tx(struct zd_usb *usb);
254 void zd_usb_disable_tx(struct zd_usb *usb);
256 int zd_usb_tx(struct zd_usb *usb, struct sk_buff *skb);
258 int zd_usb_ioread16v(struct zd_usb *usb, u16 *values,
261 static inline int zd_usb_ioread16(struct zd_usb *usb, u16 *value, in zd_usb_ioread16() argument
264 return zd_usb_ioread16v(usb, value, &addr, 1); in zd_usb_ioread16()
267 void zd_usb_iowrite16v_async_start(struct zd_usb *usb);
268 int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout);
269 int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
271 int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
274 int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits);
276 int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len);