Searched refs:buf_pos (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 207 unsigned int stride, buf_pos; in tm6000_fillbuf() local 224 buf_pos = chip->buf_pos; in tm6000_fillbuf() 239 runtime->dma_area, buf_pos, in tm6000_fillbuf() 242 if (buf_pos + length >= runtime->buffer_size) { in tm6000_fillbuf() 243 unsigned int cnt = runtime->buffer_size - buf_pos; in tm6000_fillbuf() 244 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf() 248 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf() 253 chip->buf_pos += length; in tm6000_fillbuf() 254 if (chip->buf_pos >= runtime->buffer_size) in tm6000_fillbuf() 255 chip->buf_pos -= runtime->buffer_size; in tm6000_fillbuf() [all …]
|
D | tm6000.h | 149 unsigned buf_pos; member
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-debugfs.c | 202 size_t buf_pos = 0; in regmap_read_debugfs() local 231 if (buf_pos + map->debugfs_tot_len > count) in regmap_read_debugfs() 235 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs() 237 buf_pos += map->debugfs_reg_len + 2; in regmap_read_debugfs() 242 snprintf(buf + buf_pos, count - buf_pos, in regmap_read_debugfs() 245 memset(buf + buf_pos, 'X', in regmap_read_debugfs() 247 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs() 249 buf[buf_pos++] = '\n'; in regmap_read_debugfs() 254 ret = buf_pos; in regmap_read_debugfs() 256 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs() [all …]
|
/Linux-v4.19/drivers/media/pci/mantis/ |
D | mantis_dma.c | 152 u32 buf_pos = 0; in mantis_risc_program() local 173 RISC_INSTR(risc_pos, mantis->buf_dma + buf_pos); in mantis_risc_program() 174 buf_pos += MANTIS_DMA_TR_BYTES; in mantis_risc_program()
|
/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | bt878.c | 162 u32 buf_pos = 0; in bt878_risc_program() local 173 if (!(buf_pos % bt->block_bytes)) in bt878_risc_program() 176 RISC_STATUS(((buf_pos / in bt878_risc_program() 185 RISC_INSTR(bt->buf_dma + buf_pos); in bt878_risc_program() 186 buf_pos += bt->line_bytes; in bt878_risc_program()
|
/Linux-v4.19/drivers/crypto/ |
D | hifn_795x.c | 1061 u8 *buf_pos = buf; in hifn_setup_base_command() local 1063 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command() 1085 u8 *buf_pos = buf; in hifn_setup_crypto_command() local 1088 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command() 1098 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command() 1107 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command() 1108 buf_pos += keylen; in hifn_setup_crypto_command() 1111 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command() 1112 buf_pos += ivsize; in hifn_setup_crypto_command() 1115 cmd_len = buf_pos - buf; in hifn_setup_crypto_command() [all …]
|
/Linux-v4.19/sound/drivers/ |
D | aloop.c | 109 unsigned int buf_pos; /* position in buffer */ member 346 dpcm->buf_pos = 0; in loopback_prepare() 376 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() 405 unsigned int src_off = play->buf_pos; in copy_play_buf() 406 unsigned int dst_off = capt->buf_pos; in copy_play_buf() 416 appl_ptr1 += play->buf_pos / play->pcm_salign; in copy_play_buf() 469 dpcm->buf_pos += delta; in bytepos_finish() 470 dpcm->buf_pos %= dpcm->pcm_buffer_size; in bytepos_finish() 554 pos = dpcm->buf_pos; in loopback_pointer() 1085 snd_iprintf(buffer, " buffer_pos:\t\t%u\n", dpcm->buf_pos); in print_dpcm_info()
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | gadget.c | 456 int buf_pos = hs_req->req.actual; in dwc2_hsotg_write_fifo() local 463 to_write -= (buf_pos - hs_ep->last_load); in dwc2_hsotg_write_fifo() 588 to_write, hs_req->req.length, can_write, buf_pos); in dwc2_hsotg_write_fifo() 593 hs_req->req.actual = buf_pos + to_write; in dwc2_hsotg_write_fifo() 600 data = hs_req->req.buf + buf_pos; in dwc2_hsotg_write_fifo()
|