Home
last modified time | relevance | path

Searched refs:buf_ofs (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/media/pci/pt3/
Dpt3_dma.c78 ofs = adap->buf_ofs; in pt3_proc_dma()
86 p = &adap->buffer[adap->buf_idx].data[adap->buf_ofs]; in pt3_proc_dma()
89 else if (adap->buf_ofs + PT3_ACCESS_UNIT > DATA_BUF_SZ) { in pt3_proc_dma()
91 (DATA_BUF_SZ - adap->buf_ofs) / TS_PACKET_SZ); in pt3_proc_dma()
100 adap->buf_ofs = ofs; in pt3_proc_dma()
124 adap->buf_ofs = 0; in pt3_init_dmabuf()
Dpt3.h130 int buf_ofs; member
/linux-6.1.9/fs/jffs2/
Dscan.c450 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local
558 buf_ofs = jeb->offset; in jffs2_scan_eraseblock()
565 err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len); in jffs2_scan_eraseblock()
651 if (buf_ofs + buf_len < ofs + sizeof(*node)) { in jffs2_scan_eraseblock()
659 buf_ofs = ofs; in jffs2_scan_eraseblock()
662 node = (struct jffs2_unknown_node *)&buf[ofs-buf_ofs]; in jffs2_scan_eraseblock()
664 if (*(uint32_t *)(&buf[ofs-buf_ofs]) == 0xffffffff) { in jffs2_scan_eraseblock()
674 inbuf_ofs = ofs - buf_ofs; in jffs2_scan_eraseblock()
693 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
720 buf_ofs = ofs; in jffs2_scan_eraseblock()
[all …]
/linux-6.1.9/sound/pci/asihpi/
Dasihpi.c846 unsigned int buf_ofs = ds->pcm_buf_host_rw_ofs % ds->buffer_bytes; in snd_card_asihpi_timer_function() local
848 char *pd = &s->runtime->dma_area[buf_ofs]; in snd_card_asihpi_timer_function()
854 xfer1 = min(xfercount, ds->buffer_bytes - buf_ofs); in snd_card_asihpi_timer_function()
860 s->number, xfer1, buf_ofs); in snd_card_asihpi_timer_function()
871 xfercount - xfer1, buf_ofs); in snd_card_asihpi_timer_function()