Linux Audio

Check our new training course

In-person Linux kernel drivers training

Jun 16-20, 2025
Register
Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Tegra host1x Interrupt Management
 4 *
 5 * Copyright (c) 2010-2021, NVIDIA Corporation.
 6 */
 7
 8#ifndef __HOST1X_INTR_H
 9#define __HOST1X_INTR_H
10
11struct host1x;
12struct host1x_syncpt_fence;
13
14struct host1x_intr_irq_data {
15	struct host1x *host;
16	u32 offset;
17};
18
19/* Initialize host1x sync point interrupt */
20int host1x_intr_init(struct host1x *host);
21
22/* Deinitialize host1x sync point interrupt */
23void host1x_intr_deinit(struct host1x *host);
24
25/* Enable host1x sync point interrupt */
26void host1x_intr_start(struct host1x *host);
27
28/* Disable host1x sync point interrupt */
29void host1x_intr_stop(struct host1x *host);
30
31void host1x_intr_handle_interrupt(struct host1x *host, unsigned int id);
32
33void host1x_intr_add_fence_locked(struct host1x *host, struct host1x_syncpt_fence *fence);
34
35bool host1x_intr_remove_fence(struct host1x *host, struct host1x_syncpt_fence *fence);
36
37#endif
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Tegra host1x Interrupt Management
 4 *
 5 * Copyright (c) 2010-2021, NVIDIA Corporation.
 6 */
 7
 8#ifndef __HOST1X_INTR_H
 9#define __HOST1X_INTR_H
10
11struct host1x;
12struct host1x_syncpt_fence;
13
 
 
 
 
 
14/* Initialize host1x sync point interrupt */
15int host1x_intr_init(struct host1x *host);
16
17/* Deinitialize host1x sync point interrupt */
18void host1x_intr_deinit(struct host1x *host);
19
20/* Enable host1x sync point interrupt */
21void host1x_intr_start(struct host1x *host);
22
23/* Disable host1x sync point interrupt */
24void host1x_intr_stop(struct host1x *host);
25
26void host1x_intr_handle_interrupt(struct host1x *host, unsigned int id);
27
28void host1x_intr_add_fence_locked(struct host1x *host, struct host1x_syncpt_fence *fence);
29
30bool host1x_intr_remove_fence(struct host1x *host, struct host1x_syncpt_fence *fence);
31
32#endif