linux/drivers/char/ipmi/kcs_bmc.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2015-2018, Intel Corporation.
 * Copyright (c) 2021, IBM Corp.
 */

#include <linux/device.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/mutex.h>

#include "kcs_bmc.h"

/* Implement both the device and client interfaces here */
#include "kcs_bmc_device.h"
#include "kcs_bmc_client.h"

/* Record registered devices and drivers */
static DEFINE_MUTEX(kcs_bmc_lock);
static LIST_HEAD(kcs_bmc_devices);
static LIST_HEAD(kcs_bmc_drivers);

/* Consumer data access */

u8 kcs_bmc_read_data(struct kcs_bmc_device *kcs_bmc)
{}
EXPORT_SYMBOL();

void kcs_bmc_write_data(struct kcs_bmc_device *kcs_bmc, u8 data)
{}
EXPORT_SYMBOL();

u8 kcs_bmc_read_status(struct kcs_bmc_device *kcs_bmc)
{}
EXPORT_SYMBOL();

void kcs_bmc_write_status(struct kcs_bmc_device *kcs_bmc, u8 data)
{}
EXPORT_SYMBOL();

void kcs_bmc_update_status(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 val)
{}
EXPORT_SYMBOL();

irqreturn_t kcs_bmc_handle_event(struct kcs_bmc_device *kcs_bmc)
{}
EXPORT_SYMBOL();

int kcs_bmc_enable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client)
{}
EXPORT_SYMBOL();

void kcs_bmc_disable_device(struct kcs_bmc_device *kcs_bmc, struct kcs_bmc_client *client)
{}
EXPORT_SYMBOL();

int kcs_bmc_add_device(struct kcs_bmc_device *kcs_bmc)
{}
EXPORT_SYMBOL();

void kcs_bmc_remove_device(struct kcs_bmc_device *kcs_bmc)
{}
EXPORT_SYMBOL();

void kcs_bmc_register_driver(struct kcs_bmc_driver *drv)
{}
EXPORT_SYMBOL();

void kcs_bmc_unregister_driver(struct kcs_bmc_driver *drv)
{}
EXPORT_SYMBOL();

void kcs_bmc_update_event_mask(struct kcs_bmc_device *kcs_bmc, u8 mask, u8 events)
{}
EXPORT_SYMBOL();

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();