Searched refs:bcom_sram (Results 1 – 2 of 2) sorted by relevance
27 struct bcom_sram *bcom_sram = NULL; variable45 if (bcom_sram) { in bcom_sram_init()51 bcom_sram = kmalloc(sizeof(struct bcom_sram), GFP_KERNEL); in bcom_sram_init()52 if (!bcom_sram) { in bcom_sram_init()82 bcom_sram->base_virt = (void*) ioremap(bcom_sram->base_phys, bcom_sram->size); in bcom_sram_init()87 owner, (long)bcom_sram->base_phys, bcom_sram->size ); in bcom_sram_init()106 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); in bcom_sram_init()123 release_mem_region(bcom_sram->base_phys, bcom_sram->size); in bcom_sram_init()125 kfree(bcom_sram); in bcom_sram_init()135 if (bcom_sram) { in bcom_sram_cleanup()[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()
Completed in 3 milliseconds