Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-cavium.c35 union cvmx_mpi_tx mpi_tx; in octeon_spi_do_transfer() local
80 mpi_tx.u64 = 0; in octeon_spi_do_transfer()
81 mpi_tx.s.csid = spi_get_chipselect(spi, 0); in octeon_spi_do_transfer()
82 mpi_tx.s.leavecs = 1; in octeon_spi_do_transfer()
83 mpi_tx.s.txnum = tx_buf ? OCTEON_SPI_MAX_BYTES : 0; in octeon_spi_do_transfer()
84 mpi_tx.s.totnum = OCTEON_SPI_MAX_BYTES; in octeon_spi_do_transfer()
85 writeq(mpi_tx.u64, p->register_base + OCTEON_SPI_TX(p)); in octeon_spi_do_transfer()
105 mpi_tx.u64 = 0; in octeon_spi_do_transfer()
106 mpi_tx.s.csid = spi_get_chipselect(spi, 0); in octeon_spi_do_transfer()
108 mpi_tx.s.leavecs = xfer->cs_change; in octeon_spi_do_transfer()
[all …]