Searched refs:ksz_device (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/dsa/microchip/ |
D | ksz_common.h | 44 struct ksz_device { struct 121 void (*cfg_port_member)(struct ksz_device *dev, int port, u8 member); 122 void (*flush_dyn_mac_table)(struct ksz_device *dev, int port); 123 void (*phy_setup)(struct ksz_device *dev, int port, 125 void (*port_cleanup)(struct ksz_device *dev, int port); 126 void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port); 127 void (*r_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 *val); 128 void (*w_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 val); 129 int (*r_dyn_mac_table)(struct ksz_device *dev, u16 addr, u8 *mac_addr, 132 int (*r_sta_mac_table)(struct ksz_device *dev, u16 addr, [all …]
|
D | ksz_common.c | 23 void ksz_update_port_member(struct ksz_device *dev, int port) in ksz_update_port_member() 43 static void port_r_cnt(struct ksz_device *dev, int port) in port_r_cnt() 69 struct ksz_device *dev = container_of(work, struct ksz_device, in ksz_mib_read_work() 100 struct ksz_device *dev = from_timer(dev, t, mib_read_timer); in mib_monitor() 106 void ksz_init_mib_timer(struct ksz_device *dev) in ksz_init_mib_timer() 127 struct ksz_device *dev = ds->priv; in ksz_phy_read16() 138 struct ksz_device *dev = ds->priv; in ksz_phy_write16() 149 struct ksz_device *dev = ds->priv; in ksz_adjust_link() 169 struct ksz_device *dev = ds->priv; in ksz_sset_count() 181 struct ksz_device *dev = ds->priv; in ksz_get_ethtool_stats() [all …]
|
D | ksz9477.c | 67 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in ksz_cfg() 72 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg() 79 static void ksz9477_cfg32(struct ksz_device *dev, u32 addr, u32 bits, bool set) in ksz9477_cfg32() 84 static void ksz9477_port_cfg32(struct ksz_device *dev, int port, int offset, in ksz9477_port_cfg32() 91 static int ksz9477_wait_vlan_ctrl_ready(struct ksz_device *dev) in ksz9477_wait_vlan_ctrl_ready() 99 static int ksz9477_get_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_get_vlan_table() 128 static int ksz9477_set_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_set_vlan_table() 162 static void ksz9477_read_table(struct ksz_device *dev, u32 *table) in ksz9477_read_table() 170 static void ksz9477_write_table(struct ksz_device *dev, u32 *table) in ksz9477_write_table() 178 static int ksz9477_wait_alu_ready(struct ksz_device *dev) in ksz9477_wait_alu_ready() [all …]
|
D | ksz8795.c | 65 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in ksz_cfg() 70 static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, in ksz_port_cfg() 77 static int ksz8795_reset_switch(struct ksz_device *dev) in ksz8795_reset_switch() 87 static void ksz8795_set_prio_queue(struct ksz_device *dev, int port, int queue) in ksz8795_set_prio_queue() 120 static void ksz8795_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, in ksz8795_r_mib_cnt() 151 static void ksz8795_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz8795_r_mib_pkt() 198 static void ksz8795_freeze_mib(struct ksz_device *dev, int port, bool freeze) in ksz8795_freeze_mib() 210 static void ksz8795_port_init_cnt(struct ksz_device *dev, int port) in ksz8795_port_init_cnt() 238 static void ksz8795_r_table(struct ksz_device *dev, int table, u16 addr, in ksz8795_r_table() 251 static void ksz8795_w_table(struct ksz_device *dev, int table, u16 addr, in ksz8795_w_table() [all …]
|
D | ksz9477_i2c.c | 21 struct ksz_device *dev; in ksz9477_i2c_probe() 57 struct ksz_device *dev = i2c_get_clientdata(i2c); in ksz9477_i2c_remove() 66 struct ksz_device *dev = i2c_get_clientdata(i2c); in ksz9477_i2c_shutdown()
|
D | ksz9477_spi.c | 28 struct ksz_device *dev; in ksz9477_spi_probe() 64 struct ksz_device *dev = spi_get_drvdata(spi); in ksz9477_spi_remove() 74 struct ksz_device *dev = spi_get_drvdata(spi); in ksz9477_spi_shutdown()
|
D | ksz8795_spi.c | 29 struct ksz_device *dev; in ksz8795_spi_probe() 65 struct ksz_device *dev = spi_get_drvdata(spi); in ksz8795_spi_remove() 75 struct ksz_device *dev = spi_get_drvdata(spi); in ksz8795_spi_shutdown()
|