Searched refs:cur_pos (Results 1 – 9 of 9) sorted by relevance
186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr() local191 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()
111 int cur_pos; /* index of the next char to send in buf */ member126 priv->cur_pos = 0; in kobil_port_probe()327 todo = priv->filled - priv->cur_pos; in kobil_write()334 priv->buf + priv->cur_pos, length); in kobil_write()337 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()
113 size_t cur_pos; member577 if (man->cur_pos == 0) { in __vmw_cmdbuf_cur_flush()582 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush()587 man->cur_pos = 0; in __vmw_cmdbuf_cur_flush()925 if (cur && (size + man->cur_pos > cur->size || in vmw_cmdbuf_reserve_cur()949 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur()967 man->cur_pos += size; in vmw_cmdbuf_commit_cur()1028 man->cur_pos = size; in vmw_cmdbuf_commit()
589 int cur_pos = 0, next_pos; in check_block_count() local596 cur_pos); in check_block_count()597 valid_blocks += next_pos - cur_pos; in check_block_count()601 cur_pos); in check_block_count()602 cur_pos = next_pos; in check_block_count()604 } while (cur_pos < sbi->blocks_per_seg); in check_block_count()
126 unsigned cur_pos; member172 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param()276 tsd->cur_pos = 0; in tegra_sflash_start_transfer_one()392 tsd->cur_pos = tsd->cur_tx_pos; in handle_cpu_based_xfer()394 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer()396 if (tsd->cur_pos == t->len) { in handle_cpu_based_xfer()
178 unsigned cur_pos; member254 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param()374 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf()677 tspi->cur_pos = 0; in tegra_spi_setup_transfer_one()903 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()905 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()907 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer()976 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()978 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()980 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
176 unsigned cur_pos; member269 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param()384 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf()707 tspi->cur_pos = 0; in tegra_slink_start_transfer_one()874 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()876 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()878 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer()948 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()950 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()952 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
144 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_inode() local224 next_pos = cur_pos + 1; in reiserfs_readdir_inode()
1255 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() local1266 this_end = cur_pos + this_len; in subbuf_splice_actor()1268 this_len = nonpad_end - cur_pos; in subbuf_splice_actor()