Searched refs:tfr (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/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-v4.19/drivers/spi/ |
D | spi-bcm2835.c | 171 struct spi_transfer *tfr, in bcm2835_spi_transfer_one_irq() argument 246 struct spi_transfer *tfr, in bcm2835_spi_prepare_sg() argument 261 nents = tfr->tx_sg.nents; in bcm2835_spi_prepare_sg() 262 sgl = tfr->tx_sg.sgl; in bcm2835_spi_prepare_sg() 268 nents = tfr->rx_sg.nents; in bcm2835_spi_prepare_sg() 269 sgl = tfr->rx_sg.sgl; in bcm2835_spi_prepare_sg() 305 struct spi_transfer *tfr, in bcm2835_spi_transfer_one_dma() argument 312 if (bcm2835_check_sg_length(&tfr->tx_sg) || in bcm2835_spi_transfer_one_dma() 313 bcm2835_check_sg_length(&tfr->rx_sg)) { in bcm2835_spi_transfer_one_dma() 316 return bcm2835_spi_transfer_one_irq(master, spi, tfr, cs); in bcm2835_spi_transfer_one_dma() [all …]
|
D | spi-sun4i.c | 210 struct spi_transfer *tfr) in sun4i_spi_transfer_one() argument 220 if (tfr->len > SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 223 if (tfr->tx_buf && tfr->len >= SUN4I_MAX_XFER_SIZE) in sun4i_spi_transfer_one() 227 sspi->tx_buf = tfr->tx_buf; in sun4i_spi_transfer_one() 228 sspi->rx_buf = tfr->rx_buf; in sun4i_spi_transfer_one() 229 sspi->len = tfr->len; in sun4i_spi_transfer_one() 274 if (mclk_rate < (2 * tfr->speed_hz)) { in sun4i_spi_transfer_one() 275 clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); in sun4i_spi_transfer_one() 293 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one() 300 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun4i_spi_transfer_one() [all …]
|
D | spi-bcm2835aux.c | 235 struct spi_transfer *tfr) in __bcm2835aux_spi_transfer_one_irq() argument 250 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_irq() argument 267 return __bcm2835aux_spi_transfer_one_irq(master, spi, tfr); in bcm2835aux_spi_transfer_one_irq() 272 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_poll() argument 314 spi, tfr); in bcm2835aux_spi_transfer_one_poll() 324 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one() argument 339 spi_hz = tfr->speed_hz; in bcm2835aux_spi_transfer_one() 359 bs->tx_buf = tfr->tx_buf; in bcm2835aux_spi_transfer_one() 360 bs->rx_buf = tfr->rx_buf; in bcm2835aux_spi_transfer_one() 361 bs->tx_len = tfr->len; in bcm2835aux_spi_transfer_one() [all …]
|
D | spi-sun6i.c | 202 struct spi_transfer *tfr) in sun6i_spi_transfer_one() argument 212 if (tfr->len > SUN6I_MAX_XFER_SIZE) in sun6i_spi_transfer_one() 216 sspi->tx_buf = tfr->tx_buf; in sun6i_spi_transfer_one() 217 sspi->rx_buf = tfr->rx_buf; in sun6i_spi_transfer_one() 218 sspi->len = tfr->len; in sun6i_spi_transfer_one() 275 if (mclk_rate < (2 * tfr->speed_hz)) { in sun6i_spi_transfer_one() 276 clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); in sun6i_spi_transfer_one() 294 div = mclk_rate / (2 * tfr->speed_hz); in sun6i_spi_transfer_one() 301 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun6i_spi_transfer_one() 309 tx_len = tfr->len; in sun6i_spi_transfer_one() [all …]
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 5032 uint64_t tfr:8; member 5034 uint64_t tfr:8; 5545 uint64_t tfr:8; member 5547 uint64_t tfr:8;
|