Home
last modified time | relevance | path

Searched refs:_msChunks (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/include/asm-ppc64/
Dabs_addr.h40 struct msChunks *_msChunks = PTRRELOC(&msChunks); in chunk_to_addr() local
42 return chunk << _msChunks->chunk_shift; in chunk_to_addr()
49 struct msChunks *_msChunks = PTRRELOC(&msChunks); in addr_to_chunk() local
51 return addr >> _msChunks->chunk_shift; in addr_to_chunk()
58 struct msChunks *_msChunks = PTRRELOC(&msChunks); in chunk_offset() local
60 return addr & _msChunks->chunk_mask; in chunk_offset()
67 struct msChunks *_msChunks = PTRRELOC(&msChunks); in abs_chunk() local
68 if ( pchunk >= _msChunks->num_chunks ) { in abs_chunk()
71 return PTRRELOC(_msChunks->abs)[pchunk]; in abs_chunk()
/linux-2.4.37.9/arch/ppc64/kernel/
DLparData.c237 struct msChunks *_msChunks = PTRRELOC(&msChunks); in msChunks_alloc() local
239 _msChunks->num_chunks = num_chunks; in msChunks_alloc()
240 _msChunks->chunk_size = chunk_size; in msChunks_alloc()
241 _msChunks->chunk_shift = __ilog2(chunk_size); in msChunks_alloc()
242 _msChunks->chunk_mask = (1UL<<_msChunks->chunk_shift)-1; in msChunks_alloc()
245 _msChunks->abs = (msChunks_entry *)(mem + offset); in msChunks_alloc()
Dprom.c729 struct msChunks *_msChunks = PTRRELOC(&msChunks); in prom_initialize_mschunks() local
749 PTRRELOC(_msChunks->abs)[pchunk++] = achunk++; in prom_initialize_mschunks() local
766 PTRRELOC(_msChunks->abs)[pchunk++] = achunk++; in prom_initialize_mschunks() local
779 struct msChunks *_msChunks = PTRRELOC(&msChunks); in prom_dump_mschunks_mapping() local
784 prom_print_hex(_msChunks->num_chunks); in prom_dump_mschunks_mapping()
787 prom_print_hex(_msChunks->chunk_size); in prom_dump_mschunks_mapping()
790 prom_print_hex(_msChunks->chunk_shift); in prom_dump_mschunks_mapping()
793 prom_print_hex(_msChunks->chunk_mask); in prom_dump_mschunks_mapping()
796 prom_print_hex(_msChunks->abs); in prom_dump_mschunks_mapping()
800 for(chunk=0; chunk < _msChunks->num_chunks ;chunk++) { in prom_dump_mschunks_mapping()
[all …]