kernels/linux-2.4.0/drivers/usb/ov511.c
/* Here we want the physical address of the memory.
 * This is used when initializing the contents of the
 * area and marking the pages as reserved.
 */
Here we want the physical address of the memory.
This is used when initializing the contents of the
area and marking the pages as reserved.
Here we want the physical address of the memory . This is used when initializing the contents of the area and marking the pages as reserved .
static inline unsigned long kvirt_to_pa(unsigned long adr)
{
	unsigned long va, kva, ret;
	va = VMALLOC_VMADDR(adr);
	kva = uvirt_to_kva(pgd_offset_k(va), va);
	ret = __pa(kva);
	return ret;
}
static inline unsigned long kvirt_to_pa ( unsigned long adr ) { unsigned long va , kva , ret ; va = VMALLOC_VMADDR ( adr ) ; kva = uvirt_to_kva ( pgd_offset_k ( va ) , va ) ; ret = __pa ( kva ) ; return ret ; }
Here we want the physical address of the memory.
Here we want the physical address of the memory .