Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskvpd.h129 #define VPD_OUT8(pAC,IoC,Addr,Val) (void)SkPciWriteCfgByte(pAC,Addr,Val) argument
130 #define VPD_OUT16(pAC,IoC,Addr,Val) (void)SkPciWriteCfgWord(pAC,Addr,Val) argument
131 #define VPD_OUT32(pAC,IoC,Addr,Val) (void)SkPciWriteCfgDWord(pAC,Addr,Val) argument
136 #define VPD_OUT8(pAC,IoC,Addr,Val) SK_OUT8(IoC,PCI_C(Addr),Val) argument
137 #define VPD_OUT16(pAC,IoC,Addr,Val) SK_OUT16(IoC,PCI_C(Addr),Val) argument
138 #define VPD_OUT32(pAC,IoC,Addr,Val) SK_OUT32(IoC,PCI_C(Addr),Val) argument
144 #define VPD_OUT8(pAC,Ioc,Addr,Val) { \ argument
146 SkPciWriteCfgByte(pAC,Addr,Val); \
148 SK_OUT8(pAC,PCI_C(Addr),Val); \
150 #define VPD_OUT16(pAC,Ioc,Addr,Val) { \ argument
[all …]
Dskgehw.h1781 #define XM_OUT16(IoC, Mac, Reg, Val) \ argument
1782 SK_OUT16((IoC), XMA((Mac), (Reg)), (Val))
1791 #define XM_OUT32(IoC, Mac, Reg, Val) { \ argument
1792 SK_OUT16((IoC), XMA((Mac), (Reg)), (SK_U16)((Val) & 0xffffL)); \
1793 SK_OUT16((IoC), XMA((Mac), (Reg+2)), (SK_U16)(((Val) >> 16) & 0xffffL));\
1889 #define GM_OUT16(IoC, Mac, Reg, Val) \ argument
1890 SK_OUT16((IoC), GMA((Mac), (Reg)), (Val))
1899 #define GM_OUT32(IoC, Mac, Reg, Val) { \ argument
1900 SK_OUT16((IoC), GMA((Mac), (Reg)), (SK_U16)((Val) & 0xffffL)); \
1901 SK_OUT16((IoC), GMA((Mac), (Reg+4)), (SK_U16)(((Val) >> 16) & 0xffffL));\
[all …]
Dskgeinit.h637 SK_U16 Val);
651 SK_U16 Val);
754 SK_U16 Val);
Dskaddr.h161 SK_U64 Val; /* Dummy entry for alignment only. */ member
/linux-2.4.37.9/drivers/net/sk98lin/
Dsklm80.c53 int Val = 0; in SkLm80RcvReg() local
72 Val = (int)SkI2cRcvByte(IoC, 1); in SkLm80RcvReg()
75 if ((Val & 0x80) != 0) { in SkLm80RcvReg()
77 Val = Val - 256; in SkLm80RcvReg()
79 Val = Val * SK_LM80_TEMP_LSB; in SkLm80RcvReg()
84 if (Val > 0) { in SkLm80RcvReg()
85 Val += ((TempExt >> 7) * SK_LM80_TEMPEXT_LSB); in SkLm80RcvReg()
88 Val -= ((TempExt >> 7) * SK_LM80_TEMPEXT_LSB); in SkLm80RcvReg()
90 return(Val); in SkLm80RcvReg()
96 Val = (int)SkI2cRcvByte(IoC, 1) * SK_LM80_VT_LSB; in SkLm80RcvReg()
[all …]
Dskgepnmi.c3499 unsigned int Val; in General() local
3950 GetTrapQueueLen(pAC, &Len, &Val); in General()
3951 Val32 = (SK_U32)Val; in General()
3957 GetTrapQueueLen(pAC, &Len, &Val); in General()
6769 SK_U64 Val = 0; in GetStatVal() local
6776 Val = GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6790 Val += GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6795 Val += pAC->Pnmi.VirtualCounterOffset[StatIndex]; in GetStatVal()
6801 Val = GetPhysStatVal(pAC, IoC, PhysPortIndex, StatIndex); in GetStatVal()
6804 return (Val); in GetStatVal()
[all …]
Dskxmac2.c128 SK_U16 Val) /* Value */ in SkXmPhyWrite() argument
146 XM_OUT16(IoC, Port, XM_PHY_DATA, Val); in SkXmPhyWrite()
240 SK_U16 Val) /* Value */ in SkGmPhyWrite() argument
251 PhyReg, Val, SimCyle, SimLowTime); in SkGmPhyWrite()
257 GM_OUT16(IoC, Port, GM_SMI_DATA, Val); in SkGmPhyWrite()
260 Val = GM_SMI_CT_PHY_AD(pPrt->PhyAddr) | GM_SMI_CT_REG_AD(PhyReg); in SkGmPhyWrite()
262 GM_OUT16(IoC, Port, GM_SMI_CTRL, Val); in SkGmPhyWrite()
271 Val |= GM_SMI_CT_BUSY; in SkGmPhyWrite()
284 } while (Ctrl == Val); in SkGmPhyWrite()
340 SK_U16 Val) /* Value */ in SkGePhyWrite() argument
[all …]
Dskge.c4472 SK_U32 Val) /* pointer to store the read value */ argument
4474 pci_write_config_dword(pAC->PciDev, PciAddr, Val);
4495 SK_U16 Val) /* pointer to store the read value */ argument
4497 pci_write_config_word(pAC->PciDev, PciAddr, Val);
4518 SK_U8 Val) /* pointer to store the read value */ argument
4520 pci_write_config_byte(pAC->PciDev, PciAddr, Val);
Dskrlmt.c224 #define SK_U16_TO_NETWORK_ORDER(Val,Addr) { \ argument
226 SK_U16 _Val = (SK_U16)(Val); \
233 #define SK_U16_TO_NETWORK_ORDER(Val,Addr) (*(SK_U16*)(Addr) = (SK_U16)(Val)) argument
/linux-2.4.37.9/drivers/usb/serial/
Dio_ionsp.h197 #define MAKE_CMD_WRITE_REG(ppBuf, pLen, Port, Reg, Val) \ argument
200 (*(ppBuf))[1] = (Val); \
/linux-2.4.37.9/drivers/scsi/
DREADME.tmscsim300 Bit Val(hex) Val(dec) Meaning
312 Bit Val(hex) Val(dec) Meaning
/linux-2.4.37.9/fs/hfs/
Dcatalog.c68 hfs_word_t Val; /* Valence: number of files and member
382 need_count = (rec->cdrType == HFS_CDR_DIR) && rec->u.dir.Val; in read_entry()
403 hfs_put_hs(dir->dirs + dir->files, cat->u.dir.Val); in __write_entry()
/linux-2.4.37.9/
DCREDITS1022 S: 1326 De Val-Brillant