Home
last modified time | relevance | path

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

/linux/sound/drivers/
H A Dpcmtest.c101 size_t buf_pos; // position in the DMA buffer member
146 v_iter->buf_pos += by; in inc_buf_pos()
147 if (v_iter->buf_pos >= bytes) in inc_buf_pos()
148 v_iter->buf_pos %= bytes; in inc_buf_pos()
152 * Position in the DMA buffer when we are in the non-interleaved mode. We increment buf_pos
159 return v_iter->buf_pos / channels + v_iter->chan_block * chan_num; in buf_pos_n()
179 current_byte = runtime->dma_area[v_iter->buf_pos]; in check_buf_block_i()
268 runtime->dma_area[v_iter->buf_pos] = patt_bufs[ch].buf[pos_pattern]; in fill_block_pattern_i()
287 size_t bytes_remain = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_n()
308 size_t in_cur_block = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_i()
[all...]
H A Daloop.c149 unsigned int buf_pos; /* position in buffer */
563 dpcm->buf_pos = 0; in copy_play_buf_part_n()
593 unsigned int dst_off = dpcm->buf_pos; in copy_play_buf()
638 unsigned int src_off = play->buf_pos; in bytepos_delta()
639 unsigned int dst_off = capt->buf_pos; in bytepos_delta()
649 appl_ptr1 += play->buf_pos / play->pcm_salign; in bytepos_finish()
705 dpcm->buf_pos += delta; in loopback_jiffies_timer_pos_update()
706 dpcm->buf_pos %= dpcm->pcm_buffer_size; in loopback_jiffies_timer_pos_update()
1019 pos = dpcm->buf_pos; in rule_channels()
1819 snd_iprintf(buffer, " buffer_pos:\t\t%u\n", dpcm->buf_pos); in loopback_probe()
146 unsigned int buf_pos; /* position in buffer */ global() member
[all...]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c36 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 Dsmc_llc.c566 struct smc_buf_desc *buf_pos; in _smc_llc_get_next_rmb() local
569 buf_pos = list_first_entry_or_null(&lgr->rmbs[*buf_lst], in _smc_llc_get_next_rmb()
571 if (buf_pos) in _smc_llc_get_next_rmb()
572 return buf_pos; in _smc_llc_get_next_rmb()
581 struct smc_buf_desc *buf_pos) in smc_llc_get_next_rmb() argument
585 if (!buf_pos) in smc_llc_get_next_rmb()
588 if (list_is_last(&buf_pos->list, &lgr->rmbs[*buf_lst])) { in smc_llc_get_next_rmb()
592 buf_next = list_next_entry(buf_pos, list); in smc_llc_get_next_rmb()
607 struct smc_buf_desc *buf_pos; in smc_llc_fill_ext_v2() local
622 buf_pos = smc_llc_get_first_rmb(lgr, &buf_lst); in smc_llc_fill_ext_v2()
[all …]
/linux/drivers/media/pci/mantis/
H 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/
H 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/
H A Dhifn_795x.c1035 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 Dtestmode.c84 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 Dparse-events.c2628 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
/linux/drivers/usb/dwc2/
H A Dgadget.c509 int buf_pos = hs_req->req.actual; in dwc2_hsotg_write_fifo() local
516 to_write -= (buf_pos - hs_ep->last_load); in dwc2_hsotg_write_fifo()
641 to_write, hs_req->req.length, can_write, buf_pos); in dwc2_hsotg_write_fifo()
646 hs_req->req.actual = buf_pos + to_write; in dwc2_hsotg_write_fifo()
653 data = hs_req->req.buf + buf_pos; in dwc2_hsotg_write_fifo()