Lines Matching refs:rx_urb
126 struct urb *rx_urb; member
279 kingsun->rx_urb = usb_alloc_urb(0, GFP_KERNEL); in kingsun_net_open()
280 if (!kingsun->rx_urb) in kingsun_net_open()
299 usb_fill_int_urb(kingsun->rx_urb, kingsun->usbdev, in kingsun_net_open()
303 kingsun->rx_urb->status = 0; in kingsun_net_open()
304 err = usb_submit_urb(kingsun->rx_urb, GFP_KERNEL); in kingsun_net_open()
331 if (kingsun->rx_urb) { in kingsun_net_open()
332 usb_free_urb(kingsun->rx_urb); in kingsun_net_open()
333 kingsun->rx_urb = NULL; in kingsun_net_open()
358 usb_kill_urb(kingsun->rx_urb); in kingsun_net_close()
361 usb_free_urb(kingsun->rx_urb); in kingsun_net_close()
364 kingsun->rx_urb = NULL; in kingsun_net_close()
497 kingsun->rx_urb = NULL; in kingsun_probe()
582 if (kingsun->rx_urb != NULL) { in kingsun_disconnect()
583 usb_kill_urb(kingsun->rx_urb); in kingsun_disconnect()
584 usb_free_urb(kingsun->rx_urb); in kingsun_disconnect()
585 kingsun->rx_urb = NULL; in kingsun_disconnect()
603 if (kingsun->rx_urb != NULL) usb_kill_urb(kingsun->rx_urb); in kingsun_suspend()
612 if (kingsun->rx_urb != NULL) in kingsun_resume()
613 usb_submit_urb(kingsun->rx_urb, GFP_KERNEL); in kingsun_resume()