Searched refs:soc_ctrl_dev (Results 1 – 1 of 1) sorted by relevance
78 struct litex_soc_ctrl_device *soc_ctrl_dev = in litex_reset_handler() local81 litex_write32(soc_ctrl_dev->base + RESET_REG_OFF, RESET_REG_VALUE); in litex_reset_handler()95 struct litex_soc_ctrl_device *soc_ctrl_dev; in litex_soc_ctrl_probe() local98 soc_ctrl_dev = devm_kzalloc(&pdev->dev, sizeof(*soc_ctrl_dev), GFP_KERNEL); in litex_soc_ctrl_probe()99 if (!soc_ctrl_dev) in litex_soc_ctrl_probe()102 soc_ctrl_dev->base = devm_platform_ioremap_resource(pdev, 0); in litex_soc_ctrl_probe()103 if (IS_ERR(soc_ctrl_dev->base)) in litex_soc_ctrl_probe()104 return PTR_ERR(soc_ctrl_dev->base); in litex_soc_ctrl_probe()106 error = litex_check_csr_access(soc_ctrl_dev->base); in litex_soc_ctrl_probe()110 platform_set_drvdata(pdev, soc_ctrl_dev); in litex_soc_ctrl_probe()[all …]