Lines Matching full:reset
3 * Texas Instrument's System Control Interface (TI-SCI) reset driver
14 #include <linux/reset-controller.h>
18 * struct ti_sci_reset_control - reset control structure
20 * @reset_mask: reset mask to use for toggling reset
30 * struct ti_sci_reset_data - reset controller information structure
31 * @rcdev: reset controller entity
32 * @dev: reset controller device pointer
34 * @idr: idr structure for mapping ids to reset control structures
47 * ti_sci_reset_set() - program a device's reset
48 * @rcdev: reset controller entity
49 * @id: ID of the reset to toggle
53 * reset using the TI SCI protocol. The device's reset is asserted if the
56 * reset register is read using a TI SCI device operation, the new value is
57 * set or un-set using the reset's mask, and the new reset value written by
95 * ti_sci_reset_assert() - assert device reset
96 * @rcdev: reset controller entity
97 * @id: ID of the reset to be asserted
99 * This function implements the reset driver op to assert a device's reset
102 * argument set to true for asserting the reset.
113 * ti_sci_reset_deassert() - deassert device reset
114 * @rcdev: reset controller entity
115 * @id: ID of the reset to be deasserted
117 * This function implements the reset driver op to deassert a device's reset
120 * argument set to false for deasserting the reset.
131 * ti_sci_reset_status() - check device reset status
132 * @rcdev: reset controller entity
133 * @id: ID of reset to be checked
135 * This function implements the reset driver op to return the status of a
136 * device's reset using the TI SCI protocol. The reset register value is read
138 * status of the specific reset is extracted and returned using this reset's
139 * reset mask.
141 * Return: 0 if reset is deasserted, or a non-zero value if reset is asserted
171 * ti_sci_reset_of_xlate() - translate a set of OF arguments to a reset ID
172 * @rcdev: reset controller entity
173 * @reset_spec: OF reset argument specifier
175 * This function performs the translation of the reset argument specifier
176 * values defined in a reset consumer device node. The function allocates a
177 * reset control structure for that device reset, and will be used by the
178 * driver for performing any reset functions on that reset. An idr structure
179 * is allocated and used to map to the reset control structure. This idr
180 * is used by the driver to do reset lookups.
205 { .compatible = "ti,sci-reset", },
251 .name = "ti-sci-reset",
258 MODULE_DESCRIPTION("TI System Control Interface (TI SCI) Reset driver");