Home
last modified time | relevance | path

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

/linux/drivers/net/fddi/skfp/h/
A Dskfbi.h804 #define CLEAR(io,mask) outpw((io),inpw(io)&(~(mask)))
805 #define SET(io,mask) outpw((io),inpw(io)|(mask))
806 #define GET(io,mask) (inpw(io)&(mask))
807 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val))
830 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
833 #define GET_ST1() (((long)inpw(FM_A(FM_ST1U))<<16) + inpw(FM_A(FM_ST1L)))
834 #define GET_ST2() (((long)inpw(FM_A(FM_ST2U))<<16) + inpw(FM_A(FM_ST2L)))
836 #define GET_ST3() (((long)inpw(FM_A(FM_ST3U))<<16) + inpw(FM_A(FM_ST3L)))
853 #define IN_82c54_TIMER(port) ((inpw(TI_A(port))>>8) & 0xff)
A Dtypes.h29 #define inpw(p) ioread16(p) macro
/linux/drivers/net/fddi/skfp/
A Dpcmplc.c427 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ; in plc_init()
482 val = inpw(port) & ~(PL_PCM_CNTRL | PL_MAINT) ; in plc_go_state()
499 state = inpw(PLC(phy,PL_STATUS_A)) & PL_LINE_ST ; in sm_pm_get_ls()
535 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in plc_send_bits()
741 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in pcm_fsm()
770 (void)inpw(PLC(np,PL_INTR_EVENT)) ; in pcm_fsm()
812 !(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL)) in pcm_fsm()
884 i = inpw(PLC(np,PL_CNTRL_B)) & ~PL_PC_LOOP ; in pcm_fsm()
1716 j = inpw(PLC(np,PL_LE_THRESHOLD)) ; in plc_irq()
1717 i = inpw(PLC(np,PL_LINK_ERR_CTR)) ; in plc_irq()
[all …]
A Ddrvfbi.c110 word = inpw(PCI_C(PCI_STATUS)) ; in card_start()
208 stu = inpw(FM_A(FM_ST1U)) ; in mac1_irq()
209 stl = inpw(FM_A(FM_ST1L)) ; in mac1_irq()
230 u_short st = inpw(PLC(PB,PL_INTR_EVENT)) ; in plc1_irq()
241 u_short st = inpw(PLC(PA,PL_INTR_EVENT)) ; in plc2_irq()
A Dfplustm.c59 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\
107 tneg = (u_long)((long)inpw(FM_A(FM_TNEG))<<5) ; in mac_get_tneg()
116 + (u_short) inpw(FM_A(FM_FCNTR)) ; in mac_update_counter()
119 + (u_short) inpw(FM_A(FM_LCNTR)) ; in mac_update_counter()
122 + (u_short) inpw(FM_A(FM_ECNTR)) ; in mac_update_counter()
157 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
158 p += (u_long)inpw(FM_A(FM_MDRL)) ;
587 imask = ~(inpw(FM_A(FM_IMSK1U))) ;
622 imask = ~(inpw(FM_A(FM_IMSK1U))) ;
1045 return (inpw(FM_A(FM_STMCHN))>>4) & 7; in sm_mac_get_tx_state()
[all …]
A Dhwmtm.c747 stu = inpw(FM_A(FM_ST1U)) ; in fddi_isr()
748 stl = inpw(FM_A(FM_ST1L)) ; in fddi_isr()
753 stu= inpw(FM_A(FM_ST2U)) ; in fddi_isr()
754 stl= inpw(FM_A(FM_ST2L)) ; in fddi_isr()
760 stu= inpw(FM_A(FM_ST3U)) ; in fddi_isr()
761 stl= inpw(FM_A(FM_ST3L)) ; in fddi_isr()
/linux/drivers/scsi/
A Dadvansys.c79 #define inpw(port) inw(port) macro
828 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC)
833 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX)
837 #define AscReadChipIH(port) (ushort)inpw((port)+IOP_REG_IH)
847 #define AscReadChipDA0(port) (ushort)inpw((port)+IOP_REG_DA0)
849 #define AscReadChipDA1(port) (ushort)inpw((port)+IOP_REG_DA1)
851 #define AscReadChipDC0(port) (ushort)inpw((port)+IOP_REG_DC0)
3836 word = inpw(iop_base + IOP_RAM_DATA); in AscMemWordCopyPtrFromLram()
6605 word = inpw(iop_base + IOP_RAM_DATA); in DvcGetQinfo()
8486 return inpw(eisa_cfg_iop); in DEF_SCSI_QCMD()
[all …]

Completed in 58 milliseconds