Lines Matching refs:tco
1060 struct hdspm_tco *tco; /* NULL if no TCO detected */ member
2309 if (hdspm->tco) { in hdspm_get_tco_sample_rate()
2334 if (hdspm->tco) { in hdspm_get_sync_in_sample_rate()
2722 if (hdspm->tco) { in hdspm_pref_sync_ref()
2741 if (hdspm->tco) { in hdspm_pref_sync_ref()
2771 if (hdspm->tco) { in hdspm_pref_sync_ref()
2855 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2891 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2920 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
3969 if (hdspm->tco) { in hdspm_tco_sync_check()
4076 if (hdspm->tco) { in snd_hdspm_get_sync_check()
4108 switch (hdspm->tco->input) { in hdspm_tco_write()
4119 switch (hdspm->tco->framerate) { in hdspm_tco_write()
4143 switch (hdspm->tco->wordclock) { in hdspm_tco_write()
4154 switch (hdspm->tco->samplerate) { in hdspm_tco_write()
4165 switch (hdspm->tco->pull) { in hdspm_tco_write()
4182 if (1 == hdspm->tco->term) { in hdspm_tco_write()
4218 ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; in snd_hdspm_get_tco_sample_rate()
4228 if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sample_rate()
4229 hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sample_rate()
4265 ucontrol->value.enumerated.item[0] = hdspm->tco->pull; in snd_hdspm_get_tco_pull()
4275 if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_pull()
4276 hdspm->tco->pull = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_pull()
4310 ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; in snd_hdspm_get_tco_wck_conversion()
4320 if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_wck_conversion()
4321 hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_wck_conversion()
4357 ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; in snd_hdspm_get_tco_frame_rate()
4367 if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_frame_rate()
4368 hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_frame_rate()
4403 ucontrol->value.enumerated.item[0] = hdspm->tco->input; in snd_hdspm_get_tco_sync_source()
4413 if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sync_source()
4414 hdspm->tco->input = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sync_source()
4453 ucontrol->value.integer.value[0] = hdspm->tco->term; in snd_hdspm_get_tco_word_term()
4464 if (hdspm->tco->term != ucontrol->value.integer.value[0]) { in snd_hdspm_put_tco_word_term()
4465 hdspm->tco->term = ucontrol->value.integer.value[0]; in snd_hdspm_put_tco_word_term()
4725 if (hdspm->tco) { in snd_hdspm_create_controls()
6316 if (hdspm->tco) in snd_hdspm_hwdep_ioctl()
6725 hdspm->tco = kzalloc(sizeof(*hdspm->tco), GFP_KERNEL); in snd_hdspm_create()
6726 if (hdspm->tco) in snd_hdspm_create()
6731 hdspm->tco = NULL; in snd_hdspm_create()
6739 hdspm->tco = kzalloc(sizeof(*hdspm->tco), GFP_KERNEL); in snd_hdspm_create()
6740 if (hdspm->tco) in snd_hdspm_create()
6745 hdspm->tco = NULL; in snd_hdspm_create()
6750 hdspm->tco = NULL; in snd_hdspm_create()
6756 if (hdspm->tco) { in snd_hdspm_create()
6768 if (hdspm->tco) { in snd_hdspm_create()
6782 if (hdspm->tco) { in snd_hdspm_create()
6792 if (hdspm->tco) { in snd_hdspm_create()