Lines Matching refs:core_readl
165 reg = core_readl(priv, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_imp_setup()
173 reg = core_readl(priv, CORE_SWITCH_CTRL); in bcm_sf2_imp_setup()
180 reg = core_readl(priv, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_imp_setup()
189 reg = core_readl(priv, CORE_IMP_CTL); in bcm_sf2_imp_setup()
194 reg = core_readl(priv, CORE_G_PCTL_PORT(port)); in bcm_sf2_imp_setup()
295 reg = core_readl(priv, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_port_setup()
306 reg = core_readl(priv, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_port_setup()
356 reg = core_readl(priv, CORE_DIS_LEARN); in bcm_sf2_port_disable()
371 reg = core_readl(priv, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_port_disable()
401 ret = core_readl(priv, reg); in bcm_sf2_sw_indir_rw()
490 reg = core_readl(priv, CORE_WATCHDOG_CTRL); in bcm_sf2_sw_rst()
495 reg = core_readl(priv, CORE_WATCHDOG_CTRL); in bcm_sf2_sw_rst()
756 if (port == core_readl(priv, CORE_IMP0_PRT_ID)) in bcm_sf2_sw_mac_config()
827 reg = core_readl(priv, offset); in bcm_sf2_sw_mac_link_down()
1083 *val = core_readl(priv, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_read8()
1093 *val = core_readl(priv, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_read16()
1103 *val = core_readl(priv, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_read32()
1503 reg = core_readl(priv, CORE_GMNCFGCFG); in bcm_sf2_sw_probe()
1510 priv->hw_params.num_ports = core_readl(priv, CORE_IMP0_PRT_ID) + 1; in bcm_sf2_sw_probe()