Lines Matching refs:ks8851_net
62 * struct ks8851_net - KS8851 driver private data
98 struct ks8851_net {
155 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned reg, unsigned val)
182 static void ks8851_wrreg8(struct ks8851_net *ks, unsigned reg, unsigned val)
218 static inline bool ks8851_rx_1msg(struct ks8851_net *ks)
233 static void ks8851_rdreg(struct ks8851_net *ks, unsigned op,
281 static unsigned ks8851_rdreg8(struct ks8851_net *ks, unsigned reg)
296 static unsigned ks8851_rdreg16(struct ks8851_net *ks, unsigned reg)
313 static unsigned ks8851_rdreg32(struct ks8851_net *ks, unsigned reg)
336 static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op)
355 struct ks8851_net *ks = netdev_priv(dev);
380 static void ks8851_init_mac(struct ks8851_net *ks)
391 * @pw: The private word passed to register_irq(), our struct ks8851_net.
398 struct ks8851_net *ks = pw;
414 static void ks8851_rdfifo(struct ks8851_net *ks, u8 *buff, unsigned len)
448 static void ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt)
465 static void ks8851_rx_pkts(struct ks8851_net *ks)
552 struct ks8851_net *ks = container_of(work, struct ks8851_net, irq_work);
658 static void ks8851_wrpkt(struct ks8851_net *ks, struct sk_buff *txp, bool irq)
698 static void ks8851_done_tx(struct ks8851_net *ks, struct sk_buff *txb)
717 struct ks8851_net *ks = container_of(work, struct ks8851_net, tx_work);
747 static void ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode)
769 struct ks8851_net *ks = netdev_priv(dev);
847 struct ks8851_net *ks = netdev_priv(dev);
903 struct ks8851_net *ks = netdev_priv(dev);
941 struct ks8851_net *ks = container_of(work, struct ks8851_net, rxctrl_work);
953 struct ks8851_net *ks = netdev_priv(dev);
1021 struct ks8851_net *ks = netdev_priv(dev);
1067 struct ks8851_net *ks = netdev_priv(dev);
1181 struct ks8851_net *ks = netdev_priv(dev);
1280 struct ks8851_net *ks = netdev_priv(dev);
1286 struct ks8851_net *ks = netdev_priv(dev);
1292 struct ks8851_net *ks = netdev_priv(dev);
1298 struct ks8851_net *ks = netdev_priv(dev);
1304 struct ks8851_net *ks = netdev_priv(dev);
1310 struct ks8851_net *ks = netdev_priv(dev);
1316 struct ks8851_net *ks = netdev_priv(dev);
1323 struct ks8851_net *ks = netdev_priv(dev);
1362 struct ks8851_net *ks = netdev_priv(dev);
1485 struct ks8851_net *ks = netdev_priv(dev);
1503 struct ks8851_net *ks = netdev_priv(dev);
1520 static int ks8851_read_selftest(struct ks8851_net *ks)
1551 struct ks8851_net *ks;
1554 ndev = alloc_etherdev(sizeof(struct ks8851_net));
1663 struct ks8851_net *priv = dev_get_drvdata(&spi->dev);