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
447 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local555 buf_ofs = jeb->offset; in jffs2_scan_eraseblock()562 err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len); in jffs2_scan_eraseblock()648 if (buf_ofs + buf_len < ofs + sizeof(*node)) { in jffs2_scan_eraseblock()656 buf_ofs = ofs; in jffs2_scan_eraseblock()659 node = (struct jffs2_unknown_node *)&buf[ofs-buf_ofs]; in jffs2_scan_eraseblock()661 if (*(uint32_t *)(&buf[ofs-buf_ofs]) == 0xffffffff) { in jffs2_scan_eraseblock()671 inbuf_ofs = ofs - buf_ofs; in jffs2_scan_eraseblock()690 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()717 buf_ofs = ofs; in jffs2_scan_eraseblock()[all …]
868 unsigned int buf_ofs = ds->pcm_buf_host_rw_ofs % ds->buffer_bytes; in snd_card_asihpi_timer_function() local870 char *pd = &s->runtime->dma_area[buf_ofs]; in snd_card_asihpi_timer_function()876 xfer1 = min(xfercount, ds->buffer_bytes - buf_ofs); in snd_card_asihpi_timer_function()882 s->number, xfer1, buf_ofs); in snd_card_asihpi_timer_function()893 xfercount - xfer1, buf_ofs); in snd_card_asihpi_timer_function()