/linux-2.4.37.9/drivers/net/sk98lin/h/ |
D | skaddr.h | 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]))) 146 (*(SK_U32 SK_FAR *)&(((SK_U8 SK_FAR *)(A1))[0]) == \ 147 *(SK_U32 SK_FAR *)&(((SK_U8 SK_FAR *)(A2))[0]))) 182 SK_U32 FirstExactMatchRlmt; 183 SK_U32 NextExactMatchRlmt; 184 SK_U32 FirstExactMatchDrv; 185 SK_U32 NextExactMatchDrv; 201 SK_U32 ActivePort; /* View of module ADDR. */ 234 SK_U32 PortNumber, [all …]
|
D | skrlmt.h | 154 SK_U32 PortNum /* receiving port */ 163 SK_U32 _PortNum; \ 165 _PortNum = (SK_U32)(PortNum); \ 199 SK_U32 PortNum /* receiving port */ 214 SK_U32 _PortNum; \ 217 _PortNum = (SK_U32)(PortNum); \ 308 SK_U32 PortNumber; /* Number of port on adapter. */ 319 SK_U32 PacketsPerTimeSlot; /* Packets rxed between TOs. */ 321 SK_U32 BpduPacketsPerTimeSlot; /* BPDU packets rxed in TS. */ 329 SK_U32 CheckingState; /* Checking State. */ [all …]
|
D | skgepnm2.h | 87 SK_U32 Id; 88 SK_U32 InstanceNo; 93 SK_U32 Id, char* pBuf, unsigned int* pLen, 94 SK_U32 Instance, unsigned int TableIndex, 95 SK_U32 NetNumber); 204 #define SK_PNMI_OFF(e) ((SK_U32)(SK_UPTR)&(((SK_PNMI_STRUCT_DATA *)0)->e)) 205 #define SK_PNMI_MAI_OFF(e) ((SK_U32)(SK_UPTR)&(((SK_PNMI_STRUCT_DATA *)0)->e)) 206 #define SK_PNMI_VPD_OFF(e) ((SK_U32)(SK_UPTR)&(((SK_PNMI_VPD *)0)->e)) 207 #define SK_PNMI_SEN_OFF(e) ((SK_U32)(SK_UPTR)&(((SK_PNMI_SENSOR *)0)->e)) 208 #define SK_PNMI_CHK_OFF(e) ((SK_U32)(SK_UPTR)&(((SK_PNMI_CHECKSUM *)0)->e)) [all …]
|
D | skdrv2nd.h | 105 extern int SkPciReadCfgDWord(SK_AC*, int, SK_U32*); 108 extern int SkPciWriteCfgDWord(SK_AC*, int, SK_U32); 111 extern int SkDrvEvent(SK_AC*, SK_IOC IoC, SK_U32, SK_EVPARA); 123 SK_U32 PortIdx; /* Receiving/transmitting port. */ 251 volatile SK_U32 RBControl; /* Receive Buffer Control */ 252 SK_U32 VNextRxd; /* Next receive descriptor,low dword */ 253 SK_U32 VDataLow; /* Receive buffer Addr, low dword */ 254 SK_U32 VDataHigh; /* Receive buffer Addr, high dword */ 255 SK_U32 FrameStat; /* Receive Frame Status word */ 256 SK_U32 TimeStamp; /* Time stamp from XMAC */ [all …]
|
D | skgepnmi.h | 372 SK_U32 PMdiPairLen[4]; 641 SK_U32 SensorValue; 642 SK_U32 SensorWarningThresholdLow; 643 SK_U32 SensorWarningThresholdHigh; 644 SK_U32 SensorErrorThresholdLow; 645 SK_U32 SensorErrorThresholdHigh; 725 SK_U32 ConfPhyType; 726 SK_U32 ConfPhyMode; 743 SK_U32 RlmtIndex; 744 SK_U32 RlmtStatus; [all …]
|
D | sktimer.h | 41 SK_U32 TmClass; /* Timer Event class */ 42 SK_U32 TmEvent; /* Timer Event value */ 44 SK_U32 TmDelta; /* delta time */ 59 SK_U32 Time, SK_U32 Class, SK_U32 Event, SK_EVPARA Para);
|
D | skgeinit.h | 299 SK_U16 StatAddr, SK_U32 SK_FAR *pVal); 313 SK_U32 PPrevShorts; /* Previous Short Counter checking */ 314 SK_U32 PPrevFcs; /* Previous FCS Error Counter checking */ 324 SK_U32 PRxQRamStart; /* Receive Queue RAM Buffer Start Address */ 325 SK_U32 PRxQRamEnd; /* Receive Queue RAM Buffer End Address */ 326 SK_U32 PXsQRamStart; /* Sync Tx Queue RAM Buffer Start Address */ 327 SK_U32 PXsQRamEnd; /* Sync Tx Queue RAM Buffer End Address */ 328 SK_U32 PXaQRamStart; /* Async Tx Queue RAM Buffer Start Address */ 329 SK_U32 PXaQRamEnd; /* Async Tx Queue RAM Buffer End Address */ 330 SK_U32 PRxOverCnt; /* Receive Overflow Counter */ [all …]
|
D | skqueue.h | 54 SK_U32 Para32[2]; /* Parameter Array of 32bit parameters */ 65 SK_U32 Class; /* Event class */ 66 SK_U32 Event; /* Event value */ 77 extern void SkEventQueue(SK_AC *pAC, SK_U32 Class, SK_U32 Event,
|
D | skgehwt.h | 36 SK_U32 TStart; /* HWT start */ 37 SK_U32 TStop; /* HWT stop */ 42 extern void SkHwtStart(SK_AC *pAC, SK_IOC Ioc, SK_U32 Time); 44 extern SK_U32 SkHwtRead(SK_AC *pAC, SK_IOC Ioc);
|
D | skgei2c.h | 36 (((SK_U32)reg << 16) & I2C_ADDR) | \ 37 (((SK_U32)dev << 9) & I2C_DEV_SEL) | \ 42 SK_U32 I2cCtrl; \
|
D | ski2c.h | 163 extern int SkI2cWrite(SK_AC *pAC, SK_IOC IoC, SK_U32 Data, int Dev, int Size, 167 extern SK_U32 SkI2cRead(SK_AC *pAC, SK_IOC IoC, int Dev, int Size, int Reg, 170 extern int SkI2cEvent(SK_AC *pAC, SK_IOC IoC, SK_U32 Event, SK_EVPARA Para);
|
D | skgesirq.h | 104 extern void SkGeSirqIsr(SK_AC *pAC, SK_IOC IoC, SK_U32 Istatus); 105 extern int SkGeSirqEvent(SK_AC *pAC, SK_IOC IoC, SK_U32 Event, SK_EVPARA Para);
|
D | skgehw.h | 1602 SK_U32 volatile TxCtrl; /* Transmit Buffer Control Field */ 1603 SK_U32 TxNext; /* Physical Address Pointer to the next TxD */ 1604 SK_U32 TxAdrLo; /* Physical Tx Buffer Address lower dword */ 1605 SK_U32 TxAdrHi; /* Physical Tx Buffer Address upper dword */ 1606 SK_U32 TxStat; /* Transmit Frame Status Word */ 1618 SK_U32 TxRes2; /* 32 bit reserved field */ 1623 SK_U32 volatile RxCtrl; /* Receive Buffer Control Field */ 1624 SK_U32 RxNext; /* Physical Address Pointer to the next RxD */ 1625 SK_U32 RxAdrLo; /* Physical Rx Buffer Address lower dword */ 1626 SK_U32 RxAdrHi; /* Physical Rx Buffer Address upper dword */ [all …]
|
/linux-2.4.37.9/drivers/net/sk98lin/ |
D | skgepnmi.c | 56 int SkPnmiGetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id, void *pBuf, 57 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex); 58 int SkPnmiPreSetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id, void *pBuf, 59 unsigned int *pLen, SK_U32 Instance, SK_U32 NetIndex); 60 int SkPnmiSetVar(SK_AC *pAC, SK_IOC IoC, SK_U32 Id, void *pBuf, 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); 68 int SkPnmiEvent(SK_AC *pAC, SK_IOC IoC, SK_U32 Event, SK_EVPARA Param); [all …]
|
D | skgemib.c | 27 SK_U32 Id, char *pBuf, unsigned int *pLen, SK_U32 Instance, 28 unsigned int TableIndex, SK_U32 NetIndex); 29 PNMI_STATIC int CsumStat(SK_AC *pAC, SK_IOC IoC, int action, SK_U32 Id, 30 char *pBuf, unsigned int *pLen, SK_U32 Instance, 31 unsigned int TableIndex, SK_U32 NetIndex); 32 PNMI_STATIC int General(SK_AC *pAC, SK_IOC IoC, int action, SK_U32 Id, 33 char *pBuf, unsigned int *pLen, SK_U32 Instance, 34 unsigned int TableIndex, SK_U32 NetIndex); 35 PNMI_STATIC int Mac8023Stat(SK_AC *pAC, SK_IOC IoC, int action, SK_U32 Id, 36 char *pBuf, unsigned int *pLen, SK_U32 Instance, [all …]
|
D | skrlmt.c | 294 SK_U32 NetIdx); 298 SK_U32 NetIdx); 342 SK_U32 i, j; in SkRlmtInit() 411 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtInit() 413 *(SK_U32*)&pAC->Rlmt.Port[i].Random = *(SK_U32*)&Random; in SkRlmtInit() 495 SK_U32 NetIdx) /* Net Number */ in SkRlmtBuildCheckChain() 497 SK_U32 i; in SkRlmtBuildCheckChain() 498 SK_U32 NumMacsUp; in SkRlmtBuildCheckChain() 583 SK_U32 PortNumber, /* Sending port */ in SkRlmtBuildPacket() 670 SK_U32 PortNumber) /* Sending port */ in SkRlmtBuildSpanningTreePacket() [all …]
|
D | skaddr.c | 130 SK_U32 i; in SkAddrInit() 205 for (i = 0; i < (SK_U32) pAC->GIni.GIMacsFound; i++) { in SkAddrInit() 228 for (i = 0; i < (SK_U32) pAC->GIni.GIMacsFound; i++) { in SkAddrInit() 330 SK_U32 PortNumber, /* Index of affected port */ in SkAddrMcClear() 335 if (PortNumber >= (SK_U32) pAC->GIni.GIMacsFound) { in SkAddrMcClear() 376 SK_U32 PortNumber, /* Index of affected port */ in SkAddrXmacMcClear() 433 SK_U32 PortNumber, /* Index of affected port */ in SkAddrGmacMcClear() 520 SK_U32 SkXmacMcHash( in SkXmacMcHash() 523 SK_U32 Idx; in SkXmacMcHash() 524 SK_U32 Bit; in SkXmacMcHash() [all …]
|
D | skgehwt.c | 48 #define SK_HWT_FAC (1000 * (SK_U32)pAC->GIni.GIHstClkFact / 100) 74 SK_U32 Time) /* Time in units of 16us to load the timer with. */ in SkHwtStart() 76 SK_U32 Cnt; in SkHwtStart() 124 SK_U32 SkHwtRead( in SkHwtRead() 128 SK_U32 TRead; in SkHwtRead() 129 SK_U32 IStatus; in SkHwtRead()
|
D | skgeinit.c | 47 SK_U32 Value; 107 SK_U32 DWord; in SkGePollTxD() 111 DWord = (SK_U32)(PollTxD ? CSR_ENA_POL : CSR_DIS_POL); in SkGePollTxD() 176 SK_U32 LedIni; in SkGeXmitLED() 180 LedIni = SK_XMIT_DUR * (SK_U32)pAC->GIni.GIHstClkFact / 100; in SkGeXmitLED() 232 SK_U32 SK_FAR *StartVal, /* start value for address calculation */ in DoCalcAddr() 233 SK_U32 SK_FAR *QuStartAddr,/* start addr to calculate */ in DoCalcAddr() 234 SK_U32 SK_FAR *QuEndAddr) /* end address to calculate */ in DoCalcAddr() 236 SK_U32 EndVal; in DoCalcAddr() 237 SK_U32 NextStart; in DoCalcAddr() [all …]
|
D | sktimer.c | 121 SK_U32 Time, /* Time value */ in SkTimerStart() 122 SK_U32 Class, /* Event Class for this timer */ in SkTimerStart() 123 SK_U32 Event, /* Event Value for this timer */ in SkTimerStart() 128 SK_U32 Delta; in SkTimerStart() 203 SK_U32 Delta; in timer_done()
|
D | skvpd.c | 104 SK_U32 VpdReadDWord( in VpdReadDWord() 109 SK_U32 Rtv; in VpdReadDWord() 162 SK_U32 data) /* VPD data to write */ 168 VPD_OUT32(pAC, IoC, PCI_VPD_DAT_REG, (SK_U32)data); 216 if ((i%sizeof(SK_U32)) == 0) { in VpdWriteStream() 235 VPD_OUT8(pAC, IoC, PCI_VPD_DAT_REG + (i%sizeof(SK_U32)), in VpdWriteStream() 238 if (((i%sizeof(SK_U32)) == 3) || (i == (Len - 1))) { in VpdWriteStream() 241 Addr += sizeof(SK_U32); in VpdWriteStream() 251 return(i - (i%sizeof(SK_U32))); in VpdWriteStream() 266 return(i - (i%sizeof(SK_U32))); in VpdWriteStream() [all …]
|
D | skge.c | 229 static SK_U32 ParseDeviceNbrFromSlotName(const char *SlotName); 580 SK_U32 our2; in SkGeInitPCI() 620 SK_U32 AllocFlag; in FreeResources() 1286 SK_U32 IntSrc; /* interrupts source register contents */ in SkGeIsr() 1435 SK_U32 IntSrc; /* interrupts source register contents */ in SkGeIsrOnePort() 1945 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrame() 1946 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in XmitFrame() 2067 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrameSG() 2068 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in XmitFrameSG() 2119 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrameSG() [all …]
|
D | skgesirq.c | 336 SK_U32 TxMax; /* Tx Max Size Counter */ in SkMacParity() 409 SK_U32 HwStatus) /* Interrupt status word */ in SkGeHwErr() 543 SK_U32 Istatus) /* Interrupt status word */ in SkGeSirqIsr() 546 SK_U32 RegVal32; /* Read register value */ in SkGeSirqIsr() 616 &Len, (SK_U32)SK_PNMI_PORT_PHYS2INST(pAC, 0), in SkGeSirqIsr() 657 &Len, (SK_U32)SK_PNMI_PORT_PHYS2INST(pAC, 1), in SkGeSirqIsr() 884 SK_U32 Shorts; /* Short Event Counter */ in SkGePortCheckShorts() 885 SK_U32 CheckShorts; /* Check value for Short Event Counter */ in SkGePortCheckShorts() 887 SK_U32 RxTmp; /* Rx temp. Counter */ in SkGePortCheckShorts() 888 SK_U32 FcsErrCts; /* FCS Error Counter */ in SkGePortCheckShorts() [all …]
|
D | skqueue.c | 72 SK_U32 Class, /* Event Class */ in SkEventQueue() 73 SK_U32 Event, /* Event to be queued */ in SkEventQueue() 102 SK_U32 Class; in SkEventDispatcher()
|
D | sklm80.c | 136 SK_IN32(IoC, B2_I2C_DATA, ((SK_U32 *)&Value)); in SkLm80ReadSensor() 184 SK_IN32(IoC, B2_I2C_DATA, ((SK_U32 *)&Value)); in SkLm80ReadSensor()
|