Searched defs:cur_pos (Results 1 - 5 of 5) sorted by relevance

/drivers/media/pci/b2c2/
H A Dflexcop-pci.c186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; local
188 deb_irq("%u irq: %08x cur_addr: %llx: cur_pos: %08x, "
191 v.raw, (unsigned long long)cur_addr, cur_pos,
198 if (cur_pos < fc_pci->last_dma1_cur_pos) {
210 if (cur_pos > fc_pci->last_dma1_cur_pos) {
212 cur_pos - fc_pci->last_dma1_cur_pos);
216 cur_pos - fc_pci->last_dma1_cur_pos);
220 fc_pci->last_dma1_cur_pos = cur_pos;
/drivers/usb/serial/
H A Dkobil_sct.c111 int cur_pos; /* index of the next char to send in buf */ member in struct:kobil_private
126 priv->cur_pos = 0;
327 todo = priv->filled - priv->cur_pos;
334 priv->buf + priv->cur_pos, length);
337 priv->cur_pos = priv->cur_pos + length;
341 todo = priv->filled - priv->cur_pos;
348 priv->cur_pos = 0;
/drivers/spi/
H A Dspi-tegra20-sflash.c126 unsigned cur_pos; member in struct:tegra_sflash_data
172 unsigned remain_len = t->len - tsd->cur_pos;
276 tsd->cur_pos = 0;
392 tsd->cur_pos = tsd->cur_tx_pos;
394 tsd->cur_pos = tsd->cur_rx_pos;
396 if (tsd->cur_pos == t->len) {
H A Dspi-tegra114.c178 unsigned cur_pos; member in struct:tegra_spi_data
254 unsigned remain_len = t->len - tspi->cur_pos;
374 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len);
677 tspi->cur_pos = 0;
903 tspi->cur_pos = tspi->cur_tx_pos;
905 tspi->cur_pos = tspi->cur_rx_pos;
907 if (tspi->cur_pos == t->len) {
976 tspi->cur_pos = tspi->cur_tx_pos;
978 tspi->cur_pos = tspi->cur_rx_pos;
980 if (tspi->cur_pos
[all...]
H A Dspi-tegra20-slink.c176 unsigned cur_pos; member in struct:tegra_slink_data
269 unsigned remain_len = t->len - tspi->cur_pos;
384 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len);
707 tspi->cur_pos = 0;
874 tspi->cur_pos = tspi->cur_tx_pos;
876 tspi->cur_pos = tspi->cur_rx_pos;
878 if (tspi->cur_pos == t->len) {
948 tspi->cur_pos = tspi->cur_tx_pos;
950 tspi->cur_pos = tspi->cur_rx_pos;
952 if (tspi->cur_pos
[all...]

Completed in 130 milliseconds