Lines Matching refs:response_length
68 priv->response_length = ret; in tpm_dev_async_work()
92 priv->response_length = 0; in tpm_timeout_work()
122 if (priv->response_length) { in tpm_common_read()
125 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
127 priv->response_length = 0; in tpm_common_read()
134 priv->response_length = 0; in tpm_common_read()
138 priv->response_length -= ret_size; in tpm_common_read()
144 if (!priv->response_length) { in tpm_common_read()
168 if ((!priv->response_read && priv->response_length) || in tpm_common_write()
194 priv->response_length = 0; in tpm_common_write()
216 priv->response_length = ret; in tpm_common_write()
238 if (priv->response_length) in tpm_common_poll()
256 priv->response_length = 0; in tpm_common_release()