Lines Matching refs:msg_ep
178 struct xillyusb_endpoint *msg_ep; member
555 if (xdev->msg_ep) in cleanup_dev()
556 endpoint_dealloc(xdev->msg_ep); in cleanup_dev()
607 wake_up_interruptible(&xdev->msg_ep->fifo.waitq); in wakeup_all()
1071 struct xillyusb_endpoint *ep = xdev->msg_ep; in xillyusb_send_opcode()
1913 xdev->msg_ep = endpoint_alloc(xdev, MSG_EP_NUM | USB_DIR_OUT, in xillyusb_setup_base_eps()
1915 if (!xdev->msg_ep) in xillyusb_setup_base_eps()
1918 if (fifo_init(&xdev->msg_ep->fifo, 13)) /* 8 kiB */ in xillyusb_setup_base_eps()
1921 xdev->msg_ep->fill_mask = -8; /* 8 bytes granularity */ in xillyusb_setup_base_eps()
1933 endpoint_dealloc(xdev->msg_ep); /* Also frees FIFO mem if allocated */ in xillyusb_setup_base_eps()
1934 xdev->msg_ep = NULL; in xillyusb_setup_base_eps()
2190 endpoint_quiesce(xdev->msg_ep); in xillyusb_probe()
2201 struct xillyusb_endpoint *msg_ep = xdev->msg_ep; in xillyusb_disconnect() local
2202 struct xillyfifo *fifo = &msg_ep->fifo; in xillyusb_disconnect()
2213 msg_ep->wake_on_drain = true; in xillyusb_disconnect()
2224 msg_ep->drained || xdev->error, in xillyusb_disconnect()
2255 endpoint_quiesce(xdev->msg_ep); in xillyusb_disconnect()