Lines Matching refs:ksz_device

21 static int lan937x_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set)  in lan937x_cfg()
26 static int lan937x_port_cfg(struct ksz_device *dev, int port, int offset, in lan937x_port_cfg()
33 static int lan937x_enable_spi_indirect_access(struct ksz_device *dev) in lan937x_enable_spi_indirect_access()
53 static int lan937x_vphy_ind_addr_wr(struct ksz_device *dev, int addr, int reg) in lan937x_vphy_ind_addr_wr()
64 static int lan937x_internal_phy_write(struct ksz_device *dev, int addr, int reg, in lan937x_internal_phy_write()
100 static int lan937x_internal_phy_read(struct ksz_device *dev, int addr, int reg, in lan937x_internal_phy_read()
131 int lan937x_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data) in lan937x_r_phy()
136 int lan937x_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val) in lan937x_w_phy()
141 int lan937x_reset_switch(struct ksz_device *dev) in lan937x_reset_switch()
172 void lan937x_port_setup(struct ksz_device *dev, int port, bool cpu_port) in lan937x_port_setup()
210 struct ksz_device *dev = ds->priv; in lan937x_config_cpu_port()
227 int lan937x_change_mtu(struct ksz_device *dev, int port, int new_mtu) in lan937x_change_mtu()
258 int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs) in lan937x_set_ageing_time()
275 static void lan937x_set_tune_adj(struct ksz_device *dev, int port, in lan937x_set_tune_adj()
291 static void lan937x_set_rgmii_tx_delay(struct ksz_device *dev, int port) in lan937x_set_rgmii_tx_delay()
304 static void lan937x_set_rgmii_rx_delay(struct ksz_device *dev, int port) in lan937x_set_rgmii_rx_delay()
314 void lan937x_phylink_get_caps(struct ksz_device *dev, int port, in lan937x_phylink_get_caps()
326 void lan937x_setup_rgmii_delay(struct ksz_device *dev, int port) in lan937x_setup_rgmii_delay()
343 int lan937x_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val) in lan937x_tc_cbs_set_cinc()
348 int lan937x_switch_init(struct ksz_device *dev) in lan937x_switch_init()
357 struct ksz_device *dev = ds->priv; in lan937x_setup()
397 void lan937x_switch_exit(struct ksz_device *dev) in lan937x_switch_exit()