Searched refs:buf_pos (Results 1 – 8 of 8) sorted by relevance
/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 172 unsigned int stride, buf_pos; in tm6000_fillbuf() local 189 buf_pos = chip->buf_pos; in tm6000_fillbuf() 204 runtime->dma_area, buf_pos, in tm6000_fillbuf() 207 if (buf_pos + length >= runtime->buffer_size) { in tm6000_fillbuf() 208 unsigned int cnt = runtime->buffer_size - buf_pos; in tm6000_fillbuf() 209 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf() 213 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf() 218 chip->buf_pos += length; in tm6000_fillbuf() 219 if (chip->buf_pos >= runtime->buffer_size) in tm6000_fillbuf() 220 chip->buf_pos -= runtime->buffer_size; in tm6000_fillbuf() [all …]
|
D | tm6000.h | 148 unsigned buf_pos; member
|
/drivers/base/regmap/ |
D | regmap-debugfs.c | 219 size_t buf_pos = 0; in regmap_read_debugfs() local 247 if (buf_pos + map->debugfs_tot_len > count) in regmap_read_debugfs() 251 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs() 253 buf_pos += map->debugfs_reg_len + 2; 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() 263 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs() 265 buf[buf_pos++] = '\n'; in regmap_read_debugfs() 270 ret = buf_pos; in regmap_read_debugfs() 272 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs() [all …]
|
/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_log.c | 40 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()
|
/drivers/media/pci/mantis/ |
D | mantis_dma.c | 140 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()
|
/drivers/media/pci/bt8xx/ |
D | bt878.c | 145 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()
|
/drivers/crypto/ |
D | hifn_795x.c | 1053 u8 *buf_pos = buf; in hifn_setup_base_command() local 1055 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command() 1077 u8 *buf_pos = buf; in hifn_setup_crypto_command() local 1080 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command() 1090 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command() 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() [all …]
|
/drivers/usb/dwc2/ |
D | gadget.c | 510 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()
|