Home
last modified time | relevance | path

Searched refs:read_offset (Results 1 – 10 of 10) sorted by relevance

/drivers/spi/
Dspi-bcm53xx.c21 size_t read_offset; member
121 b53spi->read_offset = len; in bcm53xxspi_buf_write()
130 for (i = 0; i < b53spi->read_offset + len; i++) { in bcm53xxspi_buf_read()
133 if (!cont && i == b53spi->read_offset + len - 1) in bcm53xxspi_buf_read()
143 b53spi->read_offset + len - 1); in bcm53xxspi_buf_read()
162 int offset = b53spi->read_offset + i; in bcm53xxspi_buf_read()
168 b53spi->read_offset = 0; in bcm53xxspi_buf_read()
196 size_t to_read = min_t(size_t, 16 - b53spi->read_offset, in bcm53xxspi_transfer_one()
/drivers/input/mouse/
Dcyapa_gen6.c561 u16 read_offset, u16 read_len, u8 data_id, in cyapa_pip_retrieve_data_structure() argument
566 __le16 read_offset; in cyapa_pip_retrieve_data_structure() member
579 put_unaligned_le16(read_offset, &cmd.read_offset); in cyapa_pip_retrieve_data_structure()
Dcyapa_gen5.c332 __le16 read_offset; member
2196 put_unaligned_le16(offset, &panel_sacn_data->read_offset); in cyapa_gen5_read_panel_scan_raw_data()
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c612 dev->dmasound.read_offset += snd_pcm_lib_period_bytes(substream); in snd_card_saa7134_capture_pointer()
613 if (dev->dmasound.read_offset == dev->dmasound.bufsize) in snd_card_saa7134_capture_pointer()
614 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_pointer()
617 return bytes_to_frames(runtime, dev->dmasound.read_offset); in snd_card_saa7134_capture_pointer()
824 dev->dmasound.read_offset = 0; in snd_card_saa7134_capture_open()
Dsaa7134.h512 unsigned int read_offset; member
/drivers/input/touchscreen/
Dcyttsp4_core.c199 int read_offset; in cyttsp4_si_get_cydata() local
215 read_offset = si->si_ofs.cydata_ofs; in cyttsp4_si_get_cydata()
218 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata()
237 read_offset += offsetof(struct cyttsp4_cydata, mfgid_sz) in cyttsp4_si_get_cydata()
241 rc = cyttsp4_adap_read(cd, read_offset, si->si_ptrs.cydata->mfgid_sz, in cyttsp4_si_get_cydata()
249 read_offset += si->si_ptrs.cydata->mfgid_sz; in cyttsp4_si_get_cydata()
252 rc = cyttsp4_adap_read(cd, read_offset, in cyttsp4_si_get_cydata()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c781 rx_page_desc[i].rx_page[j].read_offset = 0; in atl1e_init_ring_ptrs()
1424 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq()
1431 rx_page->read_offset); in atl1e_clean_rx_irq()
1488 rx_page->read_offset += in atl1e_clean_rx_irq()
1494 if (rx_page->read_offset >= rx_ring->page_size) { in atl1e_clean_rx_irq()
1499 rx_page->read_offset = in atl1e_clean_rx_irq()
1509 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()
Datl1e.h399 u32 read_offset; /* the offset where we have read */ member
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1441 u32 read_offset; member
Dbe_cmds.c2466 req->read_offset = cpu_to_le32(data_offset); in lancer_cmd_read_object()