linux/sound/drivers/opl4/yrw801.c

/*
 * Information about the Yamaha YRW801 wavetable ROM chip
 *
 * Copyright (c) 2003 by Clemens Ladisch <[email protected]>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions, and the following disclaimer,
 *    without modification.
 * 2. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission.
 *
 * Alternatively, this software may be distributed and/or modified under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */

#include "opl4_local.h"

int snd_yrw801_detect(struct snd_opl4 *opl4)
{}

/*
 * The instrument definitions are stored statically because, in practice, the
 * OPL4 is always coupled with a YRW801. Dynamic instrument loading would be
 * required if downloading sample data to external SRAM was actually supported
 * by this driver.
 */

static const struct opl4_region regions_00[] =;
static const struct opl4_region regions_01[] =;
static const struct opl4_region regions_02[] =;
static const struct opl4_region regions_03[] =;
static const struct opl4_region regions_04[] =;
static const struct opl4_region regions_05[] =;
static const struct opl4_region regions_06[] =;
static const struct opl4_region regions_07[] =;
static const struct opl4_region regions_08[] =;
static const struct opl4_region regions_09[] =;
static const struct opl4_region regions_0a[] =;
static const struct opl4_region regions_0b[] =;
static const struct opl4_region regions_0c[] =;
static const struct opl4_region regions_0d[] =;
static const struct opl4_region regions_0e[] =;
static const struct opl4_region regions_0f[] =;
static const struct opl4_region regions_10[] =;
static const struct opl4_region regions_11[] =;
static const struct opl4_region regions_12[] =;
static const struct opl4_region regions_13[] =;
static const struct opl4_region regions_14[] =;
static const struct opl4_region regions_15[] =;
static const struct opl4_region regions_16[] =;
static const struct opl4_region regions_17[] =;
static const struct opl4_region regions_18[] =;
static const struct opl4_region regions_19[] =;
static const struct opl4_region regions_1a[] =;
static const struct opl4_region regions_1b[] =;
static const struct opl4_region regions_1c[] =;
static const struct opl4_region regions_1d[] =;
static const struct opl4_region regions_1e[] =;
static const struct opl4_region regions_1f[] =;
static const struct opl4_region regions_20[] =;
static const struct opl4_region regions_21[] =;
static const struct opl4_region regions_22[] =;
static const struct opl4_region regions_23[] =;
static const struct opl4_region regions_24[] =;
static const struct opl4_region regions_25[] =;
static const struct opl4_region regions_26[] =;
static const struct opl4_region regions_27[] =;
static const struct opl4_region regions_28[] =;
static const struct opl4_region regions_29[] =;
static const struct opl4_region regions_2a[] =;
static const struct opl4_region regions_2b[] =;
static const struct opl4_region regions_2c[] =;
static const struct opl4_region regions_2d[] =;
static const struct opl4_region regions_2e[] =;
static const struct opl4_region regions_2f[] =;
static const struct opl4_region regions_30[] =;
static const struct opl4_region regions_31[] =;
static const struct opl4_region regions_32[] =;
static const struct opl4_region regions_33[] =;
static const struct opl4_region regions_34[] =;
static const struct opl4_region regions_35[] =;
static const struct opl4_region regions_36[] =;
static const struct opl4_region regions_37[] =;
static const struct opl4_region regions_38[] =;
static const struct opl4_region regions_39[] =;
static const struct opl4_region regions_3a[] =;
static const struct opl4_region regions_3b[] =;
static const struct opl4_region regions_3c[] =;
static const struct opl4_region regions_3d[] =;
static const struct opl4_region regions_3e[] =;
static const struct opl4_region regions_3f[] =;
static const struct opl4_region regions_40[] =;
static const struct opl4_region regions_41[] =;
static const struct opl4_region regions_42[] =;
static const struct opl4_region regions_43[] =;
static const struct opl4_region regions_44[] =;
static const struct opl4_region regions_45[] =;
static const struct opl4_region regions_46[] =;
static const struct opl4_region regions_47[] =;
static const struct opl4_region regions_48[] =;
static const struct opl4_region regions_49[] =;
static const struct opl4_region regions_4a[] =;
static const struct opl4_region regions_4b[] =;
static const struct opl4_region regions_4c[] =;
static const struct opl4_region regions_4d[] =;
static const struct opl4_region regions_4e[] =;
static const struct opl4_region regions_4f[] =;
static const struct opl4_region regions_50[] =;
static const struct opl4_region regions_51[] =;
static const struct opl4_region regions_52[] =;
static const struct opl4_region regions_53[] =;
static const struct opl4_region regions_54[] =;
static const struct opl4_region regions_55[] =;
static const struct opl4_region regions_56[] =;
static const struct opl4_region regions_57[] =;
static const struct opl4_region regions_58[] =;
static const struct opl4_region regions_59[] =;
static const struct opl4_region regions_5a[] =;
static const struct opl4_region regions_5b[] =;
static const struct opl4_region regions_5c[] =;
static const struct opl4_region regions_5d[] =;
static const struct opl4_region regions_5e[] =;
static const struct opl4_region regions_5f[] =;
static const struct opl4_region regions_60[] =;
static const struct opl4_region regions_61[] =;
static const struct opl4_region regions_62[] =;
static const struct opl4_region regions_63[] =;
static const struct opl4_region regions_64[] =;
static const struct opl4_region regions_65[] =;
static const struct opl4_region regions_66[] =;
static const struct opl4_region regions_67[] =;
static const struct opl4_region regions_68[] =;
static const struct opl4_region regions_69[] =;
static const struct opl4_region regions_6a[] =;
static const struct opl4_region regions_6b[] =;
static const struct opl4_region regions_6c[] =;
static const struct opl4_region regions_6d[] =;
static const struct opl4_region regions_6e[] =;
static const struct opl4_region regions_6f[] =;
static const struct opl4_region regions_70[] =;
static const struct opl4_region regions_71[] =;
static const struct opl4_region regions_72[] =;
static const struct opl4_region regions_73[] =;
static const struct opl4_region regions_74[] =;
static const struct opl4_region regions_75[] =;
static const struct opl4_region regions_76[] =;
static const struct opl4_region regions_77[] =;
static const struct opl4_region regions_78[] =;
static const struct opl4_region regions_79[] =;
static const struct opl4_region regions_7a[] =;
static const struct opl4_region regions_7b[] =;
static const struct opl4_region regions_7c[] =;
static const struct opl4_region regions_7d[] =;
static const struct opl4_region regions_7e[] =;
static const struct opl4_region regions_7f[] =;
static const struct opl4_region regions_drums[] =;

#define REGION(num)
const struct opl4_region_ptr snd_yrw801_regions[0x81] =;