/** * cros_ec_lpc_mec_acpi_mutex() - Find and set ACPI mutex for MEC * * @adev: Parent ACPI device * @pathname: Name of AML mutex * @return: Negative error code, or zero for success
*/ int cros_ec_lpc_mec_acpi_mutex(struct acpi_device *adev, constchar *pathname);
/** * cros_ec_lpc_mec_in_range() - Determine if addresses are in MEC EMI range. * * @offset: Address offset * @length: Number of bytes to check * * Return: 1 if in range, 0 if not, and -EINVAL on failure * such as the mec range not being initialized
*/ int cros_ec_lpc_mec_in_range(unsignedint offset, unsignedint length);
/** * cros_ec_lpc_io_bytes_mec - Read / write bytes to MEC EMI port * * @io_type: MEC_IO_READ or MEC_IO_WRITE, depending on request * @offset: Base read / write address * @length: Number of bytes to read / write * @buf: Destination / source buffer * * @return: A negative error code on error, or 8-bit checksum of all * bytes read / written
*/ int cros_ec_lpc_io_bytes_mec(enum cros_ec_lpc_mec_io_type io_type, unsignedint offset, unsignedint length, u8 *buf);
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.