Home
last modified time | relevance | path

Searched +full:hp +full:- +full:cfg (Results 1 – 25 of 86) sorted by relevance

1234

/linux/Documentation/devicetree/bindings/sound/
H A Dwlf,wm8960.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
22 clock-names:
24 - const: mclk
26 '#sound-dai-cells':
29 AVDD-supply:
32 DBVDD-supply:
35 DCVDD-supply:
[all …]
/linux/sound/pci/hda/
H A Dhda_generic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init()
48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
68 else if (knew->name) in snd_hda_gen_add_kctl()
[all …]
H A Dhda_auto_parser.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * BIOS auto-parser helper functions for HD-audio
38 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */
44 const struct auto_pin_cfg *cfg,
47 const struct auto_pin_cfg *cfg,
52 INPUT_PIN_ATTR_INT, /* internal mic/line-in */
53 INPUT_PIN_ATTR_DOCK, /* docking mic/line-in */
54 INPUT_PIN_ATTR_NORMAL, /* mic/line-in jack */
55 INPUT_PIN_ATTR_REAR, /* mic/line-in jack in rear */
56 INPUT_PIN_ATTR_FRONT, /* mic/line-in jack in front */
[all …]
H A Dpatch_conexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Tobin Davis <tdavis@dsl-only.net>
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
68 return -ENOMEM; in set_beep_amp()
69 knew->private_valu in set_beep_amp()
354 struct auto_pin_cfg *cfg = &spec->gen.autocfg; cxt_update_headset_mode() local
[all...]
H A Dhda_proc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 static int dump_coef = -1;
19 MODULE_PARM_DESC(dump_coef, "Dump processing coefficients in codec proc file (-1=auto, 0=disable, 1…
23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
38 if (wid_value == -1) in get_wid_type_name()
52 struct hda_nid_item *items = array->list, *item; in print_nid_array()
54 for (i = 0; i < array->used; i++) { in print_nid_array()
56 if (item->nid == nid) { in print_nid_array()
57 kctl = item->kctl; in print_nid_array()
60 kctl->id.name, kctl->id.index + item->index, in print_nid_array()
[all …]
H A Dhda_generic.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
16 /* table entry for multi-io paths */
18 hda_nid_t pin; /* multi-io widget pin NID */
20 unsigned int ctl_in; /* cached input-pin control value */
25 * For output, stored in the order of DAC -> ... -> pin,
26 * for input, pin -> ... -> ADC.
30 * multi[] indicates whether it's a selector widget with multi-connectors
56 /* mic/line-in auto switching entry */
62 int idx; /* imux index, -1 = invalid */
[all …]
H A Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 /* extra amp-initialization sequence types */
96 /* mute LED for HP laptops, see vref_mute_led_set() */
147 struct alc_spec *spec = codec->spec; in coef_mutex_lock()
150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock()
155 struct alc_spec *spec = codec->spe in coef_mutex_unlock()
1189 struct auto_pin_cfg *cfg = &spec->gen.autocfg; alc_parse_auto_config() local
4134 unsigned int cfg; alc271_fixup_dmic() local
5987 struct auto_pin_cfg *cfg = &spec->gen.autocfg; alc_probe_headset_mode() local
6281 struct auto_pin_cfg *cfg = &spec->gen.autocfg; find_ext_mic_pin() local
6320 struct auto_pin_cfg *cfg = &spec->gen.autocfg; alc269_fixup_limit_int_mic_boost() local
[all...]
H A Dpatch_cmedia.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * HD audio interface patch for C-Media CMI9880
85 {0x43, CM9825_VERB_SET_GAD, 0x07}, /* ADC -3db */
123 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_unsol_hp_delayed()
127 hp_jack_plugin = snd_hda_jack_detect(spec->codec, hp_pin); in cm9825_unsol_hp_delayed()
129 codec_dbg(spec->codec, "hp_jack_plugin %d, hp_pin 0x%X\n", in cm9825_unsol_hp_delayed()
134 snd_hda_codec_write(spec->codec, 0x42, 0, in cm9825_unsol_hp_delayed()
137 codec_dbg(spec->codec, "codec_write err %d\n", err); in cm9825_unsol_hp_delayed()
139 snd_hda_sequence_write(spec->codec, spec->chip_hp_remove_verbs); in cm9825_unsol_hp_delayed()
141 snd_hda_sequence_write(spec->codec, in cm9825_unsol_hp_delayed()
[all …]
/linux/arch/sparc/kernel/
H A Dvio.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2003-2005 IBM Corp.
29 type = dev->type; in vio_match_device()
30 compat = dev->compat; in vio_match_device()
31 len = dev->compat_len; in vio_match_device()
33 while (matches->type[0] || matches->compat[0]) { in vio_match_device()
35 if (matches->type[0]) in vio_match_device()
36 match &= !strcmp(matches->type, type); in vio_match_device()
38 if (matches->compat[0]) { in vio_match_device()
40 of_find_in_proplist(compat, matches->compat, len); in vio_match_device()
[all …]
H A Dmdesc.c1 // SPDX-License-Identifier: GPL-2.0
26 /* Unlike the OBP device tree, the machine description is a full-on
107 {"virtual-device-port", get_vdev_port_node_info,
109 {"domain-services-port", get_ds_port_node_info,
149 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument
153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init()
155 memset(hp, 0, handle_size); in mdesc_handle_init()
156 INIT_LIST_HEAD(&hp->list); in mdesc_handle_init()
157 hp->self_base = base; in mdesc_handle_init()
158 refcount_set(&hp->refcnt, 1); in mdesc_handle_init()
[all …]
H A Dldc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* ldc.c: Logical Domain Channel link-layer protocol driver.
19 #include <asm/iommu-common.h>
40 * When in RAW mode, packets are simply straight 64-byte payloads
70 u8 u_data[LDC_PACKET_SIZE - 8];
74 u8 r_data[LDC_PACKET_SIZE - 8 - 8];
141 struct ldc_channel_config cfg; member
177 do { if (lp->cfg.debug & LDC_DEBUG_##TYPE) \
178 printk(KERN_INFO PFX "ID[%lu] " f, lp->id, ## a); \
212 return __advance(off, lp->rx_num_entries); in rx_advance()
[all …]
/linux/sound/soc/intel/boards/
H A Dbytcr_rt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform
30 #include <sound/soc-acpi.h>
31 #include <dt-bindings/sound/rt5640.h>
33 #include "../atom/sst-atom-controls.h"
34 #include "../common/soc-intel-quirks.h"
36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640"
77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */
98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */
112 static int quirk_override = -1;
[all …]
H A Dbytcr_rt5651.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform
29 #include <sound/soc-acpi.h>
31 #include "../atom/sst-atom-controls.h"
32 #include "../common/soc-intel-quirks.h"
80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */
93 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */
97 static int quirk_override = -1;
99 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
112 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks()
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-tec.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
20 interrupt-parent = <&gpio>;
23 gpio-controller;
24 #gpio-cells = <2>;
26 micdet-cfg = <0>;
27 micdet-delay = <100>;
28 gpio-cfg = <0xffffffff
45 compatible = "ad,tegra-audio-wm8903-tec",
[all …]
H A Dtegra20-plutux.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
20 interrupt-parent = <&gpio>;
23 gpio-controller;
24 #gpio-cells = <2>;
26 micdet-cfg = <0>;
27 micdet-delay = <100>;
28 gpio-cfg = <0xffffffff
37 compatible = "ad,tegra-audio-plutux",
[all …]
H A Dtegra20-medcom-wide.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
7 model = "Avionic Design Medcom-Wide board";
8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
15 stdout-path = "serial0:115200n8";
35 interrupt-parent = <&gpio>;
38 gpio-controller;
39 #gpio-cells = <2>;
41 micdet-cfg = <0>;
[all …]
/linux/sound/soc/codecs/
H A Dmadera.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
18 #include <linux/irqchip/irq-madera.h>
22 #include <sound/madera-pdata.h>
24 #include <dt-bindings/sound/madera.h>
143 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
145 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
147 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
150 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
152 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
[all …]
H A Dda7219-aad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver
24 #include "da7219-aad.h"
35 da7219->aad->jack = jack; in da7219_aad_jack_det()
36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det()
55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work()
83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work()
85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work()
91 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work()
96 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work()
[all …]
H A Dmax98095.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98095.c -- MAX98095 ALSA SoC Audio driver
338 "Off", "Elliptical-HPF-16k", "Butterworth-HPF-16k",
339 "Elliptical-HPF-8k", "Butterworth-HPF-8k", "Butterworth-HPF-Fs/240"};
355 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic1pre_set()
357 max98095->mic1pre = sel; in max98095_mic1pre_set()
370 ucontrol->value.integer.value[0] = max98095->mic1pre; in max98095_mic1pre_get()
379 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic2pre_set()
381 max98095->mic2pre = sel; in max98095_mic2pre_set()
394 ucontrol->value.integer.value[0] = max98095->mic2pre; in max98095_mic2pre_get()
[all …]
/linux/drivers/net/ethernet/sun/
H A Dldmvsw.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2016-2017 Oracle. All rights reserved.
37 * and dev->tx_timeout() should be called to fix the problem.
66 strscpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver)); in vsw_get_drvinfo()
67 strscpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); in vsw_get_drvinfo()
74 return port->vp->msg_enable; in vsw_get_msglevel()
81 port->vp->msg_enable = value; in vsw_set_msglevel()
111 return port->q_index; in vsw_select_queue()
124 return sunvnet_set_rx_mode_common(dev, port->vp); in vsw_set_rx_mode()
130 struct vio_driver_state *vio = &port->vio; in ldmvsw_open()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl-evk.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl";
24 stdout-path = &lpuart0;
27 imx8dxl-cm4 {
28 compatible = "fsl,imx8qxp-cm4";
30 mbox-names = "tx", "rx", "rxdb";
32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>,
34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>;
35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>;
[all …]
/linux/drivers/video/
H A Dsticore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/video/console/sticore.c -
4 * core code for console driver using HP's STI firmware
7 * Copyright (C) 2001-2023 Helge Deller <deller@gmx.de>
8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de>
11 * - call STI in virtual mode rather than in real mode
12 * - screen blanking with state_mgmt() in text mode STI ?
13 * - try to make it work on m68k hp workstations ;)
29 #include <asm/parisc-device.h>
48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val()
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dbaikal,bt1-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Baikal-T1 PCIe Root Port Controller
10 - Serge Semin <fancer.lancer@gmail.com>
13 Embedded into Baikal-T1 SoC Root Complex controller with a single port
14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured
18 performed by software. There four in- and four outbound iATU regions
22 - $ref: /schemas/pci/snps,dw-pcie.yaml#
[all …]
/linux/arch/x86/kernel/acpi/
H A Dboot.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * boot.c - Architecture-Specific Low-Level ACPI Boot Support
22 #include <linux/efi-bgrt.h>
74 * ->device_hotplug_lock
75 * ->acpi_ioapic_lock
76 * ->ioapic_lock
78 * ->acpi_ioapic_lock
79 * ->ioapic_mutex
80 * ->ioapic_lock
85 /* --------------------------------------------------------------------------
[all …]
/linux/drivers/eisa/
H A Deisa.ids6 # Marc Zyngier <maz@wild-wind.fr.eu.org>
10 ABP0510 "Advansys ABP-510 ISA SCSI Host Adapter"
11 ABP0540 "Advansys ABP-540/542 ISA SCSI Host Adapter"
12 ABP7401 "AdvanSys ABP-740/742 EISA Single Channel SCSI Host Adapter"
13 ABP7501 "AdvanSys ABP-750/752 EISA Dual Channel SCSI Host Adapter"
14 ACC1200 "ACCTON EtherCombo-32 Ethernet Adapter"
15 ACC120A "ACCTON EtherCombo-32 Ethernet Adapter"
25 ACE7010 "ACME Multi-Function Board"
39 ACR1711 "AcerFrame 1000 486/33 SYSTEM-2"
41 ACR3211 "AcerFrame 3000MP 486 SYSTEM-1"
[all …]

1234