Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/misc/iwmc3200top/
Dfw-download.c53 parser->cur_pos = 0; in iwmct_fw_parser_init()
71 parser->cur_pos += sizeof(struct iwmct_fw_hdr); in iwmct_fw_parser_init()
118 while (parser->cur_pos + sizeof(struct iwmct_fw_sec_hdr) in iwmct_parse_next_section()
122 (parser->file + parser->cur_pos); in iwmct_parse_next_section()
123 parser->cur_pos += sizeof(struct iwmct_fw_sec_hdr); in iwmct_parse_next_section()
133 strcpy(dbg->label_fw, parser->file + parser->cur_pos); in iwmct_parse_next_section()
142 *p_sec = parser->file + parser->cur_pos; in iwmct_parse_next_section()
143 parser->cur_pos += le32_to_cpu(sec_hdr->data_size); in iwmct_parse_next_section()
150 parser->cur_pos += le32_to_cpu(sec_hdr->data_size); in iwmct_parse_next_section()
152 "finished with section cur_pos=%zd\n", parser->cur_pos); in iwmct_parse_next_section()
Diwmc3200top.h148 size_t cur_pos; member
/linux-3.4.99/drivers/media/dvb/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()
/linux-3.4.99/drivers/spi/
Dspi-tegra.c156 unsigned cur_pos; member
205 unsigned len = min(t->len - tspi->cur_pos, BB_LEN * in spi_tegra_fill_tx_fifo()
207 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_pos; in spi_tegra_fill_tx_fifo()
233 u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_pos; in spi_tegra_drain_rx_fifo()
303 tspi->cur_pos = 0; in spi_tegra_start_transfer()
353 tspi->cur_pos += spi_tegra_drain_rx_fifo(tspi, tspi->cur); in tegra_spi_rx_dma_complete()
354 m->actual_length += tspi->cur_pos; in tegra_spi_rx_dma_complete()
356 if (tspi->cur_pos < tspi->cur->len) { in tegra_spi_rx_dma_complete()
/linux-3.4.99/drivers/usb/serial/
Dkobil_sct.c127 int cur_pos; /* index of the next char to send in buf */ member
147 priv->cur_pos = 0; in kobil_startup()
430 todo = priv->filled - priv->cur_pos; in kobil_write()
437 priv->buf + priv->cur_pos, length); in kobil_write()
449 priv->cur_pos = priv->cur_pos + length; in kobil_write()
453 todo = priv->filled - priv->cur_pos; in kobil_write()
460 priv->cur_pos = 0; in kobil_write()
/linux-3.4.99/fs/reiserfs/
Ddir.c131 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_dentry() local
206 next_pos = cur_pos + 1; in reiserfs_readdir_dentry()
/linux-3.4.99/kernel/
Drelay.c1264 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() local
1275 this_end = cur_pos + this_len; in subbuf_splice_actor()
1277 this_len = nonpad_end - cur_pos; in subbuf_splice_actor()