Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 16 of 16) sorted by relevance

/sound/pci/
Dsis7019.c225 int sync; in sis_update_voice() local
244 sync = voice->sync_cso; in sis_update_voice()
245 sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO); in sis_update_voice()
246 if (sync > (voice->sync_buffer_size / 2)) in sis_update_voice()
247 sync -= voice->sync_buffer_size; in sis_update_voice()
254 if (sync > 0) { in sis_update_voice()
255 if (sync < 16) in sis_update_voice()
256 sync = 16; in sis_update_voice()
257 sis_update_sso(voice, sync); in sis_update_voice()
276 if (sync > -9) in sis_update_voice()
[all …]
Drme96.c1386 bool sync; in snd_rme96_playback_trigger() local
1393 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_playback_trigger()
1402 snd_rme96_trigger(rme96, sync ? RME96_START_BOTH in snd_rme96_playback_trigger()
1412 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_playback_trigger()
1419 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_playback_trigger()
1426 snd_rme96_trigger(rme96, sync ? RME96_RESUME_BOTH in snd_rme96_playback_trigger()
1443 bool sync; in snd_rme96_capture_trigger() local
1450 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_capture_trigger()
1459 snd_rme96_trigger(rme96, sync ? RME96_START_BOTH in snd_rme96_capture_trigger()
1469 snd_rme96_trigger(rme96, sync ? RME96_STOP_BOTH in snd_rme96_capture_trigger()
[all …]
/sound/soc/sh/rcar/
Dsrc.c26 struct rsnd_kctrl_cfg_s sync; /* sync convert */ member
108 convert_rate = src->sync.val; in rsnd_src_convert_rate()
399 src->sync.val = 0; in rsnd_src_init()
417 src->sync.val = 0; in rsnd_src_quit()
518 &src->sync, 192000); in rsnd_src_pcm_new()
/sound/soc/intel/atom/sst/
Dsst_pvt.c232 bool large, bool fill_dsp, bool sync, bool response) in sst_prepare_and_post_msg() argument
259 msg->mrfld_header.p.header_high.part.res_rqd = !sync; in sst_prepare_and_post_msg()
275 if (sync) in sst_prepare_and_post_msg()
Dsst_ipc.c125 struct ipc_post *ipc_msg, bool sync) in sst_post_message_mrfld() argument
133 dev_dbg(sst_drv_ctx->dev, "Enter: sync: %d\n", sync); in sst_post_message_mrfld()
136 if (sync) { in sst_post_message_mrfld()
Dsst.h453 struct ipc_post *msg, bool sync);
479 struct ipc_post *msg, bool sync);
521 bool large, bool fill_dsp, bool sync, bool response);
/sound/soc/
Dsoc-jack.c80 unsigned int sync = 0; in snd_soc_jack_report() local
109 sync = 1; in snd_soc_jack_report()
115 if (sync) in snd_soc_jack_report()
/sound/drivers/vx/
Dvx_uer.c33 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock() argument
39 if (sync) in vx_modify_board_clock()
/sound/pci/emu10k1/
Dp16v.c214 runtime->sync.id32[0] = substream->pcm->card->number; in snd_p16v_pcm_open_playback_channel()
215 runtime->sync.id32[1] = 'P'; in snd_p16v_pcm_open_playback_channel()
216 runtime->sync.id32[2] = 16; in snd_p16v_pcm_open_playback_channel()
217 runtime->sync.id32[3] = 'V'; in snd_p16v_pcm_open_playback_channel()
/sound/soc/codecs/
Darizona.c2017 unsigned int Fref, bool sync) in arizona_calc_fratio() argument
2048 if (fll->arizona->rev < 3 || sync) in arizona_calc_fratio()
2052 if (sync) in arizona_calc_fratio()
2121 unsigned int Fref, bool sync) in arizona_calc_fll() argument
2141 ratio = arizona_calc_fratio(fll, cfg, target, Fref, sync); in arizona_calc_fll()
2196 bool sync) in arizona_apply_fll() argument
2211 if (sync) { in arizona_apply_fll()
Dwm8996.c1822 int sync = WM8996_REG_SYNC; in wm8996_set_sysclk() local
1870 sync = 0; in wm8996_set_sysclk()
1885 WM8996_REG_SYNC, sync); in wm8996_set_sysclk()
/sound/pci/rme9652/
Dhdspm.c3897 int status, lock, sync; in hdspm_s1_sync_check() local
3902 sync = (status & (0x100<<idx)) ? 1 : 0; in hdspm_s1_sync_check()
3904 if (lock && sync) in hdspm_s1_sync_check()
3914 int status, lock = 0, sync = 0; in hdspm_sync_in_sync_check() local
3921 sync = (status & 0x800) ? 1 : 0; in hdspm_sync_in_sync_check()
3927 sync = (status & HDSPM_syncInSync) ? 1 : 0; in hdspm_sync_in_sync_check()
3933 sync = (status & 0x200000) ? 1 : 0; in hdspm_sync_in_sync_check()
3940 if (lock && sync) in hdspm_sync_in_sync_check()
3950 int status2, lock, sync; in hdspm_aes_sync_check() local
3954 sync = (status2 & (0x8000 >> idx)) ? 1 : 0; in hdspm_aes_sync_check()
[all …]
/sound/firewire/bebob/
Dbebob_maudio.c143 check_clk_sync(struct snd_bebob *bebob, unsigned int size, bool *sync) in check_clk_sync() argument
157 *sync = (buf[size - 2] != 0xff); in check_clk_sync()
/sound/core/
Dpcm_lib.c525 runtime->sync.id32[0] = substream->pcm->card->number; in snd_pcm_set_sync()
526 runtime->sync.id32[1] = -1; in snd_pcm_set_sync()
527 runtime->sync.id32[2] = -1; in snd_pcm_set_sync()
528 runtime->sync.id32[3] = -1; in snd_pcm_set_sync()
Dpcm_native.c218 info->sync = runtime->sync; in snd_pcm_info()
/sound/oss/
DCHANGELOG330 - The SCO and FreeBSD versions should be in sync now. There are some