Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
| 3 | .. _FE_GET_FRONTEND: |
| 4 | |
| 5 | *************** |
| 6 | FE_GET_FRONTEND |
| 7 | *************** |
| 8 | |
| 9 | DESCRIPTION |
| 10 | |
| 11 | This ioctl call queries the currently effective frontend parameters. For |
| 12 | this command, read-only access to the device is sufficient. |
| 13 | |
| 14 | SYNOPSIS |
| 15 | |
| 16 | int ioctl(int fd, int request = |
Mauro Carvalho Chehab | 7347081 | 2016-07-01 13:58:44 -0300 | [diff] [blame] | 17 | :ref:`FE_GET_FRONTEND`, struct |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 18 | dvb_frontend_parameters *p); |
| 19 | |
| 20 | PARAMETERS |
| 21 | |
| 22 | |
| 23 | |
| 24 | .. flat-table:: |
| 25 | :header-rows: 0 |
| 26 | :stub-columns: 0 |
| 27 | |
| 28 | |
| 29 | - .. row 1 |
| 30 | |
| 31 | - int fd |
| 32 | |
| 33 | - File descriptor returned by a previous call to open(). |
| 34 | |
| 35 | - .. row 2 |
| 36 | |
| 37 | - int request |
| 38 | |
Mauro Carvalho Chehab | 7347081 | 2016-07-01 13:58:44 -0300 | [diff] [blame] | 39 | - Equals :ref:`FE_SET_FRONTEND` for this |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 40 | command. |
| 41 | |
| 42 | - .. row 3 |
| 43 | |
| 44 | - struct dvb_frontend_parameters *p |
| 45 | |
| 46 | - Points to parameters for tuning operation. |
| 47 | |
| 48 | |
| 49 | RETURN VALUE |
| 50 | |
| 51 | On success 0 is returned, on error -1 and the ``errno`` variable is set |
| 52 | appropriately. The generic error codes are described at the |
| 53 | :ref:`Generic Error Codes <gen-errors>` chapter. |
| 54 | |
| 55 | |
| 56 | |
| 57 | .. flat-table:: |
| 58 | :header-rows: 0 |
| 59 | :stub-columns: 0 |
| 60 | |
| 61 | |
| 62 | - .. row 1 |
| 63 | |
Mauro Carvalho Chehab | cdb4af0 | 2016-07-03 11:53:09 -0300 | [diff] [blame^] | 64 | - ``EINVAL`` |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 65 | |
| 66 | - Maximum supported symbol rate reached. |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | .. ------------------------------------------------------------------------------ |
| 72 | .. This file was automatically converted from DocBook-XML with the dbxml |
| 73 | .. library (https://github.com/return42/sphkerneldoc). The origin XML comes |
| 74 | .. from the linux kernel, refer to: |
| 75 | .. |
| 76 | .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook |
| 77 | .. ------------------------------------------------------------------------------ |