Home
last modified time | relevance | path

Searched refs:FM_A (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/fddi/skfp/
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()
156 outpw(FM_A(FM_CMDREG1),FM_IRMEMWO) ;
161 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
162 p += (u_long)inpw(FM_A(FM_MDRL)) ;
[all …]
Ddrvfbi.c99 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_start()
169 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_stop()
212 stu = inpw(FM_A(FM_ST1U)) ; in mac1_irq()
213 stl = inpw(FM_A(FM_ST1L)) ; in mac1_irq()
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/net/fddi/skfp/h/
Dskfbi.h728 #define FM_A(a) ADDR(FMA(a)) /* FORMAC Plus physical addr */ macro
799 #define MODR1 FM_A(FM_MDREG1) /* mode register 1 */
800 #define MODR2 FM_A(FM_MDREG2) /* mode register 2 */
802 #define CMDR1 FM_A(FM_CMDREG1) /* command register 1 */
803 #define CMDR2 FM_A(FM_CMDREG2) /* command register 2 */
823 #define MARW(ma) outpw(FM_A(FM_MARW),(unsigned int)(ma))
824 #define MARR(ma) outpw(FM_A(FM_MARR),(unsigned int)(ma))
830 #define MDRW(dd) outpw(FM_A(FM_MDRU),(unsigned int)((dd)>>16)) ;\
831 outpw(FM_A(FM_MDRL),(unsigned int)(dd))
835 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
[all …]