4 static void write_bulk_callback(
struct urb *
urb)
14 pr_info(
PFX "%s: transmit status %d\n", Adapter->
dev->name, urb->status);
18 if(urb->status == -
EPIPE)
20 psIntfAdapter->psAdapter->bEndPointHalted =
TRUE ;
21 wake_up(&psIntfAdapter->psAdapter->tx_packet_wait_queue);
41 bpowerDownMsg =
TRUE ;
81 bpowerDownMsg =
TRUE ;
97 psIntfAdapter->bPreparingForBusSuspend =
TRUE;
106 urb->transfer_buffer, urb->transfer_dma);
134 struct urb *urb = pTcb->
urb;
139 if (!urb->transfer_buffer)
144 memcpy(urb->transfer_buffer, data, len);
145 urb->transfer_buffer_length = len;
151 usb_fill_int_urb(urb, psIntfAdapter->
udev,
153 urb->transfer_buffer, len, write_bulk_callback, pTcb,
158 usb_fill_bulk_urb(urb, psIntfAdapter->
udev,
160 urb->transfer_buffer, len, write_bulk_callback, pTcb);
162 urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
188 pTcb= GetBulkOutTcb(psIntfAdapter);
194 return TransmitTcb(psIntfAdapter, pTcb, data, len);