~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/display/sdtv-standards.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only OR X11 */
  2 /*
  3  * Copyright 2019 Pengutronix, Marco Felsch <kernel@pengutronix.de>
  4  */
  5 
  6 #ifndef _DT_BINDINGS_DISPLAY_SDTV_STDS_H
  7 #define _DT_BINDINGS_DISPLAY_SDTV_STDS_H
  8 
  9 /*
 10  * Attention: Keep the SDTV_STD_* bit definitions in sync with
 11  * include/uapi/linux/videodev2.h V4L2_STD_* bit definitions.
 12  */
 13 /* One bit for each standard */
 14 #define SDTV_STD_PAL_B          0x00000001
 15 #define SDTV_STD_PAL_B1         0x00000002
 16 #define SDTV_STD_PAL_G          0x00000004
 17 #define SDTV_STD_PAL_H          0x00000008
 18 #define SDTV_STD_PAL_I          0x00000010
 19 #define SDTV_STD_PAL_D          0x00000020
 20 #define SDTV_STD_PAL_D1         0x00000040
 21 #define SDTV_STD_PAL_K          0x00000080
 22 
 23 #define SDTV_STD_PAL            (SDTV_STD_PAL_B         | \
 24                                  SDTV_STD_PAL_B1        | \
 25                                  SDTV_STD_PAL_G         | \
 26                                  SDTV_STD_PAL_H         | \
 27                                  SDTV_STD_PAL_I         | \
 28                                  SDTV_STD_PAL_D         | \
 29                                  SDTV_STD_PAL_D1        | \
 30                                  SDTV_STD_PAL_K)
 31 
 32 #define SDTV_STD_PAL_M          0x00000100
 33 #define SDTV_STD_PAL_N          0x00000200
 34 #define SDTV_STD_PAL_Nc         0x00000400
 35 #define SDTV_STD_PAL_60         0x00000800
 36 
 37 #define SDTV_STD_NTSC_M         0x00001000      /* BTSC */
 38 #define SDTV_STD_NTSC_M_JP      0x00002000      /* EIA-J */
 39 #define SDTV_STD_NTSC_443       0x00004000
 40 #define SDTV_STD_NTSC_M_KR      0x00008000      /* FM A2 */
 41 
 42 #define SDTV_STD_NTSC           (SDTV_STD_NTSC_M        | \
 43                                  SDTV_STD_NTSC_M_JP     | \
 44                                  SDTV_STD_NTSC_M_KR)
 45 
 46 #define SDTV_STD_SECAM_B        0x00010000
 47 #define SDTV_STD_SECAM_D        0x00020000
 48 #define SDTV_STD_SECAM_G        0x00040000
 49 #define SDTV_STD_SECAM_H        0x00080000
 50 #define SDTV_STD_SECAM_K        0x00100000
 51 #define SDTV_STD_SECAM_K1       0x00200000
 52 #define SDTV_STD_SECAM_L        0x00400000
 53 #define SDTV_STD_SECAM_LC       0x00800000
 54 
 55 #define SDTV_STD_SECAM          (SDTV_STD_SECAM_B       | \
 56                                  SDTV_STD_SECAM_D       | \
 57                                  SDTV_STD_SECAM_G       | \
 58                                  SDTV_STD_SECAM_H       | \
 59                                  SDTV_STD_SECAM_K       | \
 60                                  SDTV_STD_SECAM_K1      | \
 61                                  SDTV_STD_SECAM_L       | \
 62                                  SDTV_STD_SECAM_LC)
 63 
 64 /* Standards for Countries with 60Hz Line frequency */
 65 #define SDTV_STD_525_60         (SDTV_STD_PAL_M         | \
 66                                  SDTV_STD_PAL_60        | \
 67                                  SDTV_STD_NTSC          | \
 68                                  SDTV_STD_NTSC_443)
 69 
 70 /* Standards for Countries with 50Hz Line frequency */
 71 #define SDTV_STD_625_50         (SDTV_STD_PAL           | \
 72                                  SDTV_STD_PAL_N         | \
 73                                  SDTV_STD_PAL_Nc        | \
 74                                  SDTV_STD_SECAM)
 75 
 76 #endif /* _DT_BINDINGS_DISPLAY_SDTV_STDS_H */
 77 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php