2 * wmfw.h - Wolfson firmware format information
4 * Copyright 2012 Wolfson Microelectronics plc
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
16 #include <linux/types.h>
31 struct wmfw_adsp1_sizes
{
37 struct wmfw_adsp2_sizes
{
60 struct wmfw_adsp1_id_hdr
{
61 struct wmfw_id_hdr fw
;
67 struct wmfw_adsp2_id_hdr
{
68 struct wmfw_id_hdr fw
;
80 struct wmfw_adsp1_alg_hdr
{
81 struct wmfw_alg_hdr alg
;
86 struct wmfw_adsp2_alg_hdr
{
87 struct wmfw_alg_hdr alg
;
93 struct wmfw_coeff_hdr
{
107 struct wmfw_coeff_item
{
120 #define WMFW_ABSOLUTE 0xf0
121 #define WMFW_NAME_TEXT 0xfe
122 #define WMFW_INFO_TEXT 0xff
124 #define WMFW_ADSP1_PM 2
125 #define WMFW_ADSP1_DM 3
126 #define WMFW_ADSP1_ZM 4
128 #define WMFW_ADSP2_PM 2
129 #define WMFW_ADSP2_ZM 4
130 #define WMFW_ADSP2_XM 5
131 #define WMFW_ADSP2_YM 6