Lines Matching refs:u_short

57 #define	DUMMY_READ()	smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
77 static const u_short my_said = 0xffff ; /* short address (n.u.) */
78 static const u_short my_sagp = 0xffff ; /* short group address (n.u.) */
124 + (u_short) inpw(FM_A(FM_FCNTR)) ; in mac_update_counter()
127 + (u_short) inpw(FM_A(FM_LCNTR)) ; in mac_update_counter()
130 + (u_short) inpw(FM_A(FM_ECNTR)) ; in mac_update_counter()
176 u_short i ; in init_ram()
184 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++) in init_ram()
257 u_short rbc_ram_addr ; in init_rbc()
590 void enable_tx_irq(struct s_smc *smc, u_short queue)
593 u_short imask ;
625 void disable_tx_irq(struct s_smc *smc, u_short queue)
628 u_short imask ;
680 void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l) in mac2_irq()
682 u_short change_s2l ; in mac2_irq()
683 u_short change_s2u ; in mac2_irq()
806 void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l) in mac3_irq()
897 u_short t_max,x ; in init_mac()
947 t_max = (u_short)(smc->mib.m[MAC0].fddiMACT_Max/32) ; in init_mac()
952 outpw(FM_A(FM_TMAX),(u_short)t_max) ; in init_mac()
956 outpw(FM_A(FM_TVX), (u_short) (- US2BCLK(52))/255 & MB) ; in init_mac()
959 (u_short)((smc->mib.m[MAC0].fddiMACTvxValue/255) & MB)) ; in init_mac()
1217 outpw(FM_A(FM_AFMASK1),(u_short) ~((fu[0] << 8) + fu[1])) ; in mac_update_multicast()
1218 outpw(FM_A(FM_AFMASK0),(u_short) ~((fu[2] << 8) + fu[3])) ; in mac_update_multicast()
1242 (u_short)((tb->a.a[0]<<8)+tb->a.a[1])) ; in mac_update_multicast()
1244 (u_short)((tb->a.a[2]<<8)+tb->a.a[3])) ; in mac_update_multicast()
1246 (u_short)((tb->a.a[4]<<8)+tb->a.a[5])) ; in mac_update_multicast()