Lines Matching +defs:val +defs:ds

495 			u32 *val)  in vsc73xx_read()
501 u32 val) in vsc73xx_write()
507 u8 reg, u32 mask, u32 val) in vsc73xx_update_bits()
525 u32 val; in vsc73xx_detect() local
608 u32 val; in vsc73xx_mdio_busy_check() local
621 static int vsc73xx_phy_read(struct dsa_switch *ds, int phy, int regnum) in vsc73xx_phy_read()
625 u32 val; in vsc73xx_phy_read() local
662 static int vsc73xx_phy_write(struct dsa_switch *ds, int phy, int regnum, in vsc73xx_phy_write()
663 u16 val) in vsc73xx_phy_write()
686 static enum dsa_tag_protocol vsc73xx_get_tag_protocol(struct dsa_switch *ds, in vsc73xx_get_tag_protocol()
705 u32 val; in vsc73xx_wait_for_vlan_table_cmd() local
722 u32 val; in vsc73xx_read_vlan_table_entry() local
786 static int vsc73xx_configure_rgmii_port_delay(struct dsa_switch *ds) in vsc73xx_configure_rgmii_port_delay()
847 static int vsc73xx_setup(struct dsa_switch *ds) in vsc73xx_setup()
850 int i, ret, val; in vsc73xx_setup() local
951 static void vsc73xx_teardown(struct dsa_switch *ds) in vsc73xx_teardown()
960 u32 val; in vsc73xx_init_port() local
1037 u32 val; in vsc73xx_reset_port() local
1115 u32 val; in vsc73xx_mac_link_up() local
1245 u32 val = 0; in vsc73xx_set_vlan_conf() local
1308 u32 val = 0; in vsc73xx_vlan_change_untagged() local
1365 u32 val = 0; in vsc73xx_vlan_change_pvid() local
1430 static int vsc73xx_port_enable(struct dsa_switch *ds, int port, in vsc73xx_port_enable()
1441 static void vsc73xx_port_disable(struct dsa_switch *ds, int port) in vsc73xx_port_disable()
1478 static void vsc73xx_get_strings(struct dsa_switch *ds, int port, u32 stringset, in vsc73xx_get_strings()
1486 u32 val; in vsc73xx_get_strings() local
1528 static int vsc73xx_get_sset_count(struct dsa_switch *ds, int port, int sset) in vsc73xx_get_sset_count()
1537 static void vsc73xx_get_ethtool_stats(struct dsa_switch *ds, int port, in vsc73xx_get_ethtool_stats()
1551 u32 val; in vsc73xx_get_ethtool_stats() local
1566 static int vsc73xx_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in vsc73xx_change_mtu()
1579 static int vsc73xx_get_max_mtu(struct dsa_switch *ds, int port) in vsc73xx_get_max_mtu()
1610 vsc73xx_port_vlan_filtering(struct dsa_switch *ds, int port, in vsc73xx_port_vlan_filtering()
1628 static int vsc73xx_port_vlan_add(struct dsa_switch *ds, int port, in vsc73xx_port_vlan_add()
1715 static int vsc73xx_port_vlan_del(struct dsa_switch *ds, int port, in vsc73xx_port_vlan_del()
1747 static int vsc73xx_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in vsc73xx_tag_8021q_vlan_add()
1773 static int vsc73xx_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in vsc73xx_tag_8021q_vlan_del()
1799 static int vsc73xx_port_pre_bridge_flags(struct dsa_switch *ds, int port, in vsc73xx_port_pre_bridge_flags()
1809 static int vsc73xx_port_bridge_flags(struct dsa_switch *ds, int port, in vsc73xx_port_bridge_flags()
1814 u32 val = flags.val & BR_LEARNING ? BIT(port) : 0; in vsc73xx_port_bridge_flags() local
1824 static void vsc73xx_refresh_fwd_map(struct dsa_switch *ds, int port, u8 state) in vsc73xx_refresh_fwd_map()
1881 static void vsc73xx_port_stp_state_set(struct dsa_switch *ds, int port, in vsc73xx_port_stp_state_set()
1886 u32 val = 0; in vsc73xx_port_stp_state_set() local
1942 u32 val; in vsc73xx_port_wait_for_mac_table_cmd() local
1960 u32 val; in vsc73xx_port_read_mac_table_row() local
2030 u32 val; in vsc73xx_fdb_operation() local
2105 u32 val; in vsc73xx_fdb_add_entry() local
2137 static int vsc73xx_fdb_add(struct dsa_switch *ds, int port, in vsc73xx_fdb_add()
2158 static int vsc73xx_fdb_del(struct dsa_switch *ds, int port, in vsc73xx_fdb_del()
2179 static int vsc73xx_port_fdb_dump(struct dsa_switch *ds, in vsc73xx_port_fdb_dump()
2250 u32 val; in vsc73xx_gpio_get() local
2262 int val) in vsc73xx_gpio_set()
2272 unsigned int offset, int val) in vsc73xx_gpio_direction_output()
2296 u32 val; in vsc73xx_gpio_get_direction() local