Home
last modified time | relevance | path

Searched refs:SK_U16 (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskgehw.h1608 SK_U16 TxTcpOffs; /* TCP Checksum Calculation Start Value */
1609 SK_U16 TxRes1; /* 16 bit reserved field */
1610 SK_U16 TxTcpWp; /* TCP Checksum Write Position */
1611 SK_U16 TxTcpSp; /* TCP Checksum Calculation Start Position */
1613 SK_U16 TxRes1; /* 16 bit reserved field */
1614 SK_U16 TxTcpOffs; /* TCP Checksum Calculation Start Value */
1615 SK_U16 TxTcpSp; /* TCP Checksum Calculation Start Position */
1616 SK_U16 TxTcpWp; /* TCP Checksum Write Position */
1630 SK_U16 RxTcpSum1; /* TCP Checksum 1 */
1631 SK_U16 RxTcpSum2; /* TCP Checksum 2 */
[all …]
Dskgeinit.h299 SK_U16 StatAddr, SK_U32 SK_FAR *pVal);
302 SK_U16 IStatus, SK_U64 SK_FAR *pVal);
336 SK_U16 PhyId1; /* PHY Id1 on this port */
337 SK_U16 PhyAddr; /* MDIO/MDC PHY address */
338 SK_U16 PIsave; /* Saved Interrupt status word */
339 SK_U16 PSsave; /* Saved PHY status word */
340 SK_U16 PGmANegAdv; /* Saved GPhy AutoNegAdvertisment register */
388 SK_U16 GILedBlinkCtrl; /* LED Blink Control */
600 SK_U16 IStatus);
630 SK_U16 SK_FAR *pVal);
[all …]
Dskaddr.h144 (*(SK_U16 SK_FAR *)&(((SK_U8 SK_FAR *)(A1))[4]) == \
145 *(SK_U16 SK_FAR *)&(((SK_U8 SK_FAR *)(A2))[4])) && \
204 SK_U16 Align02;
Dskdrv2nd.h106 extern int SkPciReadCfgWord(SK_AC*, int, SK_U16*);
109 extern int SkPciWriteCfgWord(SK_AC*, int, SK_U16);
272 SK_U16 TcpSumSt; /* TCP Sum Start */
273 SK_U16 TcpSumWr; /* TCP Sum Write */
Dsktypes.h48 #define SK_U16 u16 macro
Dskgepnm2.h96 SK_U16 Param;
196 SK_U16 Reg; /* MAC register containing the value */
Dskrlmt.h367 SK_U16 Align01;
395 SK_U16 Align01;
Dski2c.h146 SK_U16 SenReg; /* Register Address for this sensor */
Dskgepnmi.h779 SK_U16 Chipset;
902 SK_U16 Align01;
926 SK_U16 Align02;
/linux-2.4.37.9/drivers/net/sk98lin/
Dskcsum.c338 if ((*(SK_U16 *) in SkCsGetSendInfo()
354 *(SK_U16 *) SKCS_IDX(pIpHeader, SKCS_OFS_IP_TOTAL_LENGTH); in SkCsGetSendInfo()
363 (unsigned long) *(SK_U16 *) SKCS_IDX(pIpHeader, in SkCsGetSendInfo()
365 (unsigned long) *(SK_U16 *) SKCS_IDX(pIpHeader, in SkCsGetSendInfo()
367 (unsigned long) *(SK_U16 *) SKCS_IDX(pIpHeader, in SkCsGetSendInfo()
369 (unsigned long) *(SK_U16 *) SKCS_IDX(pIpHeader, in SkCsGetSendInfo()
604 if ((*(SK_U16 *) in SkCsGetReceiveInfo()
623 *(SK_U16*)SKCS_IDX(pIpHeader, IpHeaderLength + 6) == 0x0000) { in SkCsGetReceiveInfo()
637 *(SK_U16 *) SKCS_IDX(pIpHeader, SKCS_OFS_IP_TOTAL_LENGTH); in SkCsGetReceiveInfo()
647 (unsigned long) *(SK_U16 *) SKCS_IDX(pIpHeader, in SkCsGetReceiveInfo()
[all …]
Dskxmac2.c31 SK_U16 PhyVal; /* Value to write */
89 SK_U16 SK_FAR *pVal) /* Pointer to Value */ in SkXmPhyRead()
91 SK_U16 Mmu; in SkXmPhyRead()
128 SK_U16 Val) /* Value */ in SkXmPhyWrite()
130 SK_U16 Mmu; in SkXmPhyWrite()
173 SK_U16 SK_FAR *pVal) /* Pointer to Value */ in SkGmPhyRead()
175 SK_U16 Ctrl; in SkGmPhyRead()
189 *pVal = (SK_U16)(GM_SMI_CT_PHY_AD(pPrt->PhyAddr) | in SkGmPhyRead()
240 SK_U16 Val) /* Value */ in SkGmPhyWrite()
242 SK_U16 Ctrl; in SkGmPhyWrite()
[all …]
Dskgesirq.c63 static void SkPhyIsrBcom(SK_AC*, SK_IOC, int, SK_U16);
67 static void SkPhyIsrGmac(SK_AC*, SK_IOC, int, SK_U16);
72 static void SkPhyIsrLone(SK_AC*, SK_IOC, int, SK_U16);
80 static const SK_U16 SkGeRxRegs[]= {
412 SK_U16 Word; in SkGeHwErr()
427 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeHwErr()
548 SK_U16 PhyInt; in SkGeSirqIsr()
1068 SK_U16 Isrc; /* Interrupt source register */ in SkGePortCheckUpXmac()
1069 SK_U16 IsrcSum; /* Interrupt source register sum */ in SkGePortCheckUpXmac()
1070 SK_U16 LpAb; /* Link Partner Ability */ in SkGePortCheckUpXmac()
[all …]
Dskaddr.c80 SK_U16 OnesHash[4] = {0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF};
132 SK_U16 *OutAddr; in SkAddrInit()
138 (SK_U16) sizeof(SK_ADDR)); in SkAddrInit()
248 OutAddr = (SK_U16 *) &pAPort->CurrentMacAddress.a[0]; in SkAddrInit()
945 SK_U16 *OutAddr; in SkAddrXmacMcUpdate()
961 OutAddr = (SK_U16 *) &pAPort->Exact[i].a[0]; in SkAddrXmacMcUpdate()
973 OutAddr = (SK_U16 *) &pAPort->Exact[i].a[0]; in SkAddrXmacMcUpdate()
1014 OutAddr = (SK_U16 *) &pAPort->CurrentMacAddress.a[0]; in SkAddrXmacMcUpdate()
1021 SK_U16 *InAddr; in SkAddrXmacMcUpdate()
1024 InAddr = (SK_U16 *) &InAddr8[0]; in SkAddrXmacMcUpdate()
[all …]
Dskgeinit.c588 SK_U16 Word; in SkGeInitMacFifo()
622 SK_OUT16(IoC, MR_ADDR(Port, RX_GMF_FL_MSK), (SK_U16)RX_FF_FL_DEF_MSK); in SkGeInitMacFifo()
624 Word = (SK_U16)GMF_RX_CTRL_DEF; in SkGeInitMacFifo()
641 SK_OUT16(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U16)GMF_TX_CTRL_DEF); in SkGeInitMacFifo()
1182 SK_OUT16(IoC, B3_PA_CTRL, (SK_U16)((Port == MAC_1) ? in SkGeStopPort()
1298 SK_OUT16(IoC, B3_PA_CTRL, (SK_U16)((Port == MAC_1) ? in SkGeStopPort()
1406 pAC->GIni.GILedBlinkCtrl = (SK_U16)OemConfig.Value; in SkGeInit0()
1432 SK_U16 PmCtlSts; in SkGePciReset()
1435 SK_U16 PciCmd; in SkGePciReset()
1515 SK_U16 Word; in SkGeInit1()
[all …]
Dskvpd.c58 SK_U16 state; in VpdWait()
116 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, (SK_U16)addr); in VpdReadDWord()
172 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, (SK_U16)(addr | VPD_WRITE));
207 SK_U16 AdrReg; in VpdWriteStream()
222 AdrReg = (SK_U16) Addr; in VpdWriteStream()
240 AdrReg = (SK_U16) Addr; in VpdWriteStream()
301 SK_U16 AdrReg; in VpdReadStream()
307 AdrReg = (SK_U16) Addr; in VpdReadStream()
425 SK_U16 dev_id; in VpdInit()
Dskrlmt.c226 SK_U16 _Val = (SK_U16)(Val); \
233 #define SK_U16_TO_NETWORK_ORDER(Val,Addr) (*(SK_U16*)(Addr) = (SK_U16)(Val))
584 SK_U16 PacketType, /* RLMT packet type */ in SkRlmtBuildPacket()
589 SK_U16 Length; in SkRlmtBuildPacket()
673 SK_U16 Length; in SkRlmtBuildSpanningTreePacket()
884 SK_U16 PacketType; in SkRlmtPacketReceive()
997 PacketType = (SK_U16)((pRPacket->RlmtPacketType[0] << 8) | in SkRlmtPacketReceive()
2680 SK_U16 *InAddr; in SkRlmtEvtSegTim()
2683 InAddr = (SK_U16 *)&InAddr8[0]; in SkRlmtEvtSegTim()
Dskgepnmi.c126 PNMI_STATIC const SK_U16 StatOvrflwBit[][SK_PNMI_MAC_TYPES] = {
359 SK_U16 Val16; /* Multiple purpose 16 bit variable */ in SkPnmiInit()
999 SK_U16 MacStatus; in SkPnmiEvent()
1005 SK_U16 Register; in SkPnmiEvent()
1035 MacStatus = (SK_U16)Param.Para32[1]; in SkPnmiEvent()
3501 SK_U16 Val16; in General()
3580 if (*pLen < sizeof(SK_U16)) { in General()
3582 *pLen = sizeof(SK_U16); in General()
3898 *pLen = sizeof(SK_U16); in General()
6832 SK_U16 Word; in GetPhysStatVal()
Dskge.c2307 SK_U16 Length; /* data fragment length */ in FillRxDescriptor()
2364 SK_U16 Length; /* data fragment length */ in ReQueueRxBuffer()
4428 SK_U16 *pVal) /* pointer to store the read value */
4495 SK_U16 Val) /* pointer to store the read value */