Searched refs:mmio (Results 1 – 3 of 3) sorted by relevance
/external/qemu/hw/ |
D | sysbus.c | 38 if (dev->mmio[n].addr == addr) { in sysbus_mmio_map() 42 if (dev->mmio[n].addr != (target_phys_addr_t)-1) { in sysbus_mmio_map() 44 cpu_register_physical_memory(dev->mmio[n].addr, dev->mmio[n].size, in sysbus_mmio_map() 47 dev->mmio[n].addr = addr; in sysbus_mmio_map() 48 if (dev->mmio[n].cb) { in sysbus_mmio_map() 49 dev->mmio[n].cb(dev, addr); in sysbus_mmio_map() 51 cpu_register_physical_memory(addr, dev->mmio[n].size, in sysbus_mmio_map() 52 dev->mmio[n].iofunc); in sysbus_mmio_map() 84 dev->mmio[n].addr = -1; in sysbus_init_mmio() 85 dev->mmio[n].size = size; in sysbus_init_mmio() [all …]
|
D | sysbus.h | 25 } mmio[QDEV_MAX_MMIO]; member
|
/external/qemu/ |
D | exec.c | 2299 static int subpage_register (subpage_t *mmio, uint32_t start, uint32_t end, 2832 static inline uint32_t subpage_readlen (subpage_t *mmio, target_phys_addr_t addr, in subpage_readlen() argument 2841 mmio, len, addr, idx); in subpage_readlen() 2843 ret = (**mmio->mem_read[idx][len])(mmio->opaque[idx][0][len], in subpage_readlen() 2844 addr + mmio->region_offset[idx][0][len]); in subpage_readlen() 2849 static inline void subpage_writelen (subpage_t *mmio, target_phys_addr_t addr, in subpage_writelen() argument 2857 mmio, len, addr, idx, value); in subpage_writelen() 2859 (**mmio->mem_write[idx][len])(mmio->opaque[idx][1][len], in subpage_writelen() 2860 addr + mmio->region_offset[idx][1][len], in subpage_writelen() 2930 static int subpage_register (subpage_t *mmio, uint32_t start, uint32_t end, in subpage_register() argument [all …]
|