Skip to content

Commit 4e5910e

Browse files
desmendMauro Carvalho Chehab
authored andcommitted
V4L/DVB (3319): Changed indention for define's and their values
- Indention for values of several request defines were not TabSized=8. Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent f2a3331 commit 4e5910e

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

drivers/media/dvb/dvb-usb/vp702x.h

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,47 @@ extern int dvb_usb_vp702x_debug;
1313
/* commands are read and written with USB control messages */
1414

1515
/* consecutive read/write operation */
16-
#define REQUEST_OUT 0xB2
17-
#define REQUEST_IN 0xB3
16+
#define REQUEST_OUT 0xB2
17+
#define REQUEST_IN 0xB3
1818

1919
/* the out-buffer of these consecutive operations contain sub-commands when b[0] = 0
2020
* request: 0xB2; i: 0; v: 0; b[0] = 0, b[1] = subcmd, additional buffer
2121
* the returning buffer looks as follows
2222
* request: 0xB3; i: 0; v: 0; b[0] = 0xB3, additional buffer */
2323

24-
#define GET_TUNER_STATUS 0x05
24+
#define GET_TUNER_STATUS 0x05
2525
/* additional in buffer:
2626
* 0 1 2 3 4 5 6 7 8
2727
* N/A N/A 0x05 signal-quality N/A N/A signal-strength lock==0 N/A */
2828

29-
#define GET_SYSTEM_STRING 0x06
29+
#define GET_SYSTEM_STRING 0x06
3030
/* additional in buffer:
3131
* 0 1 2 3 4 5 6 7 8
3232
* N/A 'U' 'S' 'B' '7' '0' '2' 'X' N/A */
3333

34-
#define SET_DISEQC_CMD 0x08
34+
#define SET_DISEQC_CMD 0x08
3535
/* additional out buffer:
3636
* 0 1 2 3 4
3737
* len X1 X2 X3 X4
3838
* additional in buffer:
3939
* 0 1 2
40-
* N/A 0 0 b[1] == b[2] == 0 -> success otherwise not */
40+
* N/A 0 0 b[1] == b[2] == 0 -> success, failure otherwise */
4141

42-
#define SET_LNB_POWER 0x09
42+
#define SET_LNB_POWER 0x09
4343
/* additional out buffer:
4444
* 0 1 2
4545
* 0x00 0xff 1 = on, 0 = off
4646
* additional in buffer:
4747
* 0 1 2
48-
* N/A 0 0 b[1] == b[2] == 0 -> success otherwise not */
48+
* N/A 0 0 b[1] == b[2] == 0 -> success failure otherwise */
4949

50-
#define GET_MAC_ADDRESS 0x0A
50+
#define GET_MAC_ADDRESS 0x0A
5151
/* #define GET_MAC_ADDRESS 0x0B */
5252
/* additional in buffer:
5353
* 0 1 2 3 4 5 6 7 8
5454
* N/A N/A 0x0A or 0x0B MAC0 MAC1 MAC2 MAC3 MAC4 MAC5 */
5555

56-
#define SET_PID_FILTER 0x11
56+
#define SET_PID_FILTER 0x11
5757
/* additional in buffer:
5858
* 0 1 ... 14 15 16
5959
* PID0_MSB PID0_LSB ... PID7_MSB PID7_LSB PID_active (bits) */
@@ -64,39 +64,38 @@ extern int dvb_usb_vp702x_debug;
6464
* freq0 freq1 divstep srate0 srate1 srate2 flag chksum
6565
*/
6666

67-
6867
/* one direction requests */
69-
#define READ_REMOTE_REQ 0xB4
68+
#define READ_REMOTE_REQ 0xB4
7069
/* IN i: 0; v: 0; b[0] == request, b[1] == key */
7170

72-
#define READ_PID_NUMBER_REQ 0xB5
71+
#define READ_PID_NUMBER_REQ 0xB5
7372
/* IN i: 0; v: 0; b[0] == request, b[1] == 0, b[2] = pid number */
7473

75-
#define WRITE_EEPROM_REQ 0xB6
74+
#define WRITE_EEPROM_REQ 0xB6
7675
/* OUT i: offset; v: value to write; no extra buffer */
7776

78-
#define READ_EEPROM_REQ 0xB7
77+
#define READ_EEPROM_REQ 0xB7
7978
/* IN i: bufferlen; v: offset; buffer with bufferlen bytes */
8079

81-
#define READ_STATUS 0xB8
80+
#define READ_STATUS 0xB8
8281
/* IN i: 0; v: 0; bufferlen 10 */
8382

84-
#define READ_TUNER_REG_REQ 0xB9
83+
#define READ_TUNER_REG_REQ 0xB9
8584
/* IN i: 0; v: register; b[0] = value */
8685

87-
#define READ_FX2_REG_REQ 0xBA
86+
#define READ_FX2_REG_REQ 0xBA
8887
/* IN i: offset; v: 0; b[0] = value */
8988

90-
#define WRITE_FX2_REG_REQ 0xBB
89+
#define WRITE_FX2_REG_REQ 0xBB
9190
/* OUT i: offset; v: value to write; 1 byte extra buffer */
9291

93-
#define SET_TUNER_POWER_REQ 0xBC
92+
#define SET_TUNER_POWER_REQ 0xBC
9493
/* IN i: 0 = power off, 1 = power on */
9594

96-
#define WRITE_TUNER_REG_REQ 0xBD
95+
#define WRITE_TUNER_REG_REQ 0xBD
9796
/* IN i: register, v: value to write, no extra buffer */
9897

99-
#define RESET_TUNER 0xBE
98+
#define RESET_TUNER 0xBE
10099
/* IN i: 0, v: 0, no extra buffer */
101100

102101
extern struct dvb_frontend * vp702x_fe_attach(struct dvb_usb_device *d);

0 commit comments

Comments
 (0)