Lines Matching refs:ksz_device
176 static void ksz9477_phylink_mac_link_up(struct ksz_device *dev, int port,
1458 static int ksz_check_device_id(struct ksz_device *dev) in ksz_check_device_id()
1478 struct ksz_device *dev = ds->priv; in ksz_phylink_get_caps()
1506 void ksz_r_mib_stats64(struct ksz_device *dev, int port) in ksz_r_mib_stats64()
1558 struct ksz_device *dev = ds->priv; in ksz_get_stats64()
1571 struct ksz_device *dev = ds->priv; in ksz_get_pause_stats()
1584 struct ksz_device *dev = ds->priv; in ksz_get_strings()
1596 static void ksz_update_port_member(struct ksz_device *dev, int port) in ksz_update_port_member()
1656 struct ksz_device *dev = bus->priv; in ksz_sw_mdio_read()
1673 struct ksz_device *dev = bus->priv; in ksz_sw_mdio_write()
1681 static int ksz_irq_phy_setup(struct ksz_device *dev) in ksz_irq_phy_setup()
1708 static void ksz_irq_phy_free(struct ksz_device *dev) in ksz_irq_phy_free()
1718 static int ksz_mdio_register(struct ksz_device *dev) in ksz_mdio_register()
1790 struct ksz_device *dev = kirq->dev; in ksz_irq_bus_sync_unlock()
1841 struct ksz_device *dev; in ksz_irq_thread_fn()
1865 static int ksz_irq_common_setup(struct ksz_device *dev, struct ksz_irq *kirq) in ksz_irq_common_setup()
1893 static int ksz_girq_setup(struct ksz_device *dev) in ksz_girq_setup()
1907 static int ksz_pirq_setup(struct ksz_device *dev, u8 p) in ksz_pirq_setup()
1925 struct ksz_device *dev = ds->priv; in ksz_setup()
2012 struct ksz_device *dev = ds->priv; in ksz_teardown()
2026 static void port_r_cnt(struct ksz_device *dev, int port) in port_r_cnt()
2052 struct ksz_device *dev = container_of(work, struct ksz_device, in ksz_mib_read_work()
2087 void ksz_init_mib_timer(struct ksz_device *dev) in ksz_init_mib_timer()
2105 struct ksz_device *dev = ds->priv; in ksz_phy_read16()
2118 struct ksz_device *dev = ds->priv; in ksz_phy_write16()
2130 struct ksz_device *dev = ds->priv; in ksz_get_phy_flags()
2147 struct ksz_device *dev = ds->priv; in ksz_mac_link_down()
2159 struct ksz_device *dev = ds->priv; in ksz_sset_count()
2171 struct ksz_device *dev = ds->priv; in ksz_get_ethtool_stats()
2207 struct ksz_device *dev = ds->priv; in ksz_port_fast_age()
2214 struct ksz_device *dev = ds->priv; in ksz_set_ageing_time()
2226 struct ksz_device *dev = ds->priv; in ksz_port_fdb_add()
2238 struct ksz_device *dev = ds->priv; in ksz_port_fdb_del()
2249 struct ksz_device *dev = ds->priv; in ksz_port_fdb_dump()
2261 struct ksz_device *dev = ds->priv; in ksz_port_mdb_add()
2273 struct ksz_device *dev = ds->priv; in ksz_port_mdb_del()
2284 struct ksz_device *dev = ds->priv; in ksz_enable_port()
2301 struct ksz_device *dev = ds->priv; in ksz_port_stp_state_set()
2359 struct ksz_device *dev = ds->priv; in ksz_port_bridge_flags()
2376 struct ksz_device *dev = ds->priv; in ksz_get_tag_protocol()
2404 struct ksz_device *dev = ds->priv; in ksz_port_vlan_filtering()
2416 struct ksz_device *dev = ds->priv; in ksz_port_vlan_add()
2427 struct ksz_device *dev = ds->priv; in ksz_port_vlan_del()
2439 struct ksz_device *dev = ds->priv; in ksz_port_mirror_add()
2450 struct ksz_device *dev = ds->priv; in ksz_port_mirror_del()
2458 struct ksz_device *dev = ds->priv; in ksz_change_mtu()
2468 struct ksz_device *dev = ds->priv; in ksz_max_mtu()
2476 static void ksz_set_xmii(struct ksz_device *dev, int port, in ksz_set_xmii()
2525 phy_interface_t ksz_get_xmii(struct ksz_device *dev, int port, bool gbit) in ksz_get_xmii()
2562 struct ksz_device *dev = ds->priv; in ksz_phylink_mac_config()
2585 bool ksz_get_gbit(struct ksz_device *dev, int port) in ksz_get_gbit()
2603 static void ksz_set_gbit(struct ksz_device *dev, int port, bool gbit) in ksz_set_gbit()
2622 static void ksz_set_100_10mbit(struct ksz_device *dev, int port, int speed) in ksz_set_100_10mbit()
2641 static void ksz_port_set_xmii_speed(struct ksz_device *dev, int port, int speed) in ksz_port_set_xmii_speed()
2652 static void ksz_duplex_flowctrl(struct ksz_device *dev, int port, int duplex, in ksz_duplex_flowctrl()
2678 static void ksz9477_phylink_mac_link_up(struct ksz_device *dev, int port, in ksz9477_phylink_mac_link_up()
2706 struct ksz_device *dev = ds->priv; in ksz_phylink_mac_link_up()
2714 static int ksz_switch_detect(struct ksz_device *dev) in ksz_switch_detect()
2830 struct ksz_device *ksz_switch_alloc(struct device *base, void *priv) in ksz_switch_alloc()
2833 struct ksz_device *swdev; in ksz_switch_alloc()
2857 static void ksz_parse_rgmii_delay(struct ksz_device *dev, int port_num, in ksz_parse_rgmii_delay()
2894 int ksz_switch_register(struct ksz_device *dev) in ksz_switch_register()
3025 void ksz_switch_remove(struct ksz_device *dev) in ksz_switch_remove()