/linux-2.4.37.9/drivers/net/sk98lin/h/ |
D | skaddr.h | 119 (((SK_U8 *)(A1))[5] == ((SK_U8 *)(A2))[5]) & \ 120 (((SK_U8 *)(A1))[4] == ((SK_U8 *)(A2))[4]) & \ 121 (((SK_U8 *)(A1))[3] == ((SK_U8 *)(A2))[3]) & \ 122 (((SK_U8 *)(A1))[2] == ((SK_U8 *)(A2))[2]) & \ 123 (((SK_U8 *)(A1))[1] == ((SK_U8 *)(A2))[1]) & \ 124 (((SK_U8 *)(A1))[0] == ((SK_U8 *)(A2))[0])) 127 (*(SK_U32 *)&(((SK_U8 *)(A1))[2]) == *(SK_U32 *)&(((SK_U8 *)(A2))[2])) & \ 128 (*(SK_U32 *)&(((SK_U8 *)(A1))[0]) == *(SK_U32 *)&(((SK_U8 *)(A2))[0]))) 136 (((SK_U8 SK_FAR *)(A1))[5] == ((SK_U8 SK_FAR *)(A2))[5]) & \ 137 (((SK_U8 SK_FAR *)(A1))[4] == ((SK_U8 SK_FAR *)(A2))[4]) & \ [all …]
|
D | skgepnmi.h | 370 SK_U8 VctStatus; 371 SK_U8 PCableLen; 373 SK_U8 PMdiPairSts[4]; 633 SK_U8 VpdAccess; 634 SK_U8 VpdAction; 638 SK_U8 SensorIndex; 640 SK_U8 SensorType; 646 SK_U8 SensorStatus; 723 SK_U8 ConfPMD; 724 SK_U8 ConfConnector; [all …]
|
D | skgehw.h | 1800 SK_U8 *pByte; \ 1801 pByte = (SK_U8 *)&((SK_U8 *)(pVal))[0]; \ 1803 pByte[0] = (SK_U8)(Word & 0x00ff); \ 1804 pByte[1] = (SK_U8)((Word >> 8) & 0x00ff); \ 1806 pByte[2] = (SK_U8)(Word & 0x00ff); \ 1807 pByte[3] = (SK_U8)((Word >> 8) & 0x00ff); \ 1809 pByte[4] = (SK_U8)(Word & 0x00ff); \ 1810 pByte[5] = (SK_U8)((Word >> 8) & 0x00ff); \ 1814 SK_U8 SK_FAR *pByte; \ 1815 pByte = (SK_U8 SK_FAR *)&((SK_U8 SK_FAR *)(pVal))[0]; \ [all …]
|
D | skgeinit.h | 345 SK_U8 PLinkCap; /* Link Capabilities */ 346 SK_U8 PLinkModeConf; /* Link Mode configured */ 347 SK_U8 PLinkMode; /* Link Mode currently used */ 348 SK_U8 PLinkModeStatus;/* Link Mode Status */ 349 SK_U8 PLinkSpeedCap; /* Link Speed Capabilities(10/100/1000 Mbps) */ 350 SK_U8 PLinkSpeed; /* configured Link Speed (10/100/1000 Mbps) */ 351 SK_U8 PLinkSpeedUsed; /* current Link Speed (10/100/1000 Mbps) */ 352 SK_U8 PFlowCtrlCap; /* Flow Control Capabilities */ 353 SK_U8 PFlowCtrlMode; /* Flow Control Mode */ 354 SK_U8 PFlowCtrlStatus;/* Flow Control Status */ [all …]
|
D | skrlmt.h | 200 SK_U8 *pLaPacket, /* received packet's data (points to pOffset) */ 215 SK_U8 *_pLaPacket; \ 218 _pLaPacket = (SK_U8 *)(pLaPacket); \ 284 SK_U8 Id[8]; /* Root Bridge Id. */ 301 SK_U8 PortState; /* Current state of this port. */ 306 SK_U8 Align01; 333 SK_U8 Random[4]; /* Random value. */ 363 SK_U8 RlmtState; /* Current RLMT state. */
|
D | skgei2c.h | 53 SK_U8 OrgBits; \ 55 SK_OUT8(IoC, B2_I2C_SW, OrgBits | (SK_U8)(SetBits)); \ 59 SK_U8 OrgBits; \ 61 SK_OUT8(IoC, B2_I2C_SW, OrgBits & ~((SK_U8)(ClrBits))); \
|
D | sktypes.h | 46 #define SK_U8 u8 macro 59 #define SK_BOOL SK_U8
|
D | skvpd.h | 74 (* (SK_U8 *)&(p)[1]) |\ 75 ((* (SK_U8 *)&(p)[2]) << 8)) 76 #define VPD_GET_VPD_LEN(p) ((unsigned int)(* (SK_U8 *)&(p)[2]))
|
D | skdrv2nd.h | 107 extern int SkPciReadCfgByte(SK_AC*, int, SK_U8*); 110 extern int SkPciWriteCfgByte(SK_AC*, int, SK_U8); 120 SK_U8 *pData; /* Data buffer (virtually contig.). */
|
D | ski2c.h | 147 SK_U8 SenDev; /* Device Selection for this sensor */
|
/linux-2.4.37.9/drivers/net/sk98lin/ |
D | skgeinit.c | 633 SK_OUT8(IoC, MR_ADDR(Port, RX_GMF_CTRL_T), (SK_U8)GMF_RST_CLR); in SkGeInitMacFifo() 640 SK_OUT8(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U8)GMF_RST_CLR); in SkGeInitMacFifo() 811 (SK_U8)(SyncMode & (TXA_ENA_ALLOC | TXA_DIS_ALLOC))); in SkGeCfgSync() 1277 SK_OUT8(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U8)GMF_RST_SET); in SkGeStopPort() 1339 SK_OUT8(IoC, MR_ADDR(Port, RX_GMF_CTRL_T), (SK_U8)GMF_RST_SET); in SkGeStopPort() 1378 pPrt->PLinkMode = (SK_U8)SK_LMODE_AUTOFULL; in SkGeInit0() 1379 pPrt->PLinkSpeedCap = (SK_U8)SK_LSPEED_CAP_1000MBPS; in SkGeInit0() 1380 pPrt->PLinkSpeed = (SK_U8)SK_LSPEED_1000MBPS; in SkGeInit0() 1381 pPrt->PLinkSpeedUsed = (SK_U8)SK_LSPEED_STAT_UNKNOWN; in SkGeInit0() 1382 pPrt->PLinkModeConf = (SK_U8)SK_LMODE_AUTOSENSE; in SkGeInit0() [all …]
|
D | skgesirq.c | 129 pPrt->PLinkMode = (SK_U8)SK_LMODE_AUTOFULL; in SkHWInitDefSense() 145 static SK_U8 SkHWSenseGetNext( in SkHWSenseGetNext() 156 if (pPrt->PLinkModeConf != (SK_U8)SK_LMODE_AUTOSENSE) { in SkHWSenseGetNext() 161 if (pPrt->PLinkMode == (SK_U8)SK_LMODE_AUTOFULL) { in SkHWSenseGetNext() 163 return ((SK_U8)SK_LMODE_AUTOBOTH); in SkHWSenseGetNext() 167 return ((SK_U8)SK_LMODE_AUTOFULL); in SkHWSenseGetNext() 183 SK_U8 NewMode) /* New Mode to be written in sense mode */ in SkHWSenseSetNext() 191 if (pPrt->PLinkModeConf != (SK_U8)SK_LMODE_AUTOSENSE) { in SkHWSenseSetNext() 243 pPrt->PLinkModeStatus = (SK_U8)SK_LMODE_STAT_UNKNOWN; in SkHWLinkDown() 244 pPrt->PFlowCtrlStatus = (SK_U8)SK_FLOW_STAT_NONE; in SkHWLinkDown() [all …]
|
D | skcsum.c | 238 Tmp = *(SK_U8 *) in SkCsGetSendInfo() 295 *(SK_U8 *) SKCS_IDX(pIpHeader, SKCS_OFS_IP_NEXT_LEVEL_PROTOCOL); in SkCsGetSendInfo() 472 Tmp = *(SK_U8 *) in SkCsGetReceiveInfo() 551 NextLevelProtocol = *(SK_U8 *) in SkCsGetReceiveInfo() 784 Checksum += ((unsigned) *(SK_U8 *) pU16) << 8; in SkCsCalculateChecksum() 787 Checksum += *(SK_U8 *) pU16; in SkCsCalculateChecksum()
|
D | skrlmt.c | 225 SK_U8 *_Addr = (SK_U8*)(Addr); \ 227 *_Addr++ = (SK_U8)(_Val >> 8); \ 228 *_Addr = (SK_U8)(_Val & 0xFF); \ 244 SK_U8 DstAddr[SK_MAC_ADDR_LEN]; 245 SK_U8 SrcAddr[SK_MAC_ADDR_LEN]; 246 SK_U8 TypeLen[2]; 247 SK_U8 DSap; 248 SK_U8 SSap; 249 SK_U8 Ctrl; 250 SK_U8 Indicator[7]; [all …]
|
D | skxmac2.c | 2119 SK_U8 Mode) /* low power mode */ in SkGmEnterLowPowerMode() 2123 SK_U8 LastMode; in SkGmEnterLowPowerMode() 2250 SK_U8 LastMode; in SkGmLeaveLowPowerMode() 2968 pPrt->PLinkModeStatus = (SK_U8)SK_LMODE_STAT_AUTOFULL; in SkXmAutoNegDoneXmac() 2971 pPrt->PLinkModeStatus = (SK_U8)SK_LMODE_STAT_AUTOHALF; in SkXmAutoNegDoneXmac() 3004 pPrt->PLinkSpeedUsed = (SK_U8)SK_LSPEED_STAT_1000MBPS; in SkXmAutoNegDoneXmac() 3059 pPrt->PLinkModeStatus = (SK_U8)SK_LMODE_STAT_AUTOFULL; in SkXmAutoNegDoneBcom() 3062 pPrt->PLinkModeStatus = (SK_U8)SK_LMODE_STAT_AUTOHALF; in SkXmAutoNegDoneBcom() 3105 pPrt->PLinkSpeedUsed = (SK_U8)SK_LSPEED_STAT_1000MBPS; in SkXmAutoNegDoneBcom() 3163 (SK_U8)SK_MS_STAT_MASTER : (SK_U8)SK_MS_STAT_SLAVE; in SkGmAutoNegDoneMarv() [all …]
|
D | skaddr.c | 131 SK_U8 *InAddr; in SkAddrInit() 137 SK_MEMSET((char *) &pAC->Addr, (SK_U8) 0, in SkAddrInit() 177 InAddr = (SK_U8 *) &pAC->Addr.Net[0].PermanentMacAddress.a[j]; in SkAddrInit() 233 InAddr = (SK_U8 *) &pAPort->PermanentMacAddress.a[j]; in SkAddrInit() 681 SK_U8 Inexact; in SkAddrXmacMcAdd() 944 SK_U8 Inexact; in SkAddrXmacMcUpdate() 1020 SK_U8 InAddr8[6]; in SkAddrXmacMcUpdate() 1090 SK_U8 Inexact; in SkAddrGmacMcUpdate() 1477 SK_U8 Inexact; in SkAddrXmacPromiscuousChange() 1478 SK_U8 HwInexact; in SkAddrXmacPromiscuousChange() [all …]
|
D | skgepnmi.c | 77 PNMI_STATIC SK_U8 CalculateLinkModeStatus(SK_AC *pAC, SK_IOC IoC, unsigned int 79 PNMI_STATIC SK_U8 CalculateLinkStatus(SK_AC *pAC, SK_IOC IoC, unsigned int 360 SK_U8 Val8; /* Mulitple purpose 8 bit variable */ in SkPnmiInit() 3500 SK_U8 Val8; in General() 3593 if (*pLen < sizeof(SK_U8)) { in General() 3595 *pLen = sizeof(SK_U8); in General() 3886 Val8 = (SK_U8)pAC->GIni.GIPciHwRev; in General() 4524 if (*pLen < sizeof(SK_U8)) { in Rlmt() 4526 *pLen = sizeof(SK_U8); in Rlmt() 4664 *(SK_U8 *)pBuf > 15) { in Rlmt() [all …]
|
D | skvpd.c | 209 SK_U8 * pComp; /* Compare pointer */ in VpdWriteStream() 210 SK_U8 Data; /* Input Data for Compare */ in VpdWriteStream() 213 pComp = (SK_U8 *) buf; in VpdWriteStream() 236 *(SK_U8*)buf); in VpdWriteStream() 320 (SK_U8 *)buf); in VpdReadStream()
|
D | ski2c.c | 163 SK_U8 Bit) /* Bit to send */ in SkI2cSndBit() 254 SK_U8 I2cSwCtrl; in SkI2cRcvBit() 623 SK_U8 I2cSwCtrl; in SkI2cInit1()
|
D | skge.c | 1950 Protocol = ((SK_U8)pMessage->data[C_OFFSET_IPPROTO] & 0xff); in XmitFrame() 1959 IpHeaderLength = (SK_U8)pMessage->data[C_OFFSET_IPHEADER]; in XmitFrame() 2080 Protocol = ((SK_U8)pMessage->data[C_OFFSET_IPPROTO] & 0xff); in XmitFrameSG() 2089 IpHeaderLength = ((SK_U8)pMessage->data[C_OFFSET_IPHEADER] & 0xf)*4; in XmitFrameSG() 4450 SK_U8 *pVal) /* pointer to store the read value */ 4518 SK_U8 Val) /* pointer to store the read value */
|