diff options
Diffstat (limited to 'Documentation/media/uapi/dvb')
8 files changed, 23 insertions, 23 deletions
diff --git a/Documentation/media/uapi/dvb/ca_data_types.rst b/Documentation/media/uapi/dvb/ca_data_types.rst index 025f910ae945..8a776c855aab 100644 --- a/Documentation/media/uapi/dvb/ca_data_types.rst +++ b/Documentation/media/uapi/dvb/ca_data_types.rst @@ -77,7 +77,7 @@ ca_msg_t unsigned int index; unsigned int type; unsigned int length; - unsigned char msg[256]; + unsigned char msg\[256\]; } ca_msg_t; @@ -92,7 +92,7 @@ ca_descr_t typedef struct ca_descr { unsigned int index; unsigned int parity; - unsigned char cw[8]; + unsigned char cw\[8\]; } ca_descr_t; diff --git a/Documentation/media/uapi/dvb/dmx-get-pes-pids.rst b/Documentation/media/uapi/dvb/dmx-get-pes-pids.rst index ba5d30c913c8..dcca37c7cec1 100644 --- a/Documentation/media/uapi/dvb/dmx-get-pes-pids.rst +++ b/Documentation/media/uapi/dvb/dmx-get-pes-pids.rst @@ -15,7 +15,7 @@ DMX_GET_PES_PIDS Synopsis -------- -.. cpp:function:: int ioctl(fd, int request = DMX_GET_PES_PIDS, __u16[5]) +.. cpp:function:: int ioctl(fd, int request = DMX_GET_PES_PIDS, __u16\[5\]) Arguments @@ -40,7 +40,7 @@ Arguments - .. row 3 - - __u16[5] + - __u16\[5\] - Undocumented. diff --git a/Documentation/media/uapi/dvb/dtv-property.rst b/Documentation/media/uapi/dvb/dtv-property.rst index 5073a49def2a..219111ebc7f5 100644 --- a/Documentation/media/uapi/dvb/dtv-property.rst +++ b/Documentation/media/uapi/dvb/dtv-property.rst @@ -13,14 +13,14 @@ struct dtv_property struct dtv_property { __u32 cmd; - __u32 reserved[3]; + __u32 reserved\[3\]; union { __u32 data; struct dtv_fe_stats st; struct { - __u8 data[32]; + __u8 data\[32\]; __u32 len; - __u32 reserved1[3]; + __u32 reserved1\[3\]; void *reserved2; } buffer; } u; diff --git a/Documentation/media/uapi/dvb/examples.rst b/Documentation/media/uapi/dvb/examples.rst index bf0a8617de92..e23ad9fb2008 100644 --- a/Documentation/media/uapi/dvb/examples.rst +++ b/Documentation/media/uapi/dvb/examples.rst @@ -87,7 +87,7 @@ tuners, but can easily be adjusted for QAM. struct secCmdSequence scmds; struct dmx_pes_filter_params pesFilterParams; FrontendParameters frp; - struct pollfd pfd[1]; + struct pollfd pfd\[1\]; FrontendEvent event; int demux1, demux2, demux3, front; @@ -143,7 +143,7 @@ tuners, but can easily be adjusted for QAM. scmd.u.diseqc.addr=0x10; scmd.u.diseqc.cmd=0x38; scmd.u.diseqc.numParams=1; - scmd.u.diseqc.params[0] = 0xF0 | ((diseqc * 4) & 0x0F) | + scmd.u.diseqc.params\[0\] = 0xF0 | ((diseqc * 4) & 0x0F) | (scmds.continuousTone == SEC_TONE_ON ? 1 : 0) | (scmds.voltage==SEC_VOLTAGE_18 ? 2 : 0); @@ -168,11 +168,11 @@ tuners, but can easily be adjusted for QAM. return -1; } - pfd[0].fd = front; - pfd[0].events = POLLIN; + pfd\[0\].fd = front; + pfd\[0\].events = POLLIN; if (poll(pfd,1,3000)){ - if (pfd[0].revents & POLLIN){ + if (pfd\[0\].revents & POLLIN){ printf("Getting QPSK event\\n"); if ( ioctl(front, FE_GET_EVENT, &event) @@ -324,7 +324,7 @@ recording. int written; uint8_t buf[BUFFY]; uint64_t length; - struct pollfd pfd[1]; + struct pollfd pfd\[1\]; int dvr, dvr_out; /* open dvr device */ @@ -351,13 +351,13 @@ recording. return -1; } - pfd[0].fd = dvr; - pfd[0].events = POLLIN; + pfd\[0\].fd = dvr; + pfd\[0\].events = POLLIN; /* poll for dvr data and write to file */ while (length < MAX_LENGTH ) { if (poll(pfd,1,1)){ - if (pfd[0].revents & POLLIN){ + if (pfd\[0\].revents & POLLIN){ len = read(dvr, buf, BUFFY); if (len < 0){ perror("recording"); diff --git a/Documentation/media/uapi/dvb/fe-diseqc-recv-slave-reply.rst b/Documentation/media/uapi/dvb/fe-diseqc-recv-slave-reply.rst index 7bd02ac7bff4..0c356fcb6f08 100644 --- a/Documentation/media/uapi/dvb/fe-diseqc-recv-slave-reply.rst +++ b/Documentation/media/uapi/dvb/fe-diseqc-recv-slave-reply.rst @@ -52,9 +52,9 @@ struct dvb_diseqc_slave_reply - uint8_t - - msg[4] + - msg\[4\] - - DiSEqC message (framing, data[3]) + - DiSEqC message (framing, data\[3\]) - .. row 2 diff --git a/Documentation/media/uapi/dvb/fe-diseqc-send-master-cmd.rst b/Documentation/media/uapi/dvb/fe-diseqc-send-master-cmd.rst index 58a5e6ac10bd..a60b8dd157fe 100644 --- a/Documentation/media/uapi/dvb/fe-diseqc-send-master-cmd.rst +++ b/Documentation/media/uapi/dvb/fe-diseqc-send-master-cmd.rst @@ -52,9 +52,9 @@ struct dvb_diseqc_master_cmd - uint8_t - - msg[6] + - msg\[6\] - - DiSEqC message (framing, address, command, data[3]) + - DiSEqC message (framing, address, command, data\[3\]) - .. row 2 diff --git a/Documentation/media/uapi/dvb/fe-get-info.rst b/Documentation/media/uapi/dvb/fe-get-info.rst index bb6c32e47ce8..4176977f07b3 100644 --- a/Documentation/media/uapi/dvb/fe-get-info.rst +++ b/Documentation/media/uapi/dvb/fe-get-info.rst @@ -57,7 +57,7 @@ struct dvb_frontend_info - char - - name[128] + - name\[128\] - Name of the frontend diff --git a/Documentation/media/uapi/dvb/video_types.rst b/Documentation/media/uapi/dvb/video_types.rst index 671f365ceeb4..d4debb36580d 100644 --- a/Documentation/media/uapi/dvb/video_types.rst +++ b/Documentation/media/uapi/dvb/video_types.rst @@ -125,7 +125,7 @@ it can be extended safely in the future. } play; struct { - __u32 data[16]; + __u32 data\[16\]; } raw; }; }; @@ -352,7 +352,7 @@ passed to the ioctl VIDEO_GET_NAVI: typedef struct video_navi_pack { int length; /* 0 ... 1024 */ - uint8_t data[1024]; + uint8_t data\[1024\]; } video_navi_pack_t; |