28 static void Wb35Tx_complete(
struct urb *pUrb)
35 printk(
"wb35: tx complete\n");
52 printk(
"URB submission failed\n");
88 pTxBufferAddress = pWb35Tx->
TxBuffer[SendIndex];
91 usb_fill_bulk_urb(pUrb, pHwData->
udev,
92 usb_sndbulkpipe(pHwData->
udev, 4),
94 Wb35Tx_complete, adapter);
99 printk(
"EP4 Tx Irp sending error\n");
183 unsigned char Trigger =
false;
185 if (pWb35Tx->
TxTimer > TimeCount)
187 else if (TimeCount > (pWb35Tx->
TxTimer+500))
196 static void Wb35Tx_EP2VM(
struct wbsoft_priv *adapter);
198 static void Wb35Tx_EP2VM_complete(
struct urb *pUrb)
206 u16 InterruptInLength;
221 printk(
"EP2 IoCompleteRoutine return error\n");
227 InterruptInLength = pUrb->actual_length;
230 InterruptInLength -= 1;
231 InterruptInLength >>= 2;
232 for (
i = 1;
i <= InterruptInLength;
i++) {
235 TSTATUS.value = T02.value;
246 static void Wb35Tx_EP2VM(
struct wbsoft_priv *adapter)
261 usb_fill_int_urb(pUrb, pHwData->
udev, usb_rcvintpipe(pHwData->
udev, 2),
269 pr_debug(
"EP2 Tx Irp sending error\n");
287 Wb35Tx_EP2VM(adapter);