Lines Matching full:urbs
750 struct urb **urbs; in __zd_usb_enable_rx() local
755 urbs = kcalloc(RX_URBS_COUNT, sizeof(struct urb *), GFP_KERNEL); in __zd_usb_enable_rx()
756 if (!urbs) in __zd_usb_enable_rx()
759 urbs[i] = alloc_rx_urb(usb); in __zd_usb_enable_rx()
760 if (!urbs[i]) in __zd_usb_enable_rx()
766 if (rx->urbs) { in __zd_usb_enable_rx()
771 rx->urbs = urbs; in __zd_usb_enable_rx()
776 r = usb_submit_urb(urbs[i], GFP_KERNEL); in __zd_usb_enable_rx()
784 usb_kill_urb(urbs[i]); in __zd_usb_enable_rx()
787 rx->urbs = NULL; in __zd_usb_enable_rx()
791 if (urbs) { in __zd_usb_enable_rx()
793 free_rx_urb(urbs[i]); in __zd_usb_enable_rx()
816 struct urb **urbs; in __zd_usb_disable_rx() local
821 urbs = rx->urbs; in __zd_usb_disable_rx()
824 if (!urbs) in __zd_usb_disable_rx()
828 usb_kill_urb(urbs[i]); in __zd_usb_disable_rx()
829 free_rx_urb(urbs[i]); in __zd_usb_disable_rx()
831 kfree(urbs); in __zd_usb_disable_rx()
834 rx->urbs = NULL; in __zd_usb_disable_rx()
860 do_reset = rx->urbs != NULL; in zd_usb_reset_rx()
878 * Frees all URBs in the free list and marks the transmission as disabled.
887 /* kill all submitted tx-urbs */ in zd_usb_disable_tx()
1927 /* Delay submit so that URB_NO_INTERRUPT flag can be set for all URBs in zd_usb_iowrite16v_async()