Home
last modified time | relevance | path

Searched refs:wr32m (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c123 wr32m(wx, WX_CFG_PORT_CTL, WX_CFG_PORT_CTL_DRV_LOAD, in wx_control_hw()
158 wr32m(wx, WX_MNG_SWFW_SYNC, mask, 0); in wx_release_sw_sync()
239 wr32m(wx, WX_MNG_MBOX_CTL, in wx_host_interface_command()
549 wr32m(wx, WX_PSR_MAC_SWC_AD_H, in wx_set_rar()
585 wr32m(wx, WX_PSR_MAC_SWC_AD_H, in wx_clear_rar()
1025 wr32m(wx, WX_MAC_RX_CFG, in wx_disable_rx()
1037 wr32m(wx, WX_MAC_RX_CFG, in wx_enable_rx()
1040 wr32m(wx, WX_RDB_PB_CTL, in wx_enable_rx()
1074 wr32m(wx, WX_CFG_PORT_CTL, in wx_configure_port()
1101 wr32m(wx, WX_RSC_CTL, in wx_disable_sec_rx_path()
[all …]
Dwx_type.h944 wr32m(struct wx *wx, u32 reg, u32 mask, u32 field) in wr32m() function
Dwx_lib.c2645 wr32m(wx, WX_RDB_RA_CTL, WX_RDB_RA_CTL_RSS_EN, in wx_set_features()
2648 wr32m(wx, WX_RDB_RA_CTL, WX_RDB_RA_CTL_RSS_EN, 0); in wx_set_features()
/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c180 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_mac_link_down()
211 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, WX_MAC_RX_CFG_RE); in txgbe_mac_link_up()
222 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_mac_prepare()
223 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, 0); in txgbe_mac_prepare()
234 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, WX_MAC_RX_CFG_RE); in txgbe_mac_finish()
323 wr32m(wx, WX_GPIO_DDR, BIT(offset), 0); in txgbe_gpio_direction_in()
339 wr32m(wx, WX_GPIO_DR, BIT(offset), set); in txgbe_gpio_direction_out()
340 wr32m(wx, WX_GPIO_DDR, BIT(offset), BIT(offset)); in txgbe_gpio_direction_out()
368 wr32m(wx, WX_GPIO_INTMASK, BIT(hwirq), BIT(hwirq)); in txgbe_gpio_irq_mask()
382 wr32m(wx, WX_GPIO_INTMASK, BIT(hwirq), 0); in txgbe_gpio_irq_unmask()
[all …]
Dtxgbe_hw.c27 wr32m(wx, WX_TSC_CTL, WX_TSC_CTL_TX_DIS, WX_TSC_CTL_TX_DIS); in txgbe_disable_sec_tx_path()
40 wr32m(wx, WX_TSC_CTL, WX_TSC_CTL_TX_DIS, 0); in txgbe_enable_sec_tx_path()
Dtxgbe_main.c269 wr32m(wx, TXGBE_MIS_PRB_CTL, TXGBE_MIS_PRB_CTL_LAN_UP(wx->bus.func), 0); in txgbe_disable_device()
277 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_disable_device()
288 wr32m(wx, WX_TDM_CTL, WX_TDM_CTL_TE, 0); in txgbe_disable_device()
/drivers/net/ethernet/wangxun/ngbe/
Dngbe_mdio.c197 wr32m(wx, NGBE_CFG_LAN_SPEED, 0x3, lan_speed); in ngbe_handle_link_change()