Searched refs:rng_priv (Results 1 – 1 of 1) sorted by relevance
49 ret = mpfs_blocking_transaction(rng_priv->sys_controller, &msg); in mpfs_rng_read()67 struct mpfs_rng *rng_priv; in mpfs_rng_probe() local70 rng_priv = devm_kzalloc(dev, sizeof(*rng_priv), GFP_KERNEL); in mpfs_rng_probe()71 if (!rng_priv) in mpfs_rng_probe()74 rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev); in mpfs_rng_probe()75 if (IS_ERR(rng_priv->sys_controller)) in mpfs_rng_probe()76 return dev_err_probe(dev, PTR_ERR(rng_priv->sys_controller), in mpfs_rng_probe()79 rng_priv->rng.read = mpfs_rng_read; in mpfs_rng_probe()80 rng_priv->rng.name = pdev->name; in mpfs_rng_probe()82 platform_set_drvdata(pdev, rng_priv); in mpfs_rng_probe()[all …]