Lines Matching refs:tco

1067 	struct hdspm_tco *tco;  /* NULL if no TCO detected */  member
2309 if (hdspm->tco) { in hdspm_get_tco_sample_rate()
2335 if (hdspm->tco) { in hdspm_get_sync_in_sample_rate()
2725 if (hdspm->tco) { in hdspm_pref_sync_ref()
2744 if (hdspm->tco) { in hdspm_pref_sync_ref()
2774 if (hdspm->tco) { in hdspm_pref_sync_ref()
2858 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2894 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
2923 if (hdspm->tco) { in hdspm_set_pref_sync_ref()
3976 if (hdspm->tco) { in hdspm_tco_sync_check()
4083 if (hdspm->tco) { in snd_hdspm_get_sync_check()
4115 switch (hdspm->tco->input) { in hdspm_tco_write()
4126 switch (hdspm->tco->framerate) { in hdspm_tco_write()
4150 switch (hdspm->tco->wordclock) { in hdspm_tco_write()
4161 switch (hdspm->tco->samplerate) { in hdspm_tco_write()
4172 switch (hdspm->tco->pull) { in hdspm_tco_write()
4189 if (1 == hdspm->tco->term) { in hdspm_tco_write()
4225 ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; in snd_hdspm_get_tco_sample_rate()
4235 if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sample_rate()
4236 hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sample_rate()
4272 ucontrol->value.enumerated.item[0] = hdspm->tco->pull; in snd_hdspm_get_tco_pull()
4282 if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_pull()
4283 hdspm->tco->pull = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_pull()
4317 ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; in snd_hdspm_get_tco_wck_conversion()
4327 if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_wck_conversion()
4328 hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_wck_conversion()
4364 ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; in snd_hdspm_get_tco_frame_rate()
4374 if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_frame_rate()
4375 hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_frame_rate()
4410 ucontrol->value.enumerated.item[0] = hdspm->tco->input; in snd_hdspm_get_tco_sync_source()
4420 if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sync_source()
4421 hdspm->tco->input = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sync_source()
4460 ucontrol->value.integer.value[0] = hdspm->tco->term; in snd_hdspm_get_tco_word_term()
4471 if (hdspm->tco->term != ucontrol->value.integer.value[0]) { in snd_hdspm_put_tco_word_term()
4472 hdspm->tco->term = ucontrol->value.integer.value[0]; in snd_hdspm_put_tco_word_term()
4732 if (hdspm->tco) { in snd_hdspm_create_controls()
6342 if (hdspm->tco) in snd_hdspm_hwdep_ioctl()
6775 hdspm->tco = kzalloc(sizeof(struct hdspm_tco), in snd_hdspm_create()
6777 if (NULL != hdspm->tco) { in snd_hdspm_create()
6782 hdspm->tco = NULL; in snd_hdspm_create()
6790 hdspm->tco = kzalloc(sizeof(struct hdspm_tco), in snd_hdspm_create()
6792 if (NULL != hdspm->tco) { in snd_hdspm_create()
6797 hdspm->tco = NULL; in snd_hdspm_create()
6802 hdspm->tco = NULL; in snd_hdspm_create()
6808 if (hdspm->tco) { in snd_hdspm_create()
6820 if (hdspm->tco) { in snd_hdspm_create()
6834 if (hdspm->tco) { in snd_hdspm_create()
6844 if (hdspm->tco) { in snd_hdspm_create()