linux/sound/firewire/oxfw/oxfw-scs1x.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * oxfw-scs1x.c - a part of driver for OXFW970/971 based devices
 *
 * Copyright (c) Clemens Ladisch <[email protected]>
 * Copyright (c) 2015 Takashi Sakamoto <[email protected]>
 */

#include "oxfw.h"

#define HSS1394_ADDRESS
#define HSS1394_MAX_PACKET_SIZE
#define HSS1394_TAG_USER_DATA
#define HSS1394_TAG_CHANGE_ADDRESS

struct fw_scs1x {};

static const u8 sysex_escape_prefix[] =;

static void midi_input_escaped_byte(struct snd_rawmidi_substream *stream,
				    u8 byte)
{}

static void midi_input_byte(struct fw_scs1x *scs,
			    struct snd_rawmidi_substream *stream, u8 byte)
{}

static void midi_input_packet(struct fw_scs1x *scs,
			      struct snd_rawmidi_substream *stream,
			      const u8 *data, unsigned int bytes)
{}

static void handle_hss(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 void scs_write_callback(struct fw_card *card, int rcode,
			       void *data, size_t length, void *callback_data)
{}

static bool is_valid_running_status(u8 status)
{}

static bool is_one_byte_cmd(u8 status)
{}

static bool is_two_bytes_cmd(u8 status)
{}

static bool is_three_bytes_cmd(u8 status)
{}

static bool is_invalid_cmd(u8 status)
{}

static void scs_output_work(struct work_struct *work)
{}

static int midi_capture_open(struct snd_rawmidi_substream *stream)
{}

static int midi_capture_close(struct snd_rawmidi_substream *stream)
{}

static void midi_capture_trigger(struct snd_rawmidi_substream *stream, int up)
{}

static int midi_playback_open(struct snd_rawmidi_substream *stream)
{}

static int midi_playback_close(struct snd_rawmidi_substream *stream)
{}

static void midi_playback_trigger(struct snd_rawmidi_substream *stream, int up)
{}
static void midi_playback_drain(struct snd_rawmidi_substream *stream)
{}

static int register_address(struct snd_oxfw *oxfw)
{}

static void remove_scs1x(struct snd_rawmidi *rmidi)
{}

void snd_oxfw_scs1x_update(struct snd_oxfw *oxfw)
{}

int snd_oxfw_scs1x_add(struct snd_oxfw *oxfw)
{}