Searched refs:bcom_sram (Results 1 – 2 of 2) sorted by relevance
27 struct bcom_sram *bcom_sram = NULL; variable28 EXPORT_SYMBOL_GPL(bcom_sram); /* needed for inline functions */45 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()66 bcom_sram->base_phys = res.start; in bcom_sram_init()67 bcom_sram->size = resource_size(&res); in bcom_sram_init()79 bcom_sram->base_virt = (void *)ioremap(res.start, resource_size(&res)); in bcom_sram_init()81 if (!bcom_sram->base_virt) { in bcom_sram_init()84 owner, (long)bcom_sram->base_phys, bcom_sram->size ); 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()