/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <media/v4l2-mem2mem.h> 8 #include <media/videobuf2-dma-contig.h> 26 #define CMD_SRC_CHANGE 1 32 #define SEI_DATA_READY BIT(15) 45 #define ERROR_FLAG BIT(9) 57 #define AR_PRESENT_FLAG BIT(0) 62 * This is a 16x16 encoded picture that will trigger drain firmware-side. 72 0x63, 0x6f, 0x64, 0x65, 0x63, 0x20, 0x2d, 0x20, 0x43, 0x6f, 0x70, 0x79, 75 0x77, 0x77, 0x77, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x6c, 0x61, 0x6e, [all …]
|
/linux/include/linux/ |
H A D | cper.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 80 /* Non-Maskable Interrupt */ 87 0xD4, 0x64, 0xB3, 0x8F) 96 * CXL rev 3.0 Section 8.2.9.2.1.1; Table 8-43 103 * CXL rev 3.0 section 8.2.9.2.1.2; Table 8-44 110 * CXL rev 3.0 section 8.2.9.2.1.3; Table 8-45 153 /* If set, the component must be re-initialized or re-enabled prior to use */ 204 /* PCI/PCI-X Bus */ 214 0xDE, 0x3E, 0x2C, 0x64) 280 #define CPER_ARM_VALID_MPIDR BIT(0) [all …]
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_venus_io.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 14 #define VBIF_AXI_HALT_CTRL0_HALT_REQ BIT(0) 15 #define VBIF_AXI_HALT_CTRL1_HALT_ACK BIT(0) 30 #define VIDC_CTRL_INIT_RESERVED_BITS31_1_SHIFT 1 42 #define CPU_CS_SCIACMDARG0_PC_READY BIT(8) 43 #define CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK BIT(30) 56 #define UC_REGION_ADDR 0x64 117 #define WRAPPER_VDEC_VENC_AHB_BRIDGE_SYNC_RESET 0x64 121 #define WRAPPER_CPU_AXI_HALT_HALT BIT(16) [all …]
|
/linux/include/video/ |
H A D | tdfx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/i2c-algo-bit.h> 34 #define HWCURLOC 0x64 76 #define COLORFORE (0x00100000 + 0x64) 91 #define AUTOINC_DSTX BIT(10) 92 #define AUTOINC_DSTY BIT(11) 98 #define STATUS_RETRACE BIT(6) 99 #define STATUS_BUSY BIT(9) 100 #define MISCINIT1_CLUT_INV BIT(0) 101 #define MISCINIT1_2DBLOCK_DIS BIT(15) [all …]
|
/linux/drivers/bus/mhi/ |
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 #define ECABAP_HIGHER 0x64 62 #define BHI_OEMPKHASH(n) (0x64 + (0x4 * (n))) 81 #define BHIE_RXVECADDR_HIGH_OFFS 0x64 112 #define MHICTRL_RESET_MASK BIT(1) 114 #define MHISTATUS_SYSERR_MASK BIT(2) 115 #define MHISTATUS_READY_MASK BIT(0) 144 #define MHI_TRE_GET_DWORD(tre, word) le32_to_cpu((tre)->dword[(word)]) 145 #define MHI_TRE_GET_CMD_CHID(tre) FIELD_GET(GENMASK(31, 24), MHI_TRE_GET_DWORD(tre, 1)) 146 #define MHI_TRE_GET_CMD_TYPE(tre) FIELD_GET(GENMASK(23, 16), MHI_TRE_GET_DWORD(tre, 1)) [all …]
|
/linux/include/sound/ |
H A D | tas2781.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 // Copyright (C) 2022 - 2024 Texas Instruments Incorporated 12 // Author: Shenghao Ding <shenghao-ding@ti.com> 13 // Author: Kevin Lu <kevin-lu@ti.com> 19 #include "tas2781-dsp.h" 22 #define TAS2781_DRV_VER 1 47 #define TASDEVICE_REG_SWRESET_RESET BIT(0) 53 #define TASDEVICE_XM_A1_REG TASDEVICE_REG(0x64, [all...] |
H A D | ac97_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 24 /* specific - SigmaTel */ 25 #define AC97_SIGMATEL_OUTSEL 0x64 /* Output Select, STAC9758 */ 33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */ 37 /* specific - Analog Devices */ 47 /* specific - Cirrus Logic */ 56 /* specific - Conexant */ 58 #define AC97_CXR_SPDIFEN (1<<3) 59 #define AC97_CXR_COPYRGT (1<<2) 64 /* specific - ALC */ [all …]
|
/linux/Documentation/trace/ |
H A D | uprobetracer.rst | 2 Uprobe-tracer: Uprobe-based Event Tracing 9 -------- 13 Similar to the kprobe-event tracer, this doesn't need to be activated via 18 However unlike kprobe-event tracer, the uprobe event interface expects the 26 ------------------------- 32 -:[GRP/][EVENT] : Clear uprobe or uretprobe event 47 $retval : Fetch return value.(\*1) 49 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*2)(\*3) 54 (x8/x16/x32/x64), "string" and bitfield are supported. 56 (\*1) only for return probe. [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Author:Mark Yao <mark.yao@rock-chips.com> 14 #define VOP2_VP_FEATURE_OUTPUT_10BIT BIT(0) 16 #define VOP2_FEATURE_HAS_SYS_GRF BIT(0) 17 #define VOP2_FEATURE_HAS_VO0_GRF BIT(1) 18 #define VOP2_FEATURE_HAS_VO1_GRF BIT(2) 19 #define VOP2_FEATURE_HAS_VOP_GRF BIT(3) 20 #define VOP2_FEATURE_HAS_SYS_PMU BIT(4) 22 #define WIN_FEATURE_AFBDC BIT(0) 23 #define WIN_FEATURE_CLUSTER BIT(1) [all …]
|
/linux/include/linux/mfd/ |
H A D | tps65912.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/ 117 #define TPS65912_VERNUM 0x64 118 #define TPS6591X_MAX_REGISTER 0x64 121 #define TPS65912_INT_STS_PWRHOLD_F BIT(0) 122 #define TPS65912_INT_STS_VMON BIT(1) 123 #define TPS65912_INT_STS_PWRON BIT(2) 124 #define TPS65912_INT_STS_PWRON_LP BIT(3) 125 #define TPS65912_INT_STS_PWRHOLD_R BIT(4) 126 #define TPS65912_INT_STS_HOTDIE BIT(5) [all …]
|
H A D | bd9571mwv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * ROHM BD9571MWV-M and BD9574MWF-M driver 31 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0 BIT(0) 32 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1 BIT(1) 33 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0C BIT(2) 34 #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1C BIT(3) 63 #define BD9571MWV_GPIO_INT_SET 0x64 80 #define BD9571MWV_INT_INTREQ_MD1_INT BIT(0) 81 #define BD9571MWV_INT_INTREQ_MD2_E1_INT BIT(1) 82 #define BD9571MWV_INT_INTREQ_MD2_E2_INT BIT(2) [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | analogix,anx7625.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Xin Ji <xji@analogixsemi.com> 14 The ANX7625 is an ultra-low power 4K Mobile HD Transmitter 22 maxItems: 1 26 maxItems: 1 28 enable-gpios: 30 maxItems: 1 32 reset-gpios: [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-imx-mu-msi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Based on drivers/mailbox/imx-mailbox.c 27 #include "irq-msi-lib.h" 48 IMX_MU_V2 = BIT(1), 52 #define IMX_MU_xCR_RIEn(data, x) ((data->cfg->type) & IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) 53 #define IMX_MU_xSR_RFn(data, x) ((data->cfg->type) & IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) 75 iowrite32(val, msi_data->regs + offs); in imx_mu_write() 80 return ioread32(msi_data->regs + offs); in imx_mu_read() 88 raw_spin_lock_irqsave(&msi_data->lock, flags); in imx_mu_xcr_rmw() 89 val = imx_mu_read(msi_data, msi_data->cfg->xCR[type]); in imx_mu_xcr_rmw() [all …]
|
/linux/drivers/acpi/pmic/ |
H A D | intel_pmic_bytcrc.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #define PWR_SOURCE_SELECT BIT(1) 23 .bit = ??, 28 .bit = 0x00, 29 }, /* SYSX -> VSYS_SX */ 33 .bit = 0x00, 34 }, /* SYSU -> VSYS_U */ 37 .reg = 0x64, 38 .bit = 0x00, 39 }, /* SYSS -> VSYS_S */ [all …]
|
/linux/lib/math/ |
H A D | div64.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Based on former do_div() implementation from asm-parisc/div64.h: 6 * Copyright (C) 1999 Hewlett-Packard Co 7 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> 10 * Generic C version of 64bit/32bit division and modulo, with 11 * 64bit result and 32bit remainder. 16 * for some CPUs. __div64_32() can be overridden by linking arch-specific 28 /* Not needed on 64bit architectures */ 36 uint64_t res, d = 1; in __div64_32() 39 /* Reduce the thing a bit first */ in __div64_32() [all …]
|
/linux/crypto/asymmetric_keys/ |
H A D | selftest_rsa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Self-tests for PKCS#7 RSA signature verification. 15 /* 4096-bit RSA certificate */ 45 "\xe8\xde\x09\x31\x89\xed\x0e\x11\xa1\xfa\x8a\xe9\xe9\x64\x59\x62" 73 "\xcc\x4d\x14\x61\x64\x81\x93\xd3\x33\xed\xc8\xff\xf1\x78\xcc\x5f" 100 "\x0a\xd1\x95\x76\x8d\xec\x9e\xdd\x0b\x15\x97\x64\xad\xe5\xf2\x62" 109 "\x74\x20\x64\x61\x74\x61\x20\x75\x73\x65\x64\x20\x66\x6f\x72\x20" 116 /* RSA signature using PKCS#1 v1.5 padding with SHA-256 */ 141 "\x22\x66\xc5\x3b\xc1\xba\xfc\x53\x18\x98\xe2\x21\x64\xc6\x52\x87" 157 "\xdd\x23\xd6\x53\xb1\x74\x77\x12\xf7\x9c\xf0\x9a\x6b\xf7\xa9\x64" [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | ti-phy.txt | 6 - compatible: Should be one of 7 "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4. 8 "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register 10 "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control 12 "ti,control-phy-pcie" - for pcie to support external clock for pcie and to 15 "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on 17 "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on 19 - reg : register ranges as listed in the reg-names property 20 - reg-names: "otghs_control" for control-phy-otghs 21 "power", "pcie_pcs" and "control_sma" for control-phy-pcie [all …]
|
/linux/crypto/ |
H A D | dh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Diffie-Hellman Key Agreement Method [RFC2631] 24 mpi_free(ctx->p); in dh_clear_ctx() 25 mpi_free(ctx->g); in dh_clear_ctx() 26 mpi_free(ctx->xa); in dh_clear_ctx() 32 * ya = g^xa mod p; [RFC2631 sec 2.1.1] 34 * ZZ = yb^xa mod p; [RFC2631 sec 2.1.1] 39 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val() 50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length() 52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length() [all …]
|
/linux/sound/pci/ |
H A D | azt3328.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* "PU" == "power-up value", as tested on PCI168 PCI rev. 10 6 * "WRITE_ONLY" == register does not indicate actual bit values */ 25 /* able to reactivate output after output muting due to 8/16bit 27 * 0x0001 is the only bit that's able to start the DMA counter */ 31 /* able to reactivate output after output muting due to 8/16bit 42 * (bit 1 of port 0x64 indicates interrupt for one of these three types) 47 #define IRQ_FINISHED_DMABUF_1 0x0002 /* 1st dmabuf finished & ACK */ 52 /* start address of 1st DMA transfer area, PU:0x00000000 */ 85 …REQ_SUSPECTED_66200 0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */ [all …]
|
/linux/include/asm-generic/ |
H A D | hyperv-tlfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * This file contains definitions from Hyper-V Hypervisor Top-Level Functional 6 * https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs 17 * While not explicitly listed in the TLFS, Hyper-V always runs with a page size 18 * of 4096. These definitions are used when communicating with Hyper-V using 23 #define HV_HYP_PAGE_SIZE BIT(HV_HYP_PAGE_SHIFT) 24 #define HV_HYP_PAGE_MASK (~(HV_HYP_PAGE_SIZE - 1)) 27 * Hyper-V provides two categories of flags relevant to guest VMs. The 29 * to guests on this particular instance of Hyper-V. The "Features" 35 * architecture specific portion of hyperv-tlfs.h. Some of these flags exist [all …]
|
/linux/sound/soc/ti/ |
H A D | omap-dmic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * omap-dmic.h -- OMAP Digital Microphone Controller 27 #define OMAP_DMIC_FIFO_DMIC3L_DATA_REG 0x64 29 /* IRQSTATUS_RAW, IRQSTATUS, IRQENABLE_SET, IRQENABLE_CLR bit fields */ 30 #define OMAP_DMIC_IRQ (1 << 0) 31 #define OMAP_DMIC_IRQ_FULL (1 << 1) 32 #define OMAP_DMIC_IRQ_ALMST_EMPTY (1 << 2) 33 #define OMAP_DMIC_IRQ_EMPTY (1 << 3) 36 /* DMIC_DMAENABLE bit fields */ 39 /* DMIC_CTRL bit fields */ [all …]
|
/linux/Documentation/bpf/ |
H A D | bpf_design_QA.rst | 18 Q: Is BPF a generic instruction set similar to x64 and arm64? 19 ------------------------------------------------------------- 23 ------------------------------------- 27 ----------------------------------------------------------- 34 with two most used architectures x64 and arm64 (and takes into 45 A: NO. BPF calling convention only allows registers R1-R5 to be used 47 (unlike x64 ISA that allows msft, cdecl and other conventions) 50 ----------------------------------------------------------------- 54 ------------------------------------------ 62 Q: Does C-calling convention diminishes possible use cases? [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov5647.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Based on Samsung S5K6AAFX SXGA 1/6" 1.3M CMOS Image Sensor driver 9 * Copyright (C) 2006-7 Jonathan Corbet <corbet@lwn.net> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/v4l2-image-sizes.h> 30 #include <media/v4l2-mediabus.h> 39 #define MIPI_CTRL00_CLOCK_LANE_GATE BIT(5) [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | pac207.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li 9 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 33 #define PAC207_EXPOSURE_MAX 90 /* 1 sec expo time / 1 fps */ 69 .priv = 1}, 81 {0x49, 0x64, 0x64, 0x64, 0x04, 0x10, 0xf0, 0x30}, 89 struct usb_device *udev = gspca_dev->dev; in pac207_write_regs() 92 if (gspca_dev->usb_err < 0) in pac207_write_regs() 95 memcpy(gspca_dev->usb_buf, buffer, length); in pac207_write_regs() 100 gspca_dev->usb_buf, length, PAC207_CTRL_TIMEOUT); in pac207_write_regs() [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,drif.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Gen3 Digital Radio Interface Controller (DRIF) 10 - Ramesh Shanmugasundaram <rashanmu@gmail.com> 11 - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 14 R-Car Gen3 DRIF is a SPI like receive only slave device. A general 17 +---------------------+ +---------------------+ 18 | |-----SCK------->|CLK | 19 | Master |-----SS-------->|SYNC DRIFn (slave) | [all …]
|