Lines Matching refs:lp
464 struct arcnet_local *lp; in com90xx_found() local
476 lp = netdev_priv(dev); in com90xx_found()
518 lp->card_name = "COM90xx"; in com90xx_found()
519 lp->hw.command = com90xx_command; in com90xx_found()
520 lp->hw.status = com90xx_status; in com90xx_found()
521 lp->hw.intmask = com90xx_setmask; in com90xx_found()
522 lp->hw.reset = com90xx_reset; in com90xx_found()
523 lp->hw.owner = THIS_MODULE; in com90xx_found()
524 lp->hw.copy_to_card = com90xx_copy_to_card; in com90xx_found()
525 lp->hw.copy_from_card = com90xx_copy_from_card; in com90xx_found()
526 lp->mem_start = ioremap(dev->mem_start, in com90xx_found()
528 if (!lp->mem_start) { in com90xx_found()
534 dev->dev_addr[0] = arcnet_readb(lp->mem_start, COM9026_REG_R_STATION); in com90xx_found()
551 iounmap(lp->mem_start); in com90xx_found()
591 struct arcnet_local *lp = netdev_priv(dev); in com90xx_reset() local
613 if (arcnet_readb(lp->mem_start, COM9026_REG_R_STATUS) != TESTvalue) { in com90xx_reset()
623 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
632 struct arcnet_local *lp = netdev_priv(dev); in com90xx_copy_to_card() local
633 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
641 struct arcnet_local *lp = netdev_priv(dev); in com90xx_copy_from_card() local
642 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
662 struct arcnet_local *lp; in com90xx_exit() local
667 lp = netdev_priv(dev); in com90xx_exit()
671 iounmap(lp->mem_start); in com90xx_exit()