/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
*/
#include "ac97_impl.h"
static void
{
if (value & 2) {
} else {
}
}
static void
{
if (value & 2) {
} else {
}
}
#if 0
static void
{
if (value & 2) {
} else {
}
}
#endif
static void
{
/* limit input values to 16 bits and split to right and left */
/* If this control is mute-able than set as muted if needed */
/* select page 0 */
/* adjust all three PCM volumes */
}
static const char *alc_linein_funcs[] = {
};
static const char *alc_mic_funcs[] = {
};
};
};
static void
{
/* override master PCM volume function */
}
}
void
{
int ival;
}
}
}
void
{
/*
* NB: We could probably enable 7.1 here using the AUXIN source,
* but there are a few details still missing from the data sheet.
* (Such as, how is volume from the back-surround DAC managed?,
* and what SDATA slots are the back surround delivered on?)
*
* Also, the AC'97 controllers themselves don't necessarily support
* 7.1, so we'd have to figure out how to coordinate detection
* with the controller. 5.1 should be good enough for now.
*
* Unlike other products, ALC850 has separate pins for 5.1 data,
* so jack retasking isn't needed. However, it can retask
* some jacks, but we don't have full details for that right
* now. We've not seen it on any systems (yet) where this was
* necessary, though.
*/
}