Searched refs:bcom_sram (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/sysdev/bestcomm/
H A Dsram.c30 struct bcom_sram *bcom_sram = NULL; variable in typeref:struct:bcom_sram
31 EXPORT_SYMBOL_GPL(bcom_sram); /* needed for inline functions */ variable
48 if (bcom_sram) {
54 bcom_sram = kmalloc(sizeof(struct bcom_sram), GFP_KERNEL);
55 if (!bcom_sram) {
72 bcom_sram->base_phys = (phys_addr_t) regaddr64;
73 bcom_sram->size = (unsigned int) size64;
76 if (!request_mem_region(bcom_sram
[all...]
H A Dsram.h24 struct bcom_sram { struct
32 extern struct bcom_sram *bcom_sram;
43 return bcom_sram->base_phys +
44 (unsigned long)(va - bcom_sram->base_virt);
48 return bcom_sram->base_virt +
49 (unsigned long)(pa - bcom_sram->base_phys);

Completed in 59 milliseconds