include/linux/rpmsg/qcom_smd.h

Source file repositories/reference/linux-study-clean/include/linux/rpmsg/qcom_smd.h

File Facts

System
Linux kernel
Corpus path
include/linux/rpmsg/qcom_smd.h
Extension
.h
Size
595 bytes
Lines
32
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LINUX_RPMSG_QCOM_SMD_H
#define _LINUX_RPMSG_QCOM_SMD_H

#include <linux/device.h>

struct qcom_smd_edge;

#if IS_ENABLED(CONFIG_RPMSG_QCOM_SMD)

struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
					     struct device_node *node);
void qcom_smd_unregister_edge(struct qcom_smd_edge *edge);

#else

static inline struct qcom_smd_edge *
qcom_smd_register_edge(struct device *parent,
		       struct device_node *node)
{
	return NULL;
}

static inline void qcom_smd_unregister_edge(struct qcom_smd_edge *edge)
{
}

#endif

#endif

Annotation

Implementation Notes