Searched refs:tx_buf (Results 151 - 175 of 410) sorted by relevance

1234567891011>>

/linux-master/drivers/iio/imu/
H A Dadis_buffer.c51 adis->xfer[0].tx_buf = tx;
110 adis->xfer[j].tx_buf = &tx[j];
/linux-master/drivers/video/backlight/
H A Dltv350qv.c53 index_xfer.tx_buf = lcd->buffer;
60 value_xfer.tx_buf = lcd->buffer + 4;
/linux-master/drivers/net/usb/
H A Dcatc.c159 u8 tx_buf[2][TX_MAX_BURST * (PKT_SZ + 2)]; member in struct:catc
358 catc->tx_urb->transfer_buffer = catc->tx_buf[catc->tx_idx];
415 char *tx_buf; local
420 tx_buf = catc->tx_buf[catc->tx_idx] + catc->tx_ptr;
422 *(__be16 *)tx_buf = cpu_to_be16(skb->len);
424 *(__le16 *)tx_buf = cpu_to_le16(skb->len);
425 skb_copy_from_linear_data(skb, tx_buf + 2, skb->len);
/linux-master/drivers/mfd/
H A Docelot-spi.c154 xfers[index].tx_buf = reg;
160 xfers[index].tx_buf = ddata->dummy_buf;
H A Drsmu_spi.c40 xfer.tx_buf = cmd;
80 xfer.tx_buf = cmd;
/linux-master/drivers/spi/
H A Dspi-sh-hspi.c175 if (t->tx_buf)
176 tx = (u32)((u8 *)t->tx_buf)[i];
H A Dspi-atmel.c491 return is_vmalloc_addr(xfer->tx_buf) || is_vmalloc_addr(xfer->rx_buf);
544 * require to rework tx_buf so each data would actually fit 16 bits.
668 spi_writel(as, TDR, *(u16 *)(xfer->tx_buf + xfer_pos));
670 spi_writel(as, TDR, *(u8 *)(xfer->tx_buf + xfer_pos));
674 xfer, xfer->len, xfer->tx_buf, xfer->rx_buf,
690 const u16 *words = (const u16 *)((u8 *)xfer->tx_buf + offset);
691 const u8 *bytes = (const u8 *)((u8 *)xfer->tx_buf + offset);
741 xfer, xfer->len, xfer->tx_buf, xfer->rx_buf,
813 memcpy(as->addr_tx_bbuf, xfer->tx_buf, xfer->len);
832 xfer, xfer->len, xfer->tx_buf, (unsigne
[all...]
H A Dspi-tegra210-quad.c311 u8 *tx_buf = (u8 *)t->tx_buf + tqspi->cur_tx_pos; local
326 x |= (u32)(*tx_buf++) << (i * 8);
345 x |= (u32)(*tx_buf++) << (i * 8);
416 u8 *tx_buf = (u8 *)t->tx_buf + tqspi->cur_tx_pos; local
421 * on bits per word from SPI core tx_buf.
431 x |= (u32)(*tx_buf++) << (i * 8);
574 u8 *tx_buf = (u8 *)t->tx_buf local
[all...]
H A Dspi-ep93xx.c186 if (xfer->tx_buf)
187 val = ((u16 *)xfer->tx_buf)[espi->tx];
190 if (xfer->tx_buf)
191 val = ((u8 *)xfer->tx_buf)[espi->tx];
304 buf = xfer->tx_buf;
H A Dspi-microchip-core.c102 const u8 *tx_buf; member in struct:mchp_corespi
218 byte = spi->tx_buf ? *spi->tx_buf++ : 0xaa;
473 spi->tx_buf = xfer->tx_buf;
H A Dspi-omap2-mcspi.c311 if (t->rx_buf != NULL && t->tx_buf != NULL)
326 if (t->tx_buf != NULL) {
342 if (t->tx_buf != NULL)
620 tx = xfer->tx_buf;
720 tx = xfer->tx_buf;
770 tx = xfer->tx_buf;
819 tx = xfer->tx_buf;
1190 if (t->tx_buf == NULL)
1195 if (cd && cd->turbo_mode && t->tx_buf == NULL) {
1214 if (t->tx_buf
[all...]
H A Dspi-mt65xx.c638 if (xfer->tx_buf) {
640 iowrite32_rep(mdata->base + SPI_TX_DATA_REG, xfer->tx_buf, cnt);
644 memcpy(&reg_val, xfer->tx_buf + (cnt * 4), remainder);
671 if (xfer->tx_buf)
677 if (xfer->tx_buf)
708 if (!xfer->tx_buf || !xfer->rx_buf) {
728 (unsigned long)xfer->tx_buf % 4 == 0 &&
791 if (trans->tx_buf) {
794 trans->tx_buf + mdata->num_xfered, cnt);
800 trans->tx_buf
[all...]
H A Dspi-tegra20-slink.c298 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; local
311 x |= (u32)(*tx_buf++) << (i * 8);
322 x |= (u32)(*tx_buf++) << (i * 8);
372 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len);
376 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; local
383 x |= (u32)(*tx_buf++) << (i * 8);
708 if (t->tx_buf) {
H A Dspi-amd.c292 if (xfer->tx_buf) {
293 buf = (u8 *)xfer->tx_buf;
295 cmd_opcode = *(u8 *)xfer->tx_buf;
H A Dspi-sh.c162 data = (unsigned char *)t->tx_buf;
283 pr_debug("tx_buf = %p, rx_buf = %p\n",
284 t->tx_buf, t->rx_buf);
288 if (t->tx_buf) {
/linux-master/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_spi.c120 if (t->tx_buf) {
122 t->tx_buf + frag_offset,
/linux-master/drivers/staging/greybus/
H A Dspilib.c142 if (last_xfer->tx_buf)
186 if (!xfer->tx_buf && !xfer->rx_buf) {
196 if (xfer->tx_buf) {
271 if (xfer->tx_buf) {
273 memcpy(tx_data, xfer->tx_buf + spi->tx_xfer_offset,
/linux-master/drivers/misc/eeprom/
H A Deeprom_93xx46.c131 t[0].tx_buf = (char *)&cmd_addr;
191 t.tx_buf = &cmd_addr;
245 t[0].tx_buf = (char *)&cmd_addr;
250 t[1].tx_buf = buf;
337 t.tx_buf = &cmd_addr;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c84 struct i40e_tx_buffer *tx_buf, *first; local
121 tx_buf = &tx_ring->tx_bi[i];
125 memset(tx_buf, 0, sizeof(struct i40e_tx_buffer));
128 dma_unmap_len_set(tx_buf, len, I40E_FDIR_MAX_RAW_PACKET_SIZE);
129 dma_unmap_addr_set(tx_buf, dma, dma);
134 tx_buf->tx_flags = I40E_TX_FLAGS_FD_SB;
135 tx_buf->raw_buf = (void *)raw_packet;
928 struct i40e_tx_buffer *tx_buf; local
934 tx_buf = &tx_ring->tx_bi[i];
941 struct i40e_tx_desc *eop_desc = tx_buf
[all...]
/linux-master/drivers/input/touchscreen/
H A Draydium_i2c_ts.c172 u8 *tx_buf; local
175 tx_buf = kmalloc(len + 1, GFP_KERNEL);
176 if (!tx_buf)
179 tx_buf[0] = reg_addr;
180 memcpy(tx_buf + 1, data, len);
207 .buf = tx_buf,
220 kfree(tx_buf);
/linux-master/drivers/firmware/
H A Darm_scpi.c227 const void *tx_buf; member in struct:scpi_xfer
431 if (t->tx_buf) {
433 memcpy_toio(ch->tx_payload, t->tx_buf, t->tx_len);
435 memcpy_toio(mem->payload, t->tx_buf, t->tx_len);
473 static int scpi_send_message(u8 idx, void *tx_buf, unsigned int tx_len, argument
505 msg->tx_buf = tx_buf;
/linux-master/drivers/net/ieee802154/
H A Dmcr20a.c868 lp->tx_xfer_buf.tx_buf = lp->tx_skb->data;
1018 lp->tx_xfer_header.tx_buf = lp->tx_header;
1021 lp->tx_xfer_len.tx_buf = lp->tx_len;
1035 lp->reg_xfer_cmd.tx_buf = lp->reg_cmd;
1039 lp->reg_xfer_data.tx_buf = lp->reg_data;
1048 lp->rx_xfer_header.tx_buf = lp->rx_header;
1068 lp->irq_xfer_header.tx_buf = lp->irq_header;
/linux-master/drivers/media/spi/
H A Dgs1662.c148 .tx_buf = &buf_addr,
182 .tx_buf = &buf_addr,
189 .tx_buf = &buf_value,
/linux-master/drivers/mtd/devices/
H A Dsst25l.c79 t.tx_buf = cmd_resp;
223 transfer[0].tx_buf = command;
326 t.tx_buf = cmd_resp;
/linux-master/drivers/net/phy/
H A Dspi_ks8995.c211 t[0].tx_buf = &cmd;
239 t[0].tx_buf = &cmd;
243 t[1].tx_buf = buf;

Completed in 228 milliseconds

1234567891011>>