Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c151 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_wol_power_down_cfg()
157 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_wol_power_down_cfg()
205 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_wol_power_down_cfg()
211 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_wol_power_down_cfg()
260 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_wol_power_up_cfg()
262 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_wol_power_up_cfg()
H A Dbcmmii.c79 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_mac_config()
86 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_mac_config()
90 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_mac_config()
H A Dbcmgenet.c790 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_set_features()
932 umac_cmd = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_get_pauseparam()
2473 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in umac_enable_set()
2482 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in umac_enable_set()
2500 bcmgenet_umac_writel(priv, CMD_SW_RESET, UMAC_CMD); in reset_umac()
3626 reg = bcmgenet_umac_readl(priv, UMAC_CMD); in bcmgenet_set_rx_mode()
3630 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_set_rx_mode()
3636 bcmgenet_umac_writel(priv, reg, UMAC_CMD); in bcmgenet_set_rx_mode()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.c406 cmd = enet_umac_read(enet, UMAC_CMD); in bcm4908_enet_gmac_init()
407 enet_umac_write(enet, UMAC_CMD, cmd | CMD_SW_RESET); in bcm4908_enet_gmac_init()
408 enet_umac_write(enet, UMAC_CMD, cmd & ~CMD_SW_RESET); in bcm4908_enet_gmac_init()
416 cmd = enet_umac_read(enet, UMAC_CMD); in bcm4908_enet_gmac_init()
421 enet_umac_write(enet, UMAC_CMD, cmd); in bcm4908_enet_gmac_init()
477 enet_umac_set(enet, UMAC_CMD, CMD_TX_EN | CMD_RX_EN); in bcm4908_enet_open()
H A Dunimac.h10 #define UMAC_CMD 0x008 macro
H A Dbcmsysport.c199 priv->crc_fwd = !!(umac_readl(priv, UMAC_CMD) & CMD_CRC_FWD); in bcm_sysport_set_features()
1470 reg = umac_readl(priv, UMAC_CMD); in bcm_sysport_adj_link()
1475 umac_writel(priv, reg, UMAC_CMD); in bcm_sysport_adj_link()
1778 reg = umac_readl(priv, UMAC_CMD); in bcm_sysport_set_rx_mode()
1783 umac_writel(priv, reg, UMAC_CMD); in bcm_sysport_set_rx_mode()
1796 reg = umac_readl(priv, UMAC_CMD); in umac_enable_set()
1801 umac_writel(priv, reg, UMAC_CMD); in umac_enable_set()
1825 reg = umac_readl(priv, UMAC_CMD); in umac_reset()
1827 umac_writel(priv, reg, UMAC_CMD); in umac_reset()
1829 reg = umac_readl(priv, UMAC_CMD); in umac_reset()
[all …]
H A Dbgmac.c752 u32 cmdcfg = bgmac_umac_read(bgmac, UMAC_CMD); in bgmac_umac_cmd_maskset()
761 bgmac_umac_maskset(bgmac, UMAC_CMD, ~0, cmdcfg_sr); in bgmac_umac_cmd_maskset()
765 bgmac_umac_write(bgmac, UMAC_CMD, new_val); in bgmac_umac_cmd_maskset()
767 bgmac_umac_maskset(bgmac, UMAC_CMD, ~cmdcfg_sr, 0); in bgmac_umac_cmd_maskset()
1056 cmdcfg = bgmac_umac_read(bgmac, UMAC_CMD); in bgmac_enable()
1061 bgmac_umac_write(bgmac, UMAC_CMD, cmdcfg); in bgmac_enable()