Lines Matching refs:ks8851_net
106 struct ks8851_net { struct
167 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned reg, unsigned val) in ks8851_wrreg16()
194 static void ks8851_wrreg8(struct ks8851_net *ks, unsigned reg, unsigned val) in ks8851_wrreg8()
230 static inline bool ks8851_rx_1msg(struct ks8851_net *ks) in ks8851_rx_1msg()
245 static void ks8851_rdreg(struct ks8851_net *ks, unsigned op, in ks8851_rdreg()
293 static unsigned ks8851_rdreg8(struct ks8851_net *ks, unsigned reg) in ks8851_rdreg8()
308 static unsigned ks8851_rdreg16(struct ks8851_net *ks, unsigned reg) in ks8851_rdreg16()
325 static unsigned ks8851_rdreg32(struct ks8851_net *ks, unsigned reg) in ks8851_rdreg32()
348 static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op) in ks8851_soft_reset()
363 static void ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) in ks8851_set_powermode()
387 struct ks8851_net *ks = netdev_priv(dev); in ks8851_write_mac_addr()
415 struct ks8851_net *ks = netdev_priv(dev); in ks8851_read_mac_addr()
435 static void ks8851_init_mac(struct ks8851_net *ks) in ks8851_init_mac()
462 static void ks8851_rdfifo(struct ks8851_net *ks, u8 *buff, unsigned len) in ks8851_rdfifo()
496 static void ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) in ks8851_dbg_dumpkkt()
513 static void ks8851_rx_pkts(struct ks8851_net *ks) in ks8851_rx_pkts()
601 struct ks8851_net *ks = _ks; in ks8851_irq()
708 static void ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq) in ks8851_wrpkt()
748 static void ks8851_done_tx(struct ks8851_net *ks, struct sk_buff *txb) in ks8851_done_tx()
767 struct ks8851_net *ks = container_of(work, struct ks8851_net, tx_work); in ks8851_tx_work()
799 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_open()
877 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_stop()
933 struct ks8851_net *ks = netdev_priv(dev); in ks8851_start_xmit()
971 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work); in ks8851_rxctrl_work()
983 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_rx_mode()
1051 struct ks8851_net *ks = netdev_priv(dev); in ks8851_net_ioctl()
1082 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_msglevel()
1088 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_msglevel()
1094 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_settings()
1100 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_settings()
1106 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_link()
1112 struct ks8851_net *ks = netdev_priv(dev); in ks8851_nway_reset()
1120 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regread()
1132 struct ks8851_net *ks = ee->data; in ks8851_eeprom_regwrite()
1154 static int ks8851_eeprom_claim(struct ks8851_net *ks) in ks8851_eeprom_claim()
1172 static void ks8851_eeprom_release(struct ks8851_net *ks) in ks8851_eeprom_release()
1185 struct ks8851_net *ks = netdev_priv(dev); in ks8851_set_eeprom()
1226 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom()
1247 struct ks8851_net *ks = netdev_priv(dev); in ks8851_get_eeprom_len()
1313 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_read()
1331 struct ks8851_net *ks = netdev_priv(dev); in ks8851_phy_write()
1348 static int ks8851_read_selftest(struct ks8851_net *ks) in ks8851_read_selftest()
1380 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_suspend()
1393 struct ks8851_net *ks = dev_get_drvdata(dev); in ks8851_resume()
1410 struct ks8851_net *ks; in ks8851_probe()
1415 ndev = alloc_etherdev(sizeof(struct ks8851_net)); in ks8851_probe()
1584 struct ks8851_net *priv = spi_get_drvdata(spi); in ks8851_remove()