2020-02-25 19:22:05 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INTEL_CONTEXT_PARAM_H
|
|
|
|
#define INTEL_CONTEXT_PARAM_H
|
|
|
|
|
2021-03-24 12:13:34 +00:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
#include "intel_context.h"
|
2020-02-25 19:22:05 +00:00
|
|
|
|
2021-07-08 15:48:09 +00:00
|
|
|
static inline void
|
2021-03-24 12:13:34 +00:00
|
|
|
intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
|
|
|
|
{
|
|
|
|
ce->watchdog.timeout_us = timeout_us;
|
|
|
|
}
|
|
|
|
|
2020-02-25 19:22:05 +00:00
|
|
|
#endif /* INTEL_CONTEXT_PARAM_H */
|