Searched refs:tfr (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-log-userspace-transfer.c | 57 static int dm_ulog_sendto_server(struct dm_ulog_request *tfr) in dm_ulog_sendto_server() argument 67 msg->seq = tfr->seq; in dm_ulog_sendto_server() 68 msg->len = sizeof(struct dm_ulog_request) + tfr->data_size; in dm_ulog_sendto_server() 83 static int fill_pkg(struct cn_msg *msg, struct dm_ulog_request *tfr) in fill_pkg() argument 85 uint32_t rtn_seq = (msg) ? msg->seq : (tfr) ? tfr->seq : 0; in fill_pkg() 111 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 113 tfr->request_type, 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() 120 *(pkg->data_size) = tfr->data_size; in fill_pkg() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-bcm2835.c | 126 struct spi_transfer *tfr; member 412 struct spi_transfer *tfr, in bcm2835_spi_transfer_one_irq() argument 486 struct spi_transfer *tfr, in bcm2835_spi_transfer_prologue() argument 492 bs->tfr = tfr; in bcm2835_spi_transfer_prologue() 497 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue() 498 bs->tx_prologue = sg_dma_len(&tfr->tx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 500 if (bs->rx_buf && !sg_is_last(&tfr->rx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 501 bs->rx_prologue = sg_dma_len(&tfr->rx_sg.sgl[0]) & 3; in bcm2835_spi_transfer_prologue() 504 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 509 !(sg_dma_len(&tfr->tx_sg.sgl[0]) & ~3); in bcm2835_spi_transfer_prologue() [all …]
|
D | spi-sun6i.c | 212 struct spi_transfer *tfr) in sun6i_spi_prepare_dma() argument 218 if (tfr->rx_buf) { in sun6i_spi_prepare_dma() 229 tfr->rx_sg.sgl, in sun6i_spi_prepare_dma() 230 tfr->rx_sg.nents, in sun6i_spi_prepare_dma() 240 if (tfr->tx_buf) { in sun6i_spi_prepare_dma() 251 tfr->tx_sg.sgl, in sun6i_spi_prepare_dma() 252 tfr->tx_sg.nents, in sun6i_spi_prepare_dma() 262 if (tfr->rx_buf) { in sun6i_spi_prepare_dma() 267 if (tfr->tx_buf) { in sun6i_spi_prepare_dma() 277 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 217 if (tfr->len > SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 220 if (tfr->tx_buf && tfr->len >= SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 224 sspi->tx_buf = tfr->tx_buf; in sun4i_spi_transfer_one() 225 sspi->rx_buf = tfr->rx_buf; in sun4i_spi_transfer_one() 226 sspi->len = tfr->len; in sun4i_spi_transfer_one() 271 if (mclk_rate < (2 * tfr->speed_hz)) { in sun4i_spi_transfer_one() 272 clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); in sun4i_spi_transfer_one() 290 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one() 297 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun4i_spi_transfer_one() [all …]
|
D | spi-bcm2835aux.c | 262 struct spi_transfer *tfr) in __bcm2835aux_spi_transfer_one_irq() argument 277 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_irq() argument 297 return __bcm2835aux_spi_transfer_one_irq(host, spi, tfr); in bcm2835aux_spi_transfer_one_irq() 302 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_poll() argument 332 spi, tfr); in bcm2835aux_spi_transfer_one_poll() 342 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one() argument 357 spi_hz = tfr->speed_hz; in bcm2835aux_spi_transfer_one() 374 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one() 377 bs->tx_buf = tfr->tx_buf; in bcm2835aux_spi_transfer_one() 378 bs->rx_buf = tfr->rx_buf; in bcm2835aux_spi_transfer_one() [all …]
|
D | spi-cs42l43.c | 142 struct spi_transfer *tfr) in cs42l43_transfer_one() argument 148 if (CS42L43_SPI_ROOT_HZ / cs42l43_clock_divs[i] <= tfr->speed_hz) in cs42l43_transfer_one() 157 if (tfr->tx_buf) { in cs42l43_transfer_one() 159 regmap_write(priv->regmap, CS42L43_TRAN_CONFIG4, tfr->len - 1); in cs42l43_transfer_one() 160 } else if (tfr->rx_buf) { in cs42l43_transfer_one() 162 regmap_write(priv->regmap, CS42L43_TRAN_CONFIG5, tfr->len - 1); in cs42l43_transfer_one() 167 if (tfr->tx_buf) in cs42l43_transfer_one() 168 ret = cs42l43_spi_tx(priv->regmap, (const u8 *)tfr->tx_buf, tfr->len); in cs42l43_transfer_one() 169 else if (tfr->rx_buf) in cs42l43_transfer_one() 170 ret = cs42l43_spi_rx(priv->regmap, (u8 *)tfr->rx_buf, tfr->len); in cs42l43_transfer_one()
|
/linux-6.12.1/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;
|