linux/drivers/soundwire/amd_init.c

// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/*
 * SoundWire AMD Manager Initialize routines
 *
 * Initializes and creates SDW devices based on ACPI and Hardware values
 *
 * Copyright 2024 Advanced Micro Devices, Inc.
 */

#include <linux/acpi.h>
#include <linux/cleanup.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>

#include "amd_init.h"

#define ACP_PAD_PULLDOWN_CTRL
#define ACP_SW_PAD_KEEPER_EN
#define AMD_SDW0_PAD_CTRL_MASK
#define AMD_SDW1_PAD_CTRL_MASK
#define AMD_SDW_PAD_CTRL_MASK
#define AMD_SDW0_PAD_EN
#define AMD_SDW1_PAD_EN
#define AMD_SDW_PAD_EN

static int amd_enable_sdw_pads(void __iomem *mmio, u32 link_mask, struct device *dev)
{}

static int sdw_amd_cleanup(struct sdw_amd_ctx *ctx)
{}

static struct sdw_amd_ctx *sdw_amd_probe_controller(struct sdw_amd_res *res)
{}

static int sdw_amd_startup(struct sdw_amd_ctx *ctx)
{}

int sdw_amd_probe(struct sdw_amd_res *res, struct sdw_amd_ctx **sdw_ctx)
{}
EXPORT_SYMBOL_NS();

void sdw_amd_exit(struct sdw_amd_ctx *ctx)
{}
EXPORT_SYMBOL_NS();

int sdw_amd_get_slave_info(struct sdw_amd_ctx *ctx)
{}
EXPORT_SYMBOL_NS();

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