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
847 struct mt7530_priv *priv = ds->priv; in mt7530_get_ethtool_stats() local
876 struct mt7530_priv *priv = ds->priv; in mt7530_set_ageing_time() local
933 struct mt7530_priv *priv = ds->priv; in mt7530_setup_port5() local
1171 mt753x_trap_frames(struct mt7530_priv *priv) in mt753x_trap_frames()
1218 struct mt7530_priv *priv = ds->priv; in mt753x_cpu_port_enable() local
1265 struct mt7530_priv *priv = ds->priv; in mt7530_port_enable() local
1291 struct mt7530_priv *priv = ds->priv; in mt7530_port_disable() local
1309 struct mt7530_priv *priv = ds->priv; in mt7530_port_change_mtu() local
1355 struct mt7530_priv *priv = ds->priv; in mt7530_stp_state_set() local
1398 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_flags() local
1427 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_join() local
1470 struct mt7530_priv *priv = ds->priv; in mt7530_port_set_vlan_unaware() local
1516 struct mt7530_priv *priv = ds->priv; in mt7530_port_set_vlan_aware() local
1559 struct mt7530_priv *priv = ds->priv; in mt7530_port_bridge_leave() local
1605 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_add() local
1622 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_del() local
1638 struct mt7530_priv *priv = ds->priv; in mt7530_port_fdb_dump() local
1674 struct mt7530_priv *priv = ds->priv; in mt7530_port_mdb_add() local
1701 struct mt7530_priv *priv = ds->priv; in mt7530_port_mdb_del() local
1725 mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid) in mt7530_vlan_cmd()
1774 mt7530_hw_vlan_add(struct mt7530_priv *priv, in mt7530_hw_vlan_add()
1809 mt7530_hw_vlan_del(struct mt7530_priv *priv, in mt7530_hw_vlan_del()
1835 mt7530_hw_vlan_update(struct mt7530_priv *priv, u16 vid, in mt7530_hw_vlan_update()
1856 mt7530_setup_vlan0(struct mt7530_priv *priv) in mt7530_setup_vlan0()
1878 struct mt7530_priv *priv = ds->priv; in mt7530_port_vlan_add() local
1920 struct mt7530_priv *priv = ds->priv; in mt7530_port_vlan_del() local
1967 struct mt7530_priv *priv = ds->priv; in mt753x_port_mirror_add() local
2004 struct mt7530_priv *priv = ds->priv; in mt753x_port_mirror_del() local
2048 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_get() local
2057 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_set() local
2069 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_get_direction() local
2079 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_direction_input() local
2091 struct mt7530_priv *priv = gpiochip_get_data(gc); in mt7530_gpio_direction_output() local
2107 mt7530_setup_gpio(struct mt7530_priv *priv) in mt7530_setup_gpio()
2139 struct mt7530_priv *priv = dev_id; in mt7530_irq_thread_fn() local
2165 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_mask() local
2173 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_unmask() local
2181 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_bus_lock() local
2189 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7530_irq_bus_sync_unlock() local
2223 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7988_irq_mask() local
2232 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); in mt7988_irq_unmask() local
2262 mt7530_setup_mdio_irq(struct mt7530_priv *priv) in mt7530_setup_mdio_irq()
2278 mt7530_setup_irq(struct mt7530_priv *priv) in mt7530_setup_irq()
2325 mt7530_free_mdio_irq(struct mt7530_priv *priv) in mt7530_free_mdio_irq()
2340 mt7530_free_irq_common(struct mt7530_priv *priv) in mt7530_free_irq_common()
2347 mt7530_free_irq(struct mt7530_priv *priv) in mt7530_free_irq()
2354 mt7530_setup_mdio(struct mt7530_priv *priv) in mt7530_setup_mdio()
2393 struct mt7530_priv *priv = ds->priv; in mt7530_setup() local
2596 struct mt7530_priv *priv = ds->priv; in mt7531_setup_common() local
2649 struct mt7530_priv *priv = ds->priv; in mt7531_setup() local
2774 static bool mt7531_is_rgmii_port(struct mt7530_priv *priv, u32 port) in mt7531_is_rgmii_port()
2782 struct mt7530_priv *priv = ds->priv; in mt7531_mac_port_get_caps() local
2832 struct mt7530_priv *priv = ds->priv; in mt753x_pad_setup() local
2841 struct mt7530_priv *priv = ds->priv; in mt7530_mac_config() local
2852 static int mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port, in mt7531_rgmii_setup()
2919 struct mt7530_priv *priv = ds->priv; in mt7531_mac_config() local
2953 struct mt7530_priv *priv = ds->priv; in mt753x_mac_config() local
2962 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_select_pcs() local
2980 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_config() local
3035 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_link_down() local
3056 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_mac_link_up() local
3103 struct mt7530_priv *priv = ds->priv; in mt7531_cpu_port_config() local
3147 struct mt7530_priv *priv = ds->priv; in mt7988_cpu_port_config() local
3162 struct mt7530_priv *priv = ds->priv; in mt753x_phylink_get_caps() local
3186 struct mt7530_priv *priv = pcs_to_mt753x_pcs(pcs)->priv; in mt7530_pcs_get_state() local
3240 struct mt7530_priv *priv = ds->priv; in mt753x_setup() local
3275 struct mt7530_priv *priv = ds->priv; in mt753x_get_mac_eee() local
3287 struct mt7530_priv *priv = ds->priv; in mt753x_set_mac_eee() local
3309 struct mt7530_priv *priv = ds->priv; in mt7988_setup() local
3415 mt7530_probe_common(struct mt7530_priv *priv) in mt7530_probe_common()
3454 mt7530_remove_common(struct mt7530_priv *priv) in mt7530_remove_common()