/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: 40 There is no card detection available; polling must be used. 42 cd-gpios: [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_wp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 void hdmi_wp_dump(struct hdmi_wp_data *wp, struct seq_file *s) in hdmi_wp_dump() argument 23 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, hdmi_read_reg(wp->base, r)) in hdmi_wp_dump() 45 u32 hdmi_wp_get_irqstatus(struct hdmi_wp_data *wp) in hdmi_wp_get_irqstatus() argument 47 return hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_get_irqstatus() 50 void hdmi_wp_set_irqstatus(struct hdmi_wp_data *wp, u32 irqstatus) in hdmi_wp_set_irqstatus() argument 52 hdmi_write_reg(wp->base, HDMI_WP_IRQSTATUS, irqstatus); in hdmi_wp_set_irqstatus() 54 hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_set_irqstatus() 57 void hdmi_wp_set_irqenable(struct hdmi_wp_data *wp, u32 mask) in hdmi_wp_set_irqenable() argument 59 hdmi_write_reg(wp->base, HDMI_WP_IRQENABLE_SET, mask); in hdmi_wp_set_irqenable() [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 | 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 …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_wp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 20 void hdmi_wp_dump(struct hdmi_wp_data *wp, struct seq_file *s) in hdmi_wp_dump() argument 22 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, hdmi_read_reg(wp->base, r)) in hdmi_wp_dump() 44 u32 hdmi_wp_get_irqstatus(struct hdmi_wp_data *wp) in hdmi_wp_get_irqstatus() argument 46 return hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_get_irqstatus() 49 void hdmi_wp_set_irqstatus(struct hdmi_wp_data *wp, u32 irqstatus) in hdmi_wp_set_irqstatus() argument 51 hdmi_write_reg(wp->base, HDMI_WP_IRQSTATUS, irqstatus); in hdmi_wp_set_irqstatus() 53 hdmi_read_reg(wp->base, HDMI_WP_IRQSTATUS); in hdmi_wp_set_irqstatus() 56 void hdmi_wp_set_irqenable(struct hdmi_wp_data *wp, u32 mask) in hdmi_wp_set_irqenable() argument [all …]
|
H A D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ 31 #include <sound/omap-hdmi-audio.h> 47 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 49 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get() 61 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() 62 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 68 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler() local 71 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler() 72 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,dove-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,dove-pinctrl" 8 - clocks: (optional) phandle of pdma clock 9 - reg: register specifiers of MPP, MPP4, and PMU MPP registers 19 mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm), pmu* 23 uart1(cts), lcd-spi(cs1), pmu* 25 mpp5 5 gpio, pmu, uart3(cts), sdio1(wp), spi1(cs), pmu* 31 mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), 35 mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp), 39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) [all …]
|
/openbmc/openbmc/meta-google/classes/ |
H A D | image_types_hoth.bbclass | 12 FLASH_IMAGE_DESC_OFFSET:hoth:aarch64:flash-131072 = "126848" 13 FLASH_HOTH_UPDATE_OFFSET:hoth:aarch64:flash-131072 = "126912" 14 FLASH_HOTH_MAILBOX_OFFSET:hoth:aarch64:flash-131072 = "131008" 16 # Leave a zero-size u-boot env partition. 18 FLASH_UBOOT_ENV_OFFSET:flash-65536 = "${FLASH_KERNEL_OFFSET:flash-65536}" 19 FLASH_UBOOT_ENV_OFFSET:flash-131072 = "${FLASH_KERNEL_OFFSET:flash-131072}" 22 ENABLE_HOTH_SECONDARY ?= "no" 26 'image-hoth-update'), 31 'image-hoth-update-2nd'), 35 do_generate_static[depends] += "virtual/hoth-firmware:do_deploy" [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | uffd-unit-tests.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2023 Red Hat, Inc. 8 #include "uffd-common.h" 48 .name = "shmem-private", 60 .name = "hugetlb-private", 186 map_shared = mem_type->shared; in uffd_setup_environment() 187 uffd_test_ops = mem_type->mem_ops; in uffd_setup_environment() 189 if (mem_type->mem_flag & (MEM_HUGETLB_PRIVATE | MEM_HUGETLB)) in uffd_setup_environment() 199 args->mem_type = mem_type; in uffd_setup_environment() 201 return uffd_test_ctx_init(test->uffd_feature_required, errmsg); in uffd_setup_environment() [all …]
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A D | mmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - correctness: 18 - security: 21 - performance: 23 - scaling: 25 - hardware: 27 - integration: 31 - dirty tracking: 33 and framebuffer-based displays 34 - footprint: [all …]
|
/openbmc/u-boot/board/freescale/m5253demo/ |
H A D | flash.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2003 6 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. 7 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 26 /*----------------------------------------------------------------------- 51 CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]); in flash_init() 60 if ((info->flash_id & FLASH_VENDMASK) == FLASH_MAN_SST) { in flash_get_offsets() 62 info->start[0] = base; in flash_get_offsets() 63 info->protect[0] = 0; in flash_get_offsets() 65 info->start[i] = info->start[i - 1] in flash_get_offsets() [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/powerpc/math-emu/ |
H A D | math_efp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/powerpc/math-emu/math_efp.c 5 * Copyright (C) 2006-2008, 2010 Freescale Semiconductor, Inc. 10 * Derived from arch/alpha/math-emu/math.c 11 * arch/powerpc/math-emu/math.c 15 * fully comply with IEEE-754 floating point standard. 26 #include <asm/sfp-machine.h> 28 #include <math-emu/soft-fp.h> 29 #include <math-emu/single.h> 30 #include <math-emu/double.h> [all …]
|
/openbmc/linux/Documentation/mhi/ |
H A D | mhi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 ---- 48 --------------- 74 -------- 82 bidirectional data pipe, which can be used by the upper-layer protocols to 88 -------------- 95 [Read Pointer (RP)] ----------->[Ring Element] } TD 96 [Write Pointer (WP)]- [Ring Element] 97 - [Ring Element] 98 --------->[Ring Element] [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/drivers/bus/mhi/host/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 9 #include <linux/dma-direction.h> 10 #include <linux/dma-mapping.h> 22 return mhi_cntrl->read_reg(mhi_cntrl, base + offset, out); in mhi_read_reg() 46 u32 out, retry = (mhi_cntrl->timeout_ms * 1000) / delayus; in mhi_poll_reg_field() 48 while (retry--) { in mhi_poll_reg_field() 59 return -ETIMEDOUT; in mhi_poll_reg_field() 65 mhi_cntrl->write_reg(mhi_cntrl, base + offset, val); in mhi_write_reg() 98 if (db_cfg->db_mode) { in mhi_db_brstmode() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | skl_watermark.c | 1 // SPDX-License-Identifier: MIT 70 i915->display.sagv.status != I915_SAGV_NOT_CONTROLLED; in intel_has_sagv() 86 ret = snb_pcode_read(&i915->uncore, in intel_sagv_block_time() 90 drm_dbg_kms(&i915->drm, "Couldn't read SAGV block time!\n"); in intel_sagv_block_time() 107 i915->display.sagv.status = I915_SAGV_NOT_CONTROLLED; in intel_sagv_init() 116 drm_WARN_ON(&i915->drm, i915->display.sagv.status == I915_SAGV_UNKNOWN); in intel_sagv_init() 118 i915->display.sagv.block_time_us = intel_sagv_block_time(i915); in intel_sagv_init() 120 drm_dbg_kms(&i915->drm, "SAGV supported: %s, original SAGV block time: %u us\n", in intel_sagv_init() 121 str_yes_no(intel_has_sagv(i915)), i915->display.sagv.block_time_us); in intel_sagv_init() 124 if (drm_WARN(&i915->drm, i915->display.sagv.block_time_us > U16_MAX, in intel_sagv_init() [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 45 MODULE_PARM_DESC(encoder_buffers, "Total buffers in read queue 16-512 def:64"); 49 MODULE_PARM_DESC(vbi_buffers, "Total buffers in read queue 16-512 def:64"); 55 static unsigned int card[] = {[0 ... (SAA7164_MAXBOARDS - 1)] = UNSET }; 86 u8 *p = (u8 *)buf->cpu; in saa7164_pack_verifier() 89 for (i = 0; i < buf->actual_size; i += 2048) { in saa7164_pack_verifier() 93 printk(KERN_ERR "No pack at 0x%x\n", i); in saa7164_pack_verifier() 107 struct saa7164_port *port = buf->port; in saa7164_ts_verifier() 111 u8 *bufcpu = (u8 *)buf->cpu; in saa7164_ts_verifier() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | zoned.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "rcu-string.h" 13 #include "disk-io.h" 14 #include "block-group.h" 16 #include "dev-replace.h" 17 #include "space-info.h" 26 #define WP_MISSING_DEV ((u64)-1) 28 #define WP_CONVENTIONAL ((u64)-2) 33 * - primary superblock: 0B (zone 0) 34 * - first copy: 512G (zone starting at that offset) [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc_booke.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 37 tlb->attr = 0; in booke_set_tlb() 38 tlb->prot = PAGE_RWX << 4 | PAGE_VALID; in booke_set_tlb() 39 tlb->size = size; in booke_set_tlb() 40 tlb->EPN = va & TARGET_PAGE_MASK; in booke_set_tlb() 41 tlb->RPN = pa & TARGET_PAGE_MASK; in booke_set_tlb() 42 tlb->PID = 0; in booke_set_tlb() 53 #define TCR_FP_SHIFT 24 /* Fixed-Interval Timer Period */ 55 #define TCR_FIE (1U << 23) /* Fixed-Interval Timer Interrupt Enable */ 56 #define TCR_ARE (1U << 22) /* Auto-Reload Enable */ [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | blkzoned.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * enum blk_zone_type - Types of zones allowed in a zoned device. 25 * @BLK_ZONE_TYPE_CONVENTIONAL: The zone has no write pointer and can be writen 26 * randomly. Zone reset has no effect on the zone. 28 * @BLK_ZONE_TYPE_SEQWRITE_PREF: The zone can be written non-sequentially 39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device. 41 * @BLK_ZONE_COND_NOT_WP: The zone has no write pointer, it is conventional. 49 * @BLK_ZONE_COND_READONLY: The zone is read-only. 54 * - ZC1: Empty | BLK_ZONE_COND_EMPTY 55 * - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-pinky.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 10 #include "../cros-ec-sbs.dtsi" 14 compatible = "google,veyron-pinky-rev2", "google,veyron-pinky", 17 /delete-node/backlight-regulator; 18 /delete-node/panel-regulator; 19 /delete-node/emmc-pwrseq; 20 /delete-node/vcc18-lcd; 24 /delete-property/power-supply; [all …]
|
/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 …]
|
H A D | hdac_bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio core bus driver 24 * snd_hdac_bus_init - initialize a HD-audio bas bus 35 bus->dev = dev; in snd_hdac_bus_init() 37 bus->ops = ops; in snd_hdac_bus_init() 39 bus->ops = &default_ops; in snd_hdac_bus_init() 40 bus->dma_type = SNDRV_DMA_TYPE_DEV; in snd_hdac_bus_init() 41 INIT_LIST_HEAD(&bus->stream_list); in snd_hdac_bus_init() 42 INIT_LIST_HEAD(&bus->codec_list); in snd_hdac_bus_init() 43 INIT_WORK(&bus->unsol_work, snd_hdac_bus_process_unsol_events); in snd_hdac_bus_init() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpiutil.c | 1 /* mpiutil.ac - Utility functions for MPI 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 21 #include "mpi-internal.h" 56 return -EFAULT; in mpi_init() 59 constants[idx]->flags = (16|32); in mpi_init() 66 /* Return a constant MPI descripbed by NO which is one of the 67 * MPI_C_xxx macros. There is no need to copy this returned value; it 70 MPI mpi_const(enum gcry_mpi_constants no) in mpi_const() argument 72 if ((int)no < 0 || no > MPI_NUMBER_OF_CONSTANTS) in mpi_const() 73 pr_err("MPI: invalid mpi_const selector %d\n", no); in mpi_const() [all …]
|