Lines Matching defs:in
15 * This device driver implements the TPM interface as defined in
42 * TCG SPI flow control is documented in section 6.4 of the spec[1]. In short,
76 * Tegra QSPI need CMD, ADDR & DATA sent in single message to manage HW flow
77 * control. Each phase sent in different transfer for controller to idenity
81 u16 len, u8 *in, const u8 *out)
93 phy->iobuf[0] = (in ? 0x80 : 0) | (transfer_len - 1);
115 if (in) {
129 if (in) {
130 memcpy(in, &phy->iobuf[4], transfer_len);
131 in += transfer_len;
141 u16 len, u8 *in, const u8 *out)
154 phy->iobuf[0] = (in ? 0x80 : 0) | (transfer_len - 1);
196 if (in) {
197 memcpy(in, phy->iobuf, transfer_len);
198 in += transfer_len;
218 u8 *in, const u8 *out)
226 * wait polling in controller.
230 return tpm_tis_spi_transfer_half(data, addr, len, in, out);
232 return tpm_tis_spi_transfer_full(data, addr, len, in, out);