Home
last modified time | relevance | path

Searched refs:buf_pos (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/media/usb/tm6000/
A Dtm6000-alsa.c171 unsigned int stride, buf_pos; in tm6000_fillbuf() local
188 buf_pos = chip->buf_pos; in tm6000_fillbuf()
203 runtime->dma_area, buf_pos, in tm6000_fillbuf()
206 if (buf_pos + length >= runtime->buffer_size) { in tm6000_fillbuf()
207 unsigned int cnt = runtime->buffer_size - buf_pos; in tm6000_fillbuf()
212 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf()
217 chip->buf_pos += length; in tm6000_fillbuf()
218 if (chip->buf_pos >= runtime->buffer_size) in tm6000_fillbuf()
219 chip->buf_pos -= runtime->buffer_size; in tm6000_fillbuf()
242 chip->buf_pos = 0; in snd_tm6000_prepare()
[all …]
A Dtm6000.h148 unsigned buf_pos; member
/linux/drivers/base/regmap/
A Dregmap-debugfs.c219 size_t buf_pos = 0; in regmap_read_debugfs() local
251 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs()
258 snprintf(buf + buf_pos, count - buf_pos, in regmap_read_debugfs()
261 memset(buf + buf_pos, 'X', in regmap_read_debugfs()
265 buf[buf_pos++] = '\n'; in regmap_read_debugfs()
270 ret = buf_pos; in regmap_read_debugfs()
277 *ppos += buf_pos; in regmap_read_debugfs()
367 size_t buf_pos = 0; in regmap_reg_ranges_read_file() local
408 buf_pos += entry_len; in regmap_reg_ranges_read_file()
415 ret = buf_pos; in regmap_reg_ranges_read_file()
[all …]
/linux/net/smc/
A Dsmc_llc.c562 if (buf_pos) in _smc_llc_get_next_rmb()
563 return buf_pos; in _smc_llc_get_next_rmb()
612 if (!buf_pos) in smc_llc_fill_ext_v2()
614 rmb = buf_pos; in smc_llc_fill_ext_v2()
619 buf_pos = smc_llc_get_next_rmb(lgr, &buf_lst, buf_pos); in smc_llc_fill_ext_v2()
620 while (buf_pos && !(buf_pos)->used) in smc_llc_fill_ext_v2()
621 buf_pos = smc_llc_get_next_rmb(lgr, &buf_lst, buf_pos); in smc_llc_fill_ext_v2()
851 rmb = *buf_pos; in smc_llc_add_link_cont()
859 *buf_pos = smc_llc_get_next_rmb(lgr, buf_lst, *buf_pos); in smc_llc_add_link_cont()
860 while (*buf_pos && !(*buf_pos)->used) in smc_llc_add_link_cont()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_log.c40 uint32_t buf_pos = 0; in mod_hdcp_dump_binary_message() local
46 buf[buf_pos++] = '\n'; in mod_hdcp_dump_binary_message()
47 sprintf(&buf[buf_pos], "%02X ", msg[i]); in mod_hdcp_dump_binary_message()
48 buf_pos += byte_size; in mod_hdcp_dump_binary_message()
50 buf[buf_pos++] = '\0'; in mod_hdcp_dump_binary_message()
/linux/drivers/media/pci/mantis/
A Dmantis_dma.c140 u32 buf_pos = 0; in mantis_risc_program() local
161 RISC_INSTR(risc_pos, mantis->buf_dma + buf_pos); in mantis_risc_program()
162 buf_pos += MANTIS_DMA_TR_BYTES; in mantis_risc_program()
/linux/drivers/media/pci/bt8xx/
A Dbt878.c145 u32 buf_pos = 0; in bt878_risc_program() local
156 if (!(buf_pos % bt->block_bytes)) in bt878_risc_program()
159 RISC_STATUS(((buf_pos / in bt878_risc_program()
168 RISC_INSTR(bt->buf_dma + buf_pos); in bt878_risc_program()
169 buf_pos += bt->line_bytes; in bt878_risc_program()
/linux/drivers/crypto/
A Dhifn_795x.c1053 u8 *buf_pos = buf; in hifn_setup_base_command() local
1077 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1099 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1100 buf_pos += keylen; in hifn_setup_crypto_command()
1103 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1104 buf_pos += ivsize; in hifn_setup_crypto_command()
1107 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1118 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1139 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1200 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
[all …]
/linux/sound/drivers/
A Daloop.c143 unsigned int buf_pos; /* position in buffer */ member
473 dpcm->buf_pos = 0; in loopback_prepare()
503 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf()
532 unsigned int src_off = play->buf_pos; in copy_play_buf()
533 unsigned int dst_off = capt->buf_pos; in copy_play_buf()
543 appl_ptr1 += play->buf_pos / play->pcm_salign; in copy_play_buf()
596 dpcm->buf_pos += delta; in bytepos_finish()
597 dpcm->buf_pos %= dpcm->pcm_buffer_size; in bytepos_finish()
871 pos = dpcm->buf_pos; in loopback_pointer()
1614 snd_iprintf(buffer, " buffer_pos:\t\t%u\n", dpcm->buf_pos); in print_dpcm_info()
/linux/lib/
A Dtest_scanf.c315 append_fmt(char *buf, int *buf_pos, int buf_len, const char *val_fmt, ...) in append_fmt() argument
321 field_len = vsnprintf(buf + *buf_pos, buf_len - *buf_pos, val_fmt, ap); in append_fmt()
327 *buf_pos += field_len; in append_fmt()
/linux/drivers/usb/dwc2/
A Dgadget.c510 int buf_pos = hs_req->req.actual; in dwc2_hsotg_write_fifo() local
517 to_write -= (buf_pos - hs_ep->last_load); in dwc2_hsotg_write_fifo()
642 to_write, hs_req->req.length, can_write, buf_pos); in dwc2_hsotg_write_fifo()
647 hs_req->req.actual = buf_pos + to_write; in dwc2_hsotg_write_fifo()
654 data = hs_req->req.buf + buf_pos; in dwc2_hsotg_write_fifo()

Completed in 51 milliseconds