Searched refs:buf_ofs (Results 1 – 4 of 4) sorted by relevance
78 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()
130 int buf_ofs; member
450 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local558 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 …]
846 unsigned int buf_ofs = ds->pcm_buf_host_rw_ofs % ds->buffer_bytes; in snd_card_asihpi_timer_function() local848 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()