Searched refs:tx_buf (Results 226 - 250 of 410) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/amd/
H A Dsunlance.c225 u8 tx_buf [TX_RING_SIZE][TX_BUFF_SIZE]; member in struct:lance_init_block
341 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i));
397 leptr = libbuff_offset(tx_buf, i);
882 u16 __iomem *packet = (u16 __iomem *) &(ib->tx_buf[entry][0]);
895 u16 *packet = (u16 *) &(ib->tx_buf[entry][0]);
1123 lance_piocopy_from_skb(&ib->tx_buf[entry][0], skb->data, skblen);
1125 lance_piozero(&ib->tx_buf[entry][skblen], len - skblen);
1131 skb_copy_from_linear_data(skb, &ib->tx_buf [entry][0], skblen);
1133 memset((char *) &ib->tx_buf [entry][skblen], 0, len - skblen);
H A D7990.c180 leptr = LANCE_ADDR(&aib->tx_buf[i][0]);
574 memset((void *)&ib->tx_buf[entry][0], 0, ETH_ZLEN);
575 skb_copy_from_linear_data(skb, (void *)&ib->tx_buf[entry][0], skblen);
/linux-master/drivers/spi/
H A Dspi-tegra114.c301 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; local
315 x |= (u32)(*tx_buf++) << (i * 8);
333 x |= (u32)(*tx_buf++) << (i * 8);
397 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len);
402 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; local
414 x |= (u32)(*tx_buf++) << (i * 8);
890 if (t->tx_buf) {
H A Dspi-bcm63xx-hsspi.c291 if (t->tx_buf && !t->rx_buf) {
308 memcpy(bs->prepend_buf + bs->prepend_cnt, t->tx_buf, t->len);
328 t_prepend->tx_buf = bs->prepend_buf;
354 const u8 *tx = t->tx_buf;
475 const u8 *tx = t->tx_buf;
H A Dspi-fsi.c306 if (transfer->tx_buf) {
310 const u8 *tx = transfer->tx_buf;
442 if (!transfer->tx_buf || transfer->len > SPI_FSI_MAX_TX_SIZE) {
H A Dspi-at91-usart.c287 const u8 *tx_buf = aus->current_transfer->tx_buf; local
293 at91_usart_spi_writeb(aus, THR, tx_buf[len - remaining]);
H A Dspi-ppc4xx.c146 t->tx_buf, t->rx_buf, t->len);
150 hw->tx = t->tx_buf;
H A Dspi.c331 if ((xfer->tx_buf) &&
332 (xfer->tx_buf != ctlr->dummy_tx))
1252 if (xfer->tx_buf != NULL) {
1254 (void *)xfer->tx_buf,
1369 * Restore the original value of tx_buf or rx_buf if they are
1372 if (xfer->tx_buf == ctlr->dummy_tx)
1373 xfer->tx_buf = NULL;
1394 !xfer->tx_buf)
1422 if (!xfer->tx_buf)
1423 xfer->tx_buf
[all...]
/linux-master/drivers/iio/accel/
H A Dsca3000.c291 .tx_buf = st->tx,
333 .tx_buf = st->tx,
337 .tx_buf = st->tx + 2,
340 .tx_buf = st->tx + 4,
981 .tx_buf = st->tx,
/linux-master/drivers/input/touchscreen/
H A Dads7846.c368 req->xfer[0].tx_buf = &req->ref_on;
389 req->xfer[2].tx_buf = &req->command;
401 req->xfer[4].tx_buf = &req->ref_off;
441 req->xfer[0].tx_buf = req->command;
1096 x->tx_buf = packet->tx;
/linux-master/sound/soc/codecs/
H A Dwm0010.c121 u8 *tx_buf; member in struct:wm0010_spi_msg
428 xfer->t.tx_buf = img;
483 kfree(xfer->t.tx_buf);
530 t.tx_buf = img;
663 t.tx_buf = img_swap;
H A Drt5514-spi.c345 x[0].tx_buf = write_buf;
349 x[1].tx_buf = write_buf;
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n.c206 struct host_cmd_ds_txbuf_cfg *tx_buf = &cmd->params.tx_buf; local
212 tx_buf->action = cpu_to_le16(action);
216 "cmd: set tx_buf=%d\n", *buf_size);
217 tx_buf->buff_size = cpu_to_le16(*buf_size);
221 tx_buf->buff_size = 0;
/linux-master/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c102 transfer[0].tx_buf = &cmd;
104 transfer[1].tx_buf = src;
129 transfer.tx_buf = src;
155 transfer[0].tx_buf = &cmd;
210 transfer.tx_buf = &tx_data;
/linux-master/drivers/usb/misc/
H A Dusb-ljca.c121 * @tx_buf: buffer used to download command to firmware
123 * @lock: spinlock to protect tx_buf and ex_buf
146 void *tx_buf; member in struct:ljca_adapter
218 struct ljca_msg *tx_header = adap->tx_buf;
297 struct ljca_msg *header = adap->tx_buf;
757 adap->tx_buf = devm_kzalloc(dev, LJCA_MAX_PACKET_SIZE, GFP_KERNEL);
758 if (!adap->tx_buf)
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c198 struct sw_tx_bd *tx_buf = &txdata->tx_buf_ring[idx]; local
201 struct sk_buff *skb = tx_buf->skb;
202 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons;
210 txdata->txq_index, idx, tx_buf, skb);
221 new_cons = nbd + tx_buf->first_bd;
230 if (tx_buf->flags & BNX2X_HAS_SECOND_PBD) {
237 if (tx_buf->flags & BNX2X_TSO_SPLIT_BD) {
267 tx_buf->first_bd = 0;
268 tx_buf->skb = NULL;
3305 struct sw_tx_bd *tx_buf,
3303 bnx2x_tx_split(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, struct sw_tx_bd *tx_buf, struct eth_tx_start_bd **tx_bd, u16 hlen, u16 bd_prod) argument
3757 struct sw_tx_bd *tx_buf; local
[all...]
/linux-master/drivers/regulator/
H A Dtps6524x-regulator.c153 t[0].tx_buf = &cmd;
206 t[0].tx_buf = &cmd;
211 t[1].tx_buf = &out;
/linux-master/drivers/media/dvb-frontends/
H A Dmxl692.c451 u8 tx_buf[MXL_EAGLE_MAX_I2C_PACKET_SIZE] = {}; local
465 tx_header = (struct MXL_EAGLE_HOST_MSG_HEADER_T *)tx_buf;
475 memcpy(&tx_buf[MXL_EAGLE_HOST_MSG_HEADER_SIZE], tx_payload, tx_payload_size);
477 mxl692_tx_swap(opcode, tx_buf);
480 tx_header->checksum = mxl692_checksum(tx_buf,
486 status = mxl692_opwrite(dev, tx_buf,
/linux-master/drivers/tty/serial/8250/
H A D8250_bcm7271.c224 void *tx_buf; member in struct:brcmuart_priv
426 memcpy(priv->tx_buf, &xmit->buf[xmit->tail], tx_size);
880 if (priv->tx_buf)
881 dma_free_coherent(dev, priv->tx_size, priv->tx_buf,
1061 priv->tx_buf = dma_alloc_coherent(dev,
1064 if (!priv->tx_buf) {
/linux-master/drivers/misc/eeprom/
H A Dat25.c128 t[0].tx_buf = at25->command;
164 t[0].tx_buf = at25->command;
/linux-master/drivers/gpu/drm/tiny/
H A Dst7586.c125 ret = st7586_buf_copy(dbidev->tx_buf, src, fb, rect, fmtcnv_state);
141 (u8 *)dbidev->tx_buf,
/linux-master/drivers/iio/dac/
H A Dad5791.c122 .tx_buf = &st->data[0].d8[1],
127 .tx_buf = &st->data[1].d8[1],
/linux-master/drivers/iio/adc/
H A Dti-ads8688.c218 .tx_buf = &st->data[0].d8[0],
222 .tx_buf = &st->data[1].d8[0],
/linux-master/drivers/misc/mei/
H A Dplatform-vsc.c53 char tx_buf[MEI_VSC_MAX_MSG_SIZE + sizeof(struct mei_msg_hdr)] ____cacheline_aligned;
186 char *buf = hw->tx_buf;
/linux-master/drivers/net/ethernet/moxa/
H A Dmoxart_ether.h314 unsigned char *tx_buf[RX_DESC_NUM]; member in struct:moxart_mac_priv_t

Completed in 276 milliseconds

1234567891011>>