channel.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) channel.h (caccddcfc4b4de75930df2e8f7fd0c66556b13ff)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Tegra host1x Channel
4 *
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
6 */
7
8#ifndef __HOST1X_CHANNEL_H

--- 12 unchanged lines hidden (view full) ---

21 unsigned long *allocated_channels;
22};
23
24struct host1x_channel {
25 struct kref refcount;
26 unsigned int id;
27 struct mutex submitlock;
28 void __iomem *regs;
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Tegra host1x Channel
4 *
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
6 */
7
8#ifndef __HOST1X_CHANNEL_H

--- 12 unchanged lines hidden (view full) ---

21 unsigned long *allocated_channels;
22};
23
24struct host1x_channel {
25 struct kref refcount;
26 unsigned int id;
27 struct mutex submitlock;
28 void __iomem *regs;
29 struct host1x_client *client;
29 struct device *dev;
30 struct host1x_cdma cdma;
31};
32
33/* channel list operations */
34int host1x_channel_list_init(struct host1x_channel_list *chlist,
35 unsigned int num_channels);
36void host1x_channel_list_free(struct host1x_channel_list *chlist);
37struct host1x_channel *host1x_channel_get_index(struct host1x *host,
38 unsigned int index);
39
40#endif
30 struct device *dev;
31 struct host1x_cdma cdma;
32};
33
34/* channel list operations */
35int host1x_channel_list_init(struct host1x_channel_list *chlist,
36 unsigned int num_channels);
37void host1x_channel_list_free(struct host1x_channel_list *chlist);
38struct host1x_channel *host1x_channel_get_index(struct host1x *host,
39 unsigned int index);
40
41#endif