hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/media/i2c/nvp6158_drv/nvp6158_coax_protocol.h
....@@ -56,7 +56,7 @@
5656 COAX_CMD_OSD_LEFT,
5757 COAX_CMD_OSD_RIGHT,
5858 COAX_CMD_STOP,
59
-
59
+
6060 COAX_CMD_MAX,
6161
6262 } NC_COAX_CMD_DEF;
....@@ -86,7 +86,7 @@
8686 unsigned char tx_sync_pos1; //B3/4 0x0E/8E
8787 unsigned char tx_even; //B3/4 0x2F/AF
8888 unsigned char tx_zero_length; //B3/4 0x0C/
89
-}NC_VD_COAX_TEST_STR;
89
+} NC_VD_COAX_TEST_STR;
9090
9191 typedef struct NC_VD_COAX_BANK_DUMP_STR{
9292 unsigned char ch;
....@@ -95,7 +95,7 @@
9595
9696 unsigned char rx_pelco_data[256];
9797
98
-}NC_VD_COAX_BANK_DUMP_STR;
98
+} NC_VD_COAX_BANK_DUMP_STR;
9999
100100 /*=============================================================
101101 * Coaxial UP/Down Stream Initialize Structure[APP -> DRV]
....@@ -119,7 +119,7 @@
119119 unsigned char rx_data5[8];
120120 unsigned char rx_data6[8];
121121
122
-}NC_VD_COAX_STR;
122
+} NC_VD_COAX_STR;
123123
124124 typedef struct _nvp6158_coax_str{
125125 unsigned char ch;
....@@ -134,7 +134,7 @@
134134 unsigned char rx_data5[8];
135135 unsigned char rx_data6[8];
136136
137
-}nvp6158_coax_str;
137
+} nvp6158_coax_str;
138138
139139 /*=============================================================
140140 * COAX FW Upgrade
....@@ -146,20 +146,20 @@
146146 unsigned char filename[64]; //
147147 unsigned char filePullname[64+32]; // FirmUP FileNmae
148148 unsigned int filesize;
149
- unsigned int filechecksum; // (sum of file&0x0000FFFFF)
150
- unsigned int currentpacketnum; // current packet sequnce number(0,1,2........)
151
- unsigned int filepacketnum; // file packet number = (total size/128bytes), if remain exist, file packet number++
149
+ unsigned int filechecksum; // (sum of file&0x0000FFFFF)
150
+ unsigned int currentpacketnum; // current packet sequnce number(0,1,2........)
151
+ unsigned int filepacketnum; // file packet number = (total size/128bytes), if remain exist, file packet number++
152152 unsigned char onepacketbuf[128+32];
153153
154
- unsigned int currentFileOffset; // Current file offset
155
- unsigned int readsize; // currnet read size
154
+ unsigned int currentFileOffset; // Current file offset
155
+ unsigned int readsize; // currnet read size
156156
157
- unsigned int receive_addr;
157
+ unsigned int receive_addr;
158158
159159 unsigned int ispossiblefirmup[16]; // is it possible to update firmware?
160
- int result;
160
+ int result;
161161
162
- int appstatus[16]; // Application status
162
+ int appstatus[16]; // Application status
163163
164164 } FIRMWARE_UP_FILE_INFO, *PFIRMWARE_UP_FILE_INFO;
165165
....@@ -172,10 +172,10 @@
172172 void nvp6158_coax_tx_cvi_new_cmd_send( nvp6158_coax_str *ps_coax_str );
173173
174174 // Coaxial Down Stream Function
175
-void nvp6158_coax_rx_init( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Initialize
176
-void nvp6158_coax_rx_data_get( nvp6158_coax_str *coax_rx ); // Coax Rx : All Rx Buffer read
177
-void nvp6158_coax_rx_buffer_clear( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Rx Buffer Clear
178
-void nvp6158_coax_rx_deinit( nvp6158_coax_str *ps_coax_str ); // Coax Rx : 3x63 Set[ 1 -> 0 ]
175
+void nvp6158_coax_rx_init( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Initialize
176
+void nvp6158_coax_rx_data_get( nvp6158_coax_str *coax_rx ); // Coax Rx : All Rx Buffer read
177
+void nvp6158_coax_rx_buffer_clear( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Rx Buffer Clear
178
+void nvp6158_coax_rx_deinit( nvp6158_coax_str *ps_coax_str ); // Coax Rx : 3x63 Set[ 1 -> 0 ]
179179
180180 // Coaxial FW Update Function
181181 void nvp6158_coax_fw_ready_header_check_from_isp_recv(void *p_param);