Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/fddi/skfp/h/
Dskfbi.h809 #define CLEAR(io,mask) outpw((io),inpw(io)&(~(mask)))
810 #define SET(io,mask) outpw((io),inpw(io)|(mask))
811 #define GET(io,mask) (inpw(io)&(mask))
812 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val))
835 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
838 #define GET_ST1() (((long)inpw(FM_A(FM_ST1U))<<16) + inpw(FM_A(FM_ST1L)))
839 #define GET_ST2() (((long)inpw(FM_A(FM_ST2U))<<16) + inpw(FM_A(FM_ST2L)))
841 #define GET_ST3() (((long)inpw(FM_A(FM_ST3U))<<16) + inpw(FM_A(FM_ST3L)))
858 #define IN_82c54_TIMER(port) ((inpw(TI_A(port))>>8) & 0xff)
Dtypes.h29 #define inpw(p) ioread16(p) macro
/Linux-v5.4/drivers/net/fddi/skfp/
Dpcmplc.c431 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ; in plc_init()
457 (void)inpw(PLC(p,PL_INTR_EVENT)) ; /* clear interrupt event reg */ in plc_init()
486 val = inpw(port) & ~(PL_PCM_CNTRL | PL_MAINT) ; in plc_go_state()
503 state = inpw(PLC(phy,PL_STATUS_A)) & PL_LINE_ST ; in sm_pm_get_ls()
539 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in plc_send_bits()
745 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) { in pcm_fsm()
774 (void)inpw(PLC(np,PL_INTR_EVENT)) ; in pcm_fsm()
777 plc_rev = inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK ; in pcm_fsm()
812 if (!(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL)) in pcm_fsm()
814 if (((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) != in pcm_fsm()
[all …]
Ddrvfbi.c114 word = inpw(PCI_C(PCI_STATUS)) ; in card_start()
212 stu = inpw(FM_A(FM_ST1U)) ; in mac1_irq()
213 stl = inpw(FM_A(FM_ST1L)) ; in mac1_irq()
234 u_short st = inpw(PLC(PB,PL_INTR_EVENT)) ; in plc1_irq()
245 u_short st = inpw(PLC(PA,PL_INTR_EVENT)) ; in plc2_irq()
Dfplustm.c56 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\
63 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\
111 tneg = (u_long)((long)inpw(FM_A(FM_TNEG))<<5) ; in mac_get_tneg()
112 return (u_long)((tneg + ((inpw(FM_A(FM_TMRS))>>10)&0x1f)) | in mac_get_tneg()
120 + (u_short) inpw(FM_A(FM_FCNTR)) ; in mac_update_counter()
123 + (u_short) inpw(FM_A(FM_LCNTR)) ; in mac_update_counter()
126 + (u_short) inpw(FM_A(FM_ECNTR)) ; in mac_update_counter()
161 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
162 p += (u_long)inpw(FM_A(FM_MDRL)) ;
591 imask = ~(inpw(FM_A(FM_IMSK1U))) ;
[all …]
Dhwmtm.c751 stu = inpw(FM_A(FM_ST1U)) ; in fddi_isr()
752 stl = inpw(FM_A(FM_ST1L)) ; in fddi_isr()
757 stu= inpw(FM_A(FM_ST2U)) ; in fddi_isr()
758 stl= inpw(FM_A(FM_ST2L)) ; in fddi_isr()
764 stu= inpw(FM_A(FM_ST3U)) ; in fddi_isr()
765 stl= inpw(FM_A(FM_ST3L)) ; in fddi_isr()
/Linux-v5.4/drivers/scsi/
Dadvansys.c79 #define inpw(port) inw(port) macro
818 #define AscGetChipSignatureWord(port) (ushort)inpw((port)+IOP_SIG_WORD)
820 #define AscGetChipCfgLsw(port) (ushort)inpw((port)+IOP_CONFIG_LOW)
821 #define AscGetChipCfgMsw(port) (ushort)inpw((port)+IOP_CONFIG_HIGH)
826 #define AscGetChipEEPData(port) (ushort)inpw((port)+IOP_EEP_DATA)
828 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR))
830 #define AscGetChipLramData(port) (ushort)inpw((port)+IOP_RAM_DATA)
834 #define AscGetChipStatus(port) (ASC_CS_TYPE)inpw((port)+IOP_STATUS)
841 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC)
846 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX)
[all …]