Home
last modified time | relevance | path

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

/drivers/net/fddi/skfp/
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()
152 outpw(FM_A(FM_CMDREG1),FM_IRMEMWO) ;
157 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
158 p += (u_long)inpw(FM_A(FM_MDRL)) ;
[all …]
Ddrvfbi.c95 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_start()
165 outpw(FM_A(FM_MDREG1),FM_MINIT) ; in card_stop()
208 stu = inpw(FM_A(FM_ST1U)) ; in mac1_irq()
209 stl = inpw(FM_A(FM_ST1L)) ; in mac1_irq()
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()
/drivers/net/fddi/skfp/h/
Dskfbi.h723 #define FM_A(a) ADDR(FMA(a)) /* FORMAC Plus physical addr */ macro
794 #define MODR1 FM_A(FM_MDREG1) /* mode register 1 */
795 #define MODR2 FM_A(FM_MDREG2) /* mode register 2 */
797 #define CMDR1 FM_A(FM_CMDREG1) /* command register 1 */
798 #define CMDR2 FM_A(FM_CMDREG2) /* command register 2 */
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))
830 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
[all …]