Lines Matching refs:pLen

57 	unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
59 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
61 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
63 unsigned int *pLen, SK_U32 NetIndex);
65 unsigned int *pLen, SK_U32 NetIndex);
67 unsigned int *pLen, SK_U32 NetIndex);
70 unsigned int * pLen, SK_U32 NetIndex);
88 PNMI_STATIC void GetTrapQueueLen(SK_AC *pAC, unsigned int *pLen,
96 unsigned int *pLen, SK_U32 NetIndex);
98 char *pBuf, unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex);
110 unsigned int *pLen, SK_U32 Instance, unsigned int TableIndex, SK_U32 NetIndex);
592 unsigned int *pLen, /* On call: buffer length. On return: used buffer */ in SkPnmiGetVar() argument
598 Id, *pLen, Instance, NetIndex)); in SkPnmiGetVar()
600 return (PnmiVar(pAC, IoC, SK_PNMI_GET, Id, (char *)pBuf, pLen, in SkPnmiGetVar()
634 unsigned int *pLen, /* Total length of management data */ in SkPnmiPreSetVar() argument
640 Id, *pLen, Instance, NetIndex)); in SkPnmiPreSetVar()
643 return (PnmiVar(pAC, IoC, SK_PNMI_PRESET, Id, (char *)pBuf, pLen, in SkPnmiPreSetVar()
677 unsigned int *pLen, /* Total length of management data */ in SkPnmiSetVar() argument
683 Id, *pLen, Instance, NetIndex)); in SkPnmiSetVar()
685 return (PnmiVar(pAC, IoC, SK_PNMI_SET, Id, (char *)pBuf, pLen, in SkPnmiSetVar()
712 unsigned int *pLen, /* Length of buffer */ in SkPnmiGetStruct() argument
727 *pLen, NetIndex)); in SkPnmiGetStruct()
729 if (*pLen < SK_PNMI_STRUCT_SIZE) { in SkPnmiGetStruct()
731 if (*pLen >= SK_PNMI_MIN_STRUCT_SIZE) { in SkPnmiGetStruct()
737 *pLen = SK_PNMI_STRUCT_SIZE; in SkPnmiGetStruct()
755 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in SkPnmiGetStruct()
762 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in SkPnmiGetStruct()
769 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in SkPnmiGetStruct()
791 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in SkPnmiGetStruct()
823 TmpLen = *pLen - DstOffset; in SkPnmiGetStruct()
847 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in SkPnmiGetStruct()
857 *pLen = SK_PNMI_STRUCT_SIZE; in SkPnmiGetStruct()
890 unsigned int *pLen, /* Length of buffer */ in SkPnmiPreSetStruct() argument
895 *pLen, NetIndex)); in SkPnmiPreSetStruct()
898 pLen, NetIndex)); in SkPnmiPreSetStruct()
928 unsigned int *pLen, /* Length of buffer */ in SkPnmiSetStruct() argument
933 *pLen, NetIndex)); in SkPnmiSetStruct()
936 pLen, NetIndex)); in SkPnmiSetStruct()
1703 unsigned int *pLen, /* Total length of pBuf management data */ in PnmiVar() argument
1713 *pLen = 0; in PnmiVar()
1724 Ret = IdTable[TableIndex].Func(pAC, IoC, Action, Id, pBuf, pLen, in PnmiVar()
1755 unsigned int *pLen, /* Length of pBuf management data buffer */ in PnmiStruct() argument
1769 if (*pLen < SK_PNMI_STRUCT_SIZE) { in PnmiStruct()
1772 if (*pLen >= SK_PNMI_MIN_STRUCT_SIZE) { in PnmiStruct()
1778 *pLen = SK_PNMI_STRUCT_SIZE; in PnmiStruct()
1796 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in PnmiStruct()
1803 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in PnmiStruct()
1857 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in PnmiStruct()
1891 *pLen = SK_PNMI_MIN_STRUCT_SIZE; in PnmiStruct()
1958 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in OidStruct() argument
1968 *pLen = 0; in OidStruct()
1977 *pLen = 0; in OidStruct()
1984 return (SkPnmiGetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
1987 return (SkPnmiPreSetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
1990 return (SkPnmiSetStruct(pAC, IoC, pBuf, pLen, NetIndex)); in OidStruct()
1995 *pLen = 0; in OidStruct()
2025 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Perform() argument
2039 *pLen = 0; in Perform()
2043 if (*pLen < sizeof(SK_U32)) { in Perform()
2045 *pLen = sizeof(SK_U32); in Perform()
2055 *pLen = sizeof(SK_U32); in Perform()
2061 if (*pLen > sizeof(SK_U32)) { in Perform()
2068 if (*pLen > sizeof(SK_U32) || in Perform()
2074 *pLen = 0; in Perform()
2156 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Mac8023Stat() argument
2171 *pLen = 0; in Mac8023Stat()
2180 *pLen = 0; in Mac8023Stat()
2189 if (*pLen < sizeof(SK_MAC_ADDR)) { in Mac8023Stat()
2191 *pLen = sizeof(SK_MAC_ADDR); in Mac8023Stat()
2198 if (*pLen < sizeof(SK_U32)) { in Mac8023Stat()
2199 *pLen = sizeof(SK_U32); in Mac8023Stat()
2206 if (*pLen < sizeof(SK_U32)) { in Mac8023Stat()
2211 *pLen = sizeof(SK_U64); in Mac8023Stat()
2215 Is64BitReq = (*pLen < sizeof(SK_U64)) ? SK_FALSE : SK_TRUE; in Mac8023Stat()
2228 *pLen = 0; in Mac8023Stat()
2240 *pLen = sizeof(SK_MAC_ADDR); in Mac8023Stat()
2245 *pLen = sizeof(SK_MAC_ADDR); in Mac8023Stat()
2255 *pLen = sizeof(SK_U32); in Mac8023Stat()
2259 *pLen = sizeof(SK_U64); in Mac8023Stat()
2292 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in MacPrivateStat() argument
2322 *pLen = 0; in MacPrivateStat()
2338 *pLen = 0; in MacPrivateStat()
2343 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U64)) { in MacPrivateStat()
2345 *pLen = (Limit - LogPortIndex) * sizeof(SK_U64); in MacPrivateStat()
2356 *pLen = 0; in MacPrivateStat()
2417 *pLen = Offset; in MacPrivateStat()
2454 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Addr() argument
2482 *pLen = 0; in Addr()
2500 if (*pLen < (Limit - LogPortIndex) * 6) { in Addr()
2502 *pLen = (Limit - LogPortIndex) * 6; in Addr()
2545 *pLen = 0; in Addr()
2550 *pLen = Offset; in Addr()
2559 *pLen = 0; in Addr()
2571 *pLen = 0; in Addr()
2576 if (*pLen < (Limit - LogPortIndex) * 6) { in Addr()
2578 *pLen = (Limit - LogPortIndex) * 6; in Addr()
2581 if (*pLen > (Limit - LogPortIndex) * 6) { in Addr()
2583 *pLen = 0; in Addr()
2592 *pLen = 0; in Addr()
2623 *pLen = Offset; in Addr()
2655 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in CsumStat() argument
2673 *pLen = 0; in CsumStat()
2689 *pLen = 0; in CsumStat()
2694 if (*pLen < (Limit - Index) * sizeof(SK_U64)) { in CsumStat()
2696 *pLen = (Limit - Index) * sizeof(SK_U64); in CsumStat()
2731 *pLen = 0; in CsumStat()
2742 *pLen = Offset; in CsumStat()
2771 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in SensorStat() argument
2792 *pLen = 0; in SensorStat()
2809 *pLen = 0; in SensorStat()
2821 if (*pLen < (Limit - Index) * sizeof(SK_U32)) { in SensorStat()
2823 *pLen = (Limit - Index) * sizeof(SK_U32); in SensorStat()
2838 *pLen = 0; in SensorStat()
2843 if (*pLen < Offset) { in SensorStat()
2845 *pLen = Offset; in SensorStat()
2853 if (*pLen < Limit - Index) { in SensorStat()
2855 *pLen = Limit - Index; in SensorStat()
2864 if (*pLen < (Limit - Index) * sizeof(SK_U64)) { in SensorStat()
2866 *pLen = (Limit - Index) * sizeof(SK_U64); in SensorStat()
2875 *pLen = 0; in SensorStat()
2982 *pLen = Offset; in SensorStat()
3016 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Vpd() argument
3040 *pLen = 0; in Vpd()
3071 *pLen = 0; in Vpd()
3077 *pLen = 0; in Vpd()
3091 if (*pLen < sizeof(SK_U32)) { in Vpd()
3093 *pLen = sizeof(SK_U32); in Vpd()
3103 *pLen = 0; in Vpd()
3111 *pLen = 0; in Vpd()
3117 *pLen = sizeof(SK_U32); in Vpd()
3126 if (*pLen < Len) { in Vpd()
3128 *pLen = Len; in Vpd()
3147 *pLen = Offset; in Vpd()
3152 if (*pLen < sizeof(SK_U32)) { in Vpd()
3154 *pLen = sizeof(SK_U32); in Vpd()
3160 *pLen = sizeof(SK_U32); in Vpd()
3170 if (*pLen < Len) { in Vpd()
3172 *pLen = Len; in Vpd()
3190 *pLen = Offset; in Vpd()
3211 if (*pLen < Offset) { in Vpd()
3213 *pLen = Offset; in Vpd()
3233 *pLen = 0; in Vpd()
3241 *pLen = Offset; in Vpd()
3245 if (*pLen < LastIndex - FirstIndex) { in Vpd()
3247 *pLen = LastIndex - FirstIndex; in Vpd()
3263 *pLen = Offset; in Vpd()
3268 if (*pLen < Offset) { in Vpd()
3270 *pLen = Offset; in Vpd()
3274 *pLen = Offset; in Vpd()
3281 *pLen = 0; in Vpd()
3296 *pLen = 0; in Vpd()
3303 *pLen = 0; in Vpd()
3311 if (*pLen < 1) { in Vpd()
3313 *pLen = 1; in Vpd()
3332 if (*pLen < 4) { in Vpd()
3334 *pLen = 4; in Vpd()
3347 *pLen = 0; in Vpd()
3366 *pLen = 0; in Vpd()
3374 *pLen = 0; in Vpd()
3388 *pLen = 0; in Vpd()
3395 if (*pLen < 3) { in Vpd()
3397 *pLen = 3; in Vpd()
3400 if (*pLen > 3) { in Vpd()
3402 *pLen = 0; in Vpd()
3423 *pLen = 0; in Vpd()
3439 *pLen = 0; in Vpd()
3453 *pLen = 0; in Vpd()
3459 *pLen = 0; in Vpd()
3490 unsigned int *pLen, /* On call: buffer length. On return: used buffer */ in General() argument
3515 *pLen = 0; in General()
3524 *pLen = 0; in General()
3539 if (*pLen < sizeof(SK_U32)) { in General()
3540 *pLen = sizeof(SK_U32); in General()
3549 if (*pLen < sizeof(SK_U32)) { in General()
3554 *pLen = sizeof(SK_U64); in General()
3558 Is64BitReq = (*pLen < sizeof(SK_U64)) ? SK_FALSE : SK_TRUE; in General()
3572 if (*pLen < sizeof(SK_U32)) { in General()
3574 *pLen = sizeof(SK_U32); in General()
3580 if (*pLen < sizeof(SK_U16)) { in General()
3582 *pLen = sizeof(SK_U16); in General()
3593 if (*pLen < sizeof(SK_U8)) { in General()
3595 *pLen = sizeof(SK_U8); in General()
3616 if (*pLen < sizeof(SK_U64)) { in General()
3618 *pLen = sizeof(SK_U64); in General()
3643 *pLen = 0; in General()
3692 if (*pLen < Len) { in General()
3694 *pLen = Len; in General()
3703 *pLen = Len; in General()
3709 *pLen = sizeof(SK_U32); in General()
3715 *pLen = sizeof(SK_U32); in General()
3721 *pLen = sizeof(SK_U32); in General()
3730 *pLen = 0; in General()
3740 *pLen = 0; in General()
3744 if (*pLen < Len) { in General()
3746 *pLen = Len; in General()
3751 *pLen = Len; in General()
3760 *pLen = 0; in General()
3770 *pLen = 0; in General()
3774 if (*pLen < Len) { in General()
3776 *pLen = Len; in General()
3781 *pLen = Len; in General()
3790 *pLen = 0; in General()
3800 *pLen = 0; in General()
3804 if (*pLen < Len) { in General()
3806 *pLen = Len; in General()
3811 *pLen = Len; in General()
3820 *pLen = 0; in General()
3830 *pLen = 0; in General()
3834 if (*pLen < Len) { in General()
3836 *pLen = Len; in General()
3841 *pLen = Len; in General()
3857 *pLen = 0; in General()
3866 *pLen = 0; in General()
3869 if (*pLen < Len) { in General()
3871 *pLen = Len; in General()
3876 *pLen = Len; in General()
3881 if (*pLen < 5) { in General()
3883 *pLen = 5; in General()
3892 *pLen = 5; in General()
3898 *pLen = sizeof(SK_U16); in General()
3904 *pLen = sizeof(SK_U32); in General()
3910 *pLen = sizeof(SK_U32); in General()
3915 *pLen = sizeof(char); in General()
3920 *pLen = sizeof(char); in General()
3925 *pLen = sizeof(char); in General()
3930 *pLen = sizeof(char); in General()
3936 *pLen = sizeof(SK_U32); in General()
3941 *pLen = sizeof(char); in General()
3946 *pLen = sizeof(char); in General()
3953 *pLen = sizeof(SK_U32); in General()
3958 if (*pLen < Len) { in General()
3960 *pLen = Len; in General()
3964 *pLen = Len; in General()
3971 *pLen = sizeof(SK_U32); in General()
3999 *pLen = sizeof(SK_U64); in General()
4028 *pLen = sizeof(SK_U64); in General()
4056 *pLen = sizeof(SK_U64); in General()
4084 *pLen = sizeof(SK_U64); in General()
4112 *pLen = sizeof(SK_U64); in General()
4140 *pLen = sizeof(SK_U64); in General()
4168 *pLen = sizeof(SK_U64); in General()
4196 *pLen = sizeof(SK_U64); in General()
4224 *pLen = sizeof(SK_U64); in General()
4252 *pLen = sizeof(SK_U64); in General()
4257 *pLen = sizeof(SK_U64); in General()
4262 *pLen = sizeof(SK_U64); in General()
4292 *pLen = sizeof(SK_U64); in General()
4322 *pLen = sizeof(SK_U64); in General()
4350 *pLen = sizeof(SK_U64); in General()
4357 *pLen = sizeof(SK_U64); in General()
4363 *pLen = sizeof(SK_U32); in General()
4381 *pLen = sizeof(SK_U32); in General()
4385 *pLen = sizeof(SK_U64); in General()
4404 *pLen = sizeof(SK_U32); in General()
4408 *pLen = sizeof(SK_U64); in General()
4427 *pLen = sizeof(SK_U32); in General()
4431 *pLen = sizeof(SK_U64); in General()
4438 *pLen = sizeof(SK_U32); in General()
4445 *pLen = 0; in General()
4488 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Rlmt() argument
4506 *pLen = 0; in Rlmt()
4524 if (*pLen < sizeof(SK_U8)) { in Rlmt()
4526 *pLen = sizeof(SK_U8); in Rlmt()
4532 if (*pLen < sizeof(SK_U32)) { in Rlmt()
4534 *pLen = sizeof(SK_U32); in Rlmt()
4543 if (*pLen < sizeof(SK_U64)) { in Rlmt()
4545 *pLen = sizeof(SK_U64); in Rlmt()
4554 *pLen = 0; in Rlmt()
4566 *pLen = 0; in Rlmt()
4578 *pLen = sizeof(char); in Rlmt()
4584 *pLen = sizeof(SK_U32); in Rlmt()
4607 *pLen = sizeof(char); in Rlmt()
4612 *pLen = sizeof(char); in Rlmt()
4618 *pLen = sizeof(SK_U64); in Rlmt()
4624 *pLen = sizeof(SK_U64); in Rlmt()
4630 *pLen = sizeof(SK_U64); in Rlmt()
4636 *pLen = sizeof(SK_U64); in Rlmt()
4644 *pLen = 0; in Rlmt()
4656 if (*pLen < sizeof(char)) { in Rlmt()
4658 *pLen = sizeof(char); in Rlmt()
4662 if (*pLen != sizeof(char) || in Rlmt()
4666 *pLen = 0; in Rlmt()
4672 *pLen = 0; in Rlmt()
4685 *pLen = 0; in Rlmt()
4692 if (*pLen < sizeof(char)) { in Rlmt()
4694 *pLen = sizeof(char); in Rlmt()
4698 if (*pLen != sizeof(char) || *(SK_U8 *)pBuf > in Rlmt()
4701 *pLen = 0; in Rlmt()
4707 *pLen = 0; in Rlmt()
4725 *pLen = 0; in Rlmt()
4732 if (*pLen < sizeof(SK_U64)) { in Rlmt()
4734 *pLen = sizeof(SK_U64); in Rlmt()
4741 if (*pLen != sizeof(SK_U64)) { in Rlmt()
4743 *pLen = 0; in Rlmt()
4749 *pLen = 0; in Rlmt()
4762 *pLen = 0; in Rlmt()
4793 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in RlmtStat() argument
4815 *pLen = 0; in RlmtStat()
4847 *pLen = 0; in RlmtStat()
4858 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in RlmtStat()
4860 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in RlmtStat()
4869 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U64)) { in RlmtStat()
4871 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U64); in RlmtStat()
4880 *pLen = 0; in RlmtStat()
4891 *pLen = 0; in RlmtStat()
4958 *pLen = 0; in RlmtStat()
4962 *pLen = Offset; in RlmtStat()
4995 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in MacPrivateConf() argument
5026 *pLen = 0; in MacPrivateConf()
5065 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U8)) { in MacPrivateConf()
5067 *pLen = (Limit - LogPortIndex) * sizeof(SK_U8); in MacPrivateConf()
5074 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U32)) { in MacPrivateConf()
5076 *pLen = (Limit - LogPortIndex) * sizeof(SK_U32); in MacPrivateConf()
5084 *pLen = 0; in MacPrivateConf()
5094 *pLen = 0; in MacPrivateConf()
5450 *pLen = Offset; in MacPrivateConf()
5466 if (*pLen < Limit - LogPortIndex) { in MacPrivateConf()
5468 *pLen = Limit - LogPortIndex; in MacPrivateConf()
5471 if (*pLen != Limit - LogPortIndex) { in MacPrivateConf()
5473 *pLen = 0; in MacPrivateConf()
5480 if (*pLen < Limit - LogPortIndex) { in MacPrivateConf()
5482 *pLen = Limit - LogPortIndex; in MacPrivateConf()
5489 if (*pLen < sizeof(SK_U32)) { in MacPrivateConf()
5491 *pLen = sizeof(SK_U32); in MacPrivateConf()
5494 if (*pLen != sizeof(SK_U32)) { in MacPrivateConf()
5496 *pLen = 0; in MacPrivateConf()
5502 *pLen = 0; in MacPrivateConf()
5526 *pLen = 0; in MacPrivateConf()
5563 *pLen = 0; in MacPrivateConf()
5583 *pLen = 0; in MacPrivateConf()
5602 *pLen = 0; in MacPrivateConf()
5639 *pLen = 0; in MacPrivateConf()
5660 *pLen = 0; in MacPrivateConf()
5679 *pLen = 0; in MacPrivateConf()
5716 *pLen = 0; in MacPrivateConf()
5736 *pLen = 0; in MacPrivateConf()
5756 *pLen = 0; in MacPrivateConf()
5792 *pLen = 0; in MacPrivateConf()
5813 *pLen = 0; in MacPrivateConf()
5829 *pLen = 0; in MacPrivateConf()
5876 *pLen = 0; in MacPrivateConf()
5895 *pLen = 0; in MacPrivateConf()
5899 *pLen = 0; in MacPrivateConf()
5920 *pLen = 0; in MacPrivateConf()
5942 *pLen = 0; in MacPrivateConf()
5947 *pLen = 0; in MacPrivateConf()
5959 *pLen = 0; in MacPrivateConf()
5994 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Monitor() argument
6015 *pLen = 0; in Monitor()
6047 *pLen = 0; in Monitor()
6051 *pLen = Offset; in Monitor()
6057 *pLen = 0; in Monitor()
6062 if (*pLen < (Limit - Index)) { in Monitor()
6067 if (*pLen != (Limit - Index)) { in Monitor()
6069 *pLen = 0; in Monitor()
6080 *pLen = 0; in Monitor()
7403 unsigned int *pLen, /* Length in Bytes of all queued traps */ in GetTrapQueueLen() argument
7429 *pLen = TotalLen; in GetTrapQueueLen()
7608 unsigned int *pLen, /* On call: buffer length. On return: used buffer */ in PowerManagement() argument
7621 *pLen = 0; in PowerManagement()
7630 if (*pLen < sizeof(SK_PNP_CAPABILITIES)) { in PowerManagement()
7632 *pLen = sizeof(SK_PNP_CAPABILITIES); in PowerManagement()
7639 if (*pLen < sizeof(SK_DEVICE_POWER_STATE)) in PowerManagement()
7641 *pLen = sizeof(SK_DEVICE_POWER_STATE); in PowerManagement()
7648 if (*pLen < sizeof(SK_PM_PACKET_PATTERN)) { in PowerManagement()
7650 *pLen = sizeof(SK_PM_PACKET_PATTERN); in PowerManagement()
7656 if (*pLen < sizeof(SK_U32)) { in PowerManagement()
7658 *pLen = sizeof(SK_U32); in PowerManagement()
7675 RetCode = SkPowerQueryPnPCapabilities(pAC, IoC, pBuf, pLen); in PowerManagement()
7684 *pLen = sizeof(SK_DEVICE_POWER_STATE);; in PowerManagement()
7695 *pLen = 0; in PowerManagement()
7700 RetCode = SkPowerGetEnableWakeUp(pAC, IoC, pBuf, pLen); in PowerManagement()
7723 RetCode = SkPowerSetPower(pAC, IoC, pBuf, pLen); in PowerManagement()
7727 RetCode = SkPowerAddWakeUpPattern(pAC, IoC, pBuf, pLen); in PowerManagement()
7731 RetCode = SkPowerRemoveWakeUpPattern(pAC, IoC, pBuf, pLen); in PowerManagement()
7735 RetCode = SkPowerSetEnableWakeUp(pAC, IoC, pBuf, pLen); in PowerManagement()
7771 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in DiagActions() argument
7785 *pLen = 0; in DiagActions()
7795 if (*pLen < sizeof(SK_U32)) { in DiagActions()
7797 *pLen = sizeof(SK_U32); in DiagActions()
7804 *pLen = 0; in DiagActions()
7818 *pLen = sizeof(SK_U32); in DiagActions()
7823 *pLen = 0; in DiagActions()
7934 *pLen = sizeof(SK_U32); in DiagActions()
7938 *pLen = 0; in DiagActions()
7970 unsigned int *pLen, /* On call: pBuf buffer length. On return: used buffer */ in Vct() argument
8002 *pLen = 0; in Vct()
8034 *pLen = 0; in Vct()
8047 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT)) { in Vct()
8048 *pLen = (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT); in Vct()
8054 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U8)) { in Vct()
8055 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U8); in Vct()
8061 *pLen = 0; in Vct()
8130 *pLen = 0; in Vct()
8134 *pLen = Offset; in Vct()
8147 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in Vct()
8148 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in Vct()
8154 *pLen = 0; in Vct()
8205 *pLen = 0; in Vct()
8209 *pLen = Offset; in Vct()
8303 unsigned int *pLen, /* Length of buffer */ in SkPnmiGenIoctl() argument
8316 *pLen = *pLen - HeaderLength; in SkPnmiGenIoctl()
8317 SK_MEMCPY((char *) pBuf + sizeof(SK_I32), (char *) pBuf + HeaderLength, *pLen); in SkPnmiGenIoctl()
8322 (char *) pBuf + sizeof(SK_I32), pLen, in SkPnmiGenIoctl()
8325 *pLen = *pLen + sizeof(SK_I32); in SkPnmiGenIoctl()
8329 (char *) pBuf + sizeof(SK_I32), pLen, in SkPnmiGenIoctl()
8332 *pLen = *pLen + sizeof(SK_I32); in SkPnmiGenIoctl()
8336 (char *) pBuf + sizeof(SK_I32), pLen, in SkPnmiGenIoctl()
8339 *pLen = *pLen + sizeof(SK_I32); in SkPnmiGenIoctl()
8342 ReturnCode = SkPnmiGetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()
8345 ReturnCode = SkPnmiPreSetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()
8348 ReturnCode = SkPnmiSetStruct(pAC, IoC, pBuf, pLen, NetIndex); in SkPnmiGenIoctl()