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()
201 void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt) in ksz9477_r_mib_cnt()
228 void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_pkt()
235 void ksz9477_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz9477_freeze_mib()
249 static int ksz9477_half_duplex_monitor(struct ksz_device *dev, int port, in ksz9477_half_duplex_monitor()
297 int ksz9477_errata_monitor(struct ksz_device *dev, int port, in ksz9477_errata_monitor()
316 void ksz9477_port_init_cnt(struct ksz_device *dev, int port) in ksz9477_port_init_cnt()
329 static void ksz9477_r_phy_quirks(struct ksz_device *dev, u16 addr, u16 reg, in ksz9477_r_phy_quirks()
339 int ksz9477_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data) in ksz9477_r_phy()
395 int ksz9477_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val) in ksz9477_w_phy()
420 void ksz9477_cfg_port_member(struct ksz_device *dev, int port, u8 member) in ksz9477_cfg_port_member()
425 void ksz9477_flush_dyn_mac_table(struct ksz_device *dev, int port) in ksz9477_flush_dyn_mac_table()
448 int ksz9477_port_vlan_filtering(struct ksz_device *dev, int port, in ksz9477_port_vlan_filtering()
464 int ksz9477_port_vlan_add(struct ksz_device *dev, int port, in ksz9477_port_vlan_add()
500 int ksz9477_port_vlan_del(struct ksz_device *dev, int port, in ksz9477_port_vlan_del()
533 int ksz9477_fdb_add(struct ksz_device *dev, int port, in ksz9477_fdb_add()
589 int ksz9477_fdb_del(struct ksz_device *dev, int port, in ksz9477_fdb_del()
678 int ksz9477_fdb_dump(struct ksz_device *dev, int port, in ksz9477_fdb_dump()
732 int ksz9477_mdb_add(struct ksz_device *dev, int port, in ksz9477_mdb_add()
811 int ksz9477_mdb_del(struct ksz_device *dev, int port, in ksz9477_mdb_del()
890 int ksz9477_port_mirror_add(struct ksz_device *dev, int port, in ksz9477_port_mirror_add()
929 void ksz9477_port_mirror_del(struct ksz_device *dev, int port, in ksz9477_port_mirror_del()
958 static phy_interface_t ksz9477_get_interface(struct ksz_device *dev, int port) in ksz9477_get_interface()
973 void ksz9477_get_caps(struct ksz_device *dev, int port, in ksz9477_get_caps()
983 int ksz9477_set_ageing_time(struct ksz_device *dev, unsigned int msecs) in ksz9477_set_ageing_time()
1008 void ksz9477_port_queue_split(struct ksz_device *dev, int port) in ksz9477_port_queue_split()
1024 void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port) in ksz9477_port_setup()
1081 struct ksz_device *dev = ds->priv; in ksz9477_config_cpu_port()
1137 int ksz9477_enable_stp_addr(struct ksz_device *dev) in ksz9477_enable_stp_addr()
1172 struct ksz_device *dev = ds->priv; in ksz9477_setup()
1216 int ksz9477_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val) in ksz9477_tc_cbs_set_cinc()
1249 struct ksz_device *dev = ds->priv; in ksz9477_hsr_join()
1288 struct ksz_device *dev = ds->priv; in ksz9477_hsr_leave()
1300 int ksz9477_switch_init(struct ksz_device *dev) in ksz9477_switch_init()
1320 void ksz9477_switch_exit(struct ksz_device *dev) in ksz9477_switch_exit()