Lines Matching refs:tco

1060 	struct hdspm_tco *tco;  /* NULL if no TCO detected */  member
2307 if (hdspm->tco) { in hdspm_get_tco_sample_rate()
2332 if (hdspm->tco) { in hdspm_get_sync_in_sample_rate()
2720 if (hdspm->tco) { in hdspm_pref_sync_ref()
2739 if (hdspm->tco) { in hdspm_pref_sync_ref()
2769 if (hdspm->tco) { in hdspm_pref_sync_ref()
2853 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2889 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2918 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
3967 if (hdspm->tco) { in hdspm_tco_sync_check()
4074 if (hdspm->tco) { in snd_hdspm_get_sync_check()
4106 switch (hdspm->tco->input) { in hdspm_tco_write()
4117 switch (hdspm->tco->framerate) { in hdspm_tco_write()
4141 switch (hdspm->tco->wordclock) { in hdspm_tco_write()
4152 switch (hdspm->tco->samplerate) { in hdspm_tco_write()
4163 switch (hdspm->tco->pull) { in hdspm_tco_write()
4180 if (1 == hdspm->tco->term) { in hdspm_tco_write()
4216 ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; in snd_hdspm_get_tco_sample_rate()
4226 if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sample_rate()
4227 hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sample_rate()
4263 ucontrol->value.enumerated.item[0] = hdspm->tco->pull; in snd_hdspm_get_tco_pull()
4273 if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_pull()
4274 hdspm->tco->pull = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_pull()
4308 ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; in snd_hdspm_get_tco_wck_conversion()
4318 if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_wck_conversion()
4319 hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_wck_conversion()
4355 ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; in snd_hdspm_get_tco_frame_rate()
4365 if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_frame_rate()
4366 hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_frame_rate()
4401 ucontrol->value.enumerated.item[0] = hdspm->tco->input; in snd_hdspm_get_tco_sync_source()
4411 if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sync_source()
4412 hdspm->tco->input = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sync_source()
4451 ucontrol->value.integer.value[0] = hdspm->tco->term; in snd_hdspm_get_tco_word_term()
4462 if (hdspm->tco->term != ucontrol->value.integer.value[0]) { in snd_hdspm_put_tco_word_term()
4463 hdspm->tco->term = ucontrol->value.integer.value[0]; in snd_hdspm_put_tco_word_term()
4723 if (hdspm->tco) { in snd_hdspm_create_controls()
6336 if (hdspm->tco) in snd_hdspm_hwdep_ioctl()
6745 hdspm->tco = kzalloc(sizeof(*hdspm->tco), GFP_KERNEL); in snd_hdspm_create()
6746 if (hdspm->tco) in snd_hdspm_create()
6751 hdspm->tco = NULL; in snd_hdspm_create()
6759 hdspm->tco = kzalloc(sizeof(*hdspm->tco), GFP_KERNEL); in snd_hdspm_create()
6760 if (hdspm->tco) in snd_hdspm_create()
6765 hdspm->tco = NULL; in snd_hdspm_create()
6770 hdspm->tco = NULL; in snd_hdspm_create()
6776 if (hdspm->tco) { in snd_hdspm_create()
6788 if (hdspm->tco) { in snd_hdspm_create()
6802 if (hdspm->tco) { in snd_hdspm_create()
6812 if (hdspm->tco) { in snd_hdspm_create()