Lines Matching refs:ksz_device

22 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set)  in ksz_cfg()
27 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg()
34 static void ksz9477_cfg32(struct ksz_device *dev, u32 addr, u32 bits, bool set) in ksz9477_cfg32()
39 static void ksz9477_port_cfg32(struct ksz_device *dev, int port, int offset, in ksz9477_port_cfg32()
46 int ksz9477_change_mtu(struct ksz_device *dev, int port, int mtu) in ksz9477_change_mtu()
59 static int ksz9477_wait_vlan_ctrl_ready(struct ksz_device *dev) in ksz9477_wait_vlan_ctrl_ready()
67 static int ksz9477_get_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_get_vlan_table()
96 static int ksz9477_set_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_set_vlan_table()
130 static void ksz9477_read_table(struct ksz_device *dev, u32 *table) in ksz9477_read_table()
138 static void ksz9477_write_table(struct ksz_device *dev, u32 *table) in ksz9477_write_table()
146 static int ksz9477_wait_alu_ready(struct ksz_device *dev) in ksz9477_wait_alu_ready()
154 static int ksz9477_wait_alu_sta_ready(struct ksz_device *dev) in ksz9477_wait_alu_sta_ready()
164 int ksz9477_reset_switch(struct ksz_device *dev) in ksz9477_reset_switch()
203 void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt) in ksz9477_r_mib_cnt()
230 void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_pkt()
237 void ksz9477_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz9477_freeze_mib()
251 void ksz9477_port_init_cnt(struct ksz_device *dev, int port) in ksz9477_port_init_cnt()
264 static void ksz9477_r_phy_quirks(struct ksz_device *dev, u16 addr, u16 reg, in ksz9477_r_phy_quirks()
274 int ksz9477_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data) in ksz9477_r_phy()
330 int ksz9477_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val) in ksz9477_w_phy()
355 void ksz9477_cfg_port_member(struct ksz_device *dev, int port, u8 member) in ksz9477_cfg_port_member()
360 void ksz9477_flush_dyn_mac_table(struct ksz_device *dev, int port) in ksz9477_flush_dyn_mac_table()
383 int ksz9477_port_vlan_filtering(struct ksz_device *dev, int port, in ksz9477_port_vlan_filtering()
399 int ksz9477_port_vlan_add(struct ksz_device *dev, int port, in ksz9477_port_vlan_add()
435 int ksz9477_port_vlan_del(struct ksz_device *dev, int port, in ksz9477_port_vlan_del()
468 int ksz9477_fdb_add(struct ksz_device *dev, int port, in ksz9477_fdb_add()
524 int ksz9477_fdb_del(struct ksz_device *dev, int port, in ksz9477_fdb_del()
613 int ksz9477_fdb_dump(struct ksz_device *dev, int port, in ksz9477_fdb_dump()
667 int ksz9477_mdb_add(struct ksz_device *dev, int port, in ksz9477_mdb_add()
746 int ksz9477_mdb_del(struct ksz_device *dev, int port, in ksz9477_mdb_del()
825 int ksz9477_port_mirror_add(struct ksz_device *dev, int port, in ksz9477_port_mirror_add()
864 void ksz9477_port_mirror_del(struct ksz_device *dev, int port, in ksz9477_port_mirror_del()
893 static phy_interface_t ksz9477_get_interface(struct ksz_device *dev, int port) in ksz9477_get_interface()
908 void ksz9477_get_caps(struct ksz_device *dev, int port, in ksz9477_get_caps()
918 int ksz9477_set_ageing_time(struct ksz_device *dev, unsigned int msecs) in ksz9477_set_ageing_time()
943 void ksz9477_port_queue_split(struct ksz_device *dev, int port) in ksz9477_port_queue_split()
959 void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port) in ksz9477_port_setup()
1011 struct ksz_device *dev = ds->priv; in ksz9477_config_cpu_port()
1067 int ksz9477_enable_stp_addr(struct ksz_device *dev) in ksz9477_enable_stp_addr()
1102 struct ksz_device *dev = ds->priv; in ksz9477_setup()
1137 int ksz9477_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val) in ksz9477_tc_cbs_set_cinc()
1144 int ksz9477_switch_init(struct ksz_device *dev) in ksz9477_switch_init()
1164 void ksz9477_switch_exit(struct ksz_device *dev) in ksz9477_switch_exit()