Lines Matching refs:ksz_device

1921 static int ksz_check_device_id(struct ksz_device *dev)  in ksz_check_device_id()
1949 struct ksz_device *dev = ds->priv; in ksz_phylink_get_caps()
1975 void ksz_r_mib_stats64(struct ksz_device *dev, int port) in ksz_r_mib_stats64()
2031 void ksz88xx_r_mib_stats64(struct ksz_device *dev, int port) in ksz88xx_r_mib_stats64()
2083 struct ksz_device *dev = ds->priv; in ksz_get_stats64()
2096 struct ksz_device *dev = ds->priv; in ksz_get_pause_stats()
2109 struct ksz_device *dev = ds->priv; in ksz_get_strings()
2144 static void ksz_update_port_member(struct ksz_device *dev, int port) in ksz_update_port_member()
2222 struct ksz_device *dev = bus->priv; in ksz_sw_mdio_read()
2236 struct ksz_device *dev = bus->priv; in ksz_sw_mdio_write()
2241 static int ksz_irq_phy_setup(struct ksz_device *dev) in ksz_irq_phy_setup()
2268 static void ksz_irq_phy_free(struct ksz_device *dev) in ksz_irq_phy_free()
2278 static int ksz_mdio_register(struct ksz_device *dev) in ksz_mdio_register()
2350 struct ksz_device *dev = kirq->dev; in ksz_irq_bus_sync_unlock()
2401 struct ksz_device *dev; in ksz_irq_thread_fn()
2425 static int ksz_irq_common_setup(struct ksz_device *dev, struct ksz_irq *kirq) in ksz_irq_common_setup()
2453 static int ksz_girq_setup(struct ksz_device *dev) in ksz_girq_setup()
2467 static int ksz_pirq_setup(struct ksz_device *dev, u8 p) in ksz_pirq_setup()
2483 static int ksz_parse_drive_strength(struct ksz_device *dev);
2487 struct ksz_device *dev = ds->priv; in ksz_setup()
2601 struct ksz_device *dev = ds->priv; in ksz_teardown()
2620 static void port_r_cnt(struct ksz_device *dev, int port) in port_r_cnt()
2646 struct ksz_device *dev = container_of(work, struct ksz_device, in ksz_mib_read_work()
2681 void ksz_init_mib_timer(struct ksz_device *dev) in ksz_init_mib_timer()
2699 struct ksz_device *dev = ds->priv; in ksz_phy_read16()
2712 struct ksz_device *dev = ds->priv; in ksz_phy_write16()
2724 struct ksz_device *dev = ds->priv; in ksz_get_phy_flags()
2769 struct ksz_device *dev = dp->ds->priv; in ksz_phylink_mac_link_down()
2780 struct ksz_device *dev = ds->priv; in ksz_sset_count()
2792 struct ksz_device *dev = ds->priv; in ksz_get_ethtool_stats()
2828 struct ksz_device *dev = ds->priv; in ksz_port_fast_age()
2835 struct ksz_device *dev = ds->priv; in ksz_set_ageing_time()
2847 struct ksz_device *dev = ds->priv; in ksz_port_fdb_add()
2859 struct ksz_device *dev = ds->priv; in ksz_port_fdb_del()
2870 struct ksz_device *dev = ds->priv; in ksz_port_fdb_dump()
2882 struct ksz_device *dev = ds->priv; in ksz_port_mdb_add()
2894 struct ksz_device *dev = ds->priv; in ksz_port_mdb_del()
2902 static int ksz9477_set_default_prio_queue_mapping(struct ksz_device *dev, in ksz9477_set_default_prio_queue_mapping()
2927 struct ksz_device *dev = ds->priv; in ksz_port_setup()
2951 struct ksz_device *dev = ds->priv; in ksz_port_stp_state_set()
2997 struct ksz_device *dev = ds->priv; in ksz_port_teardown()
3027 struct ksz_device *dev = ds->priv; in ksz_port_bridge_flags()
3048 struct ksz_device *dev = ds->priv; in ksz_get_tag_protocol()
3095 struct ksz_device *dev = ds->priv; in ksz_port_vlan_filtering()
3107 struct ksz_device *dev = ds->priv; in ksz_port_vlan_add()
3118 struct ksz_device *dev = ds->priv; in ksz_port_vlan_del()
3130 struct ksz_device *dev = ds->priv; in ksz_port_mirror_add()
3141 struct ksz_device *dev = ds->priv; in ksz_port_mirror_del()
3149 struct ksz_device *dev = ds->priv; in ksz_change_mtu()
3159 struct ksz_device *dev = ds->priv; in ksz_max_mtu()
3191 struct ksz_device *dev = ds->priv; in ksz_validate_eee()
3234 struct ksz_device *dev = ds->priv; in ksz_set_mac_eee()
3254 static void ksz_set_xmii(struct ksz_device *dev, int port, in ksz_set_xmii()
3305 phy_interface_t ksz_get_xmii(struct ksz_device *dev, int port, bool gbit) in ksz_get_xmii()
3343 struct ksz_device *dev = dp->ds->priv; in ksz88x3_phylink_mac_config()
3353 struct ksz_device *dev = dp->ds->priv; in ksz_phylink_mac_config()
3371 bool ksz_get_gbit(struct ksz_device *dev, int port) in ksz_get_gbit()
3389 static void ksz_set_gbit(struct ksz_device *dev, int port, bool gbit) in ksz_set_gbit()
3408 static void ksz_set_100_10mbit(struct ksz_device *dev, int port, int speed) in ksz_set_100_10mbit()
3427 static void ksz_port_set_xmii_speed(struct ksz_device *dev, int port, int speed) in ksz_port_set_xmii_speed()
3438 static void ksz_duplex_flowctrl(struct ksz_device *dev, int port, int duplex, in ksz_duplex_flowctrl()
3472 struct ksz_device *dev = dp->ds->priv; in ksz9477_phylink_mac_link_up()
3489 static int ksz_switch_detect(struct ksz_device *dev) in ksz_switch_detect()
3585 struct ksz_device *dev = ds->priv; in ksz_cls_flower_add()
3605 struct ksz_device *dev = ds->priv; in ksz_cls_flower_del()
3657 static int ksz_setup_tc_mode(struct ksz_device *dev, int port, u8 scheduler, in ksz_setup_tc_mode()
3668 struct ksz_device *dev = ds->priv; in ksz_setup_tc_cbs()
3714 static int ksz_disable_egress_rate_limit(struct ksz_device *dev, int port) in ksz_disable_egress_rate_limit()
3741 static int ksz_queue_set_strict(struct ksz_device *dev, int port, int queue) in ksz_queue_set_strict()
3753 static int ksz_queue_set_wrr(struct ksz_device *dev, int port, int queue, in ksz_queue_set_wrr()
3770 static int ksz_tc_ets_add(struct ksz_device *dev, int port, in ksz_tc_ets_add()
3812 static int ksz_tc_ets_del(struct ksz_device *dev, int port) in ksz_tc_ets_del()
3832 static int ksz_tc_ets_validate(struct ksz_device *dev, int port, in ksz_tc_ets_validate()
3871 struct ksz_device *dev = ds->priv; in ksz_tc_setup_qdisc_ets()
3925 int ksz_handle_wake_reason(struct ksz_device *dev, int port) in ksz_handle_wake_reason()
3962 struct ksz_device *dev = ds->priv; in ksz_get_wol()
4011 struct ksz_device *dev = ds->priv; in ksz_set_wol()
4082 static void ksz_wol_pre_shutdown(struct ksz_device *dev, bool *wol_enabled) in ksz_wol_pre_shutdown()
4168 struct ksz_device *dev = ds->priv; in ksz_is_port_mac_global_usable()
4200 struct ksz_device *dev = ds->priv; in ksz_switch_macaddr_get()
4248 struct ksz_device *dev = ds->priv; in ksz_switch_macaddr_put()
4269 struct ksz_device *dev = ds->priv; in ksz_hsr_join()
4318 struct ksz_device *dev = ds->priv; in ksz_hsr_leave()
4391 struct ksz_device *ksz_switch_alloc(struct device *base, void *priv) in ksz_switch_alloc()
4394 struct ksz_device *swdev; in ksz_switch_alloc()
4428 void ksz_switch_shutdown(struct ksz_device *dev) in ksz_switch_shutdown()
4441 static void ksz_parse_rgmii_delay(struct ksz_device *dev, int port_num, in ksz_parse_rgmii_delay()
4515 static void ksz_drive_strength_error(struct ksz_device *dev, in ksz_drive_strength_error()
4556 static int ksz9477_drive_strength_write(struct ksz_device *dev, in ksz9477_drive_strength_write()
4609 static int ksz88x3_drive_strength_write(struct ksz_device *dev, in ksz88x3_drive_strength_write()
4650 static int ksz_parse_drive_strength(struct ksz_device *dev) in ksz_parse_drive_strength()
4718 int ksz_switch_register(struct ksz_device *dev) in ksz_switch_register()
4853 void ksz_switch_remove(struct ksz_device *dev) in ksz_switch_remove()