Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/fddi/skfp/h/
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)
Dtypes.h29 #define inpw(p) ioread16(p) macro
/linux-5.19.10/drivers/net/fddi/skfp/
Dpcmplc.c427 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ; in plc_init()
453 (void)inpw(PLC(p,PL_INTR_EVENT)) ; /* clear interrupt event reg */ 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()
773 plc_rev = inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK ; in pcm_fsm()
808 if (!(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL)) in pcm_fsm()
810 if (((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) != in pcm_fsm()
[all …]
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()
Dfplustm.c52 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\
59 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()
108 return (u_long)((tneg + ((inpw(FM_A(FM_TMRS))>>10)&0x1f)) | 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))) ;
[all …]
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-5.19.10/drivers/scsi/
Dadvansys.c79 #define inpw(port) inw(port) macro
805 #define AscGetChipSignatureWord(port) (ushort)inpw((port)+IOP_SIG_WORD)
807 #define AscGetChipCfgLsw(port) (ushort)inpw((port)+IOP_CONFIG_LOW)
808 #define AscGetChipCfgMsw(port) (ushort)inpw((port)+IOP_CONFIG_HIGH)
813 #define AscGetChipEEPData(port) (ushort)inpw((port)+IOP_EEP_DATA)
815 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR))
817 #define AscGetChipLramData(port) (ushort)inpw((port)+IOP_RAM_DATA)
821 #define AscGetChipStatus(port) (ASC_CS_TYPE)inpw((port)+IOP_STATUS)
828 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC)
833 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX)
[all …]