Home
last modified time | relevance | path

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

/drivers/staging/octeon/
Dethernet-mem.c86 char *fpa; in cvm_oct_fill_hw_memory() local
106 fpa = (char *)(((unsigned long)memory + 256) & ~0x7fUL); in cvm_oct_fill_hw_memory()
107 *((char **)fpa - 1) = memory; in cvm_oct_fill_hw_memory()
108 cvmx_fpa_free(fpa, pool, 0); in cvm_oct_fill_hw_memory()
123 char *fpa; in cvm_oct_free_hw_memory() local
126 fpa = cvmx_fpa_alloc(pool); in cvm_oct_free_hw_memory()
127 if (fpa) { in cvm_oct_free_hw_memory()
129 fpa = (char *)phys_to_virt(cvmx_ptr_to_phys(fpa)); in cvm_oct_free_hw_memory()
130 memory = *((char **)fpa - 1); in cvm_oct_free_hw_memory()
133 } while (fpa); in cvm_oct_free_hw_memory()
/drivers/mtd/onenand/
Dsamsung.c138 unsigned int (*mem_addr)(int fba, int fpa, int fsa);
192 static unsigned int s3c6400_mem_addr(int fba, int fpa, int fsa) in s3c6400_mem_addr() argument
194 return (fba << S3C6400_FBA_SHIFT) | (fpa << S3C6400_FPA_SHIFT) | in s3c6400_mem_addr()
198 static unsigned int s3c6410_mem_addr(int fba, int fpa, int fsa) in s3c6410_mem_addr() argument
200 return (fba << S3C6410_FBA_SHIFT) | (fpa << S3C6410_FPA_SHIFT) | in s3c6410_mem_addr()
389 int fba, fpa, fsa = 0; in s3c_onenand_command() local
395 fpa = (int) (addr >> this->page_shift); in s3c_onenand_command()
396 fpa &= this->page_mask; in s3c_onenand_command()
398 mem_addr = onenand->mem_addr(fba, fpa, fsa); in s3c_onenand_command()
Donenand_base.c233 int fpa, fsa; in onenand_page_address() local
235 fpa = page & ONENAND_FPA_MASK; in onenand_page_address()
238 return ((fpa << ONENAND_FPA_SHIFT) | fsa); in onenand_page_address()