Lines Matching defs:protocol
78 ACPI_SMB_PROTOCOL = 0, /* protocol, PEC */
105 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol,
125 if (!(protocol & 0x01)) {
131 smb_hc_write(hc, ACPI_SMB_PROTOCOL, protocol);
134 * and data into the return package (if required by the protocol).
137 if (ret || !(protocol & 0x01))
139 switch (protocol) {
162 int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address,
165 return acpi_smbus_transaction(hc, protocol, address, command, data, 0);
170 int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address,
173 return acpi_smbus_transaction(hc, protocol, address, command, data, length);