Commit 0d6821ec authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] uapi/cec: adjust tables on LaTeX output



Fix tables to avoid text to overflow the cell limits.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 9486f2ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ returns the information to the application. The ioctl never fails.

.. _cec-caps:

.. tabularcolumns:: |p{1.0cm}|p{1.0cm}|p{15.5cm}|
.. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.8cm}|

.. flat-table:: struct cec_caps
    :header-rows:  0
@@ -91,7 +91,7 @@ returns the information to the application. The ioctl never fails.

.. _cec-capabilities:

.. tabularcolumns:: |p{4.4cm}|p{1.5cm}|p{11.6cm}|
.. tabularcolumns:: |p{4.4cm}|p{2.5cm}|p{10.6cm}|

.. flat-table:: CEC Capabilities Flags
    :header-rows:  0
+4 −2
Original line number Diff line number Diff line
@@ -69,7 +69,9 @@ logical address types are already defined will return with error ``EBUSY``.

.. _cec-log-addrs:

.. tabularcolumns:: |p{1.0cm}|p{1.0cm}|p{15.5cm}|
.. tabularcolumns:: |p{1.0cm}|p{7.5cm}|p{8.0cm}|

.. cssclass:: longtable

.. flat-table:: struct cec_log_addrs
    :header-rows:  0
@@ -311,7 +313,7 @@ logical address types are already defined will return with error ``EBUSY``.

.. _cec-log-addr-types:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|

.. flat-table:: CEC Logical Address Types
    :header-rows:  0
+9 −14
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ it is guaranteed that the state did change in between the two events.

.. _cec-event-state-change_s:

.. tabularcolumns:: |p{1.8cm}|p{1.8cm}|p{13.9cm}|
.. tabularcolumns:: |p{1.2cm}|p{2.9cm}|p{13.4cm}|

.. flat-table:: struct cec_event_state_change
    :header-rows:  0
@@ -82,7 +82,7 @@ it is guaranteed that the state did change in between the two events.

.. _cec-event-lost-msgs_s:

.. tabularcolumns:: |p{1.0cm}|p{1.0cm}|p{15.5cm}|
.. tabularcolumns:: |p{1.0cm}|p{2.0cm}|p{14.5cm}|

.. flat-table:: struct cec_event_lost_msgs
    :header-rows:  0
@@ -110,7 +110,7 @@ it is guaranteed that the state did change in between the two events.

.. _cec-event:

.. tabularcolumns:: |p{1.6cm}|p{1.6cm}|p{1.6cm}|p{12.7cm}|
.. tabularcolumns:: |p{1.0cm}|p{4.2cm}|p{2.5cm}|p{8.8cm}|

.. flat-table:: struct cec_event
    :header-rows:  0
@@ -124,21 +124,18 @@ it is guaranteed that the state did change in between the two events.

       -  ``ts``

       -  Timestamp of the event in ns.
       -  :cspan:`1` Timestamp of the event in ns.

	  The timestamp has been taken from the ``CLOCK_MONOTONIC`` clock. To access
	  the same clock from userspace use :c:func:`clock_gettime(2)`.

       -

    -  .. row 2

       -  __u32

       -  ``event``

       -  The CEC event type, see :ref:`cec-events`.

       -
       -  :cspan:`1` The CEC event type, see :ref:`cec-events`.

    -  .. row 3

@@ -146,9 +143,7 @@ it is guaranteed that the state did change in between the two events.

       -  ``flags``

       -  Event flags, see :ref:`cec-event-flags`.

       -
       -  :cspan:`1` Event flags, see :ref:`cec-event-flags`.

    -  .. row 4

@@ -183,7 +178,7 @@ it is guaranteed that the state did change in between the two events.

.. _cec-events:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|

.. flat-table:: CEC Events Types
    :header-rows:  0
@@ -214,7 +209,7 @@ it is guaranteed that the state did change in between the two events.

.. _cec-event-flags:

.. tabularcolumns:: |p{4.4cm}|p{1.5cm}|p{11.6cm}|
.. tabularcolumns:: |p{6.0cm}|p{0.6cm}|p{10.9cm}|

.. flat-table:: CEC Event Flags
    :header-rows:  0
+3 −3
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ Available initiator modes are:

.. _cec-mode-initiator_e:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|

.. flat-table:: Initiator Modes
    :header-rows:  0
@@ -121,7 +121,7 @@ Available follower modes are:

.. _cec-mode-follower_e:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}|

.. flat-table:: Follower Modes
    :header-rows:  0
@@ -215,7 +215,7 @@ Core message processing details:

.. _cec-core-processing:

.. tabularcolumns:: |p{1.9cm}|p{15.6cm}|
.. tabularcolumns:: |p{6.6cm}|p{10.9cm}|

.. flat-table:: Core Message Processing
    :header-rows:  0
+3 −3
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ result.

.. _cec-msg:

.. tabularcolumns:: |p{1.0cm}|p{1.0cm}|p{15.5cm}|
.. tabularcolumns:: |p{1.0cm}|p{3.5cm}|p{13.0cm}|

.. flat-table:: struct cec_msg
    :header-rows:  0
@@ -254,7 +254,7 @@ result.

.. _cec-tx-status:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|

.. flat-table:: CEC Transmit Status
    :header-rows:  0
@@ -324,7 +324,7 @@ result.

.. _cec-rx-status:

.. tabularcolumns:: |p{2.6cm}|p{0.9cm}|p{14.0cm}|
.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|

.. flat-table:: CEC Receive Status
    :header-rows:  0