Searched refs:tx_buf (Results 101 - 125 of 410) sorted by relevance

1234567891011>>

/linux-master/drivers/iio/adc/
H A Dad7887.c287 st->xfer[0].tx_buf = &st->tx_cmd_buf[0];
297 st->xfer[1].tx_buf = &st->tx_cmd_buf[2];
301 st->xfer[2].tx_buf = &st->tx_cmd_buf[0];
309 st->xfer[3].tx_buf = &st->tx_cmd_buf[2];
H A Dltc2496.c41 .tx_buf = st->txbuf,
H A Dad7091r-base.h69 __be16 tx_buf __aligned(IIO_DMA_MINALIGN);
H A Dti-tsc2046.c276 struct tsc2046_adc_atom *rx_buf, *tx_buf; local
290 if (sizeof(*tx_buf) * max_count > PAGE_SIZE)
293 tx_buf = kcalloc(max_count, sizeof(*tx_buf), GFP_KERNEL);
294 if (!tx_buf)
310 tx_buf[i].cmd = cmd;
313 tx_buf[i].cmd = tsc2046_adc_get_cmd(priv, ch_idx, false);
316 xfer.tx_buf = tx_buf;
318 xfer.len = sizeof(*tx_buf) * max_coun
[all...]
/linux-master/drivers/tty/serial/
H A Dcpm_uart.h62 unsigned char *tx_buf; member in struct:uart_cpm_port
/linux-master/drivers/fpga/
H A Dmicrochip-spi.c59 .tx_buf = &priv->tx,
64 .tx_buf = &priv->tx,
287 .tx_buf = &priv->tx,
290 .tx_buf = buf,
/linux-master/drivers/spi/
H A Dspi-qup.c149 const u8 *tx_buf; member in struct:spi_qup
342 const u8 *tx_buf = controller->tx_buf; local
352 if (tx_buf)
354 data = tx_buf[controller->tx_bytes + i];
442 if (xfer->tx_buf)
485 else if (xfer->tx_buf)
553 qup->tx_buf = xfer->tx_buf;
561 if (qup->tx_buf
[all...]
H A Dspi-fsl-espi.c200 if (!t->tx_buf || t->rx_buf ||
205 if (t->tx_buf || !t->rx_buf)
218 const void *tx_buf; local
224 tx_buf = espi->tx_t->tx_buf;
227 if (!tx_buf)
231 swahb32p(tx_buf + espi->tx_pos));
234 *(u32 *)(tx_buf + espi->tx_pos));
238 } else if (tx_left >= 2 && tx_buf && espi->swab) {
240 swab16p(tx_buf
[all...]
H A Dspi-xcomm.c115 if (t->tx_buf) {
117 memcpy(spi_xcomm->buf + 1, t->tx_buf, t->len);
151 if (!t->tx_buf && !t->rx_buf && t->len) {
H A Dspidev.c127 .tx_buf = spidev->tx_buffer,
218 u8 *tx_buf, *rx_buf; local
230 tx_buf = spidev->tx_buffer;
238 /* Ensure that also following allocations from rx_buf/tx_buf will meet
266 if (u_tmp->tx_buf) {
273 k_tmp->tx_buf = tx_buf;
274 if (copy_from_user(tx_buf, (const u8 __user *)
275 (uintptr_t) u_tmp->tx_buf,
278 tx_buf
[all...]
H A Dspi-imx.c112 const void *tx_buf; member in struct:spi_imx_data
169 if (spi_imx->tx_buf) { \
170 val = *(type *)spi_imx->tx_buf; \
171 spi_imx->tx_buf += sizeof(type); \
363 if (spi_imx->tx_buf) {
364 val = *(u32 *)spi_imx->tx_buf;
365 spi_imx->tx_buf += sizeof(u32);
398 if (spi_imx->tx_buf) {
399 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned);
400 spi_imx->tx_buf
[all...]
H A Dspi-mpc512x-psc.c150 u8 *tx_buf = (u8 *)t->tx_buf; local
153 if (!tx_buf && !rx_buf && t->len)
176 data = tx_buf ? *tx_buf++ : 0;
H A Dspi-bcm2835aux.c91 const u8 *tx_buf; member in struct:bcm2835aux_spi
188 byte = bs->tx_buf ? *bs->tx_buf++ : 0;
377 bs->tx_buf = tfr->tx_buf;
H A Dspi-uniphier.c35 const u8 *tx_buf; member in struct:uniphier_spi_priv
224 priv->tx_buf = t->tx_buf;
259 if (priv->tx_buf) {
262 val = *priv->tx_buf;
265 val = get_unaligned_le16(priv->tx_buf);
268 val = get_unaligned_le32(priv->tx_buf);
272 priv->tx_buf += wsize;
357 || (!host->dma_tx && t->tx_buf)
434 if (priv->tx_buf) {
[all...]
/linux-master/drivers/iio/pressure/
H A Dmprls0025pa_spi.c49 xfer.tx_buf = buf->tx;
/linux-master/drivers/net/dsa/
H A Dvitesse-vsc73xx-spi.c69 t[0].tx_buf = cmd;
111 t[0].tx_buf = cmd;
115 t[1].tx_buf = buf;
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dbus_spi.c70 .tx_buf = &regaddr,
106 .tx_buf = &regaddr,
110 .tx_buf = src,
/linux-master/drivers/iio/humidity/
H A Dam2315.c106 /* tx_buf format: <function code> <start addr> <nr of regs to read> */
107 u8 tx_buf[3] = { AM2315_FUNCTION_READ, AM2315_REG_HUM_MSB, 4 }; local
121 ret = i2c_master_send(data->client, tx_buf, sizeof(tx_buf));
/linux-master/drivers/misc/mei/
H A Dvsc-fw-loader.c212 * @tx_buf: tx buffer
227 void *tx_buf; member in struct:vsc_fw_loader
310 struct vsc_rom_cmd *cmd = fw_loader->tx_buf;
578 struct vsc_rom_cmd *cmd = fw_loader->tx_buf;
633 struct vsc_fw_cmd *cmd = fw_loader->tx_buf;
683 memcpy(fw_loader->tx_buf, p, len);
684 memset(fw_loader->tx_buf + len, 0, VSC_FW_PKG_SIZE - len);
686 ret = vsc_tp_rom_xfer(fw_loader->tp, fw_loader->tx_buf,
714 void *tx_buf __free(kfree) = NULL;
722 tx_buf
[all...]
/linux-master/net/nfc/nci/
H A Dspi.c39 t.tx_buf = skb->data;
42 /* still set tx_buf non NULL to make the driver happy */
43 t.tx_buf = &t;
189 tx.tx_buf = req;
/linux-master/drivers/gpu/drm/radeon/
H A Datombios_dp.c164 u8 tx_buf[20]; local
171 tx_buf[0] = msg->address & 0xff;
172 tx_buf[1] = (msg->address >> 8) & 0xff;
173 tx_buf[2] = (msg->request << 4) |
175 tx_buf[3] = msg->size ? (msg->size - 1) : 0;
189 * table needs the info in tx_buf[3].
193 tx_buf[3] |= BARE_ADDRESS_SIZE << 4;
195 tx_buf[3] |= tx_size << 4;
196 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size);
198 tx_buf, tx_siz
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c216 struct iavf_tx_buffer *tx_buf; local
221 tx_buf = &tx_ring->tx_bi[i];
226 struct iavf_tx_desc *eop_desc = tx_buf->next_to_watch;
235 iavf_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf);
242 tx_buf->next_to_watch = NULL;
245 total_bytes += tx_buf->bytecount;
246 total_packets += tx_buf->gso_segs;
249 napi_consume_skb(tx_buf->skb, napi_budget);
253 dma_unmap_addr(tx_buf, dma),
254 dma_unmap_len(tx_buf, le
[all...]
/linux-master/drivers/staging/media/av7110/
H A Dsp8870.c90 u8 tx_buf[255]; local
113 tx_buf[0] = 0xCF;
114 tx_buf[1] = 0x0A;
115 memcpy(&tx_buf[2], fw_buf + fw_pos, tx_len);
118 msg.buf = tx_buf;
/linux-master/drivers/mmc/host/
H A Dmmc_spi.c487 t->tx_buf = t->rx_buf = data->status;
530 t->tx_buf = &scratch->data_token;
539 t->tx_buf = host->ones;
548 t->tx_buf = &scratch->crc_val;
550 t->tx_buf = host->ones;
573 t->tx_buf = host->ones;
602 scratch->crc_val = cpu_to_be16(crc_itu_t(0, t->tx_buf, t->len));
657 t->tx_buf += t->len;
807 t->tx_buf = kmap_addr + sg->offset;
870 host->early_status.tx_buf
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c568 packet->payload = msg->tx_buf;
570 const u8 *tx = msg->tx_buf;
593 .tx_buf = (u8 [2]) { 0, 0 },
613 .tx_buf = (u8 [2]) { 0, 0 },
639 .tx_buf = tx,
665 .tx_buf = tx,
689 .tx_buf = pps,
714 .tx_buf = payload,
760 .tx_buf = params,
803 .tx_buf
[all...]

Completed in 270 milliseconds

1234567891011>>