| /kernel/linux/linux-4.19/sound/hda/ |
| D | hdac_controller.c | 2 * HD-audio controller helpers 17 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 23 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 27 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 33 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n", in azx_clear_corbrp() 38 * snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers 39 * @bus: HD-audio core bus 43 WARN_ON_ONCE(!bus->rb.area); in snd_hdac_bus_init_cmd_io() 45 spin_lock_irq(&bus->reg_lock); in snd_hdac_bus_init_cmd_io() 47 bus->corb.addr = bus->rb.addr; in snd_hdac_bus_init_cmd_io() [all …]
|
| /kernel/linux/linux-5.10/sound/hda/ |
| D | hdac_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() 35 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n", in azx_clear_corbrp() 40 * snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers 41 * @bus: HD-audio core bus 45 WARN_ON_ONCE(!bus->rb.area); in snd_hdac_bus_init_cmd_io() 47 spin_lock_irq(&bus->reg_lock); in snd_hdac_bus_init_cmd_io() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/ |
| D | mmc.txt | 6 - reg: Registers location and length. 7 - interrupts: Interrupts used by the MMC controller. 12 - broken-cd: There is no card detection available; polling must be used. 13 - cd-gpios: Specify GPIOs for card detection, see gpio binding 14 - non-removable: non-removable slot (like eMMC); assume always present. 17 - bus-width: Number of data lines, can be <1>, <4>, or <8>. The default 19 - wp-gpios: Specify GPIOs for write protection, see gpio binding 20 - cd-inverted: when present, polarity on the CD line is inverted. See the note 22 - cd-debounce-delay-ms: Set delay time before detecting card after card insert interrupt. 23 It's only valid when cd-gpios is present. [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | zx296702-ad1.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 9 compatible = "zte,zx296702-ad1", "zte,zx296702"; 23 supports-highspeed; 24 non-removable; 25 disable-wp; 30 bus-width = <4>; 35 supports-highspeed; 36 non-removable; 37 disable-wp; [all …]
|
| 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 {
|
| 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> 15 stdout-path = "serial1:115200n8"; 23 gpio-leds { 24 compatible = "gpio-leds"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_leds>; 31 panic-indicator; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | zx296702-ad1.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 9 compatible = "zte,zx296702-ad1", "zte,zx296702"; 22 supports-highspeed; 23 non-removable; 24 disable-wp; 29 bus-width = <4>; 34 supports-highspeed; 35 non-removable; 36 disable-wp; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi_pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://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 …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi_pll.c | 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 28 #define DUMPPLL(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi_pll_dump() 29 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 45 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_enable() local 48 r = pm_runtime_get_sync(&pll->pdev->dev); in hdmi_pll_enable() 53 r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS); in hdmi_pll_enable() 63 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_disable() local 66 hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); in hdmi_pll_disable() 70 r = pm_runtime_put_sync(&pll->pdev->dev); in hdmi_pll_disable() 71 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_pll_disable() [all …]
|
| D | hdmi5.c | 4 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 43 #include <sound/omap-hdmi-audio.h> 55 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 69 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() 70 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 76 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler() local 79 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 80 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 92 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 99 v = hdmi_read_reg(hdmi->phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler() [all …]
|
| D | hdmi4.c | 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 39 #include <sound/omap-hdmi-audio.h> 54 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 68 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() 69 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 75 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler() local 78 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 79 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 89 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 91 hdmi_wp_set_irqstatus(wp, HDMI_IRQ_LINK_CONNECT | in hdmi_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 26 #include <sound/omap-hdmi-audio.h> 41 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 43 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 56 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 57 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 62 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 65 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 66 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() [all …]
|
| D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #include <sound/omap-hdmi-audio.h> 45 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 47 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 60 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 61 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 66 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 69 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 70 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 82 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() [all …]
|
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | hdmi4.c | 3 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 37 #include <sound/omap-hdmi-audio.h> 52 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 54 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 67 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 68 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 73 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 76 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 77 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 87 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() [all …]
|
| D | hdmi5.c | 42 #include <sound/omap-hdmi-audio.h> 56 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 58 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 71 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 72 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 77 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 80 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 81 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 93 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 105 hdmi_wp_set_irqstatus(wp, HDMI_IRQ_LINK_CONNECT | in hdmi_irq_handler() [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxbb-vega-s95.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gxbb.dtsi" 9 compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; 17 stdout-path = "serial0:115200n8"; 21 compatible = "gpio-leds"; 24 label = "vega-s95:blue:on"; 26 default-state = "on"; 27 panic-indicator; 31 usb_vbus: regulator-usb0-vbus { 32 compatible = "regulator-fixed"; [all …]
|
| 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. 18 stdout-path = "serial0:115200n8"; 26 hdmi_5v: regulator-hdmi-5v { 27 compatible = "regulator-fixed"; 29 regulator-name = "HDMI_5V"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; 34 enable-active-high; 35 regulator-always-on; [all …]
|
| 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" 19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 20 model = "R-Box Pro"; 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 40 label = "rbox-pro:blue:on"; [all …]
|
| 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" 23 stdout-path = "serial0:115200n8"; 31 hdmi_5v: regulator-hdmi-5v { 32 compatible = "regulator-fixed"; 34 regulator-name = "HDMI_5V"; 35 regulator-min-microvolt = <5000000>; [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| 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 …]
|
| 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" 19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 20 model = "R-Box Pro"; 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 39 led-blue { [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| 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 "../perf-sys.h" 34 attr->type = PERF_TYPE_BREAKPOINT; in __event() 35 attr->size = sizeof(struct perf_event_attr); in __event() 37 attr->config = 0; in __event() 38 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event() 39 attr->bp_addr = (unsigned long) addr; in __event() 40 attr->bp_len = sizeof(long); in __event() 42 attr->sample_period = 1; in __event() [all …]
|