Searched refs:cur_pos (Results 1 - 9 of 9) sorted by relevance
/linux-4.4.14/drivers/media/pci/b2c2/ |
H A D | flexcop-pci.c | 186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; flexcop_pci_isr() local 188 deb_irq("%u irq: %08x cur_addr: %llx: cur_pos: %08x, " flexcop_pci_isr() 191 v.raw, (unsigned long long)cur_addr, cur_pos, flexcop_pci_isr() 198 if (cur_pos < fc_pci->last_dma1_cur_pos) { flexcop_pci_isr() 210 if (cur_pos > fc_pci->last_dma1_cur_pos) { flexcop_pci_isr() 212 cur_pos - fc_pci->last_dma1_cur_pos); flexcop_pci_isr() 216 cur_pos - fc_pci->last_dma1_cur_pos); flexcop_pci_isr() 220 fc_pci->last_dma1_cur_pos = cur_pos; flexcop_pci_isr()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | kobil_sct.c | 111 int cur_pos; /* index of the next char to send in buf */ member in struct:kobil_private 126 priv->cur_pos = 0; kobil_port_probe() 327 todo = priv->filled - priv->cur_pos; kobil_write() 334 priv->buf + priv->cur_pos, length); kobil_write() 337 priv->cur_pos = priv->cur_pos + length; kobil_write() 341 todo = priv->filled - priv->cur_pos; kobil_write() 348 priv->cur_pos = 0; kobil_write()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-tegra20-sflash.c | 126 unsigned cur_pos; member in struct:tegra_sflash_data 172 unsigned remain_len = t->len - tsd->cur_pos; tegra_sflash_calculate_curr_xfer_param() 276 tsd->cur_pos = 0; tegra_sflash_start_transfer_one() 392 tsd->cur_pos = tsd->cur_tx_pos; handle_cpu_based_xfer() 394 tsd->cur_pos = tsd->cur_rx_pos; handle_cpu_based_xfer() 396 if (tsd->cur_pos == t->len) { handle_cpu_based_xfer()
|
H A D | spi-tegra114.c | 178 unsigned cur_pos; member in struct:tegra_spi_data 254 unsigned remain_len = t->len - tspi->cur_pos; tegra_spi_calculate_curr_xfer_param() 374 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); tegra_spi_copy_client_txbuf_to_spi_txbuf() 677 tspi->cur_pos = 0; tegra_spi_setup_transfer_one() 903 tspi->cur_pos = tspi->cur_tx_pos; handle_cpu_based_xfer() 905 tspi->cur_pos = tspi->cur_rx_pos; handle_cpu_based_xfer() 907 if (tspi->cur_pos == t->len) { handle_cpu_based_xfer() 976 tspi->cur_pos = tspi->cur_tx_pos; handle_dma_based_xfer() 978 tspi->cur_pos = tspi->cur_rx_pos; handle_dma_based_xfer() 980 if (tspi->cur_pos == t->len) { handle_dma_based_xfer()
|
H A D | spi-tegra20-slink.c | 176 unsigned cur_pos; member in struct:tegra_slink_data 269 unsigned remain_len = t->len - tspi->cur_pos; tegra_slink_calculate_curr_xfer_param() 384 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); tegra_slink_copy_client_txbuf_to_spi_txbuf() 707 tspi->cur_pos = 0; tegra_slink_start_transfer_one() 874 tspi->cur_pos = tspi->cur_tx_pos; handle_cpu_based_xfer() 876 tspi->cur_pos = tspi->cur_rx_pos; handle_cpu_based_xfer() 878 if (tspi->cur_pos == t->len) { handle_cpu_based_xfer() 948 tspi->cur_pos = tspi->cur_tx_pos; handle_dma_based_xfer() 950 tspi->cur_pos = tspi->cur_rx_pos; handle_dma_based_xfer() 952 if (tspi->cur_pos == t->len) { handle_dma_based_xfer()
|
/linux-4.4.14/fs/f2fs/ |
H A D | segment.h | 589 int cur_pos = 0, next_pos; check_block_count() local 596 cur_pos); check_block_count() 597 valid_blocks += next_pos - cur_pos; check_block_count() 601 cur_pos); check_block_count() 602 cur_pos = next_pos; check_block_count() 604 } while (cur_pos < sbi->blocks_per_seg); check_block_count()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | 78 * @cur_pos: Space already used in @cur. Protected by @cur_mutex. 113 size_t cur_pos; member in struct:vmw_cmdbuf_man 577 if (man->cur_pos == 0) { __vmw_cmdbuf_cur_flush() 582 man->cur->cb_header->length = man->cur_pos; __vmw_cmdbuf_cur_flush() 587 man->cur_pos = 0; __vmw_cmdbuf_cur_flush() 925 if (cur && (size + man->cur_pos > cur->size || vmw_cmdbuf_reserve_cur() 949 return (void *) (man->cur->cmd + man->cur_pos); vmw_cmdbuf_reserve_cur() 967 man->cur_pos += size; vmw_cmdbuf_commit_cur() 1028 man->cur_pos = size; vmw_cmdbuf_commit()
|
/linux-4.4.14/fs/reiserfs/ |
H A D | dir.c | 144 loff_t cur_pos = deh_offset(deh); reiserfs_readdir_inode() local 224 next_pos = cur_pos + 1; reiserfs_readdir_inode()
|
/linux-4.4.14/kernel/ |
H A D | relay.c | 1255 unsigned int cur_pos = read_start + total_len; subbuf_splice_actor() local 1266 this_end = cur_pos + this_len; subbuf_splice_actor() 1268 this_len = nonpad_end - cur_pos; subbuf_splice_actor()
|
Completed in 366 milliseconds