154f38fcaSMauro Carvalho Chehab.. Permission is granted to copy, distribute and/or modify this
254f38fcaSMauro Carvalho Chehab.. document under the terms of the GNU Free Documentation License,
354f38fcaSMauro Carvalho Chehab.. Version 1.1 or any later version published by the Free Software
454f38fcaSMauro Carvalho Chehab.. Foundation, with no Invariant Sections, no Front-Cover Texts
554f38fcaSMauro Carvalho Chehab.. and no Back-Cover Texts. A copy of the license is included at
654f38fcaSMauro Carvalho Chehab.. Documentation/userspace-api/media/fdl-appendix.rst.
754f38fcaSMauro Carvalho Chehab..
854f38fcaSMauro Carvalho Chehab.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
954f38fcaSMauro Carvalho Chehab
1054f38fcaSMauro Carvalho Chehab.. _CA_GET_DESCR_INFO:
1154f38fcaSMauro Carvalho Chehab
1254f38fcaSMauro Carvalho Chehab=================
1354f38fcaSMauro Carvalho ChehabCA_GET_DESCR_INFO
1454f38fcaSMauro Carvalho Chehab=================
1554f38fcaSMauro Carvalho Chehab
1654f38fcaSMauro Carvalho ChehabName
1754f38fcaSMauro Carvalho Chehab----
1854f38fcaSMauro Carvalho Chehab
1954f38fcaSMauro Carvalho ChehabCA_GET_DESCR_INFO
2054f38fcaSMauro Carvalho Chehab
2154f38fcaSMauro Carvalho Chehab
2254f38fcaSMauro Carvalho ChehabSynopsis
2354f38fcaSMauro Carvalho Chehab--------
2454f38fcaSMauro Carvalho Chehab
2554f38fcaSMauro Carvalho Chehab.. c:function:: int  ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
2654f38fcaSMauro Carvalho Chehab    :name: CA_GET_DESCR_INFO
2754f38fcaSMauro Carvalho Chehab
2854f38fcaSMauro Carvalho ChehabArguments
2954f38fcaSMauro Carvalho Chehab---------
3054f38fcaSMauro Carvalho Chehab
3154f38fcaSMauro Carvalho Chehab``fd``
3254f38fcaSMauro Carvalho Chehab  File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
3354f38fcaSMauro Carvalho Chehab
3454f38fcaSMauro Carvalho Chehab``desc``
3554f38fcaSMauro Carvalho Chehab  Pointer to struct :c:type:`ca_descr_info`.
3654f38fcaSMauro Carvalho Chehab
3754f38fcaSMauro Carvalho ChehabDescription
3854f38fcaSMauro Carvalho Chehab-----------
3954f38fcaSMauro Carvalho Chehab
4054f38fcaSMauro Carvalho ChehabReturns information about all descrambler slots.
4154f38fcaSMauro Carvalho Chehab
4254f38fcaSMauro Carvalho ChehabReturn Value
4354f38fcaSMauro Carvalho Chehab------------
4454f38fcaSMauro Carvalho Chehab
4554f38fcaSMauro Carvalho ChehabOn success 0 is returned, and :c:type:`ca_descr_info` is filled.
4654f38fcaSMauro Carvalho Chehab
4754f38fcaSMauro Carvalho ChehabOn error -1 is returned, and the ``errno`` variable is set
4854f38fcaSMauro Carvalho Chehabappropriately. The generic error codes are described at the
4954f38fcaSMauro Carvalho Chehab:ref:`Generic Error Codes <gen-errors>` chapter.
50