Lines Matching refs:u_short

49 #define	DUMMY_READ()	smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
69 static const u_short my_said = 0xffff ; /* short address (n.u.) */
70 static const u_short my_sagp = 0xffff ; /* short group address (n.u.) */
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()
168 u_short i ; in init_ram()
176 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) in init_ram()
249 u_short rbc_ram_addr ; in init_rbc()
582 void enable_tx_irq(struct s_smc *smc, u_short queue)
585 u_short imask ;
617 void disable_tx_irq(struct s_smc *smc, u_short queue)
620 u_short imask ;
672 void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l) in mac2_irq()
674 u_short change_s2l ; in mac2_irq()
675 u_short change_s2u ; in mac2_irq()
798 void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l) in mac3_irq()
889 u_short t_max,x ; in init_mac()
939 t_max = (u_short)(smc->mib.m[MAC0].fddiMACT_Max/32) ; in init_mac()
944 outpw(FM_A(FM_TMAX),(u_short)t_max) ; in init_mac()
948 outpw(FM_A(FM_TVX), (u_short) (- US2BCLK(52))/255 & MB) ; in init_mac()
951 (u_short)((smc->mib.m[MAC0].fddiMACTvxValue/255) & MB)) ; in init_mac()
1209 outpw(FM_A(FM_AFMASK1),(u_short) ~((fu[0] << 8) + fu[1])) ; in mac_update_multicast()
1210 outpw(FM_A(FM_AFMASK0),(u_short) ~((fu[2] << 8) + fu[3])) ; in mac_update_multicast()
1234 (u_short)((tb->a.a[0]<<8)+tb->a.a[1])) ; in mac_update_multicast()
1236 (u_short)((tb->a.a[2]<<8)+tb->a.a[3])) ; in mac_update_multicast()
1238 (u_short)((tb->a.a[4]<<8)+tb->a.a[5])) ; in mac_update_multicast()