Home
last modified time | relevance | path

Searched refs:inpw (Results 1 – 7 of 7) sorted by relevance

/drivers/net/fddi/skfp/h/
Dskfbi.h1036 #define CLEAR(io,mask) outpw((io),inpw(io)&(~(mask)))
1037 #define SET(io,mask) outpw((io),inpw(io)|(mask))
1038 #define GET(io,mask) (inpw(io)&(mask))
1039 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val))
1062 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
1065 #define GET_ST1() (((long)inpw(FM_A(FM_ST1U))<<16) + inpw(FM_A(FM_ST1L)))
1066 #define GET_ST2() (((long)inpw(FM_A(FM_ST2U))<<16) + inpw(FM_A(FM_ST2L)))
1068 #define GET_ST3() (((long)inpw(FM_A(FM_ST3U))<<16) + inpw(FM_A(FM_ST3L)))
1085 #define IN_82c54_TIMER(port) ((inpw(TI_A(port))>>8) & 0xff)
Dtypes.h33 #define inpw(p) ioread16(p) macro
/drivers/net/fddi/skfp/
Dpcmplc.c438 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ; in plc_init()
464 (void)inpw(PLC(p,PL_INTR_EVENT)) ; /* clear interrupt event reg */ in plc_init()
493 val = inpw(port) & ~(PL_PCM_CNTRL | PL_MAINT) ; in plc_go_state()
510 state = inpw(PLC(phy,PL_STATUS_A)) & PL_LINE_ST ; in sm_pm_get_ls()
546 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in plc_send_bits()
753 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in pcm_fsm()
782 (void)inpw(PLC(np,PL_INTR_EVENT)) ; in pcm_fsm()
785 plc_rev = inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK ; in pcm_fsm()
820 if (!(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL)) in pcm_fsm()
822 if (((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) != in pcm_fsm()
[all …]
Ddrvfbi.c117 word = inpw(PCI_C(PCI_STATUS)) ; in card_start()
215 stu = inpw(FM_A(FM_ST1U)) ; in mac1_irq()
216 stl = inpw(FM_A(FM_ST1L)) ; in mac1_irq()
237 u_short st = inpw(PLC(PB,PL_INTR_EVENT)) ; in plc1_irq()
248 u_short st = inpw(PLC(PA,PL_INTR_EVENT)) ; in plc2_irq()
Dfplustm.c60 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\
67 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\
115 tneg = (u_long)((long)inpw(FM_A(FM_TNEG))<<5) ; in mac_get_tneg()
116 return (u_long)((tneg + ((inpw(FM_A(FM_TMRS))>>10)&0x1f)) | in mac_get_tneg()
124 + (u_short) inpw(FM_A(FM_FCNTR)) ; in mac_update_counter()
127 + (u_short) inpw(FM_A(FM_LCNTR)) ; in mac_update_counter()
130 + (u_short) inpw(FM_A(FM_ECNTR)) ; in mac_update_counter()
165 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
166 p += (u_long)inpw(FM_A(FM_MDRL)) ;
595 imask = ~(inpw(FM_A(FM_IMSK1U))) ;
[all …]
Dhwmtm.c755 stu = inpw(FM_A(FM_ST1U)) ; in fddi_isr()
756 stl = inpw(FM_A(FM_ST1L)) ; in fddi_isr()
761 stu= inpw(FM_A(FM_ST2U)) ; in fddi_isr()
762 stl= inpw(FM_A(FM_ST2L)) ; in fddi_isr()
768 stu= inpw(FM_A(FM_ST3U)) ; in fddi_isr()
769 stl= inpw(FM_A(FM_ST3L)) ; in fddi_isr()
/drivers/scsi/
Dadvansys.c83 #define inpw(port) inw(port) macro
822 #define AscGetChipSignatureWord(port) (ushort)inpw((port)+IOP_SIG_WORD)
824 #define AscGetChipCfgLsw(port) (ushort)inpw((port)+IOP_CONFIG_LOW)
825 #define AscGetChipCfgMsw(port) (ushort)inpw((port)+IOP_CONFIG_HIGH)
830 #define AscGetChipEEPData(port) (ushort)inpw((port)+IOP_EEP_DATA)
832 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR))
834 #define AscGetChipLramData(port) (ushort)inpw((port)+IOP_RAM_DATA)
838 #define AscGetChipStatus(port) (ASC_CS_TYPE)inpw((port)+IOP_STATUS)
845 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC)
850 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX)
[all …]