Home
last modified time | relevance | path

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

/drivers/usb/serial/
Dkobil_sct.c112 int cur_pos; /* index of the next char to send in buf */ member
127 priv->cur_pos = 0; in kobil_port_probe()
328 todo = priv->filled - priv->cur_pos; in kobil_write()
335 priv->buf + priv->cur_pos, length); in kobil_write()
338 priv->cur_pos = priv->cur_pos + length; in kobil_write()
341 todo = priv->filled - priv->cur_pos; in kobil_write()
348 priv->cur_pos = 0; in kobil_write()
/drivers/media/pci/b2c2/
Dflexcop-pci.c186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr() local
191 v.raw, (unsigned long long)cur_addr, cur_pos, in flexcop_pci_isr()
198 if (cur_pos < fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr()
210 if (cur_pos > fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr()
212 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr()
216 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr()
220 fc_pci->last_dma1_cur_pos = cur_pos; in flexcop_pci_isr()
/drivers/spi/
Dspi-tegra20-sflash.c127 unsigned cur_pos; member
173 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param()
278 tsd->cur_pos = 0; in tegra_sflash_start_transfer_one()
410 tsd->cur_pos = tsd->cur_tx_pos; in handle_cpu_based_xfer()
412 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer()
414 if (tsd->cur_pos == t->len) { in handle_cpu_based_xfer()
Dspi-tegra114.c185 unsigned cur_pos; member
264 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param()
386 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf()
697 tspi->cur_pos = 0; in tegra_spi_start_transfer_one()
890 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()
892 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
894 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer()
963 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()
965 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
967 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
Dspi-tegra20-slink.c178 unsigned cur_pos; member
279 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param()
398 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
729 tspi->cur_pos = 0; in tegra_slink_start_transfer_one()
912 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()
914 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
916 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer()
986 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()
988 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
990 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()