/openbmc/linux/sound/hda/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 {
|
/openbmc/u-boot/board/cobra5272/ |
H A D | flash.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2003 19 switch (info->flash_id & FLASH_VENDMASK) { in flash_print_info() 28 switch (info->flash_id & FLASH_TYPEMASK) { in flash_print_info() 39 info->size >> 20, info->sector_count); in flash_print_info() 42 for (i = 0; i < info->sector_count; i++) { in flash_print_info() 46 printf (" %08lX%s", info->start[i], in flash_print_info() 47 info->protect[i] ? " (RO)" : " "); in flash_print_info() 83 flashbase + 0x4000 + 0x2000 * (j - 1); in flash_init() 92 flashbase + 0x40000 + 0x40000 * (j - in flash_init() [all …]
|
/openbmc/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 …]
|
/openbmc/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/ 26 #include <sound/omap-hdmi-audio.h> 41 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 54 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 55 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 60 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 63 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 64 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 74 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 31 #include <sound/omap-hdmi-audio.h> 45 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 58 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 59 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 64 struct hdmi_wp_data *wp = data; in hdmi_irq_handler() local 67 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 68 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() 80 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler() 92 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 …]
|
/openbmc/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 …]
|
/openbmc/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-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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
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" 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 …]
|
/openbmc/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 "../perf-sys.h" 26 * Just disable the test for these architectures until these issues are 47 attr->type = PERF_TYPE_BREAKPOINT; in __event() 48 attr->size = sizeof(struct perf_event_attr); in __event() 50 attr->config = 0; in __event() 51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event() 52 attr->bp_addr = (unsigned long) addr; in __event() 53 attr->bp_len = sizeof(long); in __event() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 42 cd-gpios: 47 non-removable: [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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | jedec,spi-nor.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: mtd.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 19 - items: 20 - pattern: "^((((micron|spansion|st),)?\ 33 - const: jedec,spi-nor [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 13 #define pr_fmt(fmt) "hw-breakpoint: " fmt 150 /* We don't support the memory-mapped interface. */ in debug_arch_supported() 215 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps() 256 return -ENODEV; in enable_monitor_mode() 264 return -EPERM; in enable_monitor_mode() 292 * Check if 8-bit byte-address select is available. 332 addr = info->address; in arch_install_hw_breakpoint() 333 ctrl = encode_ctrl_reg(info->ctrl) | 0x1; in arch_install_hw_breakpoint() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | patch.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Instruction-patching support. 5 * Copyright (C) 2003 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 19 * The 64-bit value in a "movl reg=value" is scattered between the two words of the bundle 32 u64 *p = (u64 *) (insn_addr & -16); /* mask out slot number */ in get_imm64() 47 u64 m0, m1, v0, v1, b0, b1, *b = (u64 *) (insn_addr & -16); in ia64_patch() 48 # define insn_mask ((1UL << 41) - 1) in ia64_patch() 52 shift = 5 + 41 * (insn_addr % 16); /* 5 bits of template, then 3 x 41-bit instructions */ in ia64_patch() 54 m1 = mask << (shift - 64); in ia64_patch() [all …]
|
/openbmc/linux/arch/arm/boot/dts/xilinx/ |
H A D | zynq-zc706.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 #include "zynq-7000.dtsi" 11 compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; 27 stdout-path = "serial0:115200n8"; 31 compatible = "usb-nop-xceiv"; 32 #phy-cells = <0>; 37 ps-clk-frequency = <33333333>; 42 phy-mode = "rgmii-id"; [all …]
|