Lines Matching defs:ks
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() local
165 struct ks8851_net *ks = netdev_priv(dev); in ks8851_read_mac_addr() local
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() local
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() local
522 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_stop() local
581 struct ks8851_net *ks = netdev_priv(dev); in ks8851_start_xmit() local
601 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); in ks8851_rxctrl_work() local
614 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_rx_mode() local
682 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_ioctl() local
712 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_msglevel() local
718 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_msglevel() local
725 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link_ksettings() local
735 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_link_ksettings() local
741 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link() local
747 struct ks8851_net *ks = netdev_priv(dev); in ks8851_nway_reset() local
755 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread() local
767 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite() local
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() local
861 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom() local
888 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom_len() local
939 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_read_common() local
984 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_write() local
998 struct ks8851_net *ks = bus->priv; in ks8851_mdio_read() local
1014 struct ks8851_net *ks = bus->priv; in ks8851_mdio_write() local
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() local
1065 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_resume() local
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() local