Lines Matching refs:outpw
156 outpw(FM_A(FM_CMDREG1),FM_IRMEMWO) ;
194 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */ in set_recvptr()
195 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */ in set_recvptr()
196 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */ in set_recvptr()
197 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */ in set_recvptr()
203 outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
204 outpw(FM_A(FM_SWPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
205 outpw(FM_A(FM_WPR2),smc->hw.fp.fifo.rx2_fifo_start) ; in set_recvptr()
206 outpw(FM_A(FM_EARV2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
209 outpw(FM_A(FM_RPR2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
210 outpw(FM_A(FM_SWPR2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
211 outpw(FM_A(FM_WPR2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
212 outpw(FM_A(FM_EARV2),smc->hw.fp.fifo.rbc_ram_end-1) ; in set_recvptr()
221 outpw(FM_A(FM_CMDREG2),FM_IRSTQ) ; /* reset transmit queues */ in set_txptr()
226 outpw(FM_A(FM_RPXA0),smc->hw.fp.fifo.tx_a0_start) ; /* RPXA0 */ in set_txptr()
227 outpw(FM_A(FM_SWPXA0),smc->hw.fp.fifo.tx_a0_start) ; /* SWPXA0 */ in set_txptr()
228 outpw(FM_A(FM_WPXA0),smc->hw.fp.fifo.tx_a0_start) ; /* WPXA0 */ in set_txptr()
229 outpw(FM_A(FM_EAA0),smc->hw.fp.fifo.rx2_fifo_start-1) ; /* EAA0 */ in set_txptr()
235 outpw(FM_A(FM_RPXS),smc->hw.fp.fifo.tx_s_start) ; in set_txptr()
236 outpw(FM_A(FM_SWPXS),smc->hw.fp.fifo.tx_s_start) ; in set_txptr()
237 outpw(FM_A(FM_WPXS),smc->hw.fp.fifo.tx_s_start) ; in set_txptr()
238 outpw(FM_A(FM_EAS),smc->hw.fp.fifo.tx_a0_start-1) ; in set_txptr()
241 outpw(FM_A(FM_RPXS),smc->hw.fp.fifo.tx_a0_start-1) ; in set_txptr()
242 outpw(FM_A(FM_SWPXS),smc->hw.fp.fifo.tx_a0_start-1) ; in set_txptr()
243 outpw(FM_A(FM_WPXS),smc->hw.fp.fifo.tx_a0_start-1) ; in set_txptr()
244 outpw(FM_A(FM_EAS),smc->hw.fp.fifo.tx_a0_start-1) ; in set_txptr()
260 outpw(FM_A(FM_RPXA1),rbc_ram_addr) ; /* a1-send pointer */ in init_rbc()
261 outpw(FM_A(FM_WPXA1),rbc_ram_addr) ; in init_rbc()
262 outpw(FM_A(FM_SWPXA1),rbc_ram_addr) ; in init_rbc()
263 outpw(FM_A(FM_EAA1),rbc_ram_addr) ; in init_rbc()
296 outpw(FM_A(FM_TSYNC),(unsigned int) (((-sync_bw) >> 5) & 0xffff) ) ; in set_formac_tsync()
336 outpw(FM_A(FM_FCNTR),0) ; in mac_counter_init()
337 outpw(FM_A(FM_LCNTR),0) ; in mac_counter_init()
338 outpw(FM_A(FM_ECNTR),0) ; in mac_counter_init()
355 outpw(FM_A(FM_SAID),my_said) ; /* set short address */ in set_formac_addr()
356 outpw(FM_A(FM_LAIL),(unsigned short)((smc->hw.fddi_home_addr.a[4]<<8) + in set_formac_addr()
358 outpw(FM_A(FM_LAIC),(unsigned short)((smc->hw.fddi_home_addr.a[2]<<8) + in set_formac_addr()
360 outpw(FM_A(FM_LAIM),(unsigned short)((smc->hw.fddi_home_addr.a[0]<<8) + in set_formac_addr()
363 outpw(FM_A(FM_SAGP),my_sagp) ; /* set short group address */ in set_formac_addr()
365 outpw(FM_A(FM_LAGL),(unsigned short)((smc->hw.fp.group_addr.a[4]<<8) + in set_formac_addr()
367 outpw(FM_A(FM_LAGC),(unsigned short)((smc->hw.fp.group_addr.a[2]<<8) + in set_formac_addr()
369 outpw(FM_A(FM_LAGM),(unsigned short)((smc->hw.fp.group_addr.a[0]<<8) + in set_formac_addr()
373 outpw(FM_A(FM_TREQ1),(unsigned short)(t_requ>>16)) ; in set_formac_addr()
374 outpw(FM_A(FM_TREQ0),(unsigned short)t_requ) ; in set_formac_addr()
410 outpw(FM_A(FM_CMDREG2),FM_ISTTB) ; in copy_tx_mac()
416 outpw(FM_A(FM_CMDREG2),FM_ISTTB) ; /* set the tag bit */ in copy_tx_mac()
459 outpw(FM_A(FM_CMDREG2),FM_ISTTB) ; /* set the tag bit */ in directed_beacon()
462 outpw(FM_A(FM_SABC),smc->hw.fp.fifo.rbc_ram_start + DBEACON_FRAME_OFF) ; in directed_beacon()
492 outpw(FM_A(FM_SACL),smc->hw.fp.fifo.rbc_ram_start + CLAIM_FRAME_OFF) ; in build_claim_beacon()
507 outpw(FM_A(FM_SABC),smc->hw.fp.fifo.rbc_ram_start + BEACON_FRAME_OFF) ; in build_claim_beacon()
526 outpw(FM_A(FM_EACB),smc->hw.fp.fifo.rx1_fifo_start-1) ; in build_claim_beacon()
528 outpw(FM_A(FM_WPXSF),0) ; in build_claim_beacon()
529 outpw(FM_A(FM_RPXSF),0) ; in build_claim_beacon()
537 outpw(FM_A(FM_CMDREG1),FM_ICLLR) ; /* clear receive lock */ in formac_rcv_restart()
542 outpw(FM_A(FM_CMDREG1),FM_ICLLS) ; /* clear s-frame lock */ in formac_tx_restart()
543 outpw(FM_A(FM_CMDREG1),FM_ICLLA0) ; /* clear a-frame lock */ in formac_tx_restart()
549 outpw(FM_A(FM_IMSK1U),(unsigned short)~mac_imsk1u); in enable_formac()
550 outpw(FM_A(FM_IMSK1L),(unsigned short)~mac_imsk1l); in enable_formac()
551 outpw(FM_A(FM_IMSK2U),(unsigned short)~mac_imsk2u); in enable_formac()
552 outpw(FM_A(FM_IMSK2L),(unsigned short)~mac_imsk2l); in enable_formac()
553 outpw(FM_A(FM_IMSK3U),(unsigned short)~mac_imsk3u); in enable_formac()
554 outpw(FM_A(FM_IMSK3L),(unsigned short)~mac_imsk3l); in enable_formac()
594 outpw(FM_A(FM_IMSK1U),~(imask|FM_STEFRMS)) ;
597 outpw(FM_A(FM_IMSK1U),~(imask|FM_STEFRMA0)) ;
629 outpw(FM_A(FM_IMSK1U),~(imask&~FM_STEFRMS)) ;
632 outpw(FM_A(FM_IMSK1U),~(imask&~FM_STEFRMA0)) ;
640 outpw(FM_A(FM_IMSK1U),MW) ; in disable_formac()
641 outpw(FM_A(FM_IMSK1L),MW) ; in disable_formac()
642 outpw(FM_A(FM_IMSK2U),MW) ; in disable_formac()
643 outpw(FM_A(FM_IMSK2L),MW) ; in disable_formac()
644 outpw(FM_A(FM_IMSK3U),MW) ; in disable_formac()
645 outpw(FM_A(FM_IMSK3L),MW) ; in disable_formac()
661 outpw(FM_A(FM_CMDREG2),FM_IACTR) ; in mac_ring_up()
796 outpw(FM_A(FM_IMSK2U),~mac_imsk2u) ; in mac2_irq()
827 outpw(FM_A(FM_CMDREG2),FM_IACTR) ;/* abort current transmit activity */ in formac_offline()
899 outpw(FM_A(FM_MDREG1),FM_MINIT) ; /* FORMAC+ init mode */ in init_mac()
901 outpw(FM_A(FM_MDREG1),FM_MMEMACT) ; /* FORMAC+ memory activ mode */ in init_mac()
903 outpw(FM_A(FM_MDREG2),smc->hw.fp.mdr2init) ; in init_mac()
929 outpw(FM_A(FM_FRMTHR),14<<12) ; /* switch on */ in init_mac()
932 outpw(FM_A(FM_MDREG1),MDR1INIT | FM_SELRA | smc->hw.fp.rx_mode) ; in init_mac()
933 outpw(FM_A(FM_MDREG2),smc->hw.fp.mdr2init) ; in init_mac()
934 outpw(FM_A(FM_MDREG3),smc->hw.fp.mdr3init) ; in init_mac()
935 outpw(FM_A(FM_FRSELREG),smc->hw.fp.frselreg_init) ; in init_mac()
948 outpw(FM_A(FM_TMAX),(u_short)t_max) ; in init_mac()
952 outpw(FM_A(FM_TVX), (u_short) (- US2BCLK(52))/255 & MB) ; in init_mac()
954 outpw(FM_A(FM_TVX), in init_mac()
958 outpw(FM_A(FM_CMDREG1),FM_ICLLS) ; /* clear s-frame lock */ in init_mac()
959 outpw(FM_A(FM_CMDREG1),FM_ICLLA0) ; /* clear a-frame lock */ in init_mac()
960 outpw(FM_A(FM_CMDREG1),FM_ICLLR); /* clear receive lock */ in init_mac()
963 outpw(FM_A(FM_UNLCKDLY),(0xff|(0xff<<8))) ; in init_mac()
1013 outpw(FM_A(FM_IMSK2U),~(mac_imsk2u | mac_beacon_imsk2u)) ; in sm_mac_check_beacon_claim()
1205 outpw(FM_A(FM_AFCMD),FM_IINV_CAM) ; in mac_update_multicast()
1212 outpw(FM_A(FM_AFMASK2),0xffff) ; in mac_update_multicast()
1213 outpw(FM_A(FM_AFMASK1),(u_short) ~((fu[0] << 8) + fu[1])) ; in mac_update_multicast()
1214 outpw(FM_A(FM_AFMASK0),(u_short) ~((fu[2] << 8) + fu[3])) ; in mac_update_multicast()
1215 outpw(FM_A(FM_AFPERS),FM_VALID|FM_DA) ; in mac_update_multicast()
1216 outpw(FM_A(FM_AFCOMP2), 0xc000) ; in mac_update_multicast()
1217 outpw(FM_A(FM_AFCOMP1), 0x0000) ; in mac_update_multicast()
1218 outpw(FM_A(FM_AFCOMP0), 0x0000) ; in mac_update_multicast()
1219 outpw(FM_A(FM_AFCMD),FM_IWRITE_CAM) ; in mac_update_multicast()
1225 outpw(FM_A(FM_AFMASK0),0xffff) ; in mac_update_multicast()
1226 outpw(FM_A(FM_AFMASK1),0xffff) ; in mac_update_multicast()
1227 outpw(FM_A(FM_AFMASK2),0xffff) ; in mac_update_multicast()
1228 outpw(FM_A(FM_AFPERS),FM_VALID|FM_DA) ; in mac_update_multicast()
1237 outpw(FM_A(FM_AFCOMP2), in mac_update_multicast()
1239 outpw(FM_A(FM_AFCOMP1), in mac_update_multicast()
1241 outpw(FM_A(FM_AFCOMP0), in mac_update_multicast()
1243 outpw(FM_A(FM_AFCMD),FM_IWRITE_CAM) ; in mac_update_multicast()
1330 outpw(ADDR(B2_RTM_CRTL),TIM_CL_IRQ) ; /* clear IRQ */ in rtm_irq()
1332 outpw(FM_A(FM_CMDREG1),FM_ICL) ; /* force claim */ in rtm_irq()
1338 outpw(ADDR(B2_RTM_CRTL),TIM_START) ; /* enable RTM monitoring */ in rtm_irq()
1344 outpw(ADDR(B2_RTM_CRTL),TIM_START) ; /* enable IRQ */ in rtm_init()