Searched refs:IO_MEM_SHIFT (Results 1 – 4 of 4) sorted by relevance
107 #define IO_MEM_SHIFT 3 macro109 #define IO_MEM_RAM (0 << IO_MEM_SHIFT) /* hardcoded offset */110 #define IO_MEM_ROM (1 << IO_MEM_SHIFT) /* hardcoded offset */111 #define IO_MEM_UNASSIGNED (2 << IO_MEM_SHIFT)112 #define IO_MEM_NOTDIRTY (3 << IO_MEM_SHIFT)
74 index = (physaddr >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in glue()77 if (index > (IO_MEM_NOTDIRTY >> IO_MEM_SHIFT) in glue()253 index = (physaddr >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in glue()255 if (index > (IO_MEM_NOTDIRTY >> IO_MEM_SHIFT) in glue()
2412 >> IO_MEM_SHIFT]; in cpu_register_physical_memory_log()3147 memory >>= IO_MEM_SHIFT; in subpage_register()3219 io_index >>= IO_MEM_SHIFT; in cpu_register_io_memory_fixed()3231 return (io_index << IO_MEM_SHIFT) | subwidth; in cpu_register_io_memory_fixed()3244 int io_index = io_table_address >> IO_MEM_SHIFT; in cpu_unregister_io_memory()3338 io_index = (pd >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in cpu_physical_memory_rw()3378 io_index = (pd >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in cpu_physical_memory_rw()3612 io_index = (pd >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in ldl_phys()3644 io_index = (pd >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in ldq_phys()3697 io_index = (pd >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in stl_phys_notdirty()[all …]
941 #define IO_MEM_NB_ENTRIES (1 << (TARGET_PAGE_BITS - IO_MEM_SHIFT))