Home
last modified time | relevance | path

Searched refs:tx_ptr (Results 1 – 13 of 13) sorted by relevance

/drivers/spi/
Dspi-xilinx.c88 const u8 *tx_ptr; /* pointer in the Rx buffer */ member
120 if (!xspi->tx_ptr) { in xilinx_spi_tx()
127 data = *(u8 *)(xspi->tx_ptr); in xilinx_spi_tx()
130 data = *(u16 *)(xspi->tx_ptr); in xilinx_spi_tx()
133 data = *(u32 *)(xspi->tx_ptr); in xilinx_spi_tx()
138 xspi->tx_ptr += xspi->bytes_per_word; in xilinx_spi_tx()
247 xspi->tx_ptr = t->tx_buf; in xilinx_spi_txrx_bufs()
Dspi-st-ssc4.c61 const u8 *tx_ptr; member
81 if (spi_st->tx_ptr) { in ssc_write_tx_fifo()
83 word = *spi_st->tx_ptr++; in ssc_write_tx_fifo()
85 word = *spi_st->tx_ptr++; in ssc_write_tx_fifo()
86 word = *spi_st->tx_ptr++ | (word << 8); in ssc_write_tx_fifo()
126 spi_st->tx_ptr = t->tx_buf; in spi_st_transfer_one()
Dspi-sifive.c238 static void sifive_spi_tx(struct sifive_spi *spi, const u8 *tx_ptr) in sifive_spi_tx() argument
243 *tx_ptr & SIFIVE_SPI_TXDATA_DATA_MASK); in sifive_spi_tx()
260 const u8 *tx_ptr = t->tx_buf; in sifive_spi_transfer_one() local
270 sifive_spi_tx(spi, tx_ptr++); in sifive_spi_transfer_one()
/drivers/net/usb/
Dcatc.c155 unsigned int tx_ptr, tx_idx; member
355 catc->tx_ptr = (catc->tx_ptr + 63) & ~63; in catc_tx_run()
357 catc->tx_urb->transfer_buffer_length = catc->tx_ptr; in catc_tx_run()
366 catc->tx_ptr = 0; in catc_tx_run()
396 if (catc->tx_ptr) { in catc_tx_done()
419 catc->tx_ptr = (((catc->tx_ptr - 1) >> 6) + 1) << 6; in catc_start_xmit()
420 tx_buf = catc->tx_buf[catc->tx_idx] + catc->tx_ptr; in catc_start_xmit()
426 catc->tx_ptr += skb->len + 2; in catc_start_xmit()
434 if ((catc->is_f5u011 && catc->tx_ptr) || in catc_start_xmit()
435 (catc->tx_ptr >= ((TX_MAX_BURST - 1) * (PKT_SZ + 2)))) in catc_start_xmit()
/drivers/net/hamradio/
Ddmascc.c199 int tx_ptr; member
747 priv->tx_ptr = 0; in scc_open()
1285 int i = priv->tx_tail, p = priv->tx_ptr; in tx_isr()
1300 if (!priv->tx_ptr && p && priv->chip == Z8530) in tx_isr()
1303 priv->tx_ptr = p; in tx_isr()
1329 res = priv->tx_len[i] - priv->tx_ptr; in es_isr()
1330 priv->tx_ptr = 0; in es_isr()
/drivers/net/ethernet/amd/
D7990.h81 volatile unsigned short tx_ptr; /* transmit descriptor addr */ member
Da2065.c92 unsigned short tx_ptr; /* transmit descriptor addr */ member
210 ib->tx_ptr = leptr; in lance_init_ring()
Dsunlance.c218 u16 tx_ptr; /* transmit descriptor addr */ member
370 ib->tx_ptr = leptr; in lance_init_ring_dvma()
431 sbus_writew(leptr, &ib->tx_ptr); in lance_init_ring_pio()
Ddeclance.c216 unsigned short tx_ptr; /* transmit descriptor addr */ member
486 *lib_ptr(ib, tx_ptr, lp->type) = leptr; in lance_init_ring()
D7990.c218 ib->tx_ptr = leptr; in lance_init_ring()
/drivers/net/wan/
Dz85230.c381 write_zsreg(c, R8, *c->tx_ptr++); in z8530_tx()
1322 c->tx_ptr = c->tx_next_ptr; in z8530_tx_begin()
1360 set_dma_addr(c->txdma, virt_to_bus(c->tx_ptr)); in z8530_tx_begin()
1372 write_zsreg(c, R8, *c->tx_ptr++); in z8530_tx_begin()
Dz85230.h285 u8 *tx_ptr; /* Byte pointer into the buffer */ member
/drivers/usb/host/
Dfhci.h199 __be32 tx_ptr; /* Tx internal data pointer */ member