Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c181 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_mac_link_down()
214 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, WX_MAC_RX_CFG_RE); in txgbe_mac_link_up()
225 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_mac_prepare()
226 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, 0); in txgbe_mac_prepare()
237 wr32m(wx, WX_MAC_RX_CFG, WX_MAC_RX_CFG_RE, WX_MAC_RX_CFG_RE); in txgbe_mac_finish()
338 wr32m(wx, WX_GPIO_DDR, BIT(offset), 0); in txgbe_gpio_direction_in()
354 wr32m(wx, WX_GPIO_DR, BIT(offset), set); in txgbe_gpio_direction_out()
355 wr32m(wx, WX_GPIO_DDR, BIT(offset), BIT(offset)); in txgbe_gpio_direction_out()
383 wr32m(wx, WX_GPIO_INTMASK, BIT(hwirq), BIT(hwirq)); in txgbe_gpio_irq_mask()
397 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.c143 wr32m(wx, TXGBE_MIS_PRB_CTL, TXGBE_MIS_PRB_CTL_LAN_UP(wx->bus.func), 0); in txgbe_disable_device()
151 wr32m(wx, WX_MAC_TX_CFG, WX_MAC_TX_CFG_TE, 0); in txgbe_disable_device()
162 wr32m(wx, WX_TDM_CTL, WX_TDM_CTL_TE, 0); in txgbe_disable_device()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c215 wr32m(wx, WX_CFG_PORT_CTL, WX_CFG_PORT_CTL_DRV_LOAD, in wx_control_hw()
250 wr32m(wx, WX_MNG_SWFW_SYNC, mask, 0); in wx_release_sw_sync()
331 wr32m(wx, WX_MNG_MBOX_CTL, in wx_host_interface_command()
641 wr32m(wx, WX_PSR_MAC_SWC_AD_H, in wx_set_rar()
677 wr32m(wx, WX_PSR_MAC_SWC_AD_H, in wx_clear_rar()
1117 wr32m(wx, WX_MAC_RX_CFG, in wx_disable_rx()
1129 wr32m(wx, WX_MAC_RX_CFG, in wx_enable_rx()
1132 wr32m(wx, WX_RDB_PB_CTL, in wx_enable_rx()
1248 wr32m(wx, WX_CFG_PORT_CTL, in wx_configure_port()
1275 wr32m(wx, WX_RSC_CTL, in wx_disable_sec_rx_path()
[all …]
Dwx_type.h1159 wr32m(struct wx *wx, u32 reg, u32 mask, u32 field) in wr32m() function
Dwx_lib.c2712 wr32m(wx, WX_RDB_RA_CTL, WX_RDB_RA_CTL_RSS_EN, in wx_set_features()
2716 wr32m(wx, WX_RDB_RA_CTL, WX_RDB_RA_CTL_RSS_EN, 0); in wx_set_features()
/linux-6.12.1/drivers/net/ethernet/wangxun/ngbe/
Dngbe_mdio.c93 wr32m(wx, NGBE_CFG_LAN_SPEED, 0x3, lan_speed); in ngbe_mac_link_up()