#include "dice.h"
static u64 get_subaddr(struct snd_dice *dice, enum snd_dice_addr_type type,
u64 offset)
{ … }
int snd_dice_transaction_write(struct snd_dice *dice,
enum snd_dice_addr_type type,
unsigned int offset, void *buf, unsigned int len)
{ … }
int snd_dice_transaction_read(struct snd_dice *dice,
enum snd_dice_addr_type type, unsigned int offset,
void *buf, unsigned int len)
{ … }
static unsigned int get_clock_info(struct snd_dice *dice, __be32 *info)
{ … }
int snd_dice_transaction_get_clock_source(struct snd_dice *dice,
unsigned int *source)
{ … }
int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate)
{ … }
int snd_dice_transaction_set_enable(struct snd_dice *dice)
{ … }
void snd_dice_transaction_clear_enable(struct snd_dice *dice)
{ … }
static void dice_notification(struct fw_card *card, struct fw_request *request,
int tcode, int destination, int source,
int generation, unsigned long long offset,
void *data, size_t length, void *callback_data)
{ … }
static int register_notification_address(struct snd_dice *dice, bool retry)
{ … }
static void unregister_notification_address(struct snd_dice *dice)
{ … }
void snd_dice_transaction_destroy(struct snd_dice *dice)
{ … }
int snd_dice_transaction_reinit(struct snd_dice *dice)
{ … }
static int get_subaddrs(struct snd_dice *dice)
{ … }
int snd_dice_transaction_init(struct snd_dice *dice)
{ … }