Home
last modified time | relevance | path

Searched refs:dp_alloc_base (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/ppc/cpm2_io/
Dcommproc.c32 static uint dp_alloc_base; /* Starting offset in DP ram */ variable
55 dp_alloc_base = CPM_DATAONLY_BASE; in cpm2_reset()
56 dp_alloc_top = dp_alloc_base + CPM_DATAONLY_SIZE; in cpm2_reset()
83 savebase = dp_alloc_base; in cpm2_dpalloc()
85 if ((off = (dp_alloc_base & align_mask)) != 0) in cpm2_dpalloc()
86 dp_alloc_base += (align - off); in cpm2_dpalloc()
88 if ((dp_alloc_base + size) >= dp_alloc_top) { in cpm2_dpalloc()
89 dp_alloc_base = savebase; in cpm2_dpalloc()
93 retloc = dp_alloc_base; in cpm2_dpalloc()
94 dp_alloc_base += size; in cpm2_dpalloc()
/linux-2.4.37.9/arch/ppc/8xx_io/
Dcommproc.c39 static uint dp_alloc_base; /* Starting offset in DP ram */ variable
139 dp_alloc_base = CPM_DATAONLY_BASE; in m8xx_cpm_reset()
140 dp_alloc_top = dp_alloc_base + CPM_DATAONLY_SIZE; in m8xx_cpm_reset()
306 if ((dp_alloc_base + size) >= dp_alloc_top) in m8xx_cpm_dpalloc()
309 retloc = dp_alloc_base; in m8xx_cpm_dpalloc()
310 dp_alloc_base += size; in m8xx_cpm_dpalloc()