/linux/tools/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # gen-insn-attr-x86.awk: Instruction attribute table generator 6 # Usage: awk -f gen [all...] |
/linux/drivers/scsi/elx/libefc_sli/ |
H A D | sli4.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * All common (i.e. transport-independent) SLI-4 functions are implemented 35 * sli_config_cmd_init() - Write a SLI_CONFIG command to the provided buffer. 40 * @dma: DMA buffer for non-embedded commands. 50 if (length > sizeof(config->payload.embed) && !dma) { in sli_config_cmd_init() 60 config->hdr.command = SLI4_MBX_CMD_SLI_CONFIG; in sli_config_cmd_init() 63 config->dw1_flags = cpu_to_le32(flags); in sli_config_cmd_init() 64 config->payload_len = cpu_to_le32(length); in sli_config_cmd_init() 65 return config->payload.embed; in sli_config_cmd_init() 70 config->dw1_flags = cpu_to_le32(flags); in sli_config_cmd_init() [all …]
|
/linux/drivers/phy/st/ |
H A D | phy-miphy28lp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <dt-bindings/phy/phy.h> 171 * 0: 30MHz crystal clk - 1: 100MHz ext clk routed through MiPHY1 173 * 1: 30MHz crystal clk - 0: 100MHz ext clk routed through MiPHY1 233 static char *PHY_TYPE_name[] = { "sata-up", "pcie-up", "", "usb3-up" }; 362 void __iomem *base = miphy_phy->base; in miphy28lp_set_reset() 373 /* Bringing the MIPHY-CPU registers out of reset */ in miphy28lp_set_reset() 374 if (miphy_phy->type == PHY_TYPE_PCIE) { in miphy28lp_set_reset() 386 void __iomem *base = miphy_phy->base; in miphy28lp_pll_calibration() 391 writeb_relaxed(pll_ratio->clk_ref, base + MIPHY_PLL_CLKREF_FREQ); in miphy28lp_pll_calibration() [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-gen.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-gen 6 ------------------------------------------------------------------------------- 7 tool for BPF code-generation 8 ------------------------------------------------------------------------------- 17 **bpftool** [*OPTIONS*] **gen** *COMMAND* 19 *OPTIONS* := { |COMMON_OPTIONS| | { **-L** | **--use-loader** } } 23 GEN COMMANDS 26 | **bpftool** **gen object** *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...] 27 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*] [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 25 struct hda_gen_spec gen; member 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 7 subdir-ccflags-y += $(call cc-option, -Wformat-truncation) 9 # Enable -Werror in CI and development 10 subdir-ccflags-$(CONFIG_DRM_XE_WERROR) += -Werror 12 subdir-ccflags-y += -I$(obj) -I$(src) 18 quiet_cmd_wa_oob = GEN $(notdir $(generated_oob)) 19 cmd_wa_oob = mkdir -p $(@D); $^ $(generated_oob) 28 xe-y += xe_bb.o \ 119 xe-$(CONFIG_HMM_MIRROR) += xe_hmm.o 122 xe-$(CONFIG_HWMON) += xe_hwmon.o [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 22 PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config 25 GENFLAGS := -DHAVE_GENHDR 28 BPF_GCC ?= $(shell command -v bpf-gcc;) 32 OPT_FLAGS ?= $(if $(RELEASE),-O2,-O0) 34 LIBELF_CFLAGS := $(shell $(PKG_CONFIG) libelf --cflags 2>/dev/null) 35 LIBELF_LIBS := $(shell $(PKG_CONFIG) libelf --libs 2>/dev/null || echo -lelf) 44 CFLAGS += -g $(OPT_FLAGS) -rdynamic -std=gnu11 \ 45 -Wall -Werror -fno-omit-frame-pointer \ 47 -I$(CURDIR) -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \ [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux/drivers/hid/ |
H A D | hid-wiimote-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> 17 #include "hid-ids.h" 18 #include "hid-wiimote.h" 28 if (!hdev->ll_driver->output_report) in wiimote_hid_send() 29 return -ENODEV; in wiimote_hid_send() 33 return -ENOMEM; in wiimote_hid_send() 50 spin_lock_irqsave(&wdata->queue.lock, flags); in wiimote_queue_worker() 52 while (wdata->queue.head != wdata->queue.tail) { in wiimote_queue_worker() 53 spin_unlock_irqrestore(&wdata->queue.lock, flags); in wiimote_queue_worker() [all …]
|
/linux/include/linux/ceph/ |
H A D | osd_client.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 #define CEPH_HOMELESS_OSD -1 35 * Note that these come from the OSD as little-endian values. On BE arches, 36 * we convert them in-place after receipt. 53 * A SPARSE_READ reply is a 32-bit count of extents, followed by an array of 54 * 64-bit offset/length pairs, and then all of the actual file data 177 u32 gen; member 235 /* an in-flight request */ 386 hoid->hash_reverse_bits = bitrev32(hoid->hash); in ceph_hoid_build_hash_cache() 390 * PG-wide backoff: [begin, end) [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | nvidia,tegra194-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie.yaml. Some of 20 See nvidia,tegra194-pcie-ep.yaml for details on the Endpoint mode device 26 - nvidia,tegra194-pcie [all …]
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 70 #pragma GCC diagnostic ignored "-Wformat-nonliteral" 223 [BPF_PROG_TYPE_EXT] = "ext", 298 if (err != -EPERM || geteuid() != 0) in pr_perm_msg() 315 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg() 331 fd = -1; \ 342 /* as of v1.0 libbpf_set_strict_mode() is a no-op */ in libbpf_set_strict_mode() 388 /* stored as sec_def->cookie for all libbpf-supported SEC()s */ 407 /* BPF program support non-linear XDP buffer */ [all …]
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 5 * This module enables machines with Intel VT-x extensions to run virtual 57 #include <asm/spec-ctrl.h> 64 int __read_mostly nx_huge_pages = -1; 100 * When setting this variable to true it enables Two-Dimensional-Paging 102 * 1. the guest-virtual to guest-physical 103 * 2. while doing 1. it walks guest-physical to host-physical 203 return !!(regs->reg & flag); \ 225 return !!(mmu->cpu_role. base_or_ext . reg##_##name); \ [all …]
|
/linux/mm/ |
H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 45 #include <linux/memory-tiers.h> 189 if ((_folio)->lru.prev != _base) { \ 192 prev = lru_to_folio(&(_folio->lru)); \ 193 prefetchw(&prev->_field); \ 210 return sc->target_mem_cgroup; in cgroup_reclaim() 219 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim() 223 * writeback_throttling_sane - is the usual dirty throttling mechanism available? 248 if (sc->proactive && sc->proactive_swappiness) in sc_swappiness() [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-script.txt | 1 perf-script(1) 5 ---- 6 perf-script - Read perf.data (created by perf record) and display trace output 9 -------- 12 'perf script' [<options>] record <script> [<record-options>] <command> 13 'perf script' [<options>] report <script> [script-args] 14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command> 15 'perf script' [<options>] <top-script> [script-args] 18 ----------- 26 You can also run a set of pre-canned scripts that aggregate and [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | virtchnl2_lan_desc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 207 * struct virtchnl2_splitq_rx_buf_desc - SplitQ RX buffer descriptor format 219 * ---------------------------------------------------------------- 221 * ---------------------------------------------------------------- 223 * ---------------------------------------------------------------- 225 * ---------------------------------------------------------------- 227 * ---------------------------------------------------------------- 242 * struct virtchnl2_singleq_rx_buf_desc - SingleQ RX buffer descriptor format. 250 * ---------------------------------------------------------------- 252 * ---------------------------------------------------------------- [all …]
|
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * R-Car Display Unit CRTCs 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 35 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_read() 37 return rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_read() 42 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_write() 44 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, data); in rcar_du_crtc_write() 49 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_clr() 51 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_clr() 52 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) & ~clr); in rcar_du_crtc_clr() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | kvm_host.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * These seem to be used for allocating ->chip in the routing table, which we 38 * need to look at ->chip later on, we'll need to revisit this. 44 /* s390-specific vcpu->requests bit members */ 135 * check from host when host is in the machine check's high-level handling. 151 #define sida_addr(sie_block) phys_to_virt((sie_block)->sidad & PAGE_MASK) 153 ((((sie_block)->sidad & SIDAD_SIZE_MASK) + 1) * PAGE_SIZE) 584 * Repressible (non-floating) machine check interrupts 637 struct kvm_s390_ext_info ext; member 649 struct kvm_s390_ext_info ext; member [all …]
|
/linux/drivers/ata/ |
H A D | sata_mv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sata_mv.c - Marvell SATA support 5 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 12 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 18 * --> Develop a low-power-consumption strategy, and implement it. 20 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 22 * --> [Experiment, Marvell value added] Is it possible to use target 23 * mode to cross-connect two Linux boxes with Marvell cards? If so, 31 * 80x1-B2 errata PCI#11: 34 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
/linux/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 36 hw->link.status = SLI4_LINK_STATUS_MAX; in efct_hw_link_event_init() 37 hw->link.topology = SLI4_LINK_TOPO_NONE; in efct_hw_link_event_init() 38 hw->link.medium = SLI4_LINK_MEDIUM_MAX; in efct_hw_link_event_init() 39 hw->link.speed = 0; in efct_hw_link_event_init() 40 hw->link.loop_map = NULL; in efct_hw_link_event_init() 41 hw->link.fc_id = U32_MAX; in efct_hw_link_event_init() 50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size() 55 if (PCI_FUNC(efct->pci->devfn) != 0) in efct_hw_read_max_dump_size() 58 if (sli_cmd_common_set_dump_location(&hw->sli, buf, 1, 0, NULL, 0)) in efct_hw_read_max_dump_size() [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5420.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <dt-bindings/clock/exynos5420.h> 15 #include <dt-bindings/clock/exynos-audss-clk.h> 16 #include <dt-bindings/interrupt-controller/arm-gic.h> 37 bus_disp1: bus-disp1 { 38 compatible = "samsung,exynos-bus"; 40 clock-names = "bus"; 44 bus_disp1_fimd: bus-disp1-fimd { 45 compatible = "samsung,exynos-bus"; 47 clock-names = "bus"; [all …]
|
/linux/net/ceph/ |
H A D | osd_client.c | 1 // SPDX-License-Identifier: GPL-2.0 71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked() 75 WARN_ON(!rwsem_is_wrlocked(&osdc->lock)); in verify_osdc_wrlocked() 79 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked() 81 WARN_ON(!(mutex_is_locked(&osd->lock) && in verify_osd_locked() 82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked() 83 !rwsem_is_wrlocked(&osdc->lock)); in verify_osd_locked() 87 WARN_ON(!mutex_is_locked(&lreq->lock)); in verify_lreq_locked() 116 orig_len - *plen, off, *plen); in calc_layout() 126 osd_data->type = CEPH_OSD_DATA_TYPE_NONE; in ceph_osd_data_init() [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 52 PCI_PATCH_DIR = 0xfL<<8, /* Bit 11.. 8: Ext Patches dir 3..0 */ [all …]
|