Home
last modified time | relevance | path

Searched refs:TESTvalue (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/arcnet/
H A Dcom90xx.c233 if (arcnet_readb(base, COM9026_REG_R_STATUS) != TESTvalue) { in com90xx_probe()
236 TESTvalue); in com90xx_probe()
242 /* By writing 0x42 to the TESTvalue location, we also make in com90xx_probe()
245 * because *cptr != TESTvalue. in com90xx_probe()
379 arcnet_writeb(TESTvalue, iomem[0], in com90xx_probe()
391 if (arcnet_readb(base, COM9026_REG_R_STATUS) == TESTvalue) { /* found one */ in com90xx_probe()
426 /* Now put back TESTvalue on all leftover shmems. */ in com90xx_probe()
428 arcnet_writeb(TESTvalue, iomem[index], COM9026_REG_W_INTMASK); in com90xx_probe()
446 if (arcnet_readb(p, COM9026_REG_R_STATUS) == TESTvalue) in check_mirror()
484 if (arcnet_readb(p, COM9026_REG_R_STATUS) == TESTvalue in com90xx_found()
[all...]
H A Darc-rimi.c109 if (arcnet_readb(p, COM9026_REG_R_STATUS) == TESTvalue) in check_mirror()
147 arcnet_writeb(TESTvalue, p, COM9026_REG_W_INTMASK); in arcrimi_found()
148 arcnet_writeb(TESTvalue, p, COM9026_REG_W_COMMAND); in arcrimi_found()
158 if (arcnet_readb(p, COM9026_REG_R_STATUS) == TESTvalue && in arcrimi_found()
250 arcnet_writeb(TESTvalue, ioaddr, -0x800); /* fake reset */ in arcrimi_reset()
H A Dcom20020.c146 if (status != TESTvalue) { in com20020_check()
317 if (inbyte != TESTvalue) { in com20020_reset()
320 arc_printk(D_NORMAL, dev, "reset failed: TESTvalue not present.\n"); in com20020_reset()
H A Darcdevice.h175 #define TESTvalue 0321 /* that's octal for 0xD1 :) */ macro