Lines Matching refs:ksz_device
26 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in ksz_cfg()
31 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg()
38 static void ksz9477_cfg32(struct ksz_device *dev, u32 addr, u32 bits, bool set) in ksz9477_cfg32()
43 static void ksz9477_port_cfg32(struct ksz_device *dev, int port, int offset, in ksz9477_port_cfg32()
52 struct ksz_device *dev = ds->priv; in ksz9477_change_mtu()
73 static int ksz9477_wait_vlan_ctrl_ready(struct ksz_device *dev) in ksz9477_wait_vlan_ctrl_ready()
81 static int ksz9477_get_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_get_vlan_table()
110 static int ksz9477_set_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_set_vlan_table()
144 static void ksz9477_read_table(struct ksz_device *dev, u32 *table) in ksz9477_read_table()
152 static void ksz9477_write_table(struct ksz_device *dev, u32 *table) in ksz9477_write_table()
160 static int ksz9477_wait_alu_ready(struct ksz_device *dev) in ksz9477_wait_alu_ready()
168 static int ksz9477_wait_alu_sta_ready(struct ksz_device *dev) in ksz9477_wait_alu_sta_ready()
178 static int ksz9477_reset_switch(struct ksz_device *dev) in ksz9477_reset_switch()
217 static void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_cnt()
245 static void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_pkt()
252 static void ksz9477_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz9477_freeze_mib()
266 static void ksz9477_port_init_cnt(struct ksz_device *dev, int port) in ksz9477_port_init_cnt()
281 struct ksz_device *dev = ds->priv; in ksz9477_phy_read16()
332 struct ksz_device *dev = ds->priv; in ksz9477_phy_write16()
346 static void ksz9477_cfg_port_member(struct ksz_device *dev, int port, in ksz9477_cfg_port_member()
358 static void ksz9477_flush_dyn_mac_table(struct ksz_device *dev, int port) in ksz9477_flush_dyn_mac_table()
380 static int ksz9477_port_vlan_filtering(struct ksz_device *dev, int port, in ksz9477_port_vlan_filtering()
397 static int ksz9477_port_vlan_add(struct ksz_device *dev, int port, in ksz9477_port_vlan_add()
433 static int ksz9477_port_vlan_del(struct ksz_device *dev, int port, in ksz9477_port_vlan_del()
470 struct ksz_device *dev = ds->priv; in ksz9477_port_fdb_add()
528 struct ksz_device *dev = ds->priv; in ksz9477_port_fdb_del()
618 struct ksz_device *dev = ds->priv; in ksz9477_port_fdb_dump()
674 struct ksz_device *dev = ds->priv; in ksz9477_port_mdb_add()
750 struct ksz_device *dev = ds->priv; in ksz9477_port_mdb_del()
822 static int ksz9477_port_mirror_add(struct ksz_device *dev, int port, in ksz9477_port_mirror_add()
861 static void ksz9477_port_mirror_del(struct ksz_device *dev, int port, in ksz9477_port_mirror_del()
890 static bool ksz9477_get_gbit(struct ksz_device *dev, u8 data) in ksz9477_get_gbit()
901 static void ksz9477_set_gbit(struct ksz_device *dev, bool gbit, u8 *data) in ksz9477_set_gbit()
916 static int ksz9477_get_xmii(struct ksz_device *dev, u8 data) in ksz9477_get_xmii()
952 static void ksz9477_set_xmii(struct ksz_device *dev, int mode, u8 *data) in ksz9477_set_xmii()
991 static phy_interface_t ksz9477_get_interface(struct ksz_device *dev, int port) in ksz9477_get_interface()
1029 static void ksz9477_port_mmd_write(struct ksz_device *dev, int port, in ksz9477_port_mmd_write()
1040 static void ksz9477_phy_errata_setup(struct ksz_device *dev, int port) in ksz9477_phy_errata_setup()
1085 static void ksz9477_get_caps(struct ksz_device *dev, int port, in ksz9477_get_caps()
1092 static void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port) in ksz9477_port_setup()
1191 struct ksz_device *dev = ds->priv; in ksz9477_config_cpu_port()
1261 struct ksz_device *dev = ds->priv; in ksz9477_setup()
1346 static int ksz9477_switch_init(struct ksz_device *dev) in ksz9477_switch_init()
1393 static void ksz9477_switch_exit(struct ksz_device *dev) in ksz9477_switch_exit()
1419 int ksz9477_switch_register(struct ksz_device *dev) in ksz9477_switch_register()