linux/sound/pcmcia/pdaudiocf/pdaudiocf_core.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Driver for Sound Core PDAudioCF soundcard
 *
 * Copyright (c) 2003 by Jaroslav Kysela <[email protected]>
 */

#include <linux/delay.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/info.h>
#include "pdaudiocf.h"
#include <sound/initval.h>

/*
 *
 */
static unsigned char pdacf_ak4117_read(void *private_data, unsigned char reg)
{}

static void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned char val)
{}

#if 0
void pdacf_dump(struct snd_pdacf *chip)
{
	printk(KERN_DEBUG "PDAUDIOCF DUMP (0x%lx):\n", chip->port);
	printk(KERN_DEBUG "WPD         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_WDP));
	printk(KERN_DEBUG "RDP         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_RDP));
	printk(KERN_DEBUG "TCR         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_TCR));
	printk(KERN_DEBUG "SCR         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_SCR));
	printk(KERN_DEBUG "ISR         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_ISR));
	printk(KERN_DEBUG "IER         : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_IER));
	printk(KERN_DEBUG "AK_IFR      : 0x%x\n",
	       inw(chip->port + PDAUDIOCF_REG_AK_IFR));
}
#endif

static int pdacf_reset(struct snd_pdacf *chip, int powerdown)
{}

void pdacf_reinit(struct snd_pdacf *chip, int resume)
{}

static void pdacf_proc_read(struct snd_info_entry * entry,
                            struct snd_info_buffer *buffer)
{}

static void pdacf_proc_init(struct snd_pdacf *chip)
{}

struct snd_pdacf *snd_pdacf_create(struct snd_card *card)
{}

static void snd_pdacf_ak4117_change(struct ak4117 *ak4117, unsigned char c0, unsigned char c1)
{}

int snd_pdacf_ak4117_create(struct snd_pdacf *chip)
{}

void snd_pdacf_powerdown(struct snd_pdacf *chip)
{}

#ifdef CONFIG_PM

int snd_pdacf_suspend(struct snd_pdacf *chip)
{}

static inline int check_signal(struct snd_pdacf *chip)
{}

int snd_pdacf_resume(struct snd_pdacf *chip)
{}
#endif