Lines Matching refs:lp
461 struct arcnet_local *lp; in com90xx_found() local
473 lp = netdev_priv(dev); in com90xx_found()
513 lp->card_name = "COM90xx"; in com90xx_found()
514 lp->hw.command = com90xx_command; in com90xx_found()
515 lp->hw.status = com90xx_status; in com90xx_found()
516 lp->hw.intmask = com90xx_setmask; in com90xx_found()
517 lp->hw.reset = com90xx_reset; in com90xx_found()
518 lp->hw.owner = THIS_MODULE; in com90xx_found()
519 lp->hw.copy_to_card = com90xx_copy_to_card; in com90xx_found()
520 lp->hw.copy_from_card = com90xx_copy_from_card; in com90xx_found()
521 lp->mem_start = ioremap(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
522 if (!lp->mem_start) { in com90xx_found()
528 dev->dev_addr[0] = readb(lp->mem_start + 1); in com90xx_found()
545 iounmap(lp->mem_start); in com90xx_found()
590 struct arcnet_local *lp = netdev_priv(dev); in com90xx_reset() local
607 if (readb(lp->mem_start) != TESTvalue) { in com90xx_reset()
617 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
626 struct arcnet_local *lp = netdev_priv(dev); in com90xx_copy_to_card() local
627 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
635 struct arcnet_local *lp = netdev_priv(dev); in com90xx_copy_from_card() local
636 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
656 struct arcnet_local *lp; in com90xx_exit() local
661 lp = netdev_priv(dev); in com90xx_exit()
665 iounmap(lp->mem_start); in com90xx_exit()