Loading...
Note: File does not exist in v4.6.
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2019 Intel Corporation
4 */
5
6#ifndef INTEL_CONTEXT_PARAM_H
7#define INTEL_CONTEXT_PARAM_H
8
9#include <linux/types.h>
10
11#include "intel_context.h"
12
13int intel_context_set_ring_size(struct intel_context *ce, long sz);
14long intel_context_get_ring_size(struct intel_context *ce);
15
16static inline int
17intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
18{
19 ce->watchdog.timeout_us = timeout_us;
20 return 0;
21}
22
23#endif /* INTEL_CONTEXT_PARAM_H */