Lines Matching refs:trans_wrapper
358 struct wrapper_msg *trans_wrapper; in encode_passthrough() local
373 trans_wrapper = add_wrapper(wrappers, in encode_passthrough()
375 if (!trans_wrapper) in encode_passthrough()
377 trans_wrapper->len = in_trans->hdr.len; in encode_passthrough()
378 out_trans = (struct wire_trans_passthrough *)&trans_wrapper->trans; in encode_passthrough()
484 struct wrapper_msg *trans_wrapper; in encode_addr_size_pairs() local
508 trans_wrapper = add_wrapper(wrappers, QAIC_WRAPPER_MAX_SIZE); in encode_addr_size_pairs()
509 if (!trans_wrapper) in encode_addr_size_pairs()
511 *out_trans = (struct wire_trans_dma_xfer *)&trans_wrapper->trans; in encode_addr_size_pairs()
514 boundary = (void *)trans_wrapper + QAIC_WRAPPER_MAX_SIZE; in encode_addr_size_pairs()
518 w = trans_wrapper; in encode_addr_size_pairs()
634 struct wrapper_msg *trans_wrapper; in encode_activate() local
671 trans_wrapper = add_wrapper(wrappers, in encode_activate()
673 if (!trans_wrapper) { in encode_activate()
677 trans_wrapper->len = sizeof(*out_trans); in encode_activate()
678 out_trans = (struct wire_trans_activate_to_dev *)&trans_wrapper->trans; in encode_activate()
723 struct wrapper_msg *trans_wrapper; in encode_status() local
735 trans_wrapper = add_wrapper(wrappers, sizeof(*trans_wrapper)); in encode_status()
736 if (!trans_wrapper) in encode_status()
739 trans_wrapper->len = sizeof(*out_trans); in encode_status()
740 out_trans = (struct wire_trans_status_to_dev *)&trans_wrapper->trans; in encode_status()