Searched refs:padapter (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | pci2220i.c | 195 static void Alarm (PADAPTER2220I padapter, UCHAR device) in Alarm() argument 199 if ( padapter->bigD ) in Alarm() 202 if ( padapter->failRegister & FAIL_ANY ) in Alarm() 205 padapter->failRegister = zc; in Alarm() 206 outb_p (~zc, padapter->regFail); in Alarm() 209 outb_p (0x3C | (1 << device), padapter->regFail); // sound alarm and set fail light in Alarm() 221 static void MuteAlarm (PADAPTER2220I padapter) in MuteAlarm() argument 225 if ( padapter->bigD ) in MuteAlarm() 227 padapter->failRegister &= ~FAIL_AUDIBLE; in MuteAlarm() 228 outb_p (~padapter->failRegister, padapter->regFail); in MuteAlarm() [all …]
|
D | pci2000.c | 118 static int WaitReady (PADAPTER2000 padapter) in WaitReady() argument 124 if ( !inb_p (padapter->cmd) ) in WaitReady() 140 static int WaitReadyLong (PADAPTER2000 padapter) in WaitReadyLong() argument 146 if ( !inb_p (padapter->cmd) ) in WaitReadyLong() 179 static UCHAR Command (PADAPTER2000 padapter, UCHAR cmd) in Command() argument 181 outb_p (cmd, padapter->cmd); in Command() 182 if ( WaitReady (padapter) ) in Command() 185 if ( inw_p (padapter->mb0) ) in Command() 188 return inb_p (padapter->mb1); in Command() 202 static int BuildSgList (Scsi_Cmnd *SCpnt, PADAPTER2000 padapter, PDEV2000 pdev) in BuildSgList() argument [all …]
|
D | psi240i.c | 117 static int WriteData (PADAPTER240I padapter) in WriteData() argument 120 USHORT *pports = padapter->ports; in WriteData() 126 outsw (pports[PORT_DATA], padapter->buffer, (USHORT)padapter->ide.ide.ide[2] * 256); in WriteData() 131 padapter->ide.ide.ides.cmd = 0; // null out the command byte in WriteData() 144 static UCHAR IdeCmd (PADAPTER240I padapter) in IdeCmd() argument 147 USHORT *pports = padapter->ports; in IdeCmd() 150 outb_p (padapter->ide.ide.ides.spigot, pports[PORT_SEL_FAIL]); // select the spigot in IdeCmd() 151 outb_p (padapter->ide.ide.ide[6], pports[PORT_LBA_24]); // select the drive in IdeCmd() 154 status = inb_p (padapter->ports[PORT_STAT_CMD]); in IdeCmd() 157 outb_p (padapter->ide.ide.ide[2], pports[PORT_SECTOR_COUNT]); in IdeCmd() [all …]
|
D | psi_dale.h | 319 #define SelectSpigot(padapter,spigot) outb_p (spigot, padapter->regStatSel) argument 320 #define WriteCommand(padapter,cmd) outb_p (cmd, padapter->regStatCmd) argument 321 #define AtapiDevice(padapter,b) outb_p (b, padapter->regLba24); argument 322 #define AtapiCountLo(padapter,b) outb_p (b, padapter->regLba8) argument 323 #define AtapiCountHi(padapter,b) outb_p (b, padapter->regLba16) argument
|