intel_context_param.h 367 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: MIT */
  2. /*
  3. * Copyright © 2019 Intel Corporation
  4. */
  5. #ifndef INTEL_CONTEXT_PARAM_H
  6. #define INTEL_CONTEXT_PARAM_H
  7. #include <linux/types.h>
  8. #include "intel_context.h"
  9. static inline void
  10. intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
  11. {
  12. ce->watchdog.timeout_us = timeout_us;
  13. }
  14. #endif /* INTEL_CONTEXT_PARAM_H */