Searched refs:regaddr_p (Results 1 – 2 of 2) sorted by relevance
40 const u32 *regaddr_p; in bcom_sram_init() local93 regaddr_p = NULL; in bcom_sram_init()96 if (!regaddr_p || !psize) { in bcom_sram_init()102 phys_addr_t zbase = of_translate_address(sram_node, regaddr_p); in bcom_sram_init()103 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init()104 regaddr_p += 2; in bcom_sram_init()
966 const __be32 *regaddr_p; in cros_ec_codec_platform_probe() local974 regaddr_p = of_get_address(dev->of_node, 0, &ec_shm_size, NULL); in cros_ec_codec_platform_probe()975 if (regaddr_p) { in cros_ec_codec_platform_probe()976 priv->ec_shm_addr = of_read_number(regaddr_p, 2); in cros_ec_codec_platform_probe()