Home
last modified time | relevance | path

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

/drivers/base/regmap/
Dregmap-spi-avmm.c161 unsigned int trans_len; member
182 unsigned int trans_len; in br_trans_tx_prepare() local
205 trans_len = TRANS_REQ_HD_SIZE; in br_trans_tx_prepare()
208 trans_len += SPI_AVMM_VAL_SIZE * count; in br_trans_tx_prepare()
209 if (trans_len > sizeof(br->trans_buf)) in br_trans_tx_prepare()
219 br->trans_len = trans_len; in br_trans_tx_prepare()
254 tb_end = tb + br->trans_len; in br_pkt_phy_tx_prepare()
458 br->trans_len = tb - br->trans_buf; in br_do_rx_and_pkt_phy_parse()
503 unsigned int i, trans_len = br->trans_len; in br_rd_trans_rx_parse() local
506 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
210 u32 trans_len; in sprd_stop_tx_dma() local
216 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma()
217 uart_xmit_advance(port, trans_len); in sprd_stop_tx_dma()
219 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma()
223 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma()
232 sp->tx_dma.trans_len = in sprd_tx_buf_remap()
237 sp->tx_dma.trans_len, in sprd_tx_buf_remap()
252 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_complete_tx_dma()
254 uart_xmit_advance(port, sp->tx_dma.trans_len); in sprd_complete_tx_dma()
[all …]
/drivers/spi/
Dspi-sprd.c158 u32 trans_len; member
404 u32 trans_len = ss->trans_len, len; in sprd_spi_txrx_bufs() local
407 while (trans_len) { in sprd_spi_txrx_bufs()
408 len = trans_len > SPRD_SPI_FIFO_SIZE ? SPRD_SPI_FIFO_SIZE : in sprd_spi_txrx_bufs()
409 trans_len; in sprd_spi_txrx_bufs()
443 trans_len -= len; in sprd_spi_txrx_bufs()
582 u32 trans_len = ss->trans_len; in sprd_spi_dma_txrx_bufs() local
589 sprd_spi_set_tx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
598 sprd_spi_set_rx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
607 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.c707 int ret = 0, credit_pad, credit_remainder, trans_len, bundles_left = 0; in ath10k_htc_send_bundle_skbs() local
731 trans_len = skb->len + sizeof(*hdr); in ath10k_htc_send_bundle_skbs()
732 credit_remainder = trans_len % ep->tx_credit_size; in ath10k_htc_send_bundle_skbs()
736 trans_len += credit_pad; in ath10k_htc_send_bundle_skbs()
740 bundle_buf + trans_len - bundle_skb->data, in ath10k_htc_send_bundle_skbs()
747 if (bundles_left < trans_len) { in ath10k_htc_send_bundle_skbs()
786 bundle_buf += trans_len; in ath10k_htc_send_bundle_skbs()
787 bundles_left -= trans_len; in ath10k_htc_send_bundle_skbs()