Lines Matching defs:protocol
80 ACPI_SMB_PROTOCOL = 0, /* protocol, PEC */
123 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol,
142 if (!(protocol & 0x01)) {
148 smb_hc_write(hc, ACPI_SMB_PROTOCOL, protocol);
151 * and data into the return package (if required by the protocol).
154 if (ret || !(protocol & 0x01))
156 switch (protocol) {
179 int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address,
182 return acpi_smbus_transaction(hc, protocol, address, command, data, 0);
187 int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address,
190 return acpi_smbus_transaction(hc, protocol, address, command, data, length);