Lines Matching defs:priv

83 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad)  in core_read_mmd_indirect()
114 core_write_mmd_indirect(struct mt7530_priv *priv, int prtad, in core_write_mmd_indirect()
145 mt7530_mutex_lock(struct mt7530_priv *priv) in mt7530_mutex_lock()
152 mt7530_mutex_unlock(struct mt7530_priv *priv) in mt7530_mutex_unlock()
159 core_write(struct mt7530_priv *priv, u32 reg, u32 val) in core_write()
169 core_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set) in core_rmw()
184 core_set(struct mt7530_priv *priv, u32 reg, u32 val) in core_set()
190 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) in core_clear()
196 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_mii_write()
210 mt7530_mii_read(struct mt7530_priv *priv, u32 reg) in mt7530_mii_read()
227 mt7530_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_write()
257 mt7530_read(struct mt7530_priv *priv, u32 reg) in mt7530_read()
266 mt7530_rmw(struct mt7530_priv *priv, u32 reg, in mt7530_rmw()
277 mt7530_set(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_set()
283 mt7530_clear(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_clear()
289 mt7530_fdb_cmd(struct mt7530_priv *priv, enum mt7530_fdb_cmd cmd, u32 *rsp) in mt7530_fdb_cmd()
321 mt7530_fdb_read(struct mt7530_priv *priv, struct mt7530_fdb *fdb) in mt7530_fdb_read()
347 mt7530_fdb_write(struct mt7530_priv *priv, u16 vid, in mt7530_fdb_write()
377 static void mt7530_pll_setup(struct mt7530_priv *priv) in mt7530_pll_setup()
420 struct mt7530_priv *priv = ds->priv; in mt7530_pad_clk_setup() local
490 static bool mt7531_dual_sgmii_supported(struct mt7530_priv *priv) in mt7531_dual_sgmii_supported()
506 mt7531_pll_setup(struct mt7530_priv *priv) in mt7531_pll_setup()
598 struct mt7530_priv *priv = ds->priv; in mt7530_mib_reset() local
604 static int mt7530_phy_read_c22(struct mt7530_priv *priv, int port, int regnum) in mt7530_phy_read_c22()
609 static int mt7530_phy_write_c22(struct mt7530_priv *priv, int port, int regnum, in mt7530_phy_write_c22()
615 static int mt7530_phy_read_c45(struct mt7530_priv *priv, int port, in mt7530_phy_read_c45()
621 static int mt7530_phy_write_c45(struct mt7530_priv *priv, int port, int devad, in mt7530_phy_write_c45()
628 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_read()
676 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_write()
723 mt7531_ind_c22_phy_read(struct mt7530_priv *priv, int port, int regnum) in mt7531_ind_c22_phy_read()
760 mt7531_ind_c22_phy_write(struct mt7530_priv *priv, int port, int regnum, in mt7531_ind_c22_phy_write()
799 struct mt7530_priv *priv = bus->priv; in mt753x_phy_read_c22() local
807 struct mt7530_priv *priv = bus->priv; in mt753x_phy_read_c45() local
815 struct mt7530_priv *priv = bus->priv; in mt753x_phy_write_c22() local
824 struct mt7530_priv *priv = bus->priv; in mt753x_phy_write_c45() local
846 struct mt7530_priv *priv = ds->priv; in mt7530_get_ethtool_stats() local
875 struct mt7530_priv *priv = ds->priv; in mt7530_set_ageing_time() local
932 struct mt7530_priv *priv = ds->priv; in mt7530_setup_port5() local
1002 mt753x_trap_frames(struct mt7530_priv *priv) in mt753x_trap_frames()
1020 struct mt7530_priv *priv = ds->priv; in mt753x_cpu_port_enable() local
1067 struct mt7530_priv *priv = ds->priv; in mt7530_port_enable() local
1093 struct mt7530_priv *priv = ds->priv; in mt7530_port_disable() local
1111 struct mt7530_priv *priv = ds->priv; in mt7530_port_change_mtu() local
1157 struct mt7530_priv *priv = ds->priv; in mt7530_stp_state_set() local
1200 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_flags() local
1229 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_join() local
1272 struct mt7530_priv *priv = ds->priv; in mt7530_port_set_vlan_unaware() local
1318 struct mt7530_priv *priv = ds->priv; in mt7530_port_set_vlan_aware() local
1361 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_leave() local
1407 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_add() local
1424 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_del() local
1440 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_dump() local
1476 struct mt7530_priv *priv = ds->priv; in mt7530_port_mdb_add() local
1503 struct mt7530_priv *priv = ds->priv; in mt7530_port_mdb_del() local
1527 mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid) in mt7530_vlan_cmd()
1576 mt7530_hw_vlan_add(struct mt7530_priv *priv, in mt7530_hw_vlan_add()
1611 mt7530_hw_vlan_del(struct mt7530_priv *priv, in mt7530_hw_vlan_del()
1637 mt7530_hw_vlan_update(struct mt7530_priv *priv, u16 vid, in mt7530_hw_vlan_update()
1658 mt7530_setup_vlan0(struct mt7530_priv *priv) in mt7530_setup_vlan0()
1680 struct mt7530_priv *priv = ds->priv; in mt7530_port_vlan_add() local
1722 struct mt7530_priv *priv = ds->priv; in mt7530_port_vlan_del() local
1767 struct mt7530_priv *priv = ds->priv; in mt753x_port_mirror_add() local
1804 struct mt7530_priv *priv = ds->priv; in mt753x_port_mirror_del() local
1848 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_get() local
1857 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_set() local
1869 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_get_direction() local
1879 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_direction_input() local
1891 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_direction_output() local
1907 mt7530_setup_gpio(struct mt7530_priv *priv) in mt7530_setup_gpio()
1939 struct mt7530_priv *priv = dev_id; in mt7530_irq_thread_fn() local
1965 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_mask() local
1973 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_unmask() local
1981 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_bus_lock() local
1989 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_bus_sync_unlock() local
2023 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7988_irq_mask() local
2032 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7988_irq_unmask() local
2062 mt7530_setup_mdio_irq(struct mt7530_priv *priv) in mt7530_setup_mdio_irq()
2078 mt7530_setup_irq(struct mt7530_priv *priv) in mt7530_setup_irq()
2125 mt7530_free_mdio_irq(struct mt7530_priv *priv) in mt7530_free_mdio_irq()
2140 mt7530_free_irq_common(struct mt7530_priv *priv) in mt7530_free_irq_common()
2147 mt7530_free_irq(struct mt7530_priv *priv) in mt7530_free_irq()
2154 mt7530_setup_mdio(struct mt7530_priv *priv) in mt7530_setup_mdio()
2193 struct mt7530_priv *priv = ds->priv; in mt7530_setup() local
2392 struct mt7530_priv *priv = ds->priv; in mt7531_setup_common() local
2442 struct mt7530_priv *priv = ds->priv; in mt7531_setup() local
2560 static bool mt7531_is_rgmii_port(struct mt7530_priv *priv, u32 port) in mt7531_is_rgmii_port()
2568 struct mt7530_priv *priv = ds->priv; in mt7531_mac_port_get_caps() local
2618 struct mt7530_priv *priv = ds->priv; in mt753x_pad_setup() local
2627 struct mt7530_priv *priv = ds->priv; in mt7530_mac_config() local
2638 static int mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port, in mt7531_rgmii_setup()
2705 struct mt7530_priv *priv = ds->priv; in mt7531_mac_config() local
2739 struct mt7530_priv *priv = ds->priv; in mt753x_mac_config() local
2748 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_select_pcs() local
2766 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_config() local
2821 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_link_down() local
2833 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_link_up() local
2880 struct mt7530_priv *priv = ds->priv; in mt7531_cpu_port_config() local
2922 struct mt7530_priv *priv = ds->priv; in mt7988_cpu_port_config() local
2937 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_get_caps() local
2961 struct mt7530_priv *priv = pcs_to_mt753x_pcs(pcs)->priv; in mt7530_pcs_get_state() local
3015 struct mt7530_priv *priv = ds->priv; in mt753x_setup() local
3050 struct mt7530_priv *priv = ds->priv; in mt753x_get_mac_eee() local
3062 struct mt7530_priv *priv = ds->priv; in mt753x_set_mac_eee() local
3084 struct mt7530_priv *priv = ds->priv; in mt7988_setup() local
3190 mt7530_probe_common(struct mt7530_priv *priv) in mt7530_probe_common()
3229 mt7530_remove_common(struct mt7530_priv *priv) in mt7530_remove_common()