Lines Matching refs:reg0
493 struct linux_prom_registers reg0; in jsflash_init() local
499 (char *)®0, sizeof(reg0)) == -1) { in jsflash_init()
503 if (reg0.which_io != 0) { in jsflash_init()
505 reg0.which_io, reg0.phys_addr); in jsflash_init()
513 if ((reg0.phys_addr >> 24) != 0x20) { in jsflash_init()
515 reg0.which_io, reg0.phys_addr); in jsflash_init()
519 if ((int)reg0.reg_size <= 0) { in jsflash_init()
520 printk("jsflash: bad size 0x%x\n", (int)reg0.reg_size); in jsflash_init()
531 reg0.which_io = 0; in jsflash_init()
532 reg0.phys_addr = 0x20400000; in jsflash_init()
533 reg0.reg_size = 0x00800000; in jsflash_init()
545 jsf->base = reg0.phys_addr; in jsflash_init()
546 jsf->size = reg0.reg_size; in jsflash_init()