Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 1 | ================================================ |
| 2 | Imagination Technologies SPDIF Input Controllers |
| 3 | ================================================ |
| 4 | |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 5 | The Imagination Technologies SPDIF Input controller contains the following |
| 6 | controls: |
| 7 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 8 | * name='IEC958 Capture Mask',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 9 | |
| 10 | This control returns a mask that shows which of the IEC958 status bits |
| 11 | can be read using the 'IEC958 Capture Default' control. |
| 12 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 13 | * name='IEC958 Capture Default',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 14 | |
| 15 | This control returns the status bits contained within the SPDIF stream that |
| 16 | is being received. The 'IEC958 Capture Mask' shows which bits can be read |
| 17 | from this control. |
| 18 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 19 | * name='SPDIF In Multi Frequency Acquire',index=0 |
| 20 | * name='SPDIF In Multi Frequency Acquire',index=1 |
| 21 | * name='SPDIF In Multi Frequency Acquire',index=2 |
| 22 | * name='SPDIF In Multi Frequency Acquire',index=3 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 23 | |
| 24 | This control is used to attempt acquisition of up to four different sample |
| 25 | rates. The active rate can be obtained by reading the 'SPDIF In Lock Frequency' |
| 26 | control. |
| 27 | |
| 28 | When the value of this control is set to {0,0,0,0}, the rate given to hw_params |
| 29 | will determine the single rate the block will capture. Else, the rate given to |
| 30 | hw_params will be ignored, and the block will attempt capture for each of the |
| 31 | four sample rates set here. |
| 32 | |
| 33 | If less than four rates are required, the same rate can be specified more than |
| 34 | once |
| 35 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 36 | * name='SPDIF In Lock Frequency',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 37 | |
| 38 | This control returns the active capture rate, or 0 if a lock has not been |
| 39 | acquired |
| 40 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 41 | * name='SPDIF In Lock TRK',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 42 | |
| 43 | This control is used to modify the locking/jitter rejection characteristics |
| 44 | of the block. Larger values increase the locking range, but reduce jitter |
| 45 | rejection. |
| 46 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 47 | * name='SPDIF In Lock Acquire Threshold',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 48 | |
| 49 | This control is used to change the threshold at which a lock is acquired. |
| 50 | |
Takashi Iwai | f336c3f | 2016-11-10 17:36:09 +0100 | [diff] [blame] | 51 | * name='SPDIF In Lock Release Threshold',index=0 |
Damien.Horsley | 8f6eec1 | 2015-11-04 14:40:55 +0000 | [diff] [blame] | 52 | |
| 53 | This control is used to change the threshold at which a lock is released. |