linux/sound/pci/lola/lola_clock.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Support for Digigram Lola PCI-e boards
 *
 *  Copyright (c) 2011 Takashi Iwai <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include "lola.h"

unsigned int lola_sample_rate_convert(unsigned int coded)
{}

/*
 * Granualrity
 */

#define LOLA_MAXFREQ_AT_GRANULARITY_MIN
#define LOLA_MAXFREQ_AT_GRANULARITY_BELOW_MAX

static bool check_gran_clock_compatibility(struct lola *chip,
					   unsigned int val,
					   unsigned int freq)
{}

int lola_set_granularity(struct lola *chip, unsigned int val, bool force)
{}

/*
 * Clock widget handling
 */

int lola_init_clock_widget(struct lola *chip, int nid)
{}

/* enable unsolicited events of the clock widget */
int lola_enable_clock_events(struct lola *chip)
{}

int lola_set_clock_index(struct lola *chip, unsigned int idx)
{}

bool lola_update_ext_clock_freq(struct lola *chip, unsigned int val)
{}

int lola_set_clock(struct lola *chip, int idx)
{}

int lola_set_sample_rate(struct lola *chip, int rate)
{}