Lines Matching full:ud
127 spin_lock_irq(&udc->ud.lock); in usbip_sockfd_store()
129 if (udc->ud.status != SDEV_ST_AVAILABLE) { in usbip_sockfd_store()
141 udc->ud.tcp_socket = socket; in usbip_sockfd_store()
143 spin_unlock_irq(&udc->ud.lock); in usbip_sockfd_store()
146 udc->ud.tcp_rx = kthread_get_run(&v_rx_loop, in usbip_sockfd_store()
147 &udc->ud, "vudc_rx"); in usbip_sockfd_store()
148 udc->ud.tcp_tx = kthread_get_run(&v_tx_loop, in usbip_sockfd_store()
149 &udc->ud, "vudc_tx"); in usbip_sockfd_store()
152 spin_lock_irq(&udc->ud.lock); in usbip_sockfd_store()
153 udc->ud.status = SDEV_ST_USED; in usbip_sockfd_store()
154 spin_unlock_irq(&udc->ud.lock); in usbip_sockfd_store()
166 spin_lock_irq(&udc->ud.lock); in usbip_sockfd_store()
167 if (udc->ud.status != SDEV_ST_USED) { in usbip_sockfd_store()
171 spin_unlock_irq(&udc->ud.lock); in usbip_sockfd_store()
173 usbip_event_add(&udc->ud, VUDC_EVENT_DOWN); in usbip_sockfd_store()
181 spin_unlock_irq(&udc->ud.lock); in usbip_sockfd_store()
199 spin_lock_irq(&udc->ud.lock); in usbip_status_show()
200 status = udc->ud.status; in usbip_status_show()
201 spin_unlock_irq(&udc->ud.lock); in usbip_status_show()