Lines Matching refs:jwrite32

54 	jwrite32(jme, JME_SMI, SMI_OP_REQ |  in jme_mdio_read()
84 jwrite32(jme, JME_SMI, SMI_OP_WRITE | SMI_OP_REQ | in jme_mdio_write()
133 jwrite32(jme, JME_WFOI, WFOI_CRC_SEL | (fnr & WFOI_FRAME_SEL)); in jme_setup_wakeup_frame()
135 jwrite32(jme, JME_WFODP, crc); in jme_setup_wakeup_frame()
142 jwrite32(jme, JME_WFOI, in jme_setup_wakeup_frame()
146 jwrite32(jme, JME_WFODP, mask[i]); in jme_setup_wakeup_frame()
195 jwrite32(jme, JME_GPREG1, jme->reg_gpreg1); in jme_reset_250A2_workaround()
239 jwrite32(jme, JME_RXDBA_LO, 0x00000000); in jme_reset_mac_processor()
240 jwrite32(jme, JME_RXDBA_HI, 0x00000000); in jme_reset_mac_processor()
241 jwrite32(jme, JME_RXQDC, 0x00000000); in jme_reset_mac_processor()
242 jwrite32(jme, JME_RXNDA, 0x00000000); in jme_reset_mac_processor()
243 jwrite32(jme, JME_TXDBA_LO, 0x00000000); in jme_reset_mac_processor()
244 jwrite32(jme, JME_TXDBA_HI, 0x00000000); in jme_reset_mac_processor()
245 jwrite32(jme, JME_TXQDC, 0x00000000); in jme_reset_mac_processor()
246 jwrite32(jme, JME_TXNDA, 0x00000000); in jme_reset_mac_processor()
248 jwrite32(jme, JME_RXMCHT_LO, 0x00000000); in jme_reset_mac_processor()
249 jwrite32(jme, JME_RXMCHT_HI, 0x00000000); in jme_reset_mac_processor()
256 jwrite32(jme, JME_GPREG0, gpreg0); in jme_reset_mac_processor()
262 jwrite32(jme, JME_PMCS, PMCS_STMASK | jme->reg_pmcs); in jme_clear_pm_enable_wol()
268 jwrite32(jme, JME_PMCS, PMCS_STMASK); in jme_clear_pm_disable_wol()
281 jwrite32(jme, JME_SMBCSR, val); in jme_reload_eeprom()
283 jwrite32(jme, JME_SMBCSR, val); in jme_reload_eeprom()
326 jwrite32(jme, JME_PCCRX0, in jme_set_rx_pcc()
331 jwrite32(jme, JME_PCCRX0, in jme_set_rx_pcc()
336 jwrite32(jme, JME_PCCRX0, in jme_set_rx_pcc()
341 jwrite32(jme, JME_PCCRX0, in jme_set_rx_pcc()
364 jwrite32(jme, JME_PCCTX, in jme_start_irq()
373 jwrite32(jme, JME_IENS, INTR_ENABLE); in jme_start_irq()
499 jwrite32(jme, JME_TXMCS, TXMCS_DEFAULT); in jme_check_link()
500 jwrite32(jme, JME_TXTRHD, TXTRHD_FULLDUPLEX); in jme_check_link()
503 jwrite32(jme, JME_TXMCS, TXMCS_DEFAULT | in jme_check_link()
507 jwrite32(jme, JME_TXTRHD, TXTRHD_HALFDUPLEX); in jme_check_link()
510 jwrite32(jme, JME_GHC, jme->reg_ghc); in jme_check_link()
533 jwrite32(jme, JME_GPREG1, jme->reg_gpreg1); in jme_check_link()
647 jwrite32(jme, JME_TXCS, TXCS_DEFAULT | TXCS_SELECT_QUEUE0); in jme_enable_tx_engine()
653 jwrite32(jme, JME_TXDBA_LO, (__u64)jme->txring[0].dma & 0xFFFFFFFFUL); in jme_enable_tx_engine()
654 jwrite32(jme, JME_TXDBA_HI, (__u64)(jme->txring[0].dma) >> 32); in jme_enable_tx_engine()
655 jwrite32(jme, JME_TXNDA, (__u64)jme->txring[0].dma & 0xFFFFFFFFUL); in jme_enable_tx_engine()
660 jwrite32(jme, JME_TXQDC, jme->tx_ring_size); in jme_enable_tx_engine()
685 jwrite32(jme, JME_TXCS, jme->reg_txcs | TXCS_SELECT_QUEUE0); in jme_disable_tx_engine()
862 jwrite32(jme, JME_RXCS, jme->reg_rxcs | in jme_enable_rx_engine()
869 jwrite32(jme, JME_RXDBA_LO, (__u64)(jme->rxring[0].dma) & 0xFFFFFFFFUL); in jme_enable_rx_engine()
870 jwrite32(jme, JME_RXDBA_HI, (__u64)(jme->rxring[0].dma) >> 32); in jme_enable_rx_engine()
871 jwrite32(jme, JME_RXNDA, (__u64)(jme->rxring[0].dma) & 0xFFFFFFFFUL); in jme_enable_rx_engine()
876 jwrite32(jme, JME_RXQDC, jme->rx_ring_size); in jme_enable_rx_engine()
905 jwrite32(jme, JME_RXCS, jme->reg_rxcs | in jme_restart_rx_engine()
920 jwrite32(jme, JME_RXCS, jme->reg_rxcs); in jme_disable_rx_engine()
1156 jwrite32(jme, JME_TMCSR, in jme_start_pcc_timer()
1163 jwrite32(jme, JME_TMCSR, 0); in jme_stop_pcc_timer()
1178 jwrite32(jme, JME_TIMER2, TMCSR_EN | 0xFFFFFE); in jme_shutdown_nic()
1241 jwrite32(jme, JME_TMCSR, in jme_start_shutdown_timer()
1504 jwrite32(jme, JME_IEVE, intrstat); in jme_intr_msi()
1510 jwrite32(jme, JME_IEVE, INTR_TMINTR); in jme_intr_msi()
1515 jwrite32(jme, JME_IEVE, INTR_PCCTXTO | INTR_PCCTX | INTR_TX0); in jme_intr_msi()
1520 jwrite32(jme, JME_IEVE, (intrstat & (INTR_PCCRX0TO | in jme_intr_msi()
1595 jwrite32(jme, JME_TMCSR, TMCSR_SWIT); in jme_reset_link()
1662 jwrite32(jme, JME_PHY_PWR, reg); in jme_new_phy_on()
1678 jwrite32(jme, JME_PHY_PWR, reg); in jme_new_phy_off()
1869 jwrite32(jme, JME_GHC, GHC_SPEED_100M | GHC_LINK_POLL); in jme_set_100m_half()
1871 jwrite32(jme, JME_GHC, GHC_SPEED_100M); in jme_set_100m_half()
2218 jwrite32(jme, JME_TXCS, jme->reg_txcs | in jme_start_xmit()
2240 jwrite32(jme, JME_RXUMA_LO, val); in jme_set_unicastaddr()
2243 jwrite32(jme, JME_RXUMA_HI, val); in jme_set_unicastaddr()
2287 jwrite32(jme, JME_RXMCHT_LO, mc_hash[0]); in jme_set_multi()
2288 jwrite32(jme, JME_RXMCHT_HI, mc_hash[1]); in jme_set_multi()
2292 jwrite32(jme, JME_RXMCS, jme->reg_rxmcs); in jme_set_multi()
2489 jwrite32(jme, JME_TXPFC, jme->reg_txpfc); in jme_set_pauseparam()
2501 jwrite32(jme, JME_RXMCS, jme->reg_rxmcs); in jme_set_pauseparam()
2679 jwrite32(jme, JME_RXMCS, jme->reg_rxmcs); in jme_set_features()
2721 jwrite32(jme, JME_SMBINTF, in jme_smb_read()
2757 jwrite32(jme, JME_SMBINTF, in jme_smb_write()
3004 jwrite32(jme, JME_APMC, apmc); in jme_init_one()
3007 jwrite32(jme, JME_APMC, apmc); in jme_init_one()