Lines Matching refs:ks8851_net
35 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock()
47 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock()
60 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16()
73 static unsigned int ks8851_rdreg16(struct ks8851_net *ks, in ks8851_rdreg16()
92 static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op) in ks8851_soft_reset()
107 static void ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) in ks8851_set_powermode()
131 struct ks8851_net *ks = netdev_priv(dev); in ks8851_write_mac_addr()
165 struct ks8851_net *ks = netdev_priv(dev); in ks8851_read_mac_addr()
194 static void ks8851_init_mac(struct ks8851_net *ks, struct device_node *np) in ks8851_init_mac()
225 static void ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) in ks8851_dbg_dumpkkt()
243 static void ks8851_rx_pkts(struct ks8851_net *ks, struct sk_buff_head *rxq) in ks8851_rx_pkts()
329 struct ks8851_net *ks = _ks; in ks8851_irq()
408 static void ks8851_flush_tx_work(struct ks8851_net *ks) in ks8851_flush_tx_work()
423 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_open()
505 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_stop()
564 struct ks8851_net *ks = netdev_priv(dev); in ks8851_start_xmit()
584 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); in ks8851_rxctrl_work()
597 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_rx_mode()
665 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_ioctl()
695 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_msglevel()
701 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_msglevel()
708 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link_ksettings()
718 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_link_ksettings()
724 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link()
730 struct ks8851_net *ks = netdev_priv(dev); in ks8851_nway_reset()
738 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread()
750 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite()
772 static int ks8851_eeprom_claim(struct ks8851_net *ks) in ks8851_eeprom_claim()
785 static void ks8851_eeprom_release(struct ks8851_net *ks) in ks8851_eeprom_release()
797 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_eeprom()
844 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom()
871 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom_len()
922 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_read_common()
967 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_write()
981 struct ks8851_net *ks = bus->priv; in ks8851_mdio_read()
997 struct ks8851_net *ks = bus->priv; in ks8851_mdio_write()
1009 static void ks8851_read_selftest(struct ks8851_net *ks) in ks8851_read_selftest()
1034 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_suspend()
1048 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_resume()
1061 static int ks8851_register_mdiobus(struct ks8851_net *ks, struct device *dev) in ks8851_register_mdiobus()
1091 static void ks8851_unregister_mdiobus(struct ks8851_net *ks) in ks8851_unregister_mdiobus()
1100 struct ks8851_net *ks = netdev_priv(netdev); in ks8851_probe_common()
1234 struct ks8851_net *priv = dev_get_drvdata(dev); in ks8851_remove_common()