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

[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
...@@ -44,7 +44,7 @@ returns the information to the application. The ioctl never fails. ...@@ -44,7 +44,7 @@ returns the information to the application. The ioctl never fails.
.. _cec-caps: .. _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 .. flat-table:: struct cec_caps
:header-rows: 0 :header-rows: 0
...@@ -91,7 +91,7 @@ returns the information to the application. The ioctl never fails. ...@@ -91,7 +91,7 @@ returns the information to the application. The ioctl never fails.
.. _cec-capabilities: .. _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 .. flat-table:: CEC Capabilities Flags
:header-rows: 0 :header-rows: 0
......
...@@ -69,7 +69,9 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -69,7 +69,9 @@ logical address types are already defined will return with error ``EBUSY``.
.. _cec-log-addrs: .. _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 .. flat-table:: struct cec_log_addrs
:header-rows: 0 :header-rows: 0
...@@ -311,7 +313,7 @@ logical address types are already defined will return with error ``EBUSY``. ...@@ -311,7 +313,7 @@ logical address types are already defined will return with error ``EBUSY``.
.. _cec-log-addr-types: .. _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 .. flat-table:: CEC Logical Address Types
:header-rows: 0 :header-rows: 0
......
...@@ -54,7 +54,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -54,7 +54,7 @@ it is guaranteed that the state did change in between the two events.
.. _cec-event-state-change_s: .. _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 .. flat-table:: struct cec_event_state_change
:header-rows: 0 :header-rows: 0
...@@ -82,7 +82,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -82,7 +82,7 @@ it is guaranteed that the state did change in between the two events.
.. _cec-event-lost-msgs_s: .. _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 .. flat-table:: struct cec_event_lost_msgs
:header-rows: 0 :header-rows: 0
...@@ -110,7 +110,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -110,7 +110,7 @@ it is guaranteed that the state did change in between the two events.
.. _cec-event: .. _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 .. flat-table:: struct cec_event
:header-rows: 0 :header-rows: 0
...@@ -124,21 +124,18 @@ it is guaranteed that the state did change in between the two events. ...@@ -124,21 +124,18 @@ it is guaranteed that the state did change in between the two events.
- ``ts`` - ``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 timestamp has been taken from the ``CLOCK_MONOTONIC`` clock. To access
the same clock from userspace use :c:func:`clock_gettime(2)`. the same clock from userspace use :c:func:`clock_gettime(2)`.
-
- .. row 2 - .. row 2
- __u32 - __u32
- ``event`` - ``event``
- The CEC event type, see :ref:`cec-events`. - :cspan:`1` The CEC event type, see :ref:`cec-events`.
-
- .. row 3 - .. row 3
...@@ -146,9 +143,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -146,9 +143,7 @@ it is guaranteed that the state did change in between the two events.
- ``flags`` - ``flags``
- Event flags, see :ref:`cec-event-flags`. - :cspan:`1` Event flags, see :ref:`cec-event-flags`.
-
- .. row 4 - .. row 4
...@@ -183,7 +178,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -183,7 +178,7 @@ it is guaranteed that the state did change in between the two events.
.. _cec-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 .. flat-table:: CEC Events Types
:header-rows: 0 :header-rows: 0
...@@ -214,7 +209,7 @@ it is guaranteed that the state did change in between the two events. ...@@ -214,7 +209,7 @@ it is guaranteed that the state did change in between the two events.
.. _cec-event-flags: .. _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 .. flat-table:: CEC Event Flags
:header-rows: 0 :header-rows: 0
......
...@@ -76,7 +76,7 @@ Available initiator modes are: ...@@ -76,7 +76,7 @@ Available initiator modes are:
.. _cec-mode-initiator_e: .. _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 .. flat-table:: Initiator Modes
:header-rows: 0 :header-rows: 0
...@@ -121,7 +121,7 @@ Available follower modes are: ...@@ -121,7 +121,7 @@ Available follower modes are:
.. _cec-mode-follower_e: .. _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 .. flat-table:: Follower Modes
:header-rows: 0 :header-rows: 0
...@@ -215,7 +215,7 @@ Core message processing details: ...@@ -215,7 +215,7 @@ Core message processing details:
.. _cec-core-processing: .. _cec-core-processing:
.. tabularcolumns:: |p{1.9cm}|p{15.6cm}| .. tabularcolumns:: |p{6.6cm}|p{10.9cm}|
.. flat-table:: Core Message Processing .. flat-table:: Core Message Processing
:header-rows: 0 :header-rows: 0
......
...@@ -75,7 +75,7 @@ result. ...@@ -75,7 +75,7 @@ result.
.. _cec-msg: .. _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 .. flat-table:: struct cec_msg
:header-rows: 0 :header-rows: 0
...@@ -254,7 +254,7 @@ result. ...@@ -254,7 +254,7 @@ result.
.. _cec-tx-status: .. _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 .. flat-table:: CEC Transmit Status
:header-rows: 0 :header-rows: 0
...@@ -324,7 +324,7 @@ result. ...@@ -324,7 +324,7 @@ result.
.. _cec-rx-status: .. _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 .. flat-table:: CEC Receive Status
:header-rows: 0 :header-rows: 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment