1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * linux/sound/wm9081.h -- Platform data for W 2 * linux/sound/wm9081.h -- Platform data for WM9081 4 * 3 * 5 * Copyright 2009 Wolfson Microelectronics. PL 4 * Copyright 2009 Wolfson Microelectronics. PLC. >> 5 * >> 6 * This program is free software; you can redistribute it and/or modify >> 7 * it under the terms of the GNU General Public License version 2 as >> 8 * published by the Free Software Foundation. 6 */ 9 */ 7 10 8 #ifndef __LINUX_SND_WM_9081_H 11 #ifndef __LINUX_SND_WM_9081_H 9 #define __LINUX_SND_WM_9081_H 12 #define __LINUX_SND_WM_9081_H 10 13 11 struct wm9081_retune_mobile_setting { 14 struct wm9081_retune_mobile_setting { 12 const char *name; 15 const char *name; 13 unsigned int rate; 16 unsigned int rate; 14 u16 config[20]; 17 u16 config[20]; 15 }; 18 }; 16 19 17 struct wm9081_pdata { !! 20 struct wm9081_retune_mobile_config { 18 bool irq_high; /* IRQ is active high !! 21 struct wm9081_retune_mobile_setting *configs; 19 bool irq_cmos; /* IRQ is in CMOS mod !! 22 int num_configs; 20 << 21 struct wm9081_retune_mobile_setting *r << 22 int num_retune_configs; << 23 }; 23 }; 24 24 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.