Lines Matching refs:reset
17 #include <linux/reset.h>
77 struct reset_control *reset;
84 static void rockchip_saradc_reset_controller(struct reset_control *reset);
99 if (info->reset)
100 rockchip_saradc_reset_controller(info->reset);
341 static void rockchip_saradc_reset_controller(struct reset_control *reset)
343 reset_control_assert(reset);
345 reset_control_deassert(reset);
450 * The reset should be an optional property, as it should work
453 info->reset = devm_reset_control_get_exclusive(&pdev->dev,
455 if (IS_ERR(info->reset)) {
456 ret = PTR_ERR(info->reset);
461 dev_dbg(&pdev->dev, "no reset control found\n");
462 info->reset = NULL;
483 if (info->reset)
484 rockchip_saradc_reset_controller(info->reset);