| /linux/drivers/base/regmap/ |
| H A D | regmap-debugfs.c | 212 size_t buf_pos = 0; in regmap_next_readable_reg() 240 if (buf_pos + map->debugfs_tot_len > count) in regmap_read_debugfs() 244 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs() 246 buf_pos += map->debugfs_reg_len + 2; in regmap_read_debugfs() 251 snprintf(buf + buf_pos, count - buf_pos, in regmap_read_debugfs() 254 memset(buf + buf_pos, 'X', in regmap_read_debugfs() 256 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs() 258 buf[buf_pos in regmap_read_debugfs() 220 size_t buf_pos = 0; regmap_read_debugfs() local 368 size_t buf_pos = 0; regmap_reg_ranges_read_file() local [all...] |
| /linux/sound/drivers/ |
| H A D | pcmtest.c | 120 size_t buf_pos; // position in the DMA buffer 165 v_iter->buf_pos += by; 166 if (v_iter->buf_pos >= bytes) 167 v_iter->buf_pos %= bytes; in ch_pos_i() 171 * Position in the DMA buffer when we are in the non-interleaved mode. We increment buf_pos 178 return v_iter->buf_pos / channels + v_iter->chan_block * chan_num; in check_buf_block_i() 198 current_byte = runtime->dma_area[v_iter->buf_pos]; in check_buf_block_ni() 287 runtime->dma_area[v_iter->buf_pos] = patt_bufs[ch].buf[pos_pattern]; in fill_block_rand_n() 317 size_t pos = v_iter->buf_pos / channels; in fill_block_rand_i() 330 v_iter->buf_pos, v_ite in fill_block() 101 size_t buf_pos; // position in the DMA buffer global() member [all...] |
| H A D | aloop.c | 149 unsigned int buf_pos; /* position in buffer */ member 566 dpcm->buf_pos = 0; in loopback_prepare() 596 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() 641 unsigned int src_off = play->buf_pos; in copy_play_buf() 642 unsigned int dst_off = capt->buf_pos; in copy_play_buf() 652 appl_ptr1 += play->buf_pos / play->pcm_salign; in copy_play_buf() 708 dpcm->buf_pos += delta; 709 dpcm->buf_pos %= dpcm->pcm_buffer_size; 1027 pos = dpcm->buf_pos; 1854 snd_iprintf(buffer, " buffer_pos:\t\t%u\n", dpcm->buf_pos); in print_cable_info() [all...] |
| /linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
| H A D | hdcp_log.c | 36 uint32_t buf_pos = 0; in mod_hdcp_dump_binary_message() local 49 if (buf_pos + needed > buf_size) in mod_hdcp_dump_binary_message() 53 buf[buf_pos++] = '\n'; in mod_hdcp_dump_binary_message() 54 sprintf((char *)&buf[buf_pos], "%02X ", msg[i]); in mod_hdcp_dump_binary_message() 55 buf_pos += byte_size; in mod_hdcp_dump_binary_message() 57 buf[buf_pos++] = '\0'; in mod_hdcp_dump_binary_message()
|
| /linux/net/smc/ |
| H A D | smc_llc.c | 588 struct smc_buf_desc *buf_pos; in _smc_llc_get_next_rmb() local 591 buf_pos = list_first_entry_or_null(&lgr->rmbs[*buf_lst], in _smc_llc_get_next_rmb() 593 if (buf_pos) in _smc_llc_get_next_rmb() 594 return buf_pos; in _smc_llc_get_next_rmb() 603 struct smc_buf_desc *buf_pos) in smc_llc_get_next_rmb() argument 607 if (!buf_pos) in smc_llc_get_next_rmb() 610 if (list_is_last(&buf_pos->list, &lgr->rmbs[*buf_lst])) { in smc_llc_get_next_rmb() 614 buf_next = list_next_entry(buf_pos, list); in smc_llc_get_next_rmb() 629 struct smc_buf_desc *buf_pos; in smc_llc_fill_ext_v2() local 644 buf_pos = smc_llc_get_first_rmb(lgr, &buf_lst); in smc_llc_fill_ext_v2() [all …]
|
| /linux/drivers/media/pci/mantis/ |
| H A 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()
|
| /linux/drivers/media/pci/bt8xx/ |
| H A 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()
|
| /linux/drivers/crypto/ |
| H A D | hifn_795x.c | 1035 u8 *buf_pos = buf; in hifn_setup_base_command() local 1037 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command() 1059 u8 *buf_pos = buf; in hifn_setup_crypto_command() local 1062 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command() 1072 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command() 1081 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command() 1082 buf_pos += keylen; in hifn_setup_crypto_command() 1085 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command() 1086 buf_pos += ivsize; in hifn_setup_crypto_command() 1089 cmd_len = buf_pos - buf; in hifn_setup_crypto_command() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | testmode.c | 84 u8 const *buf_pos; in ath10k_tm_event_segmented() local 99 buf_pos = ftm->data; in ath10k_tm_event_segmented() 115 memcpy(&ar->testmode.eventdata[data_pos], buf_pos, datalen); in ath10k_tm_event_segmented()
|
| /linux/tools/perf/tests/ |
| H A D | parse-events.c | 2628 char buf[1024], *buf_pos = buf; in test_events() 2633 strncpy(buf_pos, pos, len); in test_events() 2635 buf_pos += len; in test_events() 2636 strcpy(buf_pos, core_pmu->name); in test_events() 2637 buf_pos += strlen(core_pmu->name); 2639 strcpy(buf_pos, pos); in test__events2() 2613 char buf[1024], *buf_pos = buf; test_events() local
|