Lines Matching refs:address
180 u_int address;
188 address = 0x40;
191 id = podule->read_rom(podule->sync_base, address);
192 size = podule->read_rom(podule->sync_base, address + 4);
193 size |= (podule->read_rom(podule->sync_base, address + 8) << 8);
194 size |= (podule->read_rom(podule->sync_base, address + 12) << 16);
196 addr = podule->read_rom(podule->sync_base, address + 16);
197 addr |= (podule->read_rom(podule->sync_base, address + 20) << 8);
198 addr |= (podule->read_rom(podule->sync_base, address + 24) << 16);
199 addr |= (podule->read_rom(podule->sync_base, address + 28) << 24);
213 addr = podule->read_rom(podule->sync_base, address + 16);
214 addr |= (podule->read_rom(podule->sync_base, address + 20) << 8);
215 addr |= (podule->read_rom(podule->sync_base, address + 24) << 16);
216 addr |= (podule->read_rom(podule->sync_base, address + 28) << 24);
217 printf("<%04x.%04x.%04x.%04x>", id, address, addr, size);
226 address += 32;
227 } while (id != 0 && address < 0x800);
299 poduleread(u_int address, int offset)
302 return(ReadByte(address + offset));
310 u_char *address;
327 address = ((u_char *)SYNC_PODULE_BASE) + offset;
329 if ((address[0] & 0x02) == 0x00) {
337 address = ((u_char *)EASI_BASE) + loop * EASI_SIZE;
338 if ((address[0] & 0x02) != 0x00)
365 podule->flags0 = address[0];
367 podule->flags1 = address[4];
368 podule->reserved = address[8];
369 podule->product = address[12] + (address[16] << 8);
370 podule->manufacturer = address[20] + (address[24] << 8);
371 podule->country = address[28];
373 podule->irq_addr = address[52] + (address[56] << 8) + (address[60] << 16);
375 podule->irq_mask = address[48];
378 podule->fiq_addr = address[36] + (address[40] << 8) + (address[44] << 16);
380 podule->fiq_mask = address[32];
551 * Generate a bus_space_tag_t with the specified address-bus shift.