Lines Matching refs:sm
93 u32 sm; member
139 if (priv->sm != ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) in crb_try_pluton_doorbell()
176 if ((priv->sm == ACPI_TPM2_START_METHOD) || in __crb_go_idle()
177 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD) || in __crb_go_idle()
178 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC)) in __crb_go_idle()
225 if ((priv->sm == ACPI_TPM2_START_METHOD) || in __crb_cmd_ready()
226 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD) || in __crb_cmd_ready()
227 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC)) in __crb_cmd_ready()
414 if (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) in crb_send()
426 if ((priv->sm == ACPI_TPM2_COMMAND_BUFFER) || in crb_send()
427 (priv->sm == ACPI_TPM2_MEMORY_MAPPED) || in crb_send()
431 if ((priv->sm == ACPI_TPM2_START_METHOD) || in crb_send()
432 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD)) in crb_send()
435 if (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC) { in crb_send()
452 if (((priv->sm == ACPI_TPM2_START_METHOD) || in crb_cancel()
453 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD)) && in crb_cancel()
570 if (priv->sm != ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) { in crb_map_io()
612 if ((priv->sm == ACPI_TPM2_COMMAND_BUFFER) || in crb_map_io()
613 (priv->sm == ACPI_TPM2_MEMORY_MAPPED)) { in crb_map_io()
736 u32 sm; in crb_acpi_add() local
747 sm = buf->start_method; in crb_acpi_add()
748 if (sm == ACPI_TPM2_MEMORY_MAPPED) { in crb_acpi_add()
759 if (sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC) { in crb_acpi_add()
772 if (sm == ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) { in crb_acpi_add()
787 priv->sm = sm; in crb_acpi_add()
811 priv->sm != ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) { in crb_acpi_add()