/sound/pci/ |
D | sis7019.c | 212 int sync; in sis_update_voice() local 231 sync = voice->sync_cso; in sis_update_voice() 232 sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO); in sis_update_voice() 233 if (sync > (voice->sync_buffer_size / 2)) in sis_update_voice() 234 sync -= voice->sync_buffer_size; in sis_update_voice() 241 if (sync > 0) { in sis_update_voice() 242 if (sync < 16) in sis_update_voice() 243 sync = 16; in sis_update_voice() 244 sis_update_sso(voice, sync); in sis_update_voice() 263 if (sync > -9) in sis_update_voice() [all …]
|
D | rme96.c | 1392 bool sync; in snd_rme96_playback_trigger() local 1399 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_playback_trigger() 1408 snd_rme96_trigger(rme96, sync ? RME96_START_BOTH in snd_rme96_playback_trigger() 1418 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_playback_trigger() 1425 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_playback_trigger() 1432 snd_rme96_trigger(rme96, sync ? RME96_RESUME_BOTH in snd_rme96_playback_trigger() 1449 bool sync; in snd_rme96_capture_trigger() local 1456 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_capture_trigger() 1465 snd_rme96_trigger(rme96, sync ? RME96_START_BOTH in snd_rme96_capture_trigger() 1475 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_capture_trigger() [all …]
|
/sound/soc/sh/rcar/ |
D | src.c | 36 struct rsnd_kctrl_cfg_s sync; /* sync convert */ member 102 convert_rate = src->sync.val; in rsnd_src_convert_rate() 469 src->sync.val = 0; in rsnd_src_init() 495 src->sync.val = 0; in rsnd_src_quit() 598 &src->sync, 192000); in rsnd_src_pcm_new()
|
/sound/soc/ |
D | soc-jack.c | 38 unsigned int sync = 0; in snd_soc_jack_report() local 65 sync = 1; in snd_soc_jack_report() 71 if (sync) in snd_soc_jack_report()
|
/sound/soc/intel/atom/sst/ |
D | sst_pvt.c | 223 bool large, bool fill_dsp, bool sync, bool response) in sst_prepare_and_post_msg() argument 250 msg->mrfld_header.p.header_high.part.res_rqd = !sync; in sst_prepare_and_post_msg() 266 if (sync) in sst_prepare_and_post_msg()
|
D | sst.h | 428 struct ipc_post *msg, bool sync); 455 struct ipc_post *ipc_msg, bool sync); 497 bool large, bool fill_dsp, bool sync, bool response);
|
D | sst_ipc.c | 116 struct ipc_post *ipc_msg, bool sync) in sst_post_message_mrfld() argument 124 dev_dbg(sst_drv_ctx->dev, "Enter: sync: %d\n", sync); in sst_post_message_mrfld() 127 if (sync) { in sst_post_message_mrfld()
|
/sound/drivers/vx/ |
D | vx_uer.c | 20 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock() argument 26 if (sync) in vx_modify_board_clock()
|
/sound/core/ |
D | memalloc_local.h | 13 void (*sync)(struct snd_dma_buffer *dmab, enum snd_dma_sync_mode mode); member
|
D | memalloc.c | 215 if (ops && ops->sync) in snd_dma_buffer_sync() 216 ops->sync(dmab, mode); in snd_dma_buffer_sync() 665 .sync = snd_dma_noncontig_sync, 712 .sync = snd_dma_noncontig_sync, 914 .sync = snd_dma_noncoherent_sync,
|
D | pcm_lib.c | 503 runtime->sync.id32[0] = substream->pcm->card->number; in snd_pcm_set_sync() 504 runtime->sync.id32[1] = -1; in snd_pcm_set_sync() 505 runtime->sync.id32[2] = -1; in snd_pcm_set_sync() 506 runtime->sync.id32[3] = -1; in snd_pcm_set_sync()
|
/sound/pci/emu10k1/ |
D | p16v.c | 201 runtime->sync.id32[0] = substream->pcm->card->number; in snd_p16v_pcm_open_playback_channel() 202 runtime->sync.id32[1] = 'P'; in snd_p16v_pcm_open_playback_channel() 203 runtime->sync.id32[2] = 16; in snd_p16v_pcm_open_playback_channel() 204 runtime->sync.id32[3] = 'V'; in snd_p16v_pcm_open_playback_channel()
|
/sound/soc/stm/ |
D | stm32_sai_sub.c | 116 int sync; member 736 if (sai->sync) { in stm32_sai_set_dai_fmt() 1210 if (sai->sync == SAI_SYNC_EXTERNAL) { in stm32_sai_dai_probe() 1219 cr1 |= SAI_XCR1_SYNCEN_SET(sai->sync); in stm32_sai_dai_probe() 1416 sai->sync = SAI_SYNC_NONE; in stm32_sai_sub_parse_of() 1432 sai->sync = SAI_SYNC_INTERNAL; in stm32_sai_sub_parse_of() 1440 sai->sync = SAI_SYNC_EXTERNAL; in stm32_sai_sub_parse_of()
|
/sound/soc/codecs/ |
D | madera.c | 3475 bool sync, int *fratio) in madera_find_fratio() argument 3484 if (sync) in madera_find_fratio() 3497 if (sync) in madera_find_fratio() 3506 unsigned int fref, bool sync) in madera_calc_fratio() argument 3524 init_ratio = madera_find_fratio(fll, fref, sync, &cfg->fratio); in madera_calc_fratio() 3531 if (!sync) in madera_calc_fratio() 3538 if (sync) in madera_calc_fratio() 3547 if (sync) in madera_calc_fratio() 3592 init_ratio = madera_find_fratio(fll, fref, sync, NULL); in madera_calc_fratio() 3623 unsigned int fref, bool sync) in madera_calc_fll() argument [all …]
|
D | arizona.c | 2153 unsigned int Fref, bool sync) in arizona_calc_fratio() argument 2184 if (fll->arizona->rev < 3 || sync) in arizona_calc_fratio() 2188 if (sync) in arizona_calc_fratio() 2257 unsigned int Fref, bool sync) in arizona_calc_fll() argument 2277 ratio = arizona_calc_fratio(fll, cfg, target, Fref, sync); in arizona_calc_fll() 2331 bool sync) in arizona_apply_fll() argument 2346 if (sync) { in arizona_apply_fll()
|
D | wm8996.c | 1817 int sync = WM8996_REG_SYNC; in wm8996_set_sysclk() local 1866 sync = 0; in wm8996_set_sysclk() 1881 WM8996_REG_SYNC, sync); in wm8996_set_sysclk()
|
/sound/pci/rme9652/ |
D | hdspm.c | 3888 int status, lock, sync; in hdspm_s1_sync_check() local 3893 sync = (status & (0x100<<idx)) ? 1 : 0; in hdspm_s1_sync_check() 3895 if (lock && sync) in hdspm_s1_sync_check() 3905 int status, lock = 0, sync = 0; in hdspm_sync_in_sync_check() local 3912 sync = (status & 0x800) ? 1 : 0; in hdspm_sync_in_sync_check() 3918 sync = (status & HDSPM_syncInSync) ? 1 : 0; in hdspm_sync_in_sync_check() 3924 sync = (status & 0x200000) ? 1 : 0; in hdspm_sync_in_sync_check() 3931 if (lock && sync) in hdspm_sync_in_sync_check() 3941 int status2, lock, sync; in hdspm_aes_sync_check() local 3945 sync = (status2 & (0x8000 >> idx)) ? 1 : 0; in hdspm_aes_sync_check() [all …]
|
/sound/firewire/bebob/ |
D | bebob_maudio.c | 146 check_clk_sync(struct snd_bebob *bebob, unsigned int size, bool *sync) in check_clk_sync() argument 160 *sync = (buf[size - 2] != 0xff); in check_clk_sync()
|
/sound/usb/ |
D | mixer_scarlett_gen2.c | 405 u8 sync; member 1432 u8 *sync) in scarlett2_usb_get_sync_status() argument 1442 *sync = !!data; in scarlett2_usb_get_sync_status() 1783 return scarlett2_usb_get_sync_status(mixer, &private->sync); in scarlett2_update_sync() 1810 ucontrol->value.enumerated.item[0] = private->sync; in scarlett2_sync_ctl_get()
|