Lines Matching refs:tx_buf
57 u8 tx_buf[ST33ZP24_SPI_BUFFER_SIZE];
103 .tx_buf = phy->tx_buf,
108 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0;
109 phy->tx_buf[total_length++] = tpm_register;
112 phy->tx_buf[total_length++] = tpm_size >> 8;
113 phy->tx_buf[total_length++] = tpm_size;
116 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size);
119 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency);
146 .tx_buf = phy->tx_buf,
151 phy->tx_buf[total_length++] = LOCALITY0;
152 phy->tx_buf[total_length++] = tpm_register;
154 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE,