Searched refs:bcom_sram (Results 1 – 2 of 2) sorted by relevance
31 struct bcom_sram *bcom_sram = NULL; variable32 EXPORT_SYMBOL_GPL(bcom_sram); /* needed for inline functions */49 if (bcom_sram) { in bcom_sram_init()55 bcom_sram = kmalloc(sizeof(struct bcom_sram), GFP_KERNEL); in bcom_sram_init()56 if (!bcom_sram) { in bcom_sram_init()73 bcom_sram->base_phys = (phys_addr_t) regaddr64; in bcom_sram_init()74 bcom_sram->size = (unsigned int) size64; in bcom_sram_init()77 if (!request_mem_region(bcom_sram->base_phys, bcom_sram->size, owner)) { in bcom_sram_init()86 bcom_sram->base_virt = (void*) ioremap(bcom_sram->base_phys, bcom_sram->size); in bcom_sram_init()88 if (!bcom_sram->base_virt) { in bcom_sram_init()[all …]
24 struct bcom_sram { struct32 extern struct bcom_sram *bcom_sram; argument43 return bcom_sram->base_phys + in bcom_sram_va2pa()44 (unsigned long)(va - bcom_sram->base_virt); in bcom_sram_va2pa()48 return bcom_sram->base_virt + in bcom_sram_pa2va()49 (unsigned long)(pa - bcom_sram->base_phys); in bcom_sram_pa2va()