Searched refs:buf_pos (Results 1 – 8 of 8) sorted by relevance
/drivers/base/regmap/ |
D | regmap-debugfs.c | 187 size_t buf_pos = 0; in regmap_read_debugfs() local 219 if (buf_pos + map->debugfs_tot_len > count) in regmap_read_debugfs() 223 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs() 225 buf_pos += map->debugfs_reg_len + 2; in regmap_read_debugfs() 230 snprintf(buf + buf_pos, count - buf_pos, in regmap_read_debugfs() 233 memset(buf + buf_pos, 'X', in regmap_read_debugfs() 235 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs() 237 buf[buf_pos++] = '\n'; in regmap_read_debugfs() 242 ret = buf_pos; in regmap_read_debugfs() 244 if (copy_to_user(user_buf, buf, buf_pos)) { in regmap_read_debugfs() [all …]
|
/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 215 unsigned int stride, buf_pos; in tm6000_fillbuf() local 232 buf_pos = chip->buf_pos; in tm6000_fillbuf() 247 runtime->dma_area, buf_pos, in tm6000_fillbuf() 250 if (buf_pos + length >= runtime->buffer_size) { in tm6000_fillbuf() 251 unsigned int cnt = runtime->buffer_size - buf_pos; in tm6000_fillbuf() 252 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf() 256 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf() 261 chip->buf_pos += length; in tm6000_fillbuf() 262 if (chip->buf_pos >= runtime->buffer_size) in tm6000_fillbuf() 263 chip->buf_pos -= runtime->buffer_size; in tm6000_fillbuf() [all …]
|
D | tm6000.h | 161 unsigned buf_pos; member
|
/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()
|
/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()
|
/drivers/crypto/ |
D | hifn_795x.c | 1104 u8 *buf_pos = buf; in hifn_setup_base_command() local 1106 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command() 1128 u8 *buf_pos = buf; in hifn_setup_crypto_command() local 1131 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command() 1141 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command() 1150 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command() 1151 buf_pos += keylen; in hifn_setup_crypto_command() 1154 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command() 1155 buf_pos += ivsize; in hifn_setup_crypto_command() 1158 cmd_len = buf_pos - buf; in hifn_setup_crypto_command() [all …]
|
/drivers/usb/dwc2/ |
D | gadget.c | 317 int buf_pos = hs_req->req.actual; in dwc2_hsotg_write_fifo() local 324 to_write -= (buf_pos - hs_ep->last_load); in dwc2_hsotg_write_fifo() 448 to_write, hs_req->req.length, can_write, buf_pos); in dwc2_hsotg_write_fifo() 453 hs_req->req.actual = buf_pos + to_write; in dwc2_hsotg_write_fifo() 460 data = hs_req->req.buf + buf_pos; in dwc2_hsotg_write_fifo()
|
/drivers/mtd/nand/ |
D | atmel_nand.c | 854 uint8_t *buf_pos; in pmecc_correction() local 871 buf_pos = buf + i * host->pmecc_sector_size; in pmecc_correction() 883 pmecc_correct_data(mtd, buf_pos, ecc, i, in pmecc_correction()
|