Searched refs:txsize (Results 1 - 8 of 8) sorted by relevance

/drivers/staging/usbip/
H A Dvhci_tx.c71 size_t txsize; local
81 txsize = 0;
94 txsize += sizeof(pdu_header);
100 txsize += urb->transfer_buffer_length;
116 txsize += len;
119 ret = kernel_sendmsg(vdev->ud.tcp_socket, &msg, iov, 3, txsize);
120 if (ret != txsize) {
122 txsize);
131 total_size += txsize;
161 size_t txsize; local
[all...]
H A Dstub_tx.c161 size_t txsize; local
173 txsize = 0;
201 txsize += sizeof(pdu_header);
210 txsize += urb->actual_length;
228 txsize += urb->iso_frame_desc[i].actual_length;
231 if (txsize != sizeof(pdu_header) + urb->actual_length) {
236 txsize-sizeof(pdu_header));
258 txsize += len;
263 iov, iovnum, txsize);
264 if (ret != txsize) {
314 size_t txsize; local
[all...]
/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c34 unsigned int txsize = priv->dma_tx_size; local
35 unsigned int entry = priv->cur_tx % txsize;
53 entry = (++priv->cur_tx) % txsize;
H A Dring_mode.c34 unsigned int txsize = priv->dma_tx_size; local
35 unsigned int entry = priv->cur_tx % txsize;
55 entry = (++priv->cur_tx) % txsize;
H A Dstmmac_main.c399 unsigned int txsize = priv->dma_tx_size; local
420 DBG(probe, INFO, "stmmac: txsize %d, rxsize %d, bfsize %d\n",
421 txsize, rxsize, bfsize);
432 priv->tx_skbuff = kmalloc(sizeof(struct sk_buff *) * txsize,
436 txsize *
482 for (i = 0; i < txsize; i++) {
490 priv->hw->ring->init_dma_chain(priv->dma_tx, priv->dma_tx_phy, txsize);
497 priv->hw->desc->init_tx_desc(priv->dma_tx, txsize);
503 display_ring(priv->dma_tx, txsize);
588 unsigned int txsize local
1095 unsigned int txsize = priv->dma_tx_size; local
[all...]
/drivers/net/wan/
H A Dcosa.c114 int txsize; /* Size of transmitted data */ member in struct:channel_data
158 int txchan, txsize, rxsize; member in struct:cosa_data
1259 chan->txsize = len;
1261 chan->txsize = COSA_MTU;
1722 cosa->txsize = cosa->chan[cosa->txchan].txsize;
1724 cosa->chan[cosa->txchan].txbuf, cosa->txsize)) {
1728 cosa->txsize);
1737 ((cosa->txsize >> 8) & 0x1f));
1741 ((cosa->txsize >>
[all...]
/drivers/net/irda/
H A Dsh_sir.c408 static int sh_sir_init_iobuf(struct sh_sir_self *self, int rxsize, int txsize) argument
422 err = __sh_sir_init_iobuf(&self->tx_buff, txsize);
H A Dsh_irda.c595 static int sh_irda_init_iobuf(struct sh_irda_self *self, int rxsize, int txsize) argument

Completed in 110 milliseconds