Lines Matching refs:bcm_sf2_priv

35 static u16 bcm_sf2_reg_rgmii_cntrl(struct bcm_sf2_priv *priv, int port)  in bcm_sf2_reg_rgmii_cntrl()
65 static u16 bcm_sf2_reg_led_base(struct bcm_sf2_priv *priv, int port) in bcm_sf2_reg_led_base()
97 static u32 bcm_sf2_port_override_offset(struct bcm_sf2_priv *priv, int port) in bcm_sf2_port_override_offset()
118 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_num_active_ports()
133 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_recalc_clock()
160 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_imp_setup()
204 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_gphy_enable_set()
236 static inline void bcm_sf2_port_intr_enable(struct bcm_sf2_priv *priv, in bcm_sf2_port_intr_enable()
257 static inline void bcm_sf2_port_intr_disable(struct bcm_sf2_priv *priv, in bcm_sf2_port_intr_disable()
283 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_port_setup()
351 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_port_disable()
381 static int bcm_sf2_sw_indir_rw(struct bcm_sf2_priv *priv, int op, int addr, in bcm_sf2_sw_indir_rw()
414 struct bcm_sf2_priv *priv = bus->priv; in bcm_sf2_sw_mdio_read()
428 struct bcm_sf2_priv *priv = bus->priv; in bcm_sf2_sw_mdio_write()
443 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_switch_0_isr()
455 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_switch_1_isr()
473 static int bcm_sf2_sw_rst(struct bcm_sf2_priv *priv) in bcm_sf2_sw_rst()
508 static void bcm_sf2_crossbar_setup(struct bcm_sf2_priv *priv) in bcm_sf2_crossbar_setup()
546 static void bcm_sf2_intr_disable(struct bcm_sf2_priv *priv) in bcm_sf2_intr_disable()
554 static void bcm_sf2_identify_ports(struct bcm_sf2_priv *priv, in bcm_sf2_identify_ports()
609 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_mdio_register()
700 static void bcm_sf2_mdio_unregister(struct bcm_sf2_priv *priv) in bcm_sf2_mdio_unregister()
710 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_get_phy_flags()
728 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_get_caps()
749 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_mac_config()
794 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_mac_link_set()
818 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_mac_link_down()
839 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_mac_link_up()
898 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_fixed_state()
927 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_enable_acb()
941 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_suspend()
963 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_resume()
993 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_get_wol()
1017 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_set_wol()
1045 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_sw_setup()
1079 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read8()
1089 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read16()
1099 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read32()
1109 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read64()
1119 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write8()
1129 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write16()
1139 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write32()
1149 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write64()
1352 struct bcm_sf2_priv *priv; in bcm_sf2_sw_probe()
1548 struct bcm_sf2_priv *priv = platform_get_drvdata(pdev); in bcm_sf2_sw_remove()
1569 struct bcm_sf2_priv *priv = platform_get_drvdata(pdev); in bcm_sf2_sw_shutdown()
1591 struct bcm_sf2_priv *priv = dev_get_drvdata(dev); in bcm_sf2_suspend()
1598 struct bcm_sf2_priv *priv = dev_get_drvdata(dev); in bcm_sf2_resume()