Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dfplustm.c152 outpw(FM_A(FM_CMDREG1),FM_IRMEMWO) ;
190 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ in set_recvptr()
191 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ in set_recvptr()
192 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ in set_recvptr()
193 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr()
199 outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
200 outpw(FM_A(FM_SWPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
201 outpw(FM_A(FM_WPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
202 outpw(FM_A(FM_EARV2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
205 outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
[all …]
Dhwt.c78 outpw(ADDR(B2_TI_CRTL), TIM_START) ; /* Start timer. */ in hwt_start()
99 outpw(ADDR(B2_TI_CRTL), TIM_STOP) ; in hwt_stop()
100 outpw(ADDR(B2_TI_CRTL), TIM_CL_IRQ) ; in hwt_stop()
201 outpw(ADDR(B2_TI_CRTL), TIM_STOP) ; in hwt_quick_read()
204 outpw(ADDR(B2_TI_CRTL), TIM_START) ; in hwt_quick_read()
Dpcmplc.c423 outpw(PLC(p,PL_CNTRL_B),0) ; in plc_init()
424 outpw(PLC(p,PL_CNTRL_B),PL_PCM_STOP) ; in plc_init()
425 outpw(PLC(p,PL_CNTRL_A),0) ; in plc_init()
436 outpw(PLC(p,PL_CNTRL_C),PLCS_CONTROL_C_S) ; in plc_init()
438 outpw(PLC(p,PL_T_FOT_ASS),PLCS_FASSERT_S) ; in plc_init()
439 outpw(PLC(p,PL_T_FOT_DEASS),PLCS_FDEASSERT_S) ; in plc_init()
443 outpw(PLC(p,PL_CNTRL_C),PLCS_CONTROL_C_U) ; in plc_init()
445 outpw(PLC(p,PL_T_FOT_ASS),PLCS_FASSERT_U) ; in plc_init()
446 outpw(PLC(p,PL_T_FOT_DEASS),PLCS_FDEASSERT_U) ; in plc_init()
455 outpw(PLC(p,pltm[i].timer),pltm[i].para) ; in plc_init()
[all …]
Ddrvfbi.c99 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_start()
115 outpw(PCI_C(PCI_STATUS), word | PCI_STATUS_ERROR_BITS); in card_start()
169 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_stop()
553 outpw(ADDR(B2_WDOG_CRTL),TIM_START) ; /* Start timer. */ in smt_start_watchdog()
567 outpw(ADDR(B2_WDOG_CRTL),TIM_STOP) ; /* Stop timer. */ in smt_stop_watchdog()
/kernel/linux/linux-5.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))
807 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val))
818 #define MARW(ma) outpw(FM_A(FM_MARW),(unsigned int)(ma))
819 #define MARR(ma) outpw(FM_A(FM_MARR),(unsigned int)(ma))
825 #define MDRW(dd) outpw(FM_A(FM_MDRU),(unsigned int)((dd)>>16)) ;\
826 outpw(FM_A(FM_MDRL),(unsigned int)(dd))
852 #define OUT_82c54_TIMER(port,val) outpw(TI_A(port),(val)<<8)
Dtypes.h32 #define outpw(p,s) iowrite16(s,p) macro
/kernel/linux/linux-5.10/drivers/scsi/
Dadvansys.c80 #define outpw(port, word) outw((word), (port)) macro
822 #define AscSetChipCfgLsw(port, data) outpw((port)+IOP_CONFIG_LOW, data)
823 #define AscSetChipCfgMsw(port, data) outpw((port)+IOP_CONFIG_HIGH, data)
827 #define AscSetChipEEPData(port, data) outpw((port)+IOP_EEP_DATA, data)
829 #define AscSetChipLramAddr(port, addr) outpw((PortAddr)((port)+IOP_RAM_ADDR), addr)
831 #define AscSetChipLramData(port, data) outpw((port)+IOP_RAM_DATA, data)
835 #define AscSetChipStatus(port, cs_val) outpw((port)+IOP_STATUS, cs_val)
840 #define AscSetPCAddr(port, data) outpw((port)+IOP_REG_PC, data)
847 #define AscWriteChipAX(port, data) outpw((port)+IOP_REG_AX, data)
851 #define AscWriteChipIH(port, data) outpw((port)+IOP_REG_IH, data)
[all …]