~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/sound/soc-acpi-intel-ssp-common.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * Copyright(c) 2023 Intel Corporation.
  4  */
  5 
  6 #ifndef __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H
  7 #define __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H
  8 
  9 /* Cirrus Logic */
 10 #define CS35L41_ACPI_HID        "CSC3541"
 11 #define CS42L42_ACPI_HID        "10134242"
 12 
 13 /* Dialog */
 14 #define DA7219_ACPI_HID         "DLGS7219"
 15 
 16 /* Everest */
 17 #define ES8316_ACPI_HID         "ESSX8316"
 18 #define ES8326_ACPI_HID         "ESSX8326"
 19 #define ES8336_ACPI_HID         "ESSX8336"
 20 
 21 #define MAX_98357A_ACPI_HID     "MX98357A"
 22 #define MAX_98360A_ACPI_HID     "MX98360A"
 23 #define MAX_98373_ACPI_HID      "MX98373"
 24 #define MAX_98390_ACPI_HID      "MX98390"
 25 
 26 /* Nuvoton */
 27 #define NAU8318_ACPI_HID        "NVTN2012"
 28 #define NAU8825_ACPI_HID        "10508825"
 29 
 30 /* Realtek */
 31 #define RT1011_ACPI_HID         "10EC1011"
 32 #define RT1015_ACPI_HID         "10EC1015"
 33 #define RT1015P_ACPI_HID        "RTL1015"
 34 #define RT1019P_ACPI_HID        "RTL1019"
 35 #define RT1308_ACPI_HID         "10EC1308"
 36 #define RT5650_ACPI_HID         "10EC5650"
 37 #define RT5682_ACPI_HID         "10EC5682"
 38 #define RT5682S_ACPI_HID        "RTL5682"
 39 
 40 enum snd_soc_acpi_intel_codec {
 41         CODEC_NONE,
 42 
 43         /* headphone codec */
 44         CODEC_CS42L42,
 45         CODEC_DA7219,
 46         CODEC_ES8316,
 47         CODEC_ES8326,
 48         CODEC_ES8336,
 49         CODEC_NAU8825,
 50         CODEC_RT5650,
 51         CODEC_RT5682,
 52         CODEC_RT5682S,
 53 
 54         /* speaker amplifier */
 55         CODEC_CS35L41,
 56         CODEC_MAX98357A,
 57         CODEC_MAX98360A,
 58         CODEC_MAX98373,
 59         CODEC_MAX98390,
 60         CODEC_NAU8318,
 61         CODEC_RT1011,
 62         CODEC_RT1015,
 63         CODEC_RT1015P,
 64         CODEC_RT1019P,
 65         CODEC_RT1308,
 66 };
 67 
 68 enum snd_soc_acpi_intel_codec
 69 snd_soc_acpi_intel_detect_codec_type(struct device *dev);
 70 enum snd_soc_acpi_intel_codec
 71 snd_soc_acpi_intel_detect_amp_type(struct device *dev);
 72 
 73 const char *
 74 snd_soc_acpi_intel_get_codec_name(enum snd_soc_acpi_intel_codec codec_type);
 75 
 76 const char *
 77 snd_soc_acpi_intel_get_codec_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);
 78 const char *
 79 snd_soc_acpi_intel_get_amp_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);
 80 
 81 #endif /* __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H */
 82 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php