Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 10 of 10) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvMM.c143 mapsize = (mapsize + BITS_PER_LONG - 1) / BITS_PER_LONG; in init_cache_memory()
179 i += BITS_PER_LONG, map++) in ncmem_alloc_page()
186 offset = (BITS_PER_LONG * map) + page; in ncmem_alloc_page()
222 map = page / BITS_PER_LONG; in ncmem_free_page()
223 page %= BITS_PER_LONG; in ncmem_free_page()
261 i += BITS_PER_LONG, map++) in ncmem_alloc()
267 offset = (BITS_PER_LONG * map) + page; in ncmem_alloc()
280 if ( page >= BITS_PER_LONG ) in ncmem_alloc()
320 map = page / BITS_PER_LONG; in ncmem_free()
321 page %= BITS_PER_LONG; in ncmem_free()
[all …]
H A DdrvKernel.c189 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
194 U32 result = offset & ~(BITS_PER_LONG-1); in find_next_zero_bit()
200 offset %= BITS_PER_LONG; in find_next_zero_bit()
203 tmp |= ~0UL >> (BITS_PER_LONG - offset); in find_next_zero_bit()
204 if (size < BITS_PER_LONG) in find_next_zero_bit()
208 size -= BITS_PER_LONG; in find_next_zero_bit()
209 result += BITS_PER_LONG; in find_next_zero_bit()
229 while (size & ~(BITS_PER_LONG-1)) { in find_next_zero_bit()
232 result += BITS_PER_LONG; in find_next_zero_bit()
233 size -= BITS_PER_LONG; in find_next_zero_bit()
H A DdrvPCIMEM.c95 blocks -= BITS_PER_LONG; in is_page_busy()
208 mapsize = (mapsize + BITS_PER_LONG - 1) / BITS_PER_LONG; in pool_alloc_page()
264 i += BITS_PER_LONG, map++) { in pci_pool_alloc()
270 offset = (BITS_PER_LONG * map) + block; in pci_pool_alloc()
500 map = block / BITS_PER_LONG; in pci_pool_free()
501 block %= BITS_PER_LONG; in pci_pool_free()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMM.c148 mapsize = (mapsize + BITS_PER_LONG - 1) / BITS_PER_LONG; in init_cache_memory()
185 i += BITS_PER_LONG, map++) in ncmem_alloc_page()
193 offset = (BITS_PER_LONG * map) + page; in ncmem_alloc_page()
229 map = page / BITS_PER_LONG; in ncmem_free_page()
230 page %= BITS_PER_LONG; in ncmem_free_page()
268 i += BITS_PER_LONG, map++) in ncmem_alloc()
275 offset = (BITS_PER_LONG * map) + page; in ncmem_alloc()
288 if ( page >= BITS_PER_LONG ) in ncmem_alloc()
328 map = page / BITS_PER_LONG; in ncmem_free()
329 page %= BITS_PER_LONG; in ncmem_free()
[all …]
H A DdrvKernel.c94 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
107 U32 ms_result = offset & ~(BITS_PER_LONG-1); in find_next_zero_bit()
113 offset %= BITS_PER_LONG; in find_next_zero_bit()
117 ms_tmp |= ~0UL >> (BITS_PER_LONG - offset); in find_next_zero_bit()
118 if (size < BITS_PER_LONG) in find_next_zero_bit()
122 size -= BITS_PER_LONG; in find_next_zero_bit()
123 ms_result += BITS_PER_LONG; in find_next_zero_bit()
125 while (size & ~(BITS_PER_LONG-1)) in find_next_zero_bit()
129 ms_result += BITS_PER_LONG; in find_next_zero_bit()
130 size -= BITS_PER_LONG; in find_next_zero_bit()
H A DdrvPCIMEM.c145 mapsize = (mapsize + BITS_PER_LONG - 1) / BITS_PER_LONG; in pool_alloc_page()
197 for (iMap = 0, i = 0; i < pMem_pool->blocks_per_page; i += BITS_PER_LONG, iMap++) in ms_mem_pool_alloc()
205 u32Offset = (BITS_PER_LONG * iMap) + iBlock; in ms_mem_pool_alloc()
237 ms_blocks -= BITS_PER_LONG; in __is_page_busy()
324 iMap = iBlock / BITS_PER_LONG; in ms_mem_pool_free()
325 iBlock %= BITS_PER_LONG; in ms_mem_pool_free()
/utopia/UTPA2-700.0.x/projects/build/scripts/mod/
H A Dfile2alias.c19 #define BITS_PER_LONG 32 macro
22 #define BITS_PER_LONG 64 macro
597 if (arr[i / BITS_PER_LONG] & (1L << (i%BITS_PER_LONG))) in do_input()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvPCIMEM.h89 #define BITS_PER_LONG 32 macro
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvPCIMEM.h91 #define BITS_PER_LONG 32 macro
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dreiserfs_fs.h963 #if BITS_PER_LONG == 64 || defined(__s390__) || defined(__hppa__)