linux/drivers/acpi/glue.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Link physical devices with ACPI devices support
 *
 * Copyright (c) 2005 David Shaohua Li <[email protected]>
 * Copyright (c) 2005 Intel Corp.
 */

#define pr_fmt(fmt)

#include <linux/acpi_iort.h>
#include <linux/export.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/rwsem.h>
#include <linux/acpi.h>
#include <linux/dma-mapping.h>
#include <linux/pci.h>
#include <linux/pci-acpi.h>
#include <linux/platform_device.h>

#include "internal.h"

static LIST_HEAD(bus_type_list);
static DECLARE_RWSEM(bus_type_sem);

#define PHYSICAL_NODE_STRING
#define PHYSICAL_NODE_NAME_SIZE

int register_acpi_bus_type(struct acpi_bus_type *type)
{}
EXPORT_SYMBOL_GPL();

int unregister_acpi_bus_type(struct acpi_bus_type *type)
{}
EXPORT_SYMBOL_GPL();

static struct acpi_bus_type *acpi_get_bus_type(struct device *dev)
{}

#define FIND_CHILD_MIN_SCORE
#define FIND_CHILD_MID_SCORE
#define FIND_CHILD_MAX_SCORE

static int match_any(struct acpi_device *adev, void *not_used)
{}

static bool acpi_dev_has_children(struct acpi_device *adev)
{}

static int find_child_checks(struct acpi_device *adev, bool check_children)
{}

struct find_child_walk_data {};

static int check_one_child(struct acpi_device *adev, void *data)
{}

static struct acpi_device *acpi_find_child(struct acpi_device *parent,
					   u64 address, bool check_children,
					   bool check_sta)
{}

struct acpi_device *acpi_find_child_device(struct acpi_device *parent,
					   u64 address, bool check_children)
{}
EXPORT_SYMBOL_GPL();

struct acpi_device *acpi_find_child_by_adr(struct acpi_device *adev,
					   acpi_bus_address adr)
{}
EXPORT_SYMBOL_GPL();

static void acpi_physnode_link_name(char *buf, unsigned int node_id)
{}

int acpi_bind_one(struct device *dev, struct acpi_device *acpi_dev)
{}
EXPORT_SYMBOL_GPL();

int acpi_unbind_one(struct device *dev)
{}
EXPORT_SYMBOL_GPL();

void acpi_device_notify(struct device *dev)
{}

void acpi_device_notify_remove(struct device *dev)
{}