Searched refs:regaddr_p (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/drivers/dma/bestcomm/ |
D | sram.c | 40 const u32 *regaddr_p; in bcom_sram_init() local 59 regaddr_p = of_get_address(sram_node, 0, &size64, NULL); in bcom_sram_init() 60 if (!regaddr_p) { in bcom_sram_init() 67 regaddr64 = of_translate_address(sram_node, regaddr_p); in bcom_sram_init() 100 regaddr_p = NULL; in bcom_sram_init() 104 if (!regaddr_p || !psize) { in bcom_sram_init() 110 phys_addr_t zbase = of_translate_address(sram_node, regaddr_p); in bcom_sram_init() 111 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init() 112 regaddr_p += 2; in bcom_sram_init()
|
/Linux-v6.1/arch/powerpc/platforms/52xx/ |
D | lite5200_pm.c | 58 const u32 *regaddr_p; in lite5200_pm_prepare() local 69 regaddr_p = of_get_address(np, 0, NULL, NULL); in lite5200_pm_prepare() 70 if (regaddr_p) in lite5200_pm_prepare() 71 regaddr64 = of_translate_address(np, regaddr_p); in lite5200_pm_prepare()
|
/Linux-v6.1/drivers/spi/ |
D | spi-mpc52xx-psc.c | 394 const u32 *regaddr_p; in mpc52xx_psc_spi_of_probe() local 398 regaddr_p = of_get_address(op->dev.of_node, 0, &size64, NULL); in mpc52xx_psc_spi_of_probe() 399 if (!regaddr_p) { in mpc52xx_psc_spi_of_probe() 403 regaddr64 = of_translate_address(op->dev.of_node, regaddr_p); in mpc52xx_psc_spi_of_probe()
|
D | spi-mpc512x-psc.c | 577 const u32 *regaddr_p; in mpc512x_psc_spi_of_probe() local 580 regaddr_p = of_get_address(op->dev.of_node, 0, &size64, NULL); in mpc512x_psc_spi_of_probe() 581 if (!regaddr_p) { in mpc512x_psc_spi_of_probe() 585 regaddr64 = of_translate_address(op->dev.of_node, regaddr_p); in mpc512x_psc_spi_of_probe()
|
/Linux-v6.1/drivers/thermal/ |
D | mtk_thermal.c | 819 const __be32 *regaddr_p; in of_get_phys_base() local 821 regaddr_p = of_get_address(np, 0, &size64, NULL); in of_get_phys_base() 822 if (!regaddr_p) in of_get_phys_base() 825 return of_translate_address(np, regaddr_p); in of_get_phys_base()
|
/Linux-v6.1/sound/soc/codecs/ |
D | cros_ec_codec.c | 966 const __be32 *regaddr_p; in cros_ec_codec_platform_probe() local 974 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()
|
/Linux-v6.1/drivers/mmc/host/ |
D | bcm2835.c | 1359 const __be32 *regaddr_p; in bcm2835_probe() local 1381 regaddr_p = of_get_address(pdev->dev.of_node, 0, NULL, NULL); in bcm2835_probe() 1382 if (!regaddr_p) { in bcm2835_probe() 1388 host->phys_addr = be32_to_cpup(regaddr_p); in bcm2835_probe()
|