Loading Documentation/filesystems/fscrypt.rst +0 −10 Original line number Diff line number Diff line Loading @@ -191,21 +191,11 @@ Currently, the following pairs of encryption modes are supported: - AES-256-XTS for contents and AES-256-CTS-CBC for filenames - AES-128-CBC for contents and AES-128-CTS-CBC for filenames - Speck128/256-XTS for contents and Speck128/256-CTS-CBC for filenames It is strongly recommended to use AES-256-XTS for contents encryption. AES-128-CBC was added only for low-powered embedded devices with crypto accelerators such as CAAM or CESA that do not support XTS. Similarly, Speck128/256 support was only added for older or low-end CPUs which cannot do AES fast enough -- especially ARM CPUs which have NEON instructions but not the Cryptography Extensions -- and for which it would not otherwise be feasible to use encryption at all. It is not recommended to use Speck on CPUs that have AES instructions. Speck support is only available if it has been enabled in the crypto API via CONFIG_CRYPTO_SPECK. Also, on ARM platforms, to get acceptable performance CONFIG_CRYPTO_SPECK_NEON must be enabled. New encryption modes can be added relatively easily, without changes to individual filesystems. However, authenticated encryption (AE) modes are not currently supported because of the difficulty of dealing Loading Documentation/media/uapi/cec/cec-ioc-receive.rst +23 −2 Original line number Diff line number Diff line Loading @@ -16,10 +16,10 @@ CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message Synopsis ======== .. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg *argp ) .. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg \*argp ) :name: CEC_RECEIVE .. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg *argp ) .. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg \*argp ) :name: CEC_TRANSMIT Arguments Loading Loading @@ -272,6 +272,19 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The transmit failed after one or more retries. This status bit is mutually exclusive with :ref:`CEC_TX_STATUS_OK <CEC-TX-STATUS-OK>`. Other bits can still be set to explain which failures were seen. * .. _`CEC-TX-STATUS-ABORTED`: - ``CEC_TX_STATUS_ABORTED`` - 0x40 - The transmit was aborted due to an HDMI disconnect, or the adapter was unconfigured, or a transmit was interrupted, or the driver returned an error when attempting to start a transmit. * .. _`CEC-TX-STATUS-TIMEOUT`: - ``CEC_TX_STATUS_TIMEOUT`` - 0x80 - The transmit timed out. This should not normally happen and this indicates a driver problem. .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| Loading Loading @@ -300,6 +313,14 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The message was received successfully but the reply was ``CEC_MSG_FEATURE_ABORT``. This status is only set if this message was the reply to an earlier transmitted message. * .. _`CEC-RX-STATUS-ABORTED`: - ``CEC_RX_STATUS_ABORTED`` - 0x08 - The wait for a reply to an earlier transmitted message was aborted because the HDMI cable was disconnected, the adapter was unconfigured or the :ref:`CEC_TRANSMIT <CEC_RECEIVE>` that waited for a reply was interrupted. Loading Documentation/media/uapi/v4l/biblio.rst +0 −10 Original line number Diff line number Diff line Loading @@ -226,16 +226,6 @@ xvYCC :author: International Electrotechnical Commission (http://www.iec.ch) .. _adobergb: AdobeRGB ======== :title: Adobe© RGB (1998) Color Image Encoding Version 2005-05 :author: Adobe Systems Incorporated (http://www.adobe.com) .. _oprgb: opRGB Loading Documentation/media/uapi/v4l/colorspaces-defs.rst +4 −4 Original line number Diff line number Diff line Loading @@ -51,8 +51,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - See :ref:`col-rec709`. * - ``V4L2_COLORSPACE_SRGB`` - See :ref:`col-srgb`. * - ``V4L2_COLORSPACE_ADOBERGB`` - See :ref:`col-adobergb`. * - ``V4L2_COLORSPACE_OPRGB`` - See :ref:`col-oprgb`. * - ``V4L2_COLORSPACE_BT2020`` - See :ref:`col-bt2020`. * - ``V4L2_COLORSPACE_DCI_P3`` Loading Loading @@ -90,8 +90,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - Use the Rec. 709 transfer function. * - ``V4L2_XFER_FUNC_SRGB`` - Use the sRGB transfer function. * - ``V4L2_XFER_FUNC_ADOBERGB`` - Use the AdobeRGB transfer function. * - ``V4L2_XFER_FUNC_OPRGB`` - Use the opRGB transfer function. * - ``V4L2_XFER_FUNC_SMPTE240M`` - Use the SMPTE 240M transfer function. * - ``V4L2_XFER_FUNC_NONE`` Loading Documentation/media/uapi/v4l/colorspaces-details.rst +6 −7 Original line number Diff line number Diff line Loading @@ -290,15 +290,14 @@ Y' is clamped to the range [0…1] and Cb and Cr are clamped to the range 170M/BT.601. The Y'CbCr quantization is limited range. .. _col-adobergb: .. _col-oprgb: Colorspace Adobe RGB (V4L2_COLORSPACE_ADOBERGB) Colorspace opRGB (V4L2_COLORSPACE_OPRGB) =============================================== The :ref:`adobergb` standard defines the colorspace used by computer graphics that use the AdobeRGB colorspace. This is also known as the :ref:`oprgb` standard. The default transfer function is ``V4L2_XFER_FUNC_ADOBERGB``. The default Y'CbCr encoding is The :ref:`oprgb` standard defines the colorspace used by computer graphics that use the opRGB colorspace. The default transfer function is ``V4L2_XFER_FUNC_OPRGB``. The default Y'CbCr encoding is ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited range. Loading @@ -312,7 +311,7 @@ The chromaticities of the primary colors and the white reference are: .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. flat-table:: Adobe RGB Chromaticities .. flat-table:: opRGB Chromaticities :header-rows: 1 :stub-columns: 0 :widths: 1 1 2 Loading Loading
Documentation/filesystems/fscrypt.rst +0 −10 Original line number Diff line number Diff line Loading @@ -191,21 +191,11 @@ Currently, the following pairs of encryption modes are supported: - AES-256-XTS for contents and AES-256-CTS-CBC for filenames - AES-128-CBC for contents and AES-128-CTS-CBC for filenames - Speck128/256-XTS for contents and Speck128/256-CTS-CBC for filenames It is strongly recommended to use AES-256-XTS for contents encryption. AES-128-CBC was added only for low-powered embedded devices with crypto accelerators such as CAAM or CESA that do not support XTS. Similarly, Speck128/256 support was only added for older or low-end CPUs which cannot do AES fast enough -- especially ARM CPUs which have NEON instructions but not the Cryptography Extensions -- and for which it would not otherwise be feasible to use encryption at all. It is not recommended to use Speck on CPUs that have AES instructions. Speck support is only available if it has been enabled in the crypto API via CONFIG_CRYPTO_SPECK. Also, on ARM platforms, to get acceptable performance CONFIG_CRYPTO_SPECK_NEON must be enabled. New encryption modes can be added relatively easily, without changes to individual filesystems. However, authenticated encryption (AE) modes are not currently supported because of the difficulty of dealing Loading
Documentation/media/uapi/cec/cec-ioc-receive.rst +23 −2 Original line number Diff line number Diff line Loading @@ -16,10 +16,10 @@ CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message Synopsis ======== .. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg *argp ) .. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg \*argp ) :name: CEC_RECEIVE .. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg *argp ) .. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg \*argp ) :name: CEC_TRANSMIT Arguments Loading Loading @@ -272,6 +272,19 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The transmit failed after one or more retries. This status bit is mutually exclusive with :ref:`CEC_TX_STATUS_OK <CEC-TX-STATUS-OK>`. Other bits can still be set to explain which failures were seen. * .. _`CEC-TX-STATUS-ABORTED`: - ``CEC_TX_STATUS_ABORTED`` - 0x40 - The transmit was aborted due to an HDMI disconnect, or the adapter was unconfigured, or a transmit was interrupted, or the driver returned an error when attempting to start a transmit. * .. _`CEC-TX-STATUS-TIMEOUT`: - ``CEC_TX_STATUS_TIMEOUT`` - 0x80 - The transmit timed out. This should not normally happen and this indicates a driver problem. .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}| Loading Loading @@ -300,6 +313,14 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The message was received successfully but the reply was ``CEC_MSG_FEATURE_ABORT``. This status is only set if this message was the reply to an earlier transmitted message. * .. _`CEC-RX-STATUS-ABORTED`: - ``CEC_RX_STATUS_ABORTED`` - 0x08 - The wait for a reply to an earlier transmitted message was aborted because the HDMI cable was disconnected, the adapter was unconfigured or the :ref:`CEC_TRANSMIT <CEC_RECEIVE>` that waited for a reply was interrupted. Loading
Documentation/media/uapi/v4l/biblio.rst +0 −10 Original line number Diff line number Diff line Loading @@ -226,16 +226,6 @@ xvYCC :author: International Electrotechnical Commission (http://www.iec.ch) .. _adobergb: AdobeRGB ======== :title: Adobe© RGB (1998) Color Image Encoding Version 2005-05 :author: Adobe Systems Incorporated (http://www.adobe.com) .. _oprgb: opRGB Loading
Documentation/media/uapi/v4l/colorspaces-defs.rst +4 −4 Original line number Diff line number Diff line Loading @@ -51,8 +51,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - See :ref:`col-rec709`. * - ``V4L2_COLORSPACE_SRGB`` - See :ref:`col-srgb`. * - ``V4L2_COLORSPACE_ADOBERGB`` - See :ref:`col-adobergb`. * - ``V4L2_COLORSPACE_OPRGB`` - See :ref:`col-oprgb`. * - ``V4L2_COLORSPACE_BT2020`` - See :ref:`col-bt2020`. * - ``V4L2_COLORSPACE_DCI_P3`` Loading Loading @@ -90,8 +90,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - Use the Rec. 709 transfer function. * - ``V4L2_XFER_FUNC_SRGB`` - Use the sRGB transfer function. * - ``V4L2_XFER_FUNC_ADOBERGB`` - Use the AdobeRGB transfer function. * - ``V4L2_XFER_FUNC_OPRGB`` - Use the opRGB transfer function. * - ``V4L2_XFER_FUNC_SMPTE240M`` - Use the SMPTE 240M transfer function. * - ``V4L2_XFER_FUNC_NONE`` Loading
Documentation/media/uapi/v4l/colorspaces-details.rst +6 −7 Original line number Diff line number Diff line Loading @@ -290,15 +290,14 @@ Y' is clamped to the range [0…1] and Cb and Cr are clamped to the range 170M/BT.601. The Y'CbCr quantization is limited range. .. _col-adobergb: .. _col-oprgb: Colorspace Adobe RGB (V4L2_COLORSPACE_ADOBERGB) Colorspace opRGB (V4L2_COLORSPACE_OPRGB) =============================================== The :ref:`adobergb` standard defines the colorspace used by computer graphics that use the AdobeRGB colorspace. This is also known as the :ref:`oprgb` standard. The default transfer function is ``V4L2_XFER_FUNC_ADOBERGB``. The default Y'CbCr encoding is The :ref:`oprgb` standard defines the colorspace used by computer graphics that use the opRGB colorspace. The default transfer function is ``V4L2_XFER_FUNC_OPRGB``. The default Y'CbCr encoding is ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited range. Loading @@ -312,7 +311,7 @@ The chromaticities of the primary colors and the white reference are: .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| .. flat-table:: Adobe RGB Chromaticities .. flat-table:: opRGB Chromaticities :header-rows: 1 :stub-columns: 0 :widths: 1 1 2 Loading