/** * scmi_reset_assert() - assert device reset * @rcdev: reset controller entity * @id: ID of the reset to be asserted * * This function implements the reset driver op to assert a device's reset * using the ARM SCMI protocol. * * Return: 0 for successful request, else a corresponding error value
*/ staticint
scmi_reset_assert(struct reset_controller_dev *rcdev, unsignedlong id)
{ conststruct scmi_protocol_handle *ph = to_scmi_handle(rcdev);
return reset_ops->assert(ph, id);
}
/** * scmi_reset_deassert() - deassert device reset * @rcdev: reset controller entity * @id: ID of the reset to be deasserted * * This function implements the reset driver op to deassert a device's reset * using the ARM SCMI protocol. * * Return: 0 for successful request, else a corresponding error value
*/ staticint
scmi_reset_deassert(struct reset_controller_dev *rcdev, unsignedlong id)
{ conststruct scmi_protocol_handle *ph = to_scmi_handle(rcdev);
return reset_ops->deassert(ph, id);
}
/** * scmi_reset_reset() - reset the device * @rcdev: reset controller entity * @id: ID of the reset signal to be reset(assert + deassert) * * This function implements the reset driver op to trigger a device's * reset signal using the ARM SCMI protocol. * * Return: 0 for successful request, else a corresponding error value
*/ staticint
scmi_reset_reset(struct reset_controller_dev *rcdev, unsignedlong id)
{ conststruct scmi_protocol_handle *ph = to_scmi_handle(rcdev);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.