Lines Matching +full:0 +full:xff400000
30 #define BIOS_CNTL 0x4e
31 #define FWH_DEC_EN1 0xE3
32 #define FWH_DEC_EN2 0xF0
33 #define FWH_SEL1 0xE8
34 #define FWH_SEL2 0xEE
83 window->phys = 0; in ichxrom_cleanup()
84 window->size = 0; in ichxrom_cleanup()
113 window->phys = 0; in ichxrom_init_one()
115 if (byte == 0xff) { in ichxrom_init_one()
116 window->phys = 0xffc00000; in ichxrom_init_one()
118 if ((byte & 0x0f) == 0x0f) { in ichxrom_init_one()
119 window->phys = 0xff400000; in ichxrom_init_one()
121 else if ((byte & 0x0e) == 0x0e) { in ichxrom_init_one()
122 window->phys = 0xff500000; in ichxrom_init_one()
124 else if ((byte & 0x0c) == 0x0c) { in ichxrom_init_one()
125 window->phys = 0xff600000; in ichxrom_init_one()
127 else if ((byte & 0x08) == 0x08) { in ichxrom_init_one()
128 window->phys = 0xff700000; in ichxrom_init_one()
131 else if ((byte & 0xfe) == 0xfe) { in ichxrom_init_one()
132 window->phys = 0xffc80000; in ichxrom_init_one()
134 else if ((byte & 0xfc) == 0xfc) { in ichxrom_init_one()
135 window->phys = 0xffd00000; in ichxrom_init_one()
137 else if ((byte & 0xf8) == 0xf8) { in ichxrom_init_one()
138 window->phys = 0xffd80000; in ichxrom_init_one()
140 else if ((byte & 0xf0) == 0xf0) { in ichxrom_init_one()
141 window->phys = 0xffe00000; in ichxrom_init_one()
143 else if ((byte & 0xe0) == 0xe0) { in ichxrom_init_one()
144 window->phys = 0xffe80000; in ichxrom_init_one()
146 else if ((byte & 0xc0) == 0xc0) { in ichxrom_init_one()
147 window->phys = 0xfff00000; in ichxrom_init_one()
149 else if ((byte & 0x80) == 0x80) { in ichxrom_init_one()
150 window->phys = 0xfff80000; in ichxrom_init_one()
153 if (window->phys == 0) { in ichxrom_init_one()
157 window->phys -= 0x400000UL; in ichxrom_init_one()
158 window->size = (0xffffffffUL - window->phys) + 1UL; in ichxrom_init_one()
196 if ((window->phys & 0x3fffff) != 0) { in ichxrom_init_one()
197 map_top = window->phys + 0x400000; in ichxrom_init_one()
201 * registers sets them to 0x7 (no access). in ichxrom_init_one()
204 if (map_top < 0xffc00000) { in ichxrom_init_one()
205 map_top = 0xffc00000; in ichxrom_init_one()
209 while((map_top - 1) < 0xffffffffUL) { in ichxrom_init_one()
219 memset(map, 0, sizeof(*map)); in ichxrom_init_one()
226 map->map.size = 0xffffffffUL - map_top + 1UL; in ichxrom_init_one()
285 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
291 if (mtd_device_register(map->mtd, NULL, 0)) { in ichxrom_init_one()
315 return 0; in ichxrom_init_one()
336 { 0, },
339 #if 0
363 return ichxrom_init_one(pdev, &ichxrom_pci_tbl[0]); in init_ichxrom()
366 #if 0 in init_ichxrom()