Lines Matching refs:LOG_BITS_PER_AU
38 #define LOG_BITS_PER_AU 4
46 #define LOG_BITS_PER_AU 3
128 #if LOG_BITS_PER_AU == LOG_TARGET_AU_BITS
133 #elif LOG_BITS_PER_AU > LOG_TARGET_AU_BITS
134 #define TADDR_TO_HOST(x) ((x) >> (LOG_BITS_PER_AU-LOG_TARGET_AU_BITS))
135 #define HOST_TO_TADDR(x) ((x) << (LOG_BITS_PER_AU-LOG_TARGET_AU_BITS))
137 #define TADDR_TO_HOST(x) ((x) << (LOG_TARGET_AU_BITS-LOG_BITS_PER_AU))
138 #define HOST_TO_TADDR(x) ((x) >> (LOG_TARGET_AU_BITS-LOG_BITS_PER_AU))
141 #if LOG_BITS_PER_AU == LOG_TDATA_AU_BITS
150 #elif LOG_BITS_PER_AU > LOG_TDATA_AU_BITS
151 #define TDATA_TO_HOST(x) ((x) >> (LOG_BITS_PER_AU-LOG_TDATA_AU_BITS))
152 #define HOST_TO_TDATA(x) ((x) << (LOG_BITS_PER_AU-LOG_TDATA_AU_BITS))
153 #define HOST_TO_TDATA_ROUND(x) ((x) << (LOG_BITS_PER_AU-LOG_TDATA_AU_BITS))
156 #define TDATA_TO_HOST(x) ((x) << (LOG_TDATA_AU_BITS-LOG_BITS_PER_AU))
157 #define HOST_TO_TDATA(x) ((x) >> (LOG_TDATA_AU_BITS-LOG_BITS_PER_AU))
159 (1<<(LOG_TDATA_AU_BITS-LOG_BITS_PER_AU))-1) >>\
160 (LOG_TDATA_AU_BITS-LOG_BITS_PER_AU))
171 #if LOG_BITS_PER_AU == LOG_BITS_PER_BYTE
175 #elif LOG_BITS_PER_AU >= LOG_BITS_PER_BYTE
176 #define BYTE_TO_HOST(x) ((x) >> (LOG_BITS_PER_AU - LOG_BITS_PER_BYTE))
178 (LOG_BITS_PER_AU - LOG_BITS_PER_BYTE))
179 #define HOST_TO_BYTE(x) ((x) << (LOG_BITS_PER_AU - LOG_BITS_PER_BYTE))
222 #define LOG_TGTAU_BITS LOG_BITS_PER_AU