linux/sound/firewire/fireface/ff-transaction.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ff-transaction.c - a part of driver for RME Fireface series
 *
 * Copyright (c) 2015-2017 Takashi Sakamoto
 */

#include "ff.h"

static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port,
				     int rcode)
{}

static void finish_transmit_midi0_msg(struct fw_card *card, int rcode,
				      void *data, size_t length,
				      void *callback_data)
{}

static void finish_transmit_midi1_msg(struct fw_card *card, int rcode,
				      void *data, size_t length,
				      void *callback_data)
{}

static void transmit_midi_msg(struct snd_ff *ff, unsigned int port)
{}

static void transmit_midi0_msg(struct work_struct *work)
{}

static void transmit_midi1_msg(struct work_struct *work)
{}

static void handle_msg(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 allocate_own_address(struct snd_ff *ff, int i)
{}

// Controllers are allowed to register higher 4 bytes of destination address to
// receive asynchronous transactions for MIDI messages, while the way to
// register lower 4 bytes of address is different depending on protocols. For
// details, please refer to comments in protocol implementations.
//
// This driver expects userspace applications to configure registers for the
// lower address because in most cases such registers has the other settings.
int snd_ff_transaction_reregister(struct snd_ff *ff)
{}

int snd_ff_transaction_register(struct snd_ff *ff)
{}

void snd_ff_transaction_unregister(struct snd_ff *ff)
{}