aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smscoreapi.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-15 15:50:11 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:21:40 -0400
commit59bf6b8e85209f4b875e319b42e8f13af7797826 (patch)
tree4e631b408e6c615fb944abfbd12f326bd07c42f4 /drivers/media/dvb/siano/smscoreapi.h
parentfa830e8a014a206103d06a7600ed8c661b427db3 (diff)
V4L/DVB (8283): sms1xxx: 80-column cleanups
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r--drivers/media/dvb/siano/smscoreapi.h156
1 files changed, 99 insertions, 57 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.h b/drivers/media/dvb/siano/smscoreapi.h
index 4860e318a5b8..2a823b37ccf7 100644
--- a/drivers/media/dvb/siano/smscoreapi.h
+++ b/drivers/media/dvb/siano/smscoreapi.h
@@ -50,7 +50,8 @@ typedef struct mutex kmutex_t;
50 50
51#define SMS_ALLOC_ALIGNMENT 128 51#define SMS_ALLOC_ALIGNMENT 128
52#define SMS_DMA_ALIGNMENT 16 52#define SMS_DMA_ALIGNMENT 16
53#define SMS_ALIGN_ADDRESS(addr) ((((u32)(addr)) + (SMS_DMA_ALIGNMENT-1)) & ~(SMS_DMA_ALIGNMENT-1)) 53#define SMS_ALIGN_ADDRESS(addr) \
54 ((((u32)(addr)) + (SMS_DMA_ALIGNMENT-1)) & ~(SMS_DMA_ALIGNMENT-1))
54 55
55#define SMS_DEVICE_FAMILY2 1 56#define SMS_DEVICE_FAMILY2 1
56#define SMS_ROM_NO_RESPONSE 2 57#define SMS_ROM_NO_RESPONSE 2
@@ -68,7 +69,8 @@ typedef struct _smscore_device smscore_device_t;
68typedef struct _smscore_client smscore_client_t; 69typedef struct _smscore_client smscore_client_t;
69typedef struct _smscore_buffer smscore_buffer_t; 70typedef struct _smscore_buffer smscore_buffer_t;
70 71
71typedef int (*hotplug_t)(smscore_device_t *coredev, struct device *device, int arrival); 72typedef int (*hotplug_t)(smscore_device_t *coredev,
73 struct device *device, int arrival);
72 74
73typedef int (*setmode_t)(void *context, int mode); 75typedef int (*setmode_t)(void *context, int mode);
74typedef void (*detectmode_t)(void *context, int *mode); 76typedef void (*detectmode_t)(void *context, int *mode);
@@ -196,7 +198,8 @@ typedef struct _smsclient_params
196 (ptr)->msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \ 198 (ptr)->msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \
197 (ptr)->msgLength = len; (ptr)->msgFlags = 0; \ 199 (ptr)->msgLength = len; (ptr)->msgFlags = 0; \
198} while (0) 200} while (0)
199#define SMS_INIT_MSG(ptr, type, len) SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len) 201#define SMS_INIT_MSG(ptr, type, len) \
202 SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len)
200 203
201typedef enum 204typedef enum
202{ 205{
@@ -243,8 +246,11 @@ typedef struct SmsVersionRes_S
243 u8 Step; /* 0 - Step A */ 246 u8 Step; /* 0 - Step A */
244 u8 MetalFix; /* 0 - Metal 0 */ 247 u8 MetalFix; /* 0 - Metal 0 */
245 248
246 u8 FirmwareId; /* 0xFF � ROM, otherwise the value indicated by SMSHOSTLIB_DEVICE_MODES_E */ 249 u8 FirmwareId; /* 0xFF � ROM, otherwise the
247 u8 SupportedProtocols; /* Bitwise OR combination of supported protocols */ 250 * value indicated by
251 * SMSHOSTLIB_DEVICE_MODES_E */
252 u8 SupportedProtocols; /* Bitwise OR combination of
253 * supported protocols */
248 254
249 u8 VersionMajor; 255 u8 VersionMajor;
250 u8 VersionMinor; 256 u8 VersionMinor;
@@ -280,36 +286,44 @@ typedef struct SMSHOSTLIB_STATISTICS_S
280 s32 SNR; /* dB */ 286 s32 SNR; /* dB */
281 u32 BER; /* Post Viterbi BER [1E-5] */ 287 u32 BER; /* Post Viterbi BER [1E-5] */
282 u32 FIB_CRC; /* CRC errors percentage, valid only for DAB */ 288 u32 FIB_CRC; /* CRC errors percentage, valid only for DAB */
283 u32 TS_PER; /* Transport stream PER, 0xFFFFFFFF indicate N/A, valid only for DVB-T/H */ 289 u32 TS_PER; /* Transport stream PER, 0xFFFFFFFF indicate N/A,
284 u32 MFER; /* DVB-H frame error rate in percentage, 0xFFFFFFFF indicate N/A, valid only for DVB-H */ 290 * valid only for DVB-T/H */
291 u32 MFER; /* DVB-H frame error rate in percentage,
292 * 0xFFFFFFFF indicate N/A, valid only for DVB-H */
285 s32 RSSI; /* dBm */ 293 s32 RSSI; /* dBm */
286 s32 InBandPwr; /* In band power in dBM */ 294 s32 InBandPwr; /* In band power in dBM */
287 s32 CarrierOffset; /* Carrier Offset in bin/1024 */ 295 s32 CarrierOffset; /* Carrier Offset in bin/1024 */
288 296
289 /* Transmission parameters */ 297 /* Transmission parameters, valid only for DVB-T/H */
290 u32 Frequency; /* Frequency in Hz */ 298 u32 Frequency; /* Frequency in Hz */
291 u32 Bandwidth; /* Bandwidth in MHz, valid only for DVB-T/H */ 299 u32 Bandwidth; /* Bandwidth in MHz */
292 u32 TransmissionMode; /* Transmission Mode, for DAB modes 1-4, for DVB-T/H FFT mode carriers in Kilos */ 300 u32 TransmissionMode; /* Transmission Mode, for DAB modes 1-4,
293 u32 ModemState; /* from SMS_DvbModemState_ET , valid only for DVB-T/H */ 301 * for DVB-T/H FFT mode carriers in Kilos */
294 u32 GuardInterval; /* Guard Interval, 1 divided by value , valid only for DVB-T/H */ 302 u32 ModemState; /* from SMS_DvbModemState_ET */
295 u32 CodeRate; /* Code Rate from SMS_DvbModemState_ET, valid only for DVB-T/H */ 303 u32 GuardInterval; /* Guard Interval, 1 divided by value */
296 u32 LPCodeRate; /* Low Priority Code Rate from SMS_DvbModemState_ET, valid only for DVB-T/H */ 304 u32 CodeRate; /* Code Rate from SMS_DvbModemState_ET */
297 u32 Hierarchy; /* Hierarchy from SMS_Hierarchy_ET, valid only for DVB-T/H */ 305 u32 LPCodeRate; /* Low Priority Code Rate from SMS_DvbModemState_ET */
298 u32 Constellation; /* Constellation from SMS_Constellation_ET, valid only for DVB-T/H */ 306 u32 Hierarchy; /* Hierarchy from SMS_Hierarchy_ET */
307 u32 Constellation; /* Constellation from SMS_Constellation_ET */
299 308
300 /* Burst parameters, valid only for DVB-H */ 309 /* Burst parameters, valid only for DVB-H */
301 u32 BurstSize; /* Current burst size in bytes, valid only for DVB-H */ 310 u32 BurstSize; /* Current burst size in bytes */
302 u32 BurstDuration; /* Current burst duration in mSec, valid only for DVB-H */ 311 u32 BurstDuration; /* Current burst duration in mSec */
303 u32 BurstCycleTime; /* Current burst cycle time in mSec, valid only for DVB-H */ 312 u32 BurstCycleTime; /* Current burst cycle time in mSec */
304 u32 CalculatedBurstCycleTime; /* Current burst cycle time in mSec, as calculated by demodulator, valid only for DVB-H */ 313 u32 CalculatedBurstCycleTime; /* Current burst cycle time in mSec,
305 u32 NumOfRows; /* Number of rows in MPE table, valid only for DVB-H */ 314 * as calculated by demodulator */
306 u32 NumOfPaddCols; /* Number of padding columns in MPE table, valid only for DVB-H */ 315 u32 NumOfRows; /* Number of rows in MPE table */
307 u32 NumOfPunctCols; /* Number of puncturing columns in MPE table, valid only for DVB-H */ 316 u32 NumOfPaddCols; /* Number of padding columns in MPE table */
317 u32 NumOfPunctCols; /* Number of puncturing columns in MPE table */
318 /* Burst parameters */
308 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */ 319 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */
309 u32 TotalTSPackets; /* Total number of transport-stream packets */ 320 u32 TotalTSPackets; /* Total number of transport-stream packets */
310 u32 NumOfValidMpeTlbs; /* Number of MPE tables which do not include errors after MPE RS decoding */ 321 u32 NumOfValidMpeTlbs; /* Number of MPE tables which do not include
311 u32 NumOfInvalidMpeTlbs; /* Number of MPE tables which include errors after MPE RS decoding */ 322 * errors after MPE RS decoding */
312 u32 NumOfCorrectedMpeTlbs; /* Number of MPE tables which were corrected by MPE RS decoding */ 323 u32 NumOfInvalidMpeTlbs; /* Number of MPE tables which include errors
324 * after MPE RS decoding */
325 u32 NumOfCorrectedMpeTlbs; /* Number of MPE tables which were corrected
326 * by MPE RS decoding */
313 327
314 /* Common params */ 328 /* Common params */
315 u32 BERErrorCount; /* Number of errornous SYNC bits. */ 329 u32 BERErrorCount; /* Number of errornous SYNC bits. */
@@ -322,7 +336,8 @@ typedef struct SMSHOSTLIB_STATISTICS_S
322 u32 PreBER; /* DAB/T-DMB only: Pre Viterbi BER [1E-5] */ 336 u32 PreBER; /* DAB/T-DMB only: Pre Viterbi BER [1E-5] */
323 337
324 /* DVB-H TPS parameters */ 338 /* DVB-H TPS parameters */
325 u32 CellId; /* TPS Cell ID in bits 15..0, bits 31..16 zero; if set to 0xFFFFFFFF cell_id not yet recovered */ 339 u32 CellId; /* TPS Cell ID in bits 15..0, bits 31..16 zero;
340 * if set to 0xFFFFFFFF cell_id not yet recovered */
326 341
327} SMSHOSTLIB_STATISTICS_ST; 342} SMSHOSTLIB_STATISTICS_ST;
328 343
@@ -341,8 +356,10 @@ typedef struct
341typedef struct SMSHOSTLIB_ISDBT_LAYER_STAT_S 356typedef struct SMSHOSTLIB_ISDBT_LAYER_STAT_S
342{ 357{
343 /* Per-layer information */ 358 /* Per-layer information */
344 u32 CodeRate; /* Code Rate from SMSHOSTLIB_CODE_RATE_ET, 255 means layer does not exist */ 359 u32 CodeRate; /* Code Rate from SMSHOSTLIB_CODE_RATE_ET,
345 u32 Constellation; /* Constellation from SMSHOSTLIB_CONSTELLATION_ET, 255 means layer does not exist */ 360 * 255 means layer does not exist */
361 u32 Constellation; /* Constellation from SMSHOSTLIB_CONSTELLATION_ET,
362 * 255 means layer does not exist */
346 u32 BER; /* Post Viterbi BER [1E-5], 0xFFFFFFFF indicate N/A */ 363 u32 BER; /* Post Viterbi BER [1E-5], 0xFFFFFFFF indicate N/A */
347 u32 BERErrorCount; /* Post Viterbi Error Bits Count */ 364 u32 BERErrorCount; /* Post Viterbi Error Bits Count */
348 u32 BERBitCount; /* Post Viterbi Total Bits Count */ 365 u32 BERBitCount; /* Post Viterbi Total Bits Count */
@@ -350,8 +367,10 @@ typedef struct SMSHOSTLIB_ISDBT_LAYER_STAT_S
350 u32 TS_PER; /* Transport stream PER [%], 0xFFFFFFFF indicate N/A */ 367 u32 TS_PER; /* Transport stream PER [%], 0xFFFFFFFF indicate N/A */
351 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */ 368 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */
352 u32 TotalTSPackets; /* Total number of transport-stream packets */ 369 u32 TotalTSPackets; /* Total number of transport-stream packets */
353 u32 TILdepthI; /* Time interleaver depth I parameter, 255 means layer does not exist */ 370 u32 TILdepthI; /* Time interleaver depth I parameter,
354 u32 NumberOfSegments; /* Number of segments in layer A, 255 means layer does not exist */ 371 * 255 means layer does not exist */
372 u32 NumberOfSegments; /* Number of segments in layer A,
373 * 255 means layer does not exist */
355 u32 TMCCErrors; /* TMCC errors */ 374 u32 TMCCErrors; /* TMCC errors */
356} SMSHOSTLIB_ISDBT_LAYER_STAT_ST; 375} SMSHOSTLIB_ISDBT_LAYER_STAT_ST;
357 376
@@ -364,8 +383,9 @@ typedef struct SMSHOSTLIB_STATISTICS_ISDBT_S
364 * This field MUST always be first in any 383 * This field MUST always be first in any
365 * statistics structure */ 384 * statistics structure */
366 385
367 u32 FullSize; /* Total size of the structure returned by the modem. If the size requested by 386 u32 FullSize; /* Total size of the structure returned by the modem.
368 * the host is smaller than FullSize, the struct will be truncated */ 387 * If the size requested by the host is smaller than
388 * FullSize, the struct will be truncated */
369 389
370 /* Common parameters */ 390 /* Common parameters */
371 u32 IsRfLocked; /* 0 - not locked, 1 - locked */ 391 u32 IsRfLocked; /* 0 - not locked, 1 - locked */
@@ -390,7 +410,8 @@ typedef struct SMSHOSTLIB_STATISTICS_ISDBT_S
390 410
391 /* Per-layer information */ 411 /* Per-layer information */
392 /* Layers A, B and C */ 412 /* Layers A, B and C */
393 SMSHOSTLIB_ISDBT_LAYER_STAT_ST LayerInfo[3]; /* Per-layer statistics, see SMSHOSTLIB_ISDBT_LAYER_STAT_ST */ 413 SMSHOSTLIB_ISDBT_LAYER_STAT_ST LayerInfo[3]; /* Per-layer statistics,
414 see SMSHOSTLIB_ISDBT_LAYER_STAT_ST */
394 415
395 /* Interface information */ 416 /* Interface information */
396 u32 SmsToHostTxErrors; /* Total number of transmission errors. */ 417 u32 SmsToHostTxErrors; /* Total number of transmission errors. */
@@ -399,11 +420,15 @@ typedef struct SMSHOSTLIB_STATISTICS_ISDBT_S
399 420
400typedef struct SMSHOSTLIB_STATISTICS_DVB_S 421typedef struct SMSHOSTLIB_STATISTICS_DVB_S
401{ 422{
402 u32 StatisticsType; /* Enumerator identifying the type of the structure. Values are the same as SMSHOSTLIB_DEVICE_MODES_E 423 u32 StatisticsType; /* Enumerator identifying the type of the
403 * This fiels MUST always first in any statistics structure */ 424 * structure. Values are the same as
404 425 * SMSHOSTLIB_DEVICE_MODES_E
405 u32 FullSize; /* Total size of the structure returned by the modem. If the size requested by 426 * This field MUST always first in any
406 * the host is smaller than FullSize, the struct will be truncated */ 427 * statistics structure */
428
429 u32 FullSize; /* Total size of the structure returned by the modem.
430 * If the size requested by the host is smaller than
431 * FullSize, the struct will be truncated */
407 /* Common parameters */ 432 /* Common parameters */
408 u32 IsRfLocked; /* 0 - not locked, 1 - locked */ 433 u32 IsRfLocked; /* 0 - not locked, 1 - locked */
409 u32 IsDemodLocked; /* 0 - not locked, 1 - locked */ 434 u32 IsDemodLocked; /* 0 - not locked, 1 - locked */
@@ -415,7 +440,8 @@ typedef struct SMSHOSTLIB_STATISTICS_DVB_S
415 u32 BERErrorCount; /* Number of errornous SYNC bits. */ 440 u32 BERErrorCount; /* Number of errornous SYNC bits. */
416 u32 BERBitCount; /* Total number of SYNC bits. */ 441 u32 BERBitCount; /* Total number of SYNC bits. */
417 u32 TS_PER; /* Transport stream PER, 0xFFFFFFFF indicate N/A */ 442 u32 TS_PER; /* Transport stream PER, 0xFFFFFFFF indicate N/A */
418 u32 MFER; /* DVB-H frame error rate in percentage, 0xFFFFFFFF indicate N/A, valid only for DVB-H */ 443 u32 MFER; /* DVB-H frame error rate in percentage,
444 * 0xFFFFFFFF indicate N/A, valid only for DVB-H */
419 s32 RSSI; /* dBm */ 445 s32 RSSI; /* dBm */
420 s32 InBandPwr; /* In band power in dBM */ 446 s32 InBandPwr; /* In band power in dBM */
421 s32 CarrierOffset; /* Carrier Offset in bin/1024 */ 447 s32 CarrierOffset; /* Carrier Offset in bin/1024 */
@@ -427,29 +453,41 @@ typedef struct SMSHOSTLIB_STATISTICS_DVB_S
427 u32 TransmissionMode; /* FFT mode carriers in Kilos */ 453 u32 TransmissionMode; /* FFT mode carriers in Kilos */
428 u32 GuardInterval; /* Guard Interval, 1 divided by value */ 454 u32 GuardInterval; /* Guard Interval, 1 divided by value */
429 u32 CodeRate; /* Code Rate from SMSHOSTLIB_CODE_RATE_ET */ 455 u32 CodeRate; /* Code Rate from SMSHOSTLIB_CODE_RATE_ET */
430 u32 LPCodeRate; /* Low Priority Code Rate from SMSHOSTLIB_CODE_RATE_ET */ 456 u32 LPCodeRate; /* Low Priority Code Rate from
457 * SMSHOSTLIB_CODE_RATE_ET */
431 u32 Hierarchy; /* Hierarchy from SMSHOSTLIB_HIERARCHY_ET */ 458 u32 Hierarchy; /* Hierarchy from SMSHOSTLIB_HIERARCHY_ET */
432 u32 Constellation; /* Constellation from SMSHOSTLIB_CONSTELLATION_ET */ 459 u32 Constellation; /* Constellation from SMSHOSTLIB_CONSTELLATION_ET */
433 460
434 /* Burst parameters, valid only for DVB-H */ 461 /* Burst parameters, valid only for DVB-H */
435 u32 BurstSize; /* Current burst size in bytes, valid only for DVB-H */ 462 u32 BurstSize; /* Current burst size in bytes */
436 u32 BurstDuration; /* Current burst duration in mSec, valid only for DVB-H */ 463 u32 BurstDuration; /* Current burst duration in mSec */
437 u32 BurstCycleTime; /* Current burst cycle time in mSec, valid only for DVB-H */ 464 u32 BurstCycleTime; /* Current burst cycle time in mSec */
438 u32 CalculatedBurstCycleTime; /* Current burst cycle time in mSec, as calculated by demodulator, valid only for DVB-H */ 465 u32 CalculatedBurstCycleTime; /* Current burst cycle time in mSec,
439 u32 NumOfRows; /* Number of rows in MPE table, valid only for DVB-H */ 466 * as calculated by demodulator */
440 u32 NumOfPaddCols; /* Number of padding columns in MPE table, valid only for DVB-H */ 467 u32 NumOfRows; /* Number of rows in MPE table */
441 u32 NumOfPunctCols; /* Number of puncturing columns in MPE table, valid only for DVB-H */ 468 u32 NumOfPaddCols; /* Number of padding columns in MPE table */
469 u32 NumOfPunctCols; /* Number of puncturing columns in MPE table */
470
442 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */ 471 u32 ErrorTSPackets; /* Number of erroneous transport-stream packets */
443 u32 TotalTSPackets; /* Total number of transport-stream packets */ 472 u32 TotalTSPackets; /* Total number of transport-stream packets */
444 u32 NumOfValidMpeTlbs; /* Number of MPE tables which do not include errors after MPE RS decoding, valid only for DVB-H */ 473
445 u32 NumOfInvalidMpeTlbs; /* Number of MPE tables which include errors after MPE RS decoding, valid only for DVB-H */ 474 u32 NumOfValidMpeTlbs; /* Number of MPE tables which do not include
446 u32 NumOfCorrectedMpeTlbs; /* Number of MPE tables which were corrected by MPE RS decoding, valid only for DVB-H */ 475 * errors after MPE RS decoding */
476 u32 NumOfInvalidMpeTlbs; /* Number of MPE tables which include
477 * errors after MPE RS decoding */
478 u32 NumOfCorrectedMpeTlbs; /* Number of MPE tables which were
479 * corrected by MPE RS decoding */
480
447 u32 NumMPEReceived; /* DVB-H, Num MPE section received */ 481 u32 NumMPEReceived; /* DVB-H, Num MPE section received */
448 482
449 /* DVB-H TPS parameters */ 483 /* DVB-H TPS parameters */
450 u32 CellId; /* TPS Cell ID in bits 15..0, bits 31..16 zero; if set to 0xFFFFFFFF cell_id not yet recovered */ 484 u32 CellId; /* TPS Cell ID in bits 15..0, bits 31..16 zero; if set to 0xFFFFFFFF cell_id not yet recovered */
451 u32 DvbhSrvIndHP; /* DVB-H service indication info, bit 1 - Time Slicing indicator, bit 0 - MPE-FEC indicator */ 485 u32 DvbhSrvIndHP; /* DVB-H service indication info,
452 u32 DvbhSrvIndLP; /* DVB-H service indication info, bit 1 - Time Slicing indicator, bit 0 - MPE-FEC indicator */ 486 * bit 1 - Time Slicing indicator,
487 * bit 0 - MPE-FEC indicator */
488 u32 DvbhSrvIndLP; /* DVB-H service indication info,
489 * bit 1 - Time Slicing indicator,
490 * bit 0 - MPE-FEC indicator */
453 491
454 /* Interface information */ 492 /* Interface information */
455 u32 SmsToHostTxErrors; /* Total number of transmission errors. */ 493 u32 SmsToHostTxErrors; /* Total number of transmission errors. */
@@ -459,10 +497,14 @@ typedef struct SMSHOSTLIB_STATISTICS_DVB_S
459typedef struct SMSHOSTLIB_GPIO_CONFIG_S 497typedef struct SMSHOSTLIB_GPIO_CONFIG_S
460{ 498{
461 u8 Direction; /* GPIO direction: Input - 0, Output - 1 */ 499 u8 Direction; /* GPIO direction: Input - 0, Output - 1 */
462 u8 PullUpDown; /* PullUp/PullDown: None - 0, PullDown - 1, PullUp - 2, Keeper - 3 */ 500 u8 PullUpDown; /* PullUp/PullDown: None - 0,
463 u8 InputCharacteristics; /* Input Characteristics: Normal - 0, Schmitt trigger - 1 */ 501 * PullDown - 1, PullUp - 2, Keeper - 3 */
464 u8 OutputSlewRate; /* Output Slew Rate: Fast slew rate - 0, Slow slew rate - 1 */ 502 u8 InputCharacteristics; /* Input Characteristics: Normal - 0,
465 u8 OutputDriving; /* Output driving capability: 4mA - 0, 8mA - 1, 12mA - 2, 16mA - 3 */ 503 * Schmitt trigger - 1 */
504 u8 OutputSlewRate; /* Output Slew Rate:
505 * Fast slew rate - 0, Slow slew rate - 1 */
506 u8 OutputDriving; /* Output driving capability:
507 * 4mA - 0, 8mA - 1, 12mA - 2, 16mA - 3 */
466} SMSHOSTLIB_GPIO_CONFIG_ST; 508} SMSHOSTLIB_GPIO_CONFIG_ST;
467 509
468typedef struct SMSHOSTLIB_I2C_REQ_S 510typedef struct SMSHOSTLIB_I2C_REQ_S