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()
239 static void ks8851_rx_skb(struct ks8851_net *ks, struct sk_buff *skb) in ks8851_rx_skb()
252 static void ks8851_rx_pkts(struct ks8851_net *ks) in ks8851_rx_pkts()
338 struct ks8851_net *ks = _ks; in ks8851_irq()
427 static void ks8851_flush_tx_work(struct ks8851_net *ks) in ks8851_flush_tx_work()
442 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_open()
522 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_stop()
581 struct ks8851_net *ks = netdev_priv(dev); in ks8851_start_xmit()
601 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); in ks8851_rxctrl_work()
614 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_rx_mode()
682 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_ioctl()
712 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_msglevel()
718 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_msglevel()
725 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link_ksettings()
735 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_link_ksettings()
741 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link()
747 struct ks8851_net *ks = netdev_priv(dev); in ks8851_nway_reset()
755 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread()
767 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite()
789 static int ks8851_eeprom_claim(struct ks8851_net *ks) in ks8851_eeprom_claim()
802 static void ks8851_eeprom_release(struct ks8851_net *ks) in ks8851_eeprom_release()
814 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_eeprom()
861 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom()
888 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom_len()
939 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_read_common()
984 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_write()
998 struct ks8851_net *ks = bus->priv; in ks8851_mdio_read()
1014 struct ks8851_net *ks = bus->priv; in ks8851_mdio_write()
1026 static void ks8851_read_selftest(struct ks8851_net *ks) in ks8851_read_selftest()
1051 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_suspend()
1065 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_resume()
1078 static int ks8851_register_mdiobus(struct ks8851_net *ks, struct device *dev) in ks8851_register_mdiobus()
1108 static void ks8851_unregister_mdiobus(struct ks8851_net *ks) in ks8851_unregister_mdiobus()
1117 struct ks8851_net *ks = netdev_priv(netdev); in ks8851_probe_common()
1252 struct ks8851_net *priv = dev_get_drvdata(dev); in ks8851_remove_common()