Lines Matching refs:rdata
28 struct reset_simple_data rdata; member
52 priv->rdata.membase = devm_ioremap_resource(dev, res); in uniphier_usb3_reset_probe()
53 if (IS_ERR(priv->rdata.membase)) in uniphier_usb3_reset_probe()
54 return PTR_ERR(priv->rdata.membase); in uniphier_usb3_reset_probe()
79 spin_lock_init(&priv->rdata.lock); in uniphier_usb3_reset_probe()
80 priv->rdata.rcdev.owner = THIS_MODULE; in uniphier_usb3_reset_probe()
81 priv->rdata.rcdev.nr_resets = size * BITS_PER_BYTE; in uniphier_usb3_reset_probe()
82 priv->rdata.rcdev.ops = &reset_simple_ops; in uniphier_usb3_reset_probe()
83 priv->rdata.rcdev.of_node = dev->of_node; in uniphier_usb3_reset_probe()
84 priv->rdata.active_low = true; in uniphier_usb3_reset_probe()
88 ret = devm_reset_controller_register(dev, &priv->rdata.rcdev); in uniphier_usb3_reset_probe()