diff options
Diffstat (limited to 'include/uapi/linux/dvb/frontend.h')
-rw-r--r-- | include/uapi/linux/dvb/frontend.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index b297b65845d6..4f9b4551c534 100644 --- a/include/uapi/linux/dvb/frontend.h +++ b/include/uapi/linux/dvb/frontend.h | |||
@@ -547,7 +547,10 @@ enum fe_interleaving { | |||
547 | #define DTV_STAT_ERROR_BLOCK_COUNT 68 | 547 | #define DTV_STAT_ERROR_BLOCK_COUNT 68 |
548 | #define DTV_STAT_TOTAL_BLOCK_COUNT 69 | 548 | #define DTV_STAT_TOTAL_BLOCK_COUNT 69 |
549 | 549 | ||
550 | #define DTV_MAX_COMMAND DTV_STAT_TOTAL_BLOCK_COUNT | 550 | /* Physical layer scrambling */ |
551 | #define DTV_SCRAMBLING_SEQUENCE_INDEX 70 | ||
552 | |||
553 | #define DTV_MAX_COMMAND DTV_SCRAMBLING_SEQUENCE_INDEX | ||
551 | 554 | ||
552 | /** | 555 | /** |
553 | * enum fe_pilot - Type of pilot tone | 556 | * enum fe_pilot - Type of pilot tone |
@@ -756,16 +759,15 @@ enum fecap_scale_params { | |||
756 | /** | 759 | /** |
757 | * struct dtv_stats - Used for reading a DTV status property | 760 | * struct dtv_stats - Used for reading a DTV status property |
758 | * | 761 | * |
759 | * @scale: Filled with enum fecap_scale_params - the scale | 762 | * @scale: |
760 | * in usage for that parameter | 763 | * Filled with enum fecap_scale_params - the scale in usage |
761 | * | 764 | * for that parameter |
762 | * The ``{unnamed_union}`` may have either one of the values below: | ||
763 | * | 765 | * |
764 | * %svalue | 766 | * @svalue: |
765 | * integer value of the measure, for %FE_SCALE_DECIBEL, | 767 | * integer value of the measure, for %FE_SCALE_DECIBEL, |
766 | * used for dB measures. The unit is 0.001 dB. | 768 | * used for dB measures. The unit is 0.001 dB. |
767 | * | 769 | * |
768 | * %uvalue | 770 | * @uvalue: |
769 | * unsigned integer value of the measure, used when @scale is | 771 | * unsigned integer value of the measure, used when @scale is |
770 | * either %FE_SCALE_RELATIVE or %FE_SCALE_COUNTER. | 772 | * either %FE_SCALE_RELATIVE or %FE_SCALE_COUNTER. |
771 | * | 773 | * |
@@ -828,19 +830,19 @@ struct dtv_fe_stats { | |||
828 | /** | 830 | /** |
829 | * struct dtv_property - store one of frontend command and its value | 831 | * struct dtv_property - store one of frontend command and its value |
830 | * | 832 | * |
831 | * @cmd: Digital TV command. | 833 | * @cmd: Digital TV command. |
832 | * @reserved: Not used. | 834 | * @reserved: Not used. |
833 | * @u: Union with the values for the command. | 835 | * @u: Union with the values for the command. |
834 | * @result: Unused | 836 | * @u.data: A unsigned 32 bits integer with command value. |
835 | * | 837 | * @u.buffer: Struct to store bigger properties. |
836 | * The @u union may have either one of the values below: | 838 | * Currently unused. |
839 | * @u.buffer.data: an unsigned 32-bits array. | ||
840 | * @u.buffer.len: number of elements of the buffer. | ||
841 | * @u.buffer.reserved1: Reserved. | ||
842 | * @u.buffer.reserved2: Reserved. | ||
843 | * @u.st: a &struct dtv_fe_stats array of statistics. | ||
844 | * @result: Currently unused. | ||
837 | * | 845 | * |
838 | * %data | ||
839 | * an unsigned 32-bits number. | ||
840 | * %st | ||
841 | * a &struct dtv_fe_stats array of statistics. | ||
842 | * %buffer | ||
843 | * a buffer of up to 32 characters (currently unused). | ||
844 | */ | 846 | */ |
845 | struct dtv_property { | 847 | struct dtv_property { |
846 | __u32 cmd; | 848 | __u32 cmd; |