Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-log-userspace-transfer.c67 msg->seq = tfr->seq; in dm_ulog_sendto_server()
85 uint32_t rtn_seq = (msg) ? msg->seq : (tfr) ? tfr->seq : 0; 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()
147 fill_pkg(NULL, tfr); in cn_ulog_callback()
203 tfr->luid = luid; in dm_consult_userspace()
204 tfr->seq = dm_ulog_seq++; in dm_consult_userspace()
213 tfr->data_size = data_size; in dm_consult_userspace()
219 pkg.seq = tfr->seq; in dm_consult_userspace()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-bcm2835.c122 struct spi_transfer *tfr; member
488 bs->tfr = tfr; in bcm2835_spi_transfer_prologue()
572 struct spi_transfer *tfr = bs->tfr; in bcm2835_spi_undo_prologue() local
685 nents = tfr->tx_sg.nents; in bcm2835_spi_prepare_sg()
686 sgl = tfr->tx_sg.sgl; in bcm2835_spi_prepare_sg()
692 sgl = tfr->rx_sg.sgl; in bcm2835_spi_prepare_sg()
1059 spi_hz = tfr->speed_hz; in bcm2835_spi_transfer_one()
1081 bs->tx_buf = tfr->tx_buf; in bcm2835_spi_transfer_one()
1082 bs->rx_buf = tfr->rx_buf; in bcm2835_spi_transfer_one()
1083 bs->tx_len = tfr->len; in bcm2835_spi_transfer_one()
[all …]
H A Dspi-sun6i.c218 if (tfr->rx_buf) { in sun6i_spi_prepare_dma()
229 tfr->rx_sg.sgl, 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()
262 if (tfr->rx_buf) { in sun6i_spi_prepare_dma()
267 if (tfr->tx_buf) { in sun6i_spi_prepare_dma()
323 if (tfr->tx_buf) in sun6i_spi_transfer_one()
325 if (tfr->rx_buf) in sun6i_spi_transfer_one()
361 rx_len = tfr->len; in sun6i_spi_transfer_one()
437 tx_len = tfr->len; in sun6i_spi_transfer_one()
[all …]
H A Dspi-sun4i.c206 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()
289 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one()
304 tx_len = tfr->len; in sun4i_spi_transfer_one()
328 tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); in sun4i_spi_transfer_one()
[all …]
H A Dspi-cs42l43.c114 struct spi_transfer *tfr) in cs42l43_transfer_one() argument
120 if (CS42L43_SPI_ROOT_HZ / cs42l43_clock_divs[i] <= tfr->speed_hz) in cs42l43_transfer_one()
129 if (tfr->tx_buf) { in cs42l43_transfer_one()
131 regmap_write(priv->regmap, CS42L43_TRAN_CONFIG4, tfr->len - 1); in cs42l43_transfer_one()
132 } else if (tfr->rx_buf) { in cs42l43_transfer_one()
134 regmap_write(priv->regmap, CS42L43_TRAN_CONFIG5, tfr->len - 1); in cs42l43_transfer_one()
139 if (tfr->tx_buf) in cs42l43_transfer_one()
140 ret = cs42l43_spi_tx(priv->regmap, (const u8 *)tfr->tx_buf, tfr->len); in cs42l43_transfer_one()
141 else if (tfr->rx_buf) in cs42l43_transfer_one()
142 ret = cs42l43_spi_rx(priv->regmap, (u8 *)tfr->rx_buf, tfr->len); in cs42l43_transfer_one()
H A Dspi-bcm2835aux.c262 struct spi_transfer *tfr) in __bcm2835aux_spi_transfer_one_irq() argument
277 struct spi_transfer *tfr) in bcm2835aux_spi_transfer_one_irq() argument
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()
377 bs->tx_buf = tfr->tx_buf; in bcm2835aux_spi_transfer_one()
378 bs->rx_buf = tfr->rx_buf; in bcm2835aux_spi_transfer_one()
379 bs->tx_len = tfr->len; in bcm2835aux_spi_transfer_one()
380 bs->rx_len = tfr->len; in bcm2835aux_spi_transfer_one()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/
H A Duart.h20 unsigned int tfr; member
/openbmc/u-boot/arch/m68k/include/asm/coldfire/
H A Ddspi.h20 u32 tfr; /* 0x34 - PUSHR */ member
/openbmc/u-boot/include/
H A Dfsl_dspi.h22 u32 tfr; /* 0x34 - PUSHR */ member
/openbmc/u-boot/drivers/spi/
H A Dcf_spi.c90 dspi->tfr = (ctrl | data); in cfspi_tx()
H A Dfsl_dspi.c227 dspi_write32(priv->flags, &priv->regs->tfr, (ctrl | data)); in dspi_tx()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-mio-defs.h3939 uint64_t tfr:8; member
3941 uint64_t tfr:8;
4354 uint64_t tfr:8; member
4356 uint64_t tfr:8;
/openbmc/qemu/target/hexagon/imported/
H A Dalu.idef252 "tfr register",{ RdV=RsV;})