Lines Matching refs:bw32

169 static inline void bw32(const struct b44 *bp,  in bw32()  function
208 bw32(bp, B44_CAM_DATA_LO, val); in __b44_cam_write()
212 bw32(bp, B44_CAM_DATA_HI, val); in __b44_cam_write()
213 bw32(bp, B44_CAM_CTRL, (CAM_CTRL_WRITE | in __b44_cam_write()
220 bw32(bp, B44_IMASK, 0); in __b44_disable_ints()
233 bw32(bp, B44_IMASK, bp->imask); in b44_enable_ints()
240 bw32(bp, B44_EMAC_ISTAT, EMAC_INT_MII); in __b44_readphy()
241 bw32(bp, B44_MDIO_DATA, (MDIO_DATA_SB_START | in __b44_readphy()
254 bw32(bp, B44_EMAC_ISTAT, EMAC_INT_MII); in __b44_writephy()
255 bw32(bp, B44_MDIO_DATA, (MDIO_DATA_SB_START | in __b44_writephy()
349 bw32(bp, B44_RXCONFIG, val); in __b44_set_flow_ctrl()
357 bw32(bp, B44_MAC_FLOW, val); in __b44_set_flow_ctrl()
525 bw32(bp, B44_TX_CTRL, val); in b44_check_phy()
553 bw32(bp, B44_TX_CTRL, val); in b44_check_phy()
624 bw32(bp, B44_GPTIMER, 0); in b44_tx()
835 bw32(bp, B44_DMARX_PTR, cons * sizeof(struct dma_desc)); in b44_rx()
921 bw32(bp, B44_ISTAT, istat); in b44_interrupt()
1016 bw32(bp, B44_DMATX_PTR, entry * sizeof(struct dma_desc)); in b44_start_xmit()
1018 bw32(bp, B44_DMATX_PTR, entry * sizeof(struct dma_desc)); in b44_start_xmit()
1247 bw32(bp, B44_MIB_CTRL, MIB_CTRL_CLR_ON_READ); in b44_clear_stats()
1266 bw32(bp, B44_RCV_LAZY, 0); in b44_chip_reset()
1267 bw32(bp, B44_ENET_CTRL, ENET_CTRL_DISABLE); in b44_chip_reset()
1269 bw32(bp, B44_DMATX_CTRL, 0); in b44_chip_reset()
1275 bw32(bp, B44_DMARX_CTRL, 0); in b44_chip_reset()
1290 bw32(bp, B44_MDIO_CTRL, (MDIO_CTRL_PREAMBLE | in b44_chip_reset()
1296 bw32(bp, B44_MDIO_CTRL, (MDIO_CTRL_PREAMBLE | in b44_chip_reset()
1308 bw32(bp, B44_ENET_CTRL, ENET_CTRL_EPSEL); in b44_chip_reset()
1315 bw32(bp, B44_DEVCTRL, (val & ~DEVCTRL_EPR)); in b44_chip_reset()
1331 bw32(bp, B44_MAC_CTRL, MAC_CTRL_PHY_PDOWN); in b44_halt()
1343 bw32(bp, B44_CAM_CTRL, 0); in __b44_set_mac_addr()
1349 bw32(bp, B44_CAM_CTRL, val | CAM_CTRL_ENABLE); in __b44_set_mac_addr()
1393 bw32(bp, B44_MAC_CTRL, MAC_CTRL_CRC32_ENAB | MAC_CTRL_PHY_LEDCTRL); in b44_init_hw()
1394 bw32(bp, B44_RCV_LAZY, (1 << RCV_LAZY_FC_SHIFT)); in b44_init_hw()
1400 bw32(bp, B44_RXMAXLEN, bp->dev->mtu + ETH_HLEN + 8 + RX_HEADER_LEN); in b44_init_hw()
1401 bw32(bp, B44_TXMAXLEN, bp->dev->mtu + ETH_HLEN + 8 + RX_HEADER_LEN); in b44_init_hw()
1403 bw32(bp, B44_TX_WMARK, 56); /* XXX magic */ in b44_init_hw()
1405 bw32(bp, B44_DMARX_CTRL, (DMARX_CTRL_ENABLE | in b44_init_hw()
1408 bw32(bp, B44_DMATX_CTRL, DMATX_CTRL_ENABLE); in b44_init_hw()
1409 bw32(bp, B44_DMATX_ADDR, bp->tx_ring_dma + bp->dma_offset); in b44_init_hw()
1410 bw32(bp, B44_DMARX_CTRL, (DMARX_CTRL_ENABLE | in b44_init_hw()
1412 bw32(bp, B44_DMARX_ADDR, bp->rx_ring_dma + bp->dma_offset); in b44_init_hw()
1414 bw32(bp, B44_DMARX_PTR, bp->rx_pending); in b44_init_hw()
1417 bw32(bp, B44_MIB_CTRL, MIB_CTRL_CLR_ON_READ); in b44_init_hw()
1421 bw32(bp, B44_ENET_CTRL, (val | ENET_CTRL_ENABLE)); in b44_init_hw()
1484 bw32(bp, B44_FILT_ADDR, table_offset + i); in bwfilter_table()
1485 bw32(bp, B44_FILT_DATA, pattern[i / sizeof(u32)]); in bwfilter_table()
1568 bw32(bp, B44_WKUP_LEN, val); in b44_setup_pseudo_magicp()
1572 bw32(bp, B44_DEVCTRL, val | DEVCTRL_PFE); in b44_setup_pseudo_magicp()
1582 bw32(bp, SSB_TMSLOW, br32(bp, SSB_TMSLOW) | SSB_TMSLOW_PE); in b44_setup_wol_pci()
1595 bw32(bp, B44_RXCONFIG, RXCONFIG_ALLMULTI); in b44_setup_wol()
1599 bw32(bp, B44_WKUP_LEN, WKUP_LEN_DISABLE); in b44_setup_wol()
1605 bw32(bp, B44_ADDR_LO, val); in b44_setup_wol()
1609 bw32(bp, B44_ADDR_HI, val); in b44_setup_wol()
1612 bw32(bp, B44_DEVCTRL, val | DEVCTRL_MPM | DEVCTRL_PFE); in b44_setup_wol()
1723 bw32(bp, B44_RXCONFIG, val); in __b44_set_rx_mode()
1739 bw32(bp, B44_RXCONFIG, val); in __b44_set_rx_mode()
1741 bw32(bp, B44_CAM_CTRL, val | CAM_CTRL_ENABLE); in __b44_set_rx_mode()
2225 bw32(bp, B44_TX_CTRL, val); in b44_adjust_link()