1*536a8300SMatthew Dillon /* 2*536a8300SMatthew Dillon * Copyright (c) 2015 The DragonFly Project. All rights reserved. 3*536a8300SMatthew Dillon * 4*536a8300SMatthew Dillon * Redistribution and use in source and binary forms, with or without 5*536a8300SMatthew Dillon * modification, are permitted provided that the following conditions 6*536a8300SMatthew Dillon * are met: 7*536a8300SMatthew Dillon * 8*536a8300SMatthew Dillon * 1. Redistributions of source code must retain the above copyright 9*536a8300SMatthew Dillon * notice, this list of conditions and the following disclaimer. 10*536a8300SMatthew Dillon * 2. Redistributions in binary form must reproduce the above copyright 11*536a8300SMatthew Dillon * notice, this list of conditions and the following disclaimer in 12*536a8300SMatthew Dillon * the documentation and/or other materials provided with the 13*536a8300SMatthew Dillon * distribution. 14*536a8300SMatthew Dillon * 3. Neither the name of The DragonFly Project nor the names of its 15*536a8300SMatthew Dillon * contributors may be used to endorse or promote products derived 16*536a8300SMatthew Dillon * from this software without specific, prior written permission. 17*536a8300SMatthew Dillon * 18*536a8300SMatthew Dillon * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*536a8300SMatthew Dillon * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*536a8300SMatthew Dillon * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21*536a8300SMatthew Dillon * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22*536a8300SMatthew Dillon * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23*536a8300SMatthew Dillon * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 24*536a8300SMatthew Dillon * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25*536a8300SMatthew Dillon * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 26*536a8300SMatthew Dillon * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 27*536a8300SMatthew Dillon * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 28*536a8300SMatthew Dillon * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29*536a8300SMatthew Dillon * SUCH DAMAGE. 30*536a8300SMatthew Dillon */ 31*536a8300SMatthew Dillon 32*536a8300SMatthew Dillon void hdaa_patch_direct_acer_c720(struct hdaa_devinfo *devinfo); 33*536a8300SMatthew Dillon uint32_t hda_read_coef_idx(device_t dev, nid_t nid, unsigned int coef_idx); 34*536a8300SMatthew Dillon void hda_write_coef_idx(device_t dev, nid_t nid, unsigned int coef_idx, 35*536a8300SMatthew Dillon unsigned coef_val); 36