Lines Matching full:vsc73xx
34 #include "vitesse-vsc73xx.h"
494 static int vsc73xx_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_read()
500 static int vsc73xx_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_write()
506 static int vsc73xx_update_bits(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_update_bits()
521 static int vsc73xx_detect(struct vsc73xx *vsc) in vsc73xx_detect()
605 static int vsc73xx_mdio_busy_check(struct vsc73xx *vsc) in vsc73xx_mdio_busy_check()
623 struct vsc73xx *vsc = ds->priv; in vsc73xx_phy_read()
665 struct vsc73xx *vsc = ds->priv; in vsc73xx_phy_write()
702 static int vsc73xx_wait_for_vlan_table_cmd(struct vsc73xx *vsc) in vsc73xx_wait_for_vlan_table_cmd()
720 vsc73xx_read_vlan_table_entry(struct vsc73xx *vsc, u16 vid, u8 *portmap) in vsc73xx_read_vlan_table_entry()
747 vsc73xx_write_vlan_table_entry(struct vsc73xx *vsc, u16 vid, u8 portmap) in vsc73xx_write_vlan_table_entry()
769 vsc73xx_update_vlan_table(struct vsc73xx *vsc, int port, u16 vid, bool set) in vsc73xx_update_vlan_table()
793 struct vsc73xx *vsc = ds->priv; in vsc73xx_configure_rgmii_port_delay()
849 struct vsc73xx *vsc = ds->priv; in vsc73xx_setup()
958 static void vsc73xx_init_port(struct vsc73xx *vsc, int port) in vsc73xx_init_port()
1034 static void vsc73xx_reset_port(struct vsc73xx *vsc, int port, u32 initval) in vsc73xx_reset_port()
1070 struct vsc73xx *vsc = dp->ds->priv; in vsc73xx_mac_config()
1094 struct vsc73xx *vsc = dp->ds->priv; in vsc73xx_mac_link_down()
1113 struct vsc73xx *vsc = dp->ds->priv; in vsc73xx_mac_link_up()
1185 vsc73xx_bridge_vlan_find(struct vsc73xx *vsc, u16 vid) in vsc73xx_bridge_vlan_find()
1209 static void vsc73xx_bridge_vlan_summary(struct vsc73xx *vsc, int port, in vsc73xx_bridge_vlan_summary()
1230 static u16 vsc73xx_find_first_vlan_untagged(struct vsc73xx *vsc, int port) in vsc73xx_find_first_vlan_untagged()
1242 static int vsc73xx_set_vlan_conf(struct vsc73xx *vsc, int port, in vsc73xx_set_vlan_conf()
1285 static int vsc73xx_vlan_commit_conf(struct vsc73xx *vsc, int port) in vsc73xx_vlan_commit_conf()
1306 vsc73xx_vlan_change_untagged(struct vsc73xx *vsc, int port, u16 vid, bool set) in vsc73xx_vlan_change_untagged()
1334 static int vsc73xx_vlan_commit_untagged(struct vsc73xx *vsc, int port) in vsc73xx_vlan_commit_untagged()
1363 vsc73xx_vlan_change_pvid(struct vsc73xx *vsc, int port, u16 vid, bool set) in vsc73xx_vlan_change_pvid()
1400 static int vsc73xx_vlan_commit_pvid(struct vsc73xx *vsc, int port) in vsc73xx_vlan_commit_pvid()
1415 static int vsc73xx_vlan_commit_settings(struct vsc73xx *vsc, int port) in vsc73xx_vlan_commit_settings()
1433 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_enable()
1443 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_disable()
1451 vsc73xx_find_counter(struct vsc73xx *vsc, in vsc73xx_find_counter()
1482 struct vsc73xx *vsc = ds->priv; in vsc73xx_get_strings()
1540 struct vsc73xx *vsc = ds->priv; in vsc73xx_get_ethtool_stats()
1568 struct vsc73xx *vsc = ds->priv; in vsc73xx_change_mtu()
1613 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_vlan_filtering()
1615 /* The commit to hardware processed below is required because vsc73xx in vsc73xx_port_vlan_filtering()
1638 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_vlan_add()
1656 /* VSC73XX allows only three untagged states: none, one or all */ in vsc73xx_port_vlan_add()
1720 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_vlan_del()
1752 struct vsc73xx *vsc = ds->priv; in vsc73xx_tag_8021q_vlan_add()
1776 struct vsc73xx *vsc = ds->priv; in vsc73xx_tag_8021q_vlan_del()
1815 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_bridge_flags()
1827 struct vsc73xx *vsc = ds->priv; in vsc73xx_refresh_fwd_map()
1885 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_stp_state_set()
1939 vsc73xx_port_wait_for_mac_table_cmd(struct vsc73xx *vsc) in vsc73xx_port_wait_for_mac_table_cmd()
1956 static int vsc73xx_port_read_mac_table_row(struct vsc73xx *vsc, u16 index, in vsc73xx_port_read_mac_table_row()
2026 vsc73xx_fdb_operation(struct vsc73xx *vsc, const unsigned char *addr, u16 vid, in vsc73xx_fdb_operation()
2066 static int vsc73xx_fdb_del_entry(struct vsc73xx *vsc, int port, in vsc73xx_fdb_del_entry()
2099 static int vsc73xx_fdb_add_entry(struct vsc73xx *vsc, int port, in vsc73xx_fdb_add_entry()
2140 struct vsc73xx *vsc = ds->priv; in vsc73xx_fdb_add()
2161 struct vsc73xx *vsc = ds->priv; in vsc73xx_fdb_del()
2183 struct vsc73xx *vsc = ds->priv; in vsc73xx_port_fdb_dump()
2249 struct vsc73xx *vsc = gpiochip_get_data(chip); in vsc73xx_gpio_get()
2264 struct vsc73xx *vsc = gpiochip_get_data(chip); in vsc73xx_gpio_set()
2274 struct vsc73xx *vsc = gpiochip_get_data(chip); in vsc73xx_gpio_direction_output()
2285 struct vsc73xx *vsc = gpiochip_get_data(chip); in vsc73xx_gpio_direction_input()
2295 struct vsc73xx *vsc = gpiochip_get_data(chip); in vsc73xx_gpio_get_direction()
2307 static int vsc73xx_gpio_probe(struct vsc73xx *vsc) in vsc73xx_gpio_probe()
2333 int vsc73xx_probe(struct vsc73xx *vsc) in vsc73xx_probe()
2401 void vsc73xx_remove(struct vsc73xx *vsc) in vsc73xx_remove()
2408 void vsc73xx_shutdown(struct vsc73xx *vsc) in vsc73xx_shutdown()