Lines Matching refs:rcdev
19 #define to_u8500_prcc_reset(p) container_of((p), struct u8500_prcc_reset, rcdev)
67 static int u8500_prcc_reset(struct reset_controller_dev *rcdev, in u8500_prcc_reset() argument
70 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset()
88 static int u8500_prcc_reset_assert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_assert() argument
91 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_assert()
101 static int u8500_prcc_reset_deassert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_deassert() argument
104 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_deassert()
114 static int u8500_prcc_reset_status(struct reset_controller_dev *rcdev, in u8500_prcc_reset_status() argument
117 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_status()
136 static int u8500_prcc_reset_xlate(struct reset_controller_dev *rcdev, in u8500_prcc_reset_xlate() argument
161 struct reset_controller_dev *rcdev = &ur->rcdev; in u8500_prcc_reset_init() local
172 rcdev->owner = THIS_MODULE; in u8500_prcc_reset_init()
173 rcdev->ops = &u8500_prcc_reset_ops; in u8500_prcc_reset_init()
174 rcdev->of_node = np; in u8500_prcc_reset_init()
175 rcdev->of_reset_n_cells = 2; in u8500_prcc_reset_init()
176 rcdev->of_xlate = u8500_prcc_reset_xlate; in u8500_prcc_reset_init()
178 ret = reset_controller_register(rcdev); in u8500_prcc_reset_init()