/linux/sound/soc/codecs/ |
H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- ALSA Soc WM9712 codec support 5 * Copyright 2006-12 Wolfson Microelectronics PLC. 111 "Line", "Headphone Mixer", "Phone Mixer", "Phone"}; 115 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 156 SOC_ENUM("ALC NG Type", wm9712_enum[10]), 168 SOC_SINGLE("PCBeep Bypass Phone Volume", AC97_PC_BEEP, 4, 7, 1), 172 SOC_SINGLE("Aux Playback Phone Volume", AC97_CD, 4, 7, 1), 174 SOC_SINGLE("Phone Volume", AC97_PHONE, 0, 15, 1), 178 SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, [all …]
|
/linux/drivers/input/misc/ |
H A D | cm109.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007 - 2008 Alfred E. Heggestad <aeh@db.org> 10 * - Komunikate KIP1000 11 * - Genius G-talk 12 * - Allied-Telesis Corega USBPH01 13 * - ... 18 * - Authors of yealink.c 19 * - Thomas Reitmayr 20 * - Oliver Neukum for good review comments and code 21 * - Shaun Jackman <sjackman@gmail.com> for Genius G-talk keymap [all …]
|
H A D | yealink.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Driver for the USB-P1K voip usb phone. 12 * - Yealink usb-p1k 13 * - Tiptel 115 14 * - ... 17 * - the usbb2k-api http://savannah.nongnu.org/projects/usbb2k-api/ 18 * - information from http://memeteau.free.fr/usbb2k 19 * - the xpad-driver drivers/input/joystick/xpad.c 22 * - Olivier Vandorpe, for providing the usbb2k-api. 23 * - Martin Diehl, for spotting my memory allocation bug. [all …]
|
H A D | yealink.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* Using the control channel on interface 3 various aspects of the phone 16 u8 size; /* 1-11, size of used data bytes. */ 49 * offset key number [0-1f] 57 * size 1-11 58 * offset 0-23 77 * data[0] 0-0xff volume 84 * size 1-11 85 * offset 0-> 86 * data binary representation LE16(-freq), LE16(duration) .... [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 19 comment "OMAP Core Type" 73 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is 86 timer provides more intra-tick resolution than the 32KHz timer, 90 bool "Enable wake-up events for serial ports" 113 comment "OMAP Board Type" 136 Support for the Siemens SX1 phone. To boot the kernel, 141 Say Y here if you have such a phone, say NO otherwise.
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,versatile.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 The ARM Versatile boards are two variants of ARM926EJ-S evaluation boards 30 - description: The ARM Versatile Application Baseboard (HBI-0118) is an 31 evaluation board specifically for the ARM926EJ-S. It can be connected 32 to an IB1 interface board for a touchscreen-type use case or an IB2 33 for a candybar phone-type use case. See ARM DUI 0225D. 35 - const: arm,versatile-ab [all …]
|
/linux/lib/ |
H A D | dhry.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 6 * ----------------------------- 19 * Phone: [+49]-9131-7-20330 20 * (8-17 Central European Time) 25 * pp. 1013 - 1030, together with the statistics 29 * - strcpy, strcmp (inside the measurement loop) 30 * - printf, scanf (outside the measurement loop) 42 * Phone: (201) 389-8963 (9-17 EST) 47 * Hardware information includes: Machine type, CPU, type and size 82 * Alan Smith and Rafael Saavedra-Barrera (UC at Berkeley) [all …]
|
/linux/drivers/acpi/ |
H A D | acpi_pnp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ACPI support for PNP bus type 37 {"CDC0001"}, /* Opl3-SAx */ 50 {"YMH0006"}, /* Opl3-SA */ 51 {"YMH0022"}, /* Opl3-SAx */ 83 /* radio-cadet */ 85 /* radio-gemtek */ 86 {"ADS7183"}, /* AOpen FX-3D/Pro Radio */ 87 /* radio-sf16fmr2 */ 88 {"MFRad13"}, /* tuner subdevice of SF16-FMD2 */ [all …]
|
/linux/sound/isa/ad1816a/ |
H A D | ad1816a_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ad1816a.c - lowlevel code for Analog Devices AD1816A chip. 4 Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it> 24 for (timeout = 1000; timeout-- > 0; udelay(10)) in snd_ad1816a_busy_wait() 28 dev_warn(chip->card->dev, "chip busy.\n"); in snd_ad1816a_busy_wait() 29 return -EBUSY; in snd_ad1816a_busy_wait() 101 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_open() 103 if (chip->mode & mode) { in snd_ad1816a_open() 104 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open() 105 return -EAGAIN; in snd_ad1816a_open() [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 67 if (emu->spdif_enable) { in ca0106_spdif_enable() 73 val = inl(emu->port + CA0106_GPIO) & ~0x101; in ca0106_spdif_enable() 74 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable() 82 val = inl(emu->port + CA0106_GPIO) | 0x101; in ca0106_spdif_enable() 83 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable() 89 unsigned int val = emu->capture_source; in ca0106_set_capture_source() 103 ngain = emu->i2c_capture_volume[val][0]; /* Left */ in ca0106_set_i2c_capture_source() 104 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][0]; /* Left */ in ca0106_set_i2c_capture_source() [all …]
|
/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Lee Revell <rlrevell@joe-job.com> 6 * James Courtier-Dutton <James@superbug.co.uk> 24 static const DECLARE_TLV_DB_SCALE(snd_audigy_db_scale2, -10350, 50, 1); /* WM8775 gain scale */ 36 err = snd_ctl_add(emu->card, snd_ctl_new1(&kctl, emu)); in add_ctls() 46 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_emu10k1_spdif_info() 47 uinfo->count = 1; in snd_emu10k1_spdif_info() 55 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_get() 57 /* Limit: emu->spdif_bits */ in snd_emu10k1_spdif_get() 59 return -EINVAL; in snd_emu10k1_spdif_get() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-camera.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _camera-controls: 13 .. _camera-control-id: 23 .. _v4l2-exposure-auto-type: 28 enum v4l2_exposure_auto_type - 37 .. flat-table:: 38 :header-rows: 0 39 :stub-columns: 0 41 * - ``V4L2_EXPOSURE_AUTO`` 42 - Automatic exposure time, automatic iris aperture. [all …]
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-kirin.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for Kirin Phone SoCs 27 #include "pcie-designware.h" 29 #define to_kirin_pcie(x) dev_get_drvdata((x)->dev) 58 * in-board Ethernet adapter and the other two connected to M.2 and mini 71 enum pcie_kirin_phy_type type; member 81 /* Per-slot PERST# */ 86 /* Per-slot clkreq */ 140 writel(val, hi3660_pcie_phy->base + reg); in kirin_apb_phy_writel() 146 return readl(hi3660_pcie_phy->base + reg); in kirin_apb_phy_readl() [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-arm-versatile.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - The IB1 is a passive board where the display connector defines a 15 * few wires for encoding the display type for autodetection, 19 * - The IB2 is a more complex board intended for GSM phone development 51 /* The Versatile can detect the connected panel type */ 66 * struct versatile_panel_type - lookup struct for the supported panels 100 * struct versatile_panel - state container for the Versatile panels 112 * @panel_type: the Versatile panel type as detected 127 * Sanyo TM38QV67A02A - 3.8 inch QVGA (320x240) Color TFT 173 * Epson L2F50113T00 - 2.2 inch QCIF 176x220 Color TFT [all …]
|
H A D | panel-samsung-s6d27a1.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Found in the Samsung Galaxy Ace 2 GT-I8160 mobile phone. 15 #include <linux/media-bus-format.h> 76 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_read_mtp_id() 82 dev_err(ctx->dev, "unable to read MTP ID 1\n"); in s6d27a1_read_mtp_id() 87 dev_err(ctx->dev, "unable to read MTP ID 2\n"); in s6d27a1_read_mtp_id() 92 dev_err(ctx->dev, "unable to read MTP ID 3\n"); in s6d27a1_read_mtp_id() 95 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6d27a1_read_mtp_id() 100 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_power_on() 104 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->regulators), in s6d27a1_power_on() [all …]
|
H A D | panel-samsung-db7430.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Found in the Samsung Galaxy Beam GT-I8350 mobile phone. 16 #include <linux/media-bus-format.h> 49 * struct db7430 - state container for a panel controlled by the DB7430 91 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() 95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on() 96 db->regulators); in db7430_power_on() 98 dev_err(db->dev, "failed to enable regulators: %d\n", ret); in db7430_power_on() 104 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_on() 106 /* De-assert reset */ in db7430_power_on() [all …]
|
/linux/sound/pci/ac97/ |
H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 46 kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv() 47 if (kctl && kctl->tlv.p) in reset_tlv() 48 kctl->tlv.p = tlv; in reset_tlv() 57 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 62 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() 67 * shared line-in/mic controls 80 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get() 87 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put() [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-codina-tmo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 5 * for T-Mobile in the United States. 7 * This phone is closely related to the Codina, but has: 8 * - No CPU speed cap, full ~1GHz rate 9 * - Different power management IC, AB8505 10 * - As AB8505 has a micro USB phy, no TI TSU6111 11 * - Different power routing such as the removal of the external LDO for the 13 * - Using a regulator for the key backlight LED [all …]
|
H A D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sunplus,sp7021-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/sunplus,sp7021-pinctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Dvorkin Dmitry <dvorkin@tibbo.com> 12 - Wells Lu <wellslutw@gmail.com> 16 refer to pinctrl-bindings.txt in this directory for details of the common 23 (1) function-group pins: 24 Ex 1 (SPI-NOR flash): 25 If control-field SPI_FLASH_SEL is set to 1, GPIO 83, 84, 86 and 87 [all …]
|
/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/linux/include/uapi/linux/ |
H A D | input-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 70 * AC - Application Control 71 * AL - Applicatio [all...] |
/linux/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 70 * AC - Application Control 71 * AL - Applicatio [all...] |
/linux/include/sound/ |
H A D | ac97_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 24 /* specific - SigmaTel */ 33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */ 37 /* specific - Analog Devices */ 47 /* specific - Cirrus Logic */ 56 /* specific - Conexant */ 64 /* specific - ALC */ 106 /* specific - Yamaha YMF7x3 */ 110 /* specific - C-Media */ 116 /* specific - wolfson */ [all …]
|