rpmsg_internal.h (1136fa0c07de570dc17858745af8be169d1440ba) rpmsg_internal.h (608edd96049b142de7944413cd7c24cb3f203d37)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * remote processor messaging bus internals
4 *
5 * Copyright (C) 2011 Texas Instruments, Inc.
6 * Copyright (C) 2011 Google, Inc.
7 *
8 * Ohad Ben-Cohen <ohad@wizery.com>

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

13#define __RPMSG_INTERNAL_H__
14
15#include <linux/rpmsg.h>
16#include <linux/poll.h>
17
18#define to_rpmsg_device(d) container_of(d, struct rpmsg_device, dev)
19#define to_rpmsg_driver(d) container_of(d, struct rpmsg_driver, drv)
20
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * remote processor messaging bus internals
4 *
5 * Copyright (C) 2011 Texas Instruments, Inc.
6 * Copyright (C) 2011 Google, Inc.
7 *
8 * Ohad Ben-Cohen <ohad@wizery.com>

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

13#define __RPMSG_INTERNAL_H__
14
15#include <linux/rpmsg.h>
16#include <linux/poll.h>
17
18#define to_rpmsg_device(d) container_of(d, struct rpmsg_device, dev)
19#define to_rpmsg_driver(d) container_of(d, struct rpmsg_driver, drv)
20
21extern struct class *rpmsg_class;
22
21/**
22 * struct rpmsg_device_ops - indirection table for the rpmsg_device operations
23 * @create_channel: create backend-specific channel, optional
24 * @release_channel: release backend-specific channel, optional
25 * @create_ept: create backend-specific endpoint, required
26 * @announce_create: announce presence of new channel, optional
27 * @announce_destroy: announce destruction of channel, optional
28 *

--- 73 unchanged lines hidden ---
23/**
24 * struct rpmsg_device_ops - indirection table for the rpmsg_device operations
25 * @create_channel: create backend-specific channel, optional
26 * @release_channel: release backend-specific channel, optional
27 * @create_ept: create backend-specific endpoint, required
28 * @announce_create: announce presence of new channel, optional
29 * @announce_destroy: announce destruction of channel, optional
30 *

--- 73 unchanged lines hidden ---