Lines Matching defs:rcdev
17 struct reset_controller_dev rcdev;
24 static int ath79_reset_update(struct reset_controller_dev *rcdev,
28 container_of(rcdev, struct ath79_reset, rcdev);
44 static int ath79_reset_assert(struct reset_controller_dev *rcdev,
47 return ath79_reset_update(rcdev, id, true);
50 static int ath79_reset_deassert(struct reset_controller_dev *rcdev,
53 return ath79_reset_update(rcdev, id, false);
56 static int ath79_reset_status(struct reset_controller_dev *rcdev,
60 container_of(rcdev, struct ath79_reset, rcdev);
78 ath79_reset_assert(&ath79_reset->rcdev, FULL_CHIP_RESET);
98 ath79_reset->rcdev.ops = &ath79_reset_ops;
99 ath79_reset->rcdev.owner = THIS_MODULE;
100 ath79_reset->rcdev.of_node = pdev->dev.of_node;
101 ath79_reset->rcdev.of_reset_n_cells = 1;
102 ath79_reset->rcdev.nr_resets = 32;
104 err = devm_reset_controller_register(&pdev->dev, &ath79_reset->rcdev);