Lines Matching refs:ksz_device

17 void ksz8_cfg_port_member(struct ksz_device *dev, int port, u8 member);
18 void ksz8_flush_dyn_mac_table(struct ksz_device *dev, int port);
19 void ksz8_port_setup(struct ksz_device *dev, int port, bool cpu_port);
20 int ksz8_r_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 *val);
21 int ksz8_w_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 val);
22 void ksz8_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt);
23 void ksz8_r_mib_pkt(struct ksz_device *dev, int port, u16 addr,
25 void ksz8_freeze_mib(struct ksz_device *dev, int port, bool freeze);
26 void ksz8_port_init_cnt(struct ksz_device *dev, int port);
27 int ksz8_fdb_dump(struct ksz_device *dev, int port,
29 int ksz8_fdb_add(struct ksz_device *dev, int port, const unsigned char *addr,
31 int ksz8_fdb_del(struct ksz_device *dev, int port, const unsigned char *addr,
33 int ksz8_mdb_add(struct ksz_device *dev, int port,
35 int ksz8_mdb_del(struct ksz_device *dev, int port,
37 int ksz8_port_vlan_filtering(struct ksz_device *dev, int port, bool flag,
39 int ksz8_port_vlan_add(struct ksz_device *dev, int port,
42 int ksz8_port_vlan_del(struct ksz_device *dev, int port,
44 int ksz8_port_mirror_add(struct ksz_device *dev, int port,
47 void ksz8_port_mirror_del(struct ksz_device *dev, int port,
49 void ksz8_get_caps(struct ksz_device *dev, int port,
52 int ksz8_enable_stp_addr(struct ksz_device *dev);
53 int ksz8_reset_switch(struct ksz_device *dev);
54 int ksz8_switch_init(struct ksz_device *dev);
55 void ksz8_switch_exit(struct ksz_device *dev);
56 int ksz8_change_mtu(struct ksz_device *dev, int port, int mtu);
57 int ksz8_pme_write8(struct ksz_device *dev, u32 reg, u8 value);
58 int ksz8_pme_pread8(struct ksz_device *dev, int port, int offset, u8 *data);
59 int ksz8_pme_pwrite8(struct ksz_device *dev, int port, int offset, u8 data);
64 int ksz8_all_queues_split(struct ksz_device *dev, int queues);