Searched refs:tfr (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | dm-log-userspace-transfer.c | 56 static int dm_ulog_sendto_server(struct dm_ulog_request *tfr) in dm_ulog_sendto_server() argument 66 msg->seq = tfr->seq; in dm_ulog_sendto_server() 67 msg->len = sizeof(struct dm_ulog_request) + tfr->data_size; in dm_ulog_sendto_server() 82 static int fill_pkg(struct cn_msg *msg, struct dm_ulog_request *tfr) in fill_pkg() argument 84 uint32_t rtn_seq = (msg) ? msg->seq : (tfr) ? tfr->seq : 0; in fill_pkg() 110 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 112 "(%u vs %zu)", tfr->request_type, in fill_pkg() 113 tfr->data_size, *(pkg->data_size)); in fill_pkg() 118 pkg->error = tfr->error; in fill_pkg() 119 memcpy(pkg->data, tfr->data, tfr->data_size); in fill_pkg() [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-bcm2835.c | 122 struct spi_transfer *tfr; member 408 struct spi_transfer *tfr, in bcm2835_spi_transfer_one_irq() argument 482 struct spi_transfer *tfr, in bcm2835_spi_transfer_prologue() argument 488 bs->tfr = tfr; in bcm2835_spi_transfer_prologue() 493 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue() 494 bs->tx_prologue = sg_dma_len(&tfr->tx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 496 if (bs->rx_buf && !sg_is_last(&tfr->rx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 497 bs->rx_prologue = sg_dma_len(&tfr->rx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 500 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 505 !(sg_dma_len(&tfr->tx_sg.sgl[0]) & ~3); in bcm2835_spi_transfer_prologue() [all …]
|
D | spi-sun6i.c | 193 struct spi_transfer *tfr) in sun6i_spi_prepare_dma() argument 199 if (tfr->rx_buf) { in sun6i_spi_prepare_dma() 210 tfr->rx_sg.sgl, in sun6i_spi_prepare_dma() 211 tfr->rx_sg.nents, in sun6i_spi_prepare_dma() 219 if (tfr->tx_buf) { in sun6i_spi_prepare_dma() 230 tfr->tx_sg.sgl, in sun6i_spi_prepare_dma() 231 tfr->tx_sg.nents, in sun6i_spi_prepare_dma() 241 if (tfr->rx_buf) { in sun6i_spi_prepare_dma() 246 if (tfr->tx_buf) { in sun6i_spi_prepare_dma() 256 struct spi_transfer *tfr) in sun6i_spi_transfer_one() argument [all …]
|
D | spi-sun4i.c | 206 struct spi_transfer *tfr) in sun4i_spi_transfer_one() argument 216 if (tfr->len > SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 219 if (tfr->tx_buf && tfr->len >= SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 223 sspi->tx_buf = tfr->tx_buf; in sun4i_spi_transfer_one() 224 sspi->rx_buf = tfr->rx_buf; in sun4i_spi_transfer_one() 225 sspi->len = tfr->len; in sun4i_spi_transfer_one() 270 if (mclk_rate < (2 * tfr->speed_hz)) { in sun4i_spi_transfer_one() 271 clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); in sun4i_spi_transfer_one() 289 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one() 296 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun4i_spi_transfer_one() [all …]
|
D | spi-bcm2835aux.c | 264 struct spi_transfer *tfr) in __bcm2835aux_spi_transfer_one_irq() argument 279 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_irq() argument 299 return __bcm2835aux_spi_transfer_one_irq(master, spi, tfr); in bcm2835aux_spi_transfer_one_irq() 304 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_poll() argument 334 spi, tfr); in bcm2835aux_spi_transfer_one_poll() 344 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one() argument 359 spi_hz = tfr->speed_hz; in bcm2835aux_spi_transfer_one() 376 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one() 379 bs->tx_buf = tfr->tx_buf; in bcm2835aux_spi_transfer_one() 380 bs->rx_buf = tfr->rx_buf; in bcm2835aux_spi_transfer_one() [all …]
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 3939 uint64_t tfr:8; member 3941 uint64_t tfr:8; 4354 uint64_t tfr:8; member 4356 uint64_t tfr:8;
|