Lines Matching refs:tx_buf
61 u8 tx_buf[ST33ZP24_SPI_BUFFER_SIZE];
108 .tx_buf = phy->tx_buf,
113 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0;
114 phy->tx_buf[total_length++] = tpm_register;
117 phy->tx_buf[total_length++] = tpm_size >> 8;
118 phy->tx_buf[total_length++] = tpm_size;
121 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size);
124 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency);
151 .tx_buf = phy->tx_buf,
156 phy->tx_buf[total_length++] = LOCALITY0;
157 phy->tx_buf[total_length++] = tpm_register;
159 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE,