| /linux/include/linux/ | 
| H A D | sysfb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7  * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 20 	M_I17,		/* 17-Inch iMac */ 21 	M_I20,		/* 20-Inch iMa [all...] | 
| /linux/arch/arm64/boot/dts/apple/ | 
| H A D | t8103-j456.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3  * Apple iMac (24-inch, 4x USB-C, M1, 2020) 5  * target-type: J456 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 	compatible = "apple,j456", "apple,t8103", "apple,arm-platform"; 17 	model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)"; 25 	brcm,board-type = "apple,capri"; 29 	brcm,board-type = "apple,capri"; 33 	hpm2: usb-pd@3b { [all …] 
 | 
| H A D | t8112-j413.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5  * target-type: J413 10 /dts-v1/; 13 #include "t8112-jxxx.dtsi" 14 #include <dt-bindings/leds/common.h> 17 	compatible = "apple,j413", "apple,t8112", "apple,arm-platform"; 18 	model = "Apple MacBook Air (13-inch, M2, 2022)"; 25 	led-controller { 26 		compatible = "pwm-leds"; 27 		led-0 { [all …] 
 | 
| /linux/Documentation/devicetree/bindings/media/i2c/ | 
| H A D | sony,imx219.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: Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor 10   - Dave Stevenson <dave.stevenson@raspberrypi.com> 12 description: |- 13   The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor 16   Image data is sent through MIPI CSI-2, which is configured as either 2 or 20   - $ref: /schemas/media/video-interface-devices.yaml# 33   VDIG-supply: [all …] 
 | 
| H A D | ovti,ov2680.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Rui Miguel Silva <rmfrfs@gmail.com> 12 description: |- 13   The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2 14   megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200) 15   camera. It provides full-frame, sub-sampled, or windowed 10-bit images in 30   clock-names: 33   reset-gpios: [all …] 
 | 
| H A D | ovti,ov5675.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11   - Quentin Schulz <quentin.schulz@theobroma-systems.com> 14   - $ref: /schemas/media/video-interface-devices.yaml# 17   The Omnivision OV5675 is a high performance, 1/5-inch, 5 megapixel, CMOS 18   image sensor that delivers 2592x1944 at 30fps. It provides full-frame, 19   sub-sampled, and windowed 10-bit MIPI images in various formats via the 22   This chip is programmable through I2C and two-wire SCCB. The sensor output 23   is available via CSI-2 serial data output (up to 2-lane). [all …] 
 | 
| H A D | ovti,ov5693.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11   - Tommaso Merciai <tomm.merciai@gmail.com> 14   The Omnivision OV5693/OV5695 are high performance, 1/4-inch, 5 megapixel, CMOS 15   image sensors that deliver 2592x1944 at 30fps. It provides full-frame, 16   sub-sampled, and windowed 10-bit MIPI images in various formats via the 19   OV5693/OV5695 are controlled via I2C and two-wire Serial Camera Control Bus 20   (SCCB). The sensor output is available via CSI-2 serial data output (up to 21   2-lane). [all …] 
 | 
| /linux/drivers/hid/ | 
| H A D | hid-waltop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 26  * mode tries to be HID-compatible (not very successfully), but cripples the 30  * represents the correct resolution, but is possibly HID-incompatible (i.e. 42 /* Size of the original report descriptor of Slim Tablet 5.8 inch */ 45 /* Fixed Slim Tablet 5.8 inch descriptor */ 74 	0x65, 0x13,         /*          Unit (Inch),                */ 75 	0x55, 0xFD,         /*          Unit Exponent (-3),         */ 93 /* Size of the original report descriptor of Slim Tablet 12.1 inch */ 96 /* Fixed Slim Tablet 12.1 inch descriptor */ [all …] 
 | 
| H A D | hid-uclogic-rdesc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3  *  HID driver for UC-Logic devices not fully compliant with HID standard 4  *  - original and fixed report descriptors 6  *  Copyright (c) 2010-2017 Nikolai Kondrashov 17 #include "hid-uclogic-rdesc.h" 45 	0x55, 0xFD,         /*          Unit Exponent (-3),         */ 46 	0x65, 0x13,         /*          Unit (Inch),                */ 90 	0x55, 0xFD,         /*          Unit Exponent (-3),         */ 91 	0x65, 0x13,         /*          Unit (Inch),                */ 127 	0x15, 0x81,         /*          Logical Minimum (-127),     */ [all …] 
 | 
| H A D | hid-logitech-hidpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6  *  Copyright (c) 2012-2013 Google (c) 7  *  Copyright (c) 2013-2014 Red Hat Inc. 25 #include <linux/fixp-arith.h> 28 #include "hid-ids.h" 39 	"Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently)."); 41 /* Define a non-zero software ID to identify our own requests */ 84 /* Convenience constant to check for any high-res support. */ 99 #define HIDPP_CAPABILITY_ADC_MEASUREMENT	BIT(10) 128 	u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; [all …] 
 | 
| /linux/drivers/regulator/ | 
| H A D | rpi-panel-attiny-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 85 	state->port_states[reg - REG_PORTA] = val;  in attiny_set_port_state() 86 	return regmap_write(state->regmap, reg, val);  in attiny_set_port_state() 91 	return state->port_states[reg - REG_PORTA];  in attiny_get_port_state() 98 	guard(mutex)(&state->lock);  in attiny_lcd_power_enable() 126 	guard(mutex)(&state->lock);  in attiny_lcd_power_disable() 128 	regmap_write(rdev->regmap, REG_PWM, 0);  in attiny_lcd_power_disable() 147 	scoped_guard(mutex, &state->lock) {  in attiny_lcd_power_is_enabled() 148 		for (i = 0; i < 10; i++) {  in attiny_lcd_power_is_enabled() 149 			ret = regmap_read(rdev->regmap, REG_PORTC, &data);  in attiny_lcd_power_is_enabled() [all …] 
 | 
| /linux/arch/sh/boards/mach-migor/ | 
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3  * Renesas System Solutions Asia Pte. Ltd - Migo-R 8 #include <linux/dma-map-ops.h> 30 #include <media/drv-intf/renesas-ceu.h> 78 	.mode = SH_KEYSC_MODE_2, /* KEYOUT0->4, KEYIN1->5 */ 118 		.mask_flags = MTD_WRITEABLE,	/* Read-only */ 148 	.name		= "physmap-flash", 176 		writeb(cmd, chip->legacy.IO_ADDR_W + 0x00400000);  in migor_nand_flash_cmd_ctl() 178 		writeb(cmd, chip->legacy.IO_ADDR_W + 0x00800000);  in migor_nand_flash_cmd_ctl() 180 		writeb(cmd, chip->legacy.IO_ADDR_W);  in migor_nand_flash_cmd_ctl() [all …] 
 | 
| /linux/drivers/iio/adc/ | 
| H A D | axp288_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3  * axp288_adc.c - X-Powers AXP288 PMIC ADC Driver 24  * This mask enables all ADCs except for the battery temp-sensor (TS), that is 25  * left as-is to avoid breaking charging on devices without a temp-sensor. 107 	IIO_MAP("TS_PIN", "axp288-batt", "axp288-batt-temp"), 108 	IIO_MAP("PMIC_TEMP", "axp288-pmic", "axp288-pmic-temp"), 109 	IIO_MAP("GPADC", "axp288-gpadc", "axp288-system-temp"), 110 	IIO_MAP("BATT_CHG_I", "axp288-chrg", "axp288-chrg-curr"), 111 	IIO_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"), 112 	IIO_MAP("BATT_V", "axp288-batt", "axp288-batt-volt"), [all …] 
 | 
| /linux/drivers/gpu/drm/panel/ | 
| H A D | panel-boe-himax8279d.c | 1 // SPDX-License-Identifier: GPL-2.0 59 	gpiod_set_value(pinfo->enable_gpio, 0);  in disable_gpios() 60 	gpiod_set_value(pinfo->pp33_gpio, 0);  in disable_gpios() 61 	gpiod_set_value(pinfo->pp18_gpio, 0);  in disable_gpios() 70 	for (i = 0; i < pinfo->desc->on_cmds_num; i++) {  in send_mipi_cmds() 71 		err = mipi_dsi_dcs_write_buffer(pinfo->link, &cmds[i],  in send_mipi_cmds() 86 	err = mipi_dsi_dcs_set_display_off(pinfo->link);  in boe_panel_disable() 88 		dev_err(panel->dev, "failed to set display off: %d\n", err);  in boe_panel_disable() 100 	err = mipi_dsi_dcs_set_display_off(pinfo->link);  in boe_panel_unprepare() 102 		dev_err(panel->dev, "failed to set display off: %d\n", err);  in boe_panel_unprepare() [all …] 
 | 
| /linux/include/drm/ | 
| H A D | drm_modes.h | 3  * Copyright © 2007-2008 Dave Airlie 4  * Copyright © 2007-2008 Intel Corporation 46  * enum drm_mode_status - hardware support status of a mode 129 	MODE_STALE = -3, 130 	MODE_BAD = -2, 131 	MODE_ERROR = -1 142  * DRM_MODE_RES_MM - Calculates the display size from resolution and DPI 144  * @dpi: The number of dots per inch 147 	(((res) * 254ul) / ((dpi) * 10ul)) 157  * DRM_MODE_INIT - Initialize display mode [all …] 
 | 
| /linux/Documentation/sound/hd-audio/ | 
| H A D | models.rst | 2 HD-Audio Codec-Specific Models 8     3-jack in back and a headphone out 9 3stack-digout 10     3-jack in back, a HP out and a SPDIF out 12     5-jack in back, 2-jack in front 13 5stack-digout 14     5-jack in back, 2-jack in front, a SPDIF out 16     6-jack in back, 2-jack in front 17 6stack-digout 18     6-jack with a SPDIF out [all …] 
 | 
| /linux/drivers/media/i2c/ | 
| H A D | mt9v011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt9v011 -Micron 1/4-Inch VGA Digital Image Sensor 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-ctrls.h> 23 MODULE_PARM_DESC(debug, "Debug level (0-2)"); 79 	msleep(10);  in mt9v011_read() 180 	exposure = core->exposure;  in set_balance() 182 	green_gain = calc_mt9v011_gain(core->global_gain);  in set_balance() 184 	bal = core->global_gain;  in set_balance() 185 	bal += (core->blue_bal * core->global_gain / (1 << 7));  in set_balance() [all …] 
 | 
| /linux/arch/sh/boards/mach-se/7724/ | 
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #include <linux/dma-map-ops.h> 37 #include <mach-se/mach/se7724.h> 38 #include <media/drv-intf/renesas-ceu.h> 51  * ------------------------------------ 55  * SW41 : abxx xxxx  -> a = 0 : Analog  monitor 73  * Please change J20, J21, J22 pin to 1-2 connection. 85 	.id             = -1, 123 		.mask_flags = MTD_WRITEABLE,	/* Read-only */ 129 		.name = "free-area", [all …] 
 | 
| /linux/Documentation/input/devices/ | 
| H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 41     0xF8-0xFB       relative mouse position records (lsbs determined by 43     0xFC            time-of-day 56 approximately 200 counts (phase changes or 'clicks') per inch of travel. The 58 velocities up to 10 inches per second. 67 --------------------------- 92 +127...-128 range, the motion is broken into multiple packets. 97 --------------------------- [all …] 
 | 
| /linux/sound/hda/codecs/cirrus/ | 
| H A D | cs420x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3  * Cirrus Logic CS420x HD-audio codec 52 /* Vendor-specific processing widget */ 65  * 1 = digital immediate, analog zero-cross 66  * 2 = digtail & analog soft-ramp 67  * 3 = digital soft-ramp, analog zero-cross 71 #define   CS_COEF_ADC_LI_SZC_MODE	(3 << 0) /* SZC setup for line-in */ 72 /* PGA mode: 0 = differential, 1 = signle-ended */ 74 #define   CS_COEF_ADC_LI_PGA_MODE	(1 << 6) /* PGA setup for line-in */ 78  * 1 = zero-cross [all …] 
 | 
| /linux/sound/hda/codecs/realtek/ | 
| H A D | alc269.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* different alc269-variants */ 55 	struct alc_spec *spec = codec->spec;  in alc269_parse_auto_config() 58 	switch (spec->codec_variant) {  in alc269_parse_auto_config() 106 	if (jack->unsol_res & (7 << 13))  in alc_headset_btn_callback() 109 	if (jack->unsol_res  & (1 << 16 | 3 << 8))  in alc_headset_btn_callback() 113 	if (jack->unsol_res & (7 << 23))  in alc_headset_btn_callback() 117 	if (jack->unsol_res & (7 << 10))  in alc_headset_btn_callback() 120 	snd_hda_jack_set_button_state(codec, jack->nid, report);  in alc_headset_btn_callback() 125 	struct alc_spec *spec = codec->spec;  in alc_disable_headset_jack_key() [all …] 
 | 
| /linux/tools/testing/selftests/hid/tests/ | 
| H A D | test_wacom_generic.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 111     number and tool-type identifier. Values of ``0`` may sometimes be 112     used for the out-of-range condition. 150         range 0 cm - 5 cm) and exact unit comparison (e.g. 1 inch is 151         not within the range 0 cm - 5 cm). 153         phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp) 173         self.ring = -1 333     Bare-bones opaque tablet with a minimum of features. 340     not any of Wacom's vendor-defined pages. [all …] 
 | 
| /linux/arch/sh/boards/mach-ecovec24/ | 
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 39 #include <linux/dma-map-ops.h> 41 #include <media/drv-intf/renesas-ceu.h> 52  *----------------------------------------- 62  *------------------------------ 71  * DS2[6-7] = MMC / SD              ON-OFF : SD 72  *                                  OFF-ON : MMC 76  * FSI - DA7210 99 	.end    = 0xA405012E - 1, 105 	.id             = -1, [all …] 
 | 
| /linux/lib/zstd/decompress/ | 
| H A D | zstd_decompress_block.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6  * This source code is licensed under both the BSD-style license (found in the 9  * You may select, at your option, one of the above-listed licenses. 15 /*-******************************************************* 51 /*-************************************************************* 57 …size_t const blockSizeMax = dctx->isFrameDecompression ? dctx->fParams.blockSizeMax : ZSTD_BLOCKSI…  in ZSTD_blockSizeMax() 71         bpPtr->lastBlock = cBlockHeader & 1;  in ZSTD_getcBlockSize() 72         bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3);  in ZSTD_getcBlockSize() 73         bpPtr->origSize = cSize;   /* only useful for RLE */  in ZSTD_getcBlockSize() 74         if (bpPtr->blockType == bt_rle) return 1;  in ZSTD_getcBlockSize() [all …] 
 | 
| /linux/Documentation/admin-guide/ | 
| H A D | kernel-parameters.txt | 16 			force -- enable ACPI if default was off 17 			on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 			off -- disable ACPI if default was on 19 			noirq -- do not use ACPI for IRQ routing 20 			strict -- Be less tolerant of platforms that are not 22 			rsdt -- prefer RSDT over (default) XSDT 23 			copy_dsdt -- copy DSDT to memory 24 			nocmcff -- Disable firmware first mode for corrected 28 			nospcr -- disable console in ACPI SPCR table as 45 			If set to vendor, prefer vendor-specific driver [all …] 
 |