/linux/sound/hda/core/ |
H A D | controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio controller helpers 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 229 unsigned int wp, rp; snd_hdac_bus_send_cmd_corb() local 272 unsigned int rp, wp; snd_hdac_bus_update_rirb() local [all...] |
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042-evb-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "sophgo,sg2042-evb-v2", "sophgo,sg2042"; 16 stdout-path = "serial0"; 19 pwmfan: pwm-fan { 20 compatible = "pwm-fan"; 21 cooling-levels = <103 128 179 230 255>; 23 #cooling-cells = <2>; 26 thermal-zones { [all …]
|
H A D | sg2042-milkv-pioneer.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 model = "Milk-V Pioneer"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
H A D | sg2042-evb-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "sophgo,sg2042-evb-v1", "sophgo,sg2042"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
H A D | cv1812h-huashan-pi.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 12 compatible = "sophgo,huashan-pi", "sophgo,cv1812h"; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <1>; 32 #size-cells = <1>; 37 no-map; 43 clock-frequency = <25000000>; 48 bus-width = <4>; [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 25 #define DUMPPLL(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi_pll_dump() 26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 42 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_enable() local 45 r = pm_runtime_get_sync(&pll->pdev->dev); in hdmi_pll_enable() 50 r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS); in hdmi_pll_enable() 60 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_disable() local 63 hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); in hdmi_pll_disable() 67 r = pm_runtime_put_sync(&pll->pdev->dev); in hdmi_pll_disable() [all …]
|
/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp-zc1751-xm015-dc1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm015-dc1 5 * (C) Copyright 2015 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 20 model = "ZynqMP zc1751-xm015-dc1 RevA"; [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-mighty.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "rk3288-veyron-jaq.dts" 14 compatible = "google,veyron-mighty-rev5", "google,veyron-mighty-rev4", 15 "google,veyron-mighty-rev3", "google,veyron-mighty-rev2", 16 "google,veyron-mighty-rev1", "google,veyron-mighty", 21 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin 23 wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; 25 /delete-property/ disable-wp; 30 sdmmc_wp_pin: sdmmc-wp-pin {
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 27 #include <sound/omap-hdmi-audio.h> 42 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 55 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 56 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 61 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 64 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 65 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 75 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() [all …]
|
H A D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include <sound/omap-hdmi-audio.h> 46 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 59 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 60 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 65 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 68 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 69 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 81 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 93 hdmi_wp_set_irqstatus(wp, HDMI_IRQ_LINK_CONNECT | in hdmi_irq_handler() [all …]
|
H A D | hdmi_pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #define DUMPPLL(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi_pll_dump() 26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 47 const struct dss_pll_hw *hw = pll->pll.hw; in hdmi_pll_compute() 49 clkin = clk_get_rate(pll->pll.clkin); in hdmi_pll_compute() 56 n = DIV_ROUND_UP(clkin, hw->fint_max); in hdmi_pll_compute() 60 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute() 71 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute() 74 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute() 81 /* sigma-delta */ in hdmi_pll_compute() [all …]
|
/linux/drivers/mmc/host/ |
H A D | sdhci-pci-o2micro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "sdhci-pci.h" 101 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable() 137 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock() 171 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk() 177 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk() 221 host->tuning_done = true; in __sdhci_o2_execute_tuning() 225 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() 233 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() 250 struct sdhci_pci_chip *chip = slot->chip; in sdhci_o2_dll_recovery() [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 22 stdout-path = "serial0:115200n8"; 30 hdmi_5v: regulator-hdmi-5v { 31 compatible = "regulator-fixed"; 33 regulator-name = "HDMI_5V"; 34 regulator-min-microvolt = <5000000>; [all …]
|
H A D | meson-gxl-s905x-nexbox-a95x.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxl-s905x.dtsi" 13 compatible = "nexbox,a95x", "amlogic,s905x", "amlogic,meson-gxl"; 22 stdout-path = "serial0:115200n8"; 30 vddio_card: gpio-regulator { 31 compatible = "regulator-gpio"; 33 regulator-name = "VDDIO_CARD"; 34 regulator-min-microvolt = <1800000>; 35 regulator-max-microvolt = <3300000>; [all …]
|
H A D | meson-gxbb-p20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 17 stdout-path = "serial0:115200n8"; 25 usb_pwr: regulator-usb-pwrs { 26 compatible = "regulator-fixed"; 28 regulator-name = "USB_PWR"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; 35 enable-active-high; 38 vddio_card: gpio-regulator { [all …]
|
H A D | meson-gxl-s905w-jethome-jethub-j80.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-gxl.dtsi" 15 compatible = "jethome,jethub-j80", "amlogic,s905w", "amlogic,meson-gxl"; 22 reserved-memory { 37 stdout-path = "serial0:115200n8"; 40 vddio_ao18: regulator-vddio-ao18 { 41 compatible = "regulator-fixed"; 42 regulator-name = "VDDIO_AO18"; 43 regulator-min-microvolt = <1800000>; [all …]
|
H A D | meson-gxm-rbox-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016-2017 Andreas Färber 5 * Based on nexbox-a1: 14 /dts-v1/; 16 #include "meson-gxm.dtsi" 17 #include <dt-bindings/sound/meson-aiu.h> 20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 21 model = "R-Box Pro"; 29 stdout-path = "serial0:115200n8"; 37 spdif_dit: audio-codec-0 { [all …]
|
H A D | meson-sm1-ac2xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 #include "meson-sm1.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/gpio/meson-g12a-gpio.h> 14 #include <dt-bindings/input/input.h> 23 stdout-path = "serial0:115200n8"; 26 emmc_pwrseq: emmc-pwrseq { 27 compatible = "mmc-pwrseq-emmc"; 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 31 cvbs-connector { [all …]
|
H A D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-leds"; 30 led-power { 31 /* red in suspend or power-off */ 35 default-state = "on"; 36 panic-indicator; [all …]
|
H A D | meson-gx-p23x-q20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs. 11 #include <dt-bindings/sound/meson-aiu.h> 19 dio2133: analog-amplifier { 20 compatible = "simple-audio-amplifier"; 21 sound-name-prefix = "AU2"; 22 VCC-supply = <&hdmi_5v>; 23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; 26 spdif_dit: audio-codec-0 { 27 #sound-dai-cells = <0>; [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 possible slots or ports for multi-slot controllers. 17 "#address-cells": 22 "#size-cells": 29 broken-cd: 34 cd-gpios: [all …]
|
H A D | k3-dw-mshc.txt | 4 Read synopsys-dw-mshc.txt for more details 9 by synopsys-dw-mshc.txt and the properties used by the Hisilicon specific 15 - "hisilicon,hi3660-dw-mshc": for controllers with hi3660 specific extensions. 16 - "hisilicon,hi3670-dw-mshc", "hisilicon,hi3660-dw-mshc": for controllers 18 - "hisilicon,hi4511-dw-mshc": for controllers with hi4511 specific extensions. 19 - "hisilicon,hi6220-dw-mshc": for controllers with hi6220 specific extensions. 22 - hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. 30 compatible = "hisilicon,hi4511-dw-mshc"; 33 #address-cells = <1>; 34 #size-cells = <0>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx50-kobo-aura.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 // The Kobo Aura e-book reader, model N514. The mainboard is marked as E606F0B. 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 16 stdout-path = "serial1:115200n8"; 24 gpio-leds { 25 compatible = "gpio-leds"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_leds>; [all …]
|
/linux/tools/perf/tests/ |
H A D | bp_account.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu. 19 #include "parse-events.h" 20 #include "../perf-sys.h" 27 * Just disable the test for these architectures until these issues are 48 attr->type = PERF_TYPE_BREAKPOINT; in __event() 49 attr->size = sizeof(struct perf_event_attr); in __event() 51 attr->config = 0; in __event() 52 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event() 53 attr->bp_addr = (unsigned long) addr; in __event() [all …]
|
/linux/lib/raid6/ |
H A D | altivec.uc | 1 /* -*- linux-c -*- ------------------------------------------------------- * 3 * Copyright 2002-2004 H. Peter Anvin - All Rights Reserved 8 * Boston MA 02111-1307, USA; either version 2 of the License, or 11 * ----------------------------------------------------------------------- */ 16 * $#-way unrolled portable integer math RAID-6 instruction set 69 Altivec code around the enable/disable code */ 77 unative_t wd$$, wq$$, wp$$, w1$$, w2$$; 80 z0 = disks - 3; /* Highest data disk */ 85 wq$$ = wp$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE]; 86 for ( z = z0-1 ; z >= 0 ; z-- ) { [all …]
|