Home
last modified time | relevance | path

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

/drivers/base/regmap/
Dregmap-spi-avmm.c160 unsigned int trans_len; member
188 unsigned int trans_len; in br_trans_tx_prepare() local
211 trans_len = TRANS_REQ_HD_SIZE; in br_trans_tx_prepare()
214 trans_len += SPI_AVMM_VAL_SIZE * count; in br_trans_tx_prepare()
215 if (trans_len > sizeof(br->trans_buf)) in br_trans_tx_prepare()
225 br->trans_len = trans_len; in br_trans_tx_prepare()
260 tb_end = tb + br->trans_len; in br_pkt_phy_tx_prepare()
464 br->trans_len = tb - br->trans_buf; in br_do_rx_and_pkt_phy_parse()
509 unsigned int i, trans_len = br->trans_len; in br_rd_trans_rx_parse() local
512 if (expected_count * SPI_AVMM_VAL_SIZE != trans_len) in br_rd_trans_rx_parse()
[all …]
/drivers/tty/serial/
Dsprd_serial.c117 u32 trans_len; member
211 u32 trans_len; in sprd_stop_tx_dma() local
217 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma()
218 xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1); in sprd_stop_tx_dma()
219 port->icount.tx += trans_len; in sprd_stop_tx_dma()
221 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma()
225 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma()
234 sp->tx_dma.trans_len = in sprd_tx_buf_remap()
239 sp->tx_dma.trans_len, in sprd_tx_buf_remap()
254 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_complete_tx_dma()
[all …]
/drivers/spi/
Dspi-sprd.c159 u32 trans_len; member
405 u32 trans_len = ss->trans_len, len; in sprd_spi_txrx_bufs() local
408 while (trans_len) { in sprd_spi_txrx_bufs()
409 len = trans_len > SPRD_SPI_FIFO_SIZE ? SPRD_SPI_FIFO_SIZE : in sprd_spi_txrx_bufs()
410 trans_len; in sprd_spi_txrx_bufs()
444 trans_len -= len; in sprd_spi_txrx_bufs()
583 u32 trans_len = ss->trans_len; in sprd_spi_dma_txrx_bufs() local
590 sprd_spi_set_tx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
599 sprd_spi_set_rx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
608 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs()
[all …]
/drivers/usb/host/
Dfhci-sched.c45 u32 trans_len; in fhci_transaction_confirm() local
50 trans_len = pkt->len; in fhci_transaction_confirm()
53 if ((td->data + td->actual_len) && trans_len) in fhci_transaction_confirm()
55 trans_len); in fhci_transaction_confirm()
70 td->actual_len = trans_len; in fhci_transaction_confirm()
89 td->actual_len += trans_len; in fhci_transaction_confirm()
111 td->actual_len += trans_len; in fhci_transaction_confirm()
/drivers/net/wireless/ath/ath10k/
Dhtc.c694 int ret = 0, credit_pad, credit_remainder, trans_len, bundles_left = 0; in ath10k_htc_send_bundle_skbs() local
718 trans_len = skb->len + sizeof(*hdr); in ath10k_htc_send_bundle_skbs()
719 credit_remainder = trans_len % ep->tx_credit_size; in ath10k_htc_send_bundle_skbs()
723 trans_len += credit_pad; in ath10k_htc_send_bundle_skbs()
727 bundle_buf + trans_len - bundle_skb->data, in ath10k_htc_send_bundle_skbs()
734 if (bundles_left < trans_len) { in ath10k_htc_send_bundle_skbs()
773 bundle_buf += trans_len; in ath10k_htc_send_bundle_skbs()
774 bundles_left -= trans_len; in ath10k_htc_send_bundle_skbs()