Lines Matching refs:response_length
67 priv->response_length = ret; in tpm_dev_async_work()
81 priv->response_length = ret; in tpm_dev_async_work()
106 priv->response_length = 0; in tpm_timeout_work()
136 if (priv->response_length) { in tpm_common_read()
139 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
141 priv->response_length = 0; in tpm_common_read()
148 priv->response_length = 0; in tpm_common_read()
152 priv->response_length -= ret_size; in tpm_common_read()
158 if (!priv->response_length) { in tpm_common_read()
182 if ((!priv->response_read && priv->response_length) || in tpm_common_write()
199 priv->response_length = 0; in tpm_common_write()
230 priv->response_length = ret; in tpm_common_write()
252 if (priv->response_length) in tpm_common_poll()
270 priv->response_length = 0; in tpm_common_release()