Searched refs:tlr (Results 1 – 2 of 2) sorted by relevance
143 struct mctp_serial_trailer *tlr; in mctp_binding_serial_tx() local164 if (len + sizeof(*hdr) + sizeof(*tlr) > sizeof(serial->txbuf)) in mctp_binding_serial_tx()171 tlr = (void *)buf; in mctp_binding_serial_tx()172 tlr->flag = MCTP_SERIAL_FRAMING_FLAG; in mctp_binding_serial_tx()173 tlr->fcs_msb = fcs >> 8; in mctp_binding_serial_tx()174 tlr->fcs_lsb = fcs & 0xff; in mctp_binding_serial_tx()176 len += sizeof(*hdr) + sizeof(*tlr); in mctp_binding_serial_tx()
1307 uint8_t *tlr; in astlpc_test_corrupt_host_tx() local1332 tlr = (uint8_t *)&ctx.lpc_mem[offset] + 4 + sizeof(msg); in astlpc_test_corrupt_host_tx()1333 memcpy(&code, tlr, sizeof(code)); in astlpc_test_corrupt_host_tx()1335 memcpy(tlr, &code, sizeof(code)); in astlpc_test_corrupt_host_tx()1361 uint8_t *tlr; in astlpc_test_corrupt_bmc_tx() local1387 tlr = (uint8_t *)&ctx.lpc_mem[offset] + 4 + sizeof(msg); in astlpc_test_corrupt_bmc_tx()1388 memcpy(&code, tlr, sizeof(code)); in astlpc_test_corrupt_bmc_tx()1390 memcpy(tlr, &code, sizeof(code)); in astlpc_test_corrupt_bmc_tx()