tmelog.h 567 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef _TMELOG_H_
  6. #define _TMELOG_H_
  7. /**
  8. * Send data to Tmefw via tmecom interface
  9. *
  10. * @param [in] buf Buffer passed by user.
  11. * @param [in] tme_buf_size Size of passed buffer.
  12. * @param [out] buf_size Size written by Tme FW to passed buffer.
  13. *
  14. * @return 0 if successful, error code otherwise.
  15. */
  16. int tmelog_process_request(uint32_t buf, uint32_t tme_buf_size, uint32_t *buf_size);
  17. #endif /*_TMELOG_H_ */