| /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 …]
|
| /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 */ 58 0x75, 0x04, /* Report Size (4), */ 74 0x65, 0x13, /* Unit (Inch), */ 75 0x55, 0xFD, /* Unit Exponent (-3), */ 93 /* Size of the original report descriptor of Slim Tablet 12.1 inch */ [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 …]
|
| /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 17 4 data lanes. 20 - $ref: /schemas/media/video-interface-devices.yaml# [all …]
|
| H A D | sony,imx296.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sony IMX296 1/2.8-Inch CMOS Image Sensor 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 13 description: |- 14 The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image 16 features a global shutter with variable charge-integration time. It is 17 programmable through I2C and 4-wire interfaces. The sensor output is [all …]
|
| H A D | aptina,mt9v111.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 13 The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core 17 of image resolutions and formats controllable through a simple two-wires 30 enable-gpios: 34 standby-gpios: 39 reset-gpios: 49 - compatible [all …]
|
| H A D | ovti,ov4689.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mikhail Rudenko <mike.rudenko@gmail.com> 13 The Omnivision OV4689 is a high performance, 1/3-inch, 4 megapixel 16 interface, and sensor output is sent via 1/2/4 lane MIPI CSI-2 20 - $ref: /schemas/media/video-interface-devices.yaml# 31 External clock (XVCLK) for the sensor, 6-64 MHz 34 dovdd-supply: 36 Digital I/O voltage supply, 1.7-3.0 V [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/regulator/ |
| H A D | rpi-panel-v2-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #define PWM_BL_MASK GENMASK(4, 0) 44 if (state->polarity != PWM_POLARITY_NORMAL) in rpi_panel_v2_pwm_apply() 45 return -EINVAL; in rpi_panel_v2_pwm_apply() 47 if (!state->enabled) in rpi_panel_v2_pwm_apply() 66 .parent = &i2c->dev, in rpi_panel_v2_i2c_probe() 73 pc = devm_pwmchip_alloc(&i2c->dev, 1, 0); in rpi_panel_v2_i2c_probe() 77 pc->ops = &rpi_panel_v2_pwm_ops; in rpi_panel_v2_i2c_probe() 81 return dev_err_probe(&i2c->dev, PTR_ERR(regmap), "Failed to allocate regmap\n"); in rpi_panel_v2_i2c_probe() 88 ret = PTR_ERR_OR_ZERO(devm_gpio_regmap_register(&i2c->dev, &gconfig)); in rpi_panel_v2_i2c_probe() [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> 48 #define CEU_BUFFER_MEMORY_SIZE (4 << 20) 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() [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. 30 #define AXP288_ADC_TS_BIAS_MASK GENMASK(5, 4) 31 #define AXP288_ADC_TS_BIAS_20UA (0 << 4) 32 #define AXP288_ADC_TS_BIAS_40UA (1 << 4) 33 #define AXP288_ADC_TS_BIAS_60UA (2 << 4) 34 #define AXP288_ADC_TS_BIAS_80UA (3 << 4) 91 .channel = 4, [all …]
|
| /linux/drivers/hid/bpf/progs/ |
| H A D | XPPen__DecoMini4.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * XP-Pen devices return a descriptor with the values the driver should use when 20 * 0E 03 60 4F 88 3B 06 00 FF 1F D8 13 21 * ----- ----- ----- ----- 23 * | | | `- Resolution: 5080 (13d8) 24 * | | `- Maximum pressure: 8191 (1FFF) 25 * | `- Logical maximum Y: 15240 (3B88) 26 * `- Logical maximum X: 20320 (4F60) 44 * Button 1: 06 00 05 00 00 00 00 00 -> b 45 * Button 2: 06 00 08 00 00 00 00 00 -> e [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/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/arch/sh/boards/mach-ap325rxa/ |
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas - AP-325RXA 4 * (Compatible with Algo System ., LTD. - AP-320A) 16 #include <linux/dma-map-ops.h> 38 #include <media/drv-intf/renesas-ceu.h> 43 #define CEU_BUFFER_MEMORY_SIZE (4 << 20) 74 .id = -1, 83 * AP320 and AP325RXA has CPLD data in NOR Flash(0xA80000-0xABFFFF). 91 .mask_flags = MTD_WRITEABLE, /* Read-only */ 97 .name = "free-area0", [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)"); 162 analoginit = lineargain / 4; in calc_mt9v011_gain() 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/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 */ 63 /* SZC bitmask, 4 modes below: 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 */ [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 157 * DRM_MODE_INIT - Initialize display mode 171 * DRM_SIMPLE_MODE - Simple display mode [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 67 --------------------------- 92 +127...-128 range, the motion is broken into multiple packets. 97 --------------------------- 104 --------------------- [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> 45 #define CEU_BUFFER_MEMORY_SIZE (4 << 20) 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 */ [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/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 85 #define CEU_BUFFER_MEMORY_SIZE (4 << 20) 93 .nr_bits = 4, [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/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 /*-******************************************************* 48 static void ZSTD_copy4(void* dst, const void* src) { ZSTD_memcpy(dst, src, 4); } in ZSTD_copy4() 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() [all …]
|