/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interface-devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 14 flash-leds: 15 $ref: /schemas/types.yaml#/definitions/phandle-array 17 An array of phandles, each referring to a flash LED, a sub-node of the LED 20 lens-focus: [all …]
|
/linux/drivers/staging/fbtft/ |
H A D | fb_uc1701.c | 1 // SPDX-License-Identifier: GPL-2.0+ 43 /* 15: output mode select (turns display upside-down) */ 65 par->fbtftops.reset(par); in init_display() 77 /* output mode select (turns display upside-down) */ in init_display() 120 u16 *vmem16 = (u16 *)par->info->screen_buffer; in write_vmem() 126 buf = par->txbuf.buf; in write_vmem() 139 gpiod_set_value(par->gpio.dc, 1); in write_vmem() 140 ret = par->fbtftops.write(par, par->txbuf.buf, WIDTH); in write_vmem() 141 gpiod_set_value(par->gpio.dc, 0); in write_vmem() 145 dev_err(par->info->device, "write failed and returned: %d\n", in write_vmem()
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 37 reference. This means that the sensor may be flipped upside-down, left-right, 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of 53 this point. Up and down in the world relative to the device frame of 57 as the gravity vector is projected 1:1 onto the sensors (z)-axis. 67 +--------+ +--------+ 69 +--------+ +--------+ 80 (---------) [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-camera.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _camera-controls: 13 .. _camera-control-id: 23 .. _v4l2-exposure-auto-type: 28 enum v4l2_exposure_auto_type - 37 .. flat-table:: 38 :header-rows: 0 39 :stub-columns: 0 41 * - ``V4L2_EXPOSURE_AUTO`` 42 - Automatic exposure time, automatic iris aperture. [all …]
|
/linux/Documentation/userspace-api/media/drivers/ |
H A D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 This section describes common practices for how the V4L2 sub-device interface is 14 ---------- 23 processing pipeline as one or more sub-devices with different cropping and 41 ---------------------------- 68 sub-device. The unit of that control is pixels per second. 70 Register list based drivers need to implement read-only sub-device nodes for the 89 ---------------------------------- 91 Some systems have the camera sensor mounted upside down compared to its natural 94 <v4l2-camera-sensor-rotation>` control. [all …]
|
/linux/Documentation/misc-devices/ |
H A D | lis3lv02d.rst | 12 - Yan Burman <burman.yan@gmail.com> 13 - Eric Piel <eric.piel@tremplin-utc.net> 17 ----------- 31 - 3D position that the accelerometer reports. Format: "(x,y,z)" 33 - read reports the sampling rate of the accelerometer device in HZ. 37 - performs selftest for the chip as specified by chip manufacturer. 40 the laptop to act as a pinball machine-esque joystick. Joystick device can be 42 By default output values are scaled between -32768 .. 32767. In joystick raw 63 acts similar to /dev/rtc and reacts on free-fall interrupts received 66 result is number of free-fall interrupts since the last successful [all …]
|
/linux/Documentation/gpu/ |
H A D | tegra.rst | 11 supports the built-in GPU, comprised of the gr2d and gr3d engines. Starting 18 - A host1x driver that provides infrastructure and access to the host1x 21 - A KMS driver that supports the display controllers as well as a number of 24 - A set of custom userspace IOCTLs that can be used to submit jobs to the 40 device using a driver-provided function which will set up the bits specific to 45 the subsystem specific bits are torn down and the clients destroyed in turn. 48 ------------------------------- 50 .. kernel-doc:: include/linux/host1x.h 52 .. kernel-doc:: drivers/gpu/host1x/bus.c 56 -------------------------- [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce120/ |
H A D | dce120_hwseq.c | 41 hws->ctx 43 hws->regs->reg 47 hws->shifts->field_name, hws->masks->field_name 56 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 59 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 62 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 65 .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 68 .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 71 .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL), 91 (mmDCP1_DVMM_PTE_CONTROL- mmDCP0_DVMM_PTE_CONTROL); [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6115p-lenovo-j606f.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 14 chassis-type = "tablet"; 17 qcom,msm-id = <445 0x10000>, <420 0x10000>; 18 qcom,board-id = <34 3>; 25 #address-cells = <2>; 26 #size-cells = <2>; 30 compatible = "simple-framebuffer"; 40 gpio-keys { 41 compatible = "gpio-keys"; [all …]
|
/linux/drivers/sbus/char/ |
H A D | display7seg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* display7seg.c - Driver implementation for the 7-segment display 32 /* Solaris compatibility flag - 34 * documented driver features (ref Sun doc 806-0180-03). 38 * 1) Device ALWAYS reverts to OBP-specified FLIPPED mode 44 * omitting above features, set this parameter to non-zero. 51 MODULE_DESCRIPTION("7-Segment Display driver for Sun Microsystems CP1400/1500"); 61 * Register block address- see header for details 62 * ----------------------------------------- 64 * ----------------------------------------- [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n950.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950.dts - Device Tree file for Nokia N950 8 /dts-v1/; 10 #include "omap3-n950-n9.dtsi" 11 #include <dt-bindings/input/input.h> 15 compatible = "nokia,omap3-n950", "ti,omap3630", "ti,omap3"; 18 compatible = "gpio-keys"; 23 linux,input-type = <EV_SW>; 25 wakeup-source; 26 pinctrl-names = "default"; [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | typec.rst | 3 USB Type-C connector class 7 ------------ 9 The typec class is meant for describing the USB Type-C ports in a system to the 14 The platforms are expected to register every USB Type-C port they have with the 15 class. In a normal case the registration will be done by a USB Type-C or PD PHY 18 considers the component registering the USB Type-C ports with the class as "port 26 attributes are described in Documentation/ABI/testing/sysfs-class-typec. 29 -------------------- 36 "port0-partner". Full path to the device would be 37 /sys/class/typec/port0/port0-partner/. [all …]
|
/linux/drivers/usb/typec/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Multiplexer/DeMultiplexer Switch support 45 * property is named "orientation-switch" (@id). The value of the device in typec_switch_match() 59 return dev ? to_typec_switch_dev(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match() 63 * fwnode_typec_switch_get - Find USB Type-C orientation switch 68 * ERR_PTR(-EPROBE_DEFER) when a connection was found but the switch 81 return ERR_PTR(-ENOMEM); in fwnode_typec_switch_get() 83 count = fwnode_connection_find_matches(fwnode, "orientation-switch", NULL, in fwnode_typec_switch_get() 100 WARN_ON(!try_module_get(sw_devs[i]->dev.parent->driver->owner)); in fwnode_typec_switch_get() 101 sw->sw_devs[i] = sw_devs[i]; in fwnode_typec_switch_get() [all …]
|
/linux/Documentation/fb/ |
H A D | fbcon.rst | 16 etc. Theoretically, multi-colored fonts, blending, aliasing, and any feature 23 configuration tool. It is under Device Drivers->Graphics Support-> 24 Console display driver support->Framebuffer Console Support. 31 always be available. However, using a chipset-specific driver will give you 36 support->Bootup logo. 38 Also, you will need to select at least one compiled-in font, but if 84 compiled-in fonts: 10x18, 6x10, 6x8, 7x14, Acorn8x8, MINI4x6, 112 3. fbcon=vc:<n1>-<n2> 128 - 0 - normal orientation (0 degree) 129 - 1 - clockwise orientation (90 degrees) [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | sq905.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 MODULE_AUTHOR("Adam Baker <linux@baker-net.org.uk>, Theodore Kilgore <kilgota@auburn.edu>"); 52 /* Any non-zero value in the bottom 2 bits of the 2nd byte of 54 * LSB of that byte is set the image is just upside down, otherwise 106 gspca_dev->usb_buf[0] = '\0'; in sq905_command() 107 ret = usb_control_msg(gspca_dev->dev, in sq905_command() 108 usb_sndctrlpipe(gspca_dev->dev, 0), in sq905_command() 111 SQ905_COMMAND, index, gspca_dev->usb_buf, 1, in sq905_command() 118 ret = usb_control_msg(gspca_dev->dev, in sq905_command() 119 usb_rcvctrlpipe(gspca_dev->dev, 0), in sq905_command() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | efifb.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2006 Edgar Hucek <gimli@dark-green.com> 6 * Original efi driver written by Gerd Knorr <kraxel@goldbach.in-berlin.de> 13 #include <linux/efi-bgrt.h> 57 .height = -1, 58 .width = -1, 79 * already rounded down to the hardware's capabilities in efifb_setcolreg() 84 if (regno >= info->cmap.len) in efifb_setcolreg() 88 red >>= 16 - info->var.red.length; in efifb_setcolreg() 89 green >>= 16 - info->var.green.length; in efifb_setcolreg() [all …]
|
/linux/Documentation/input/ |
H A D | multi-touch-protocol.rst | 4 Multi-touch (MT) Protocol 7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> 11 ------------ 13 In order to utilize the full power of the new multi-touch and multi-user 16 document describes the multi-touch (MT) protocol which allows kernel 30 -------------- 34 packet. Since these events are ignored by current single-touch (ST) 48 All drivers mark the end of a multi-touch transfer by calling the usual 67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id 68 is interpreted as a contact, and the value -1 denotes an unused slot. A [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/ |
H A D | dcn20_hubbub.c | 32 hubbub1->regs->reg 35 hubbub1->base.ctx 39 hubbub1->shifts->field_name, hubbub1->masks->field_name 42 hubbub1->regs->reg 45 hubbub1->base.ctx 49 hubbub1->shifts->field_name, hubbub1->masks->field_name 221 struct dc *dc = hubbub->ctx->dc; in hubbub2_get_dcc_compression_cap() 230 if (dc->debug.disable_dcc == DCC_DISABLE) in hubbub2_get_dcc_compression_cap() 233 if (!hubbub->funcs->dcc_support_pixel_format(input->format, in hubbub2_get_dcc_compression_cap() 237 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub2_get_dcc_compression_cap() [all …]
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | other.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 18 #include <dt-bindings/leds/common.h> 20 #include "shared-psy-info.h" 21 #include "x86-android-tablets.h" 23 /* Acer Iconia One 7 B1-750 has an Android factory image with everything hardcoded */ 25 "-1", "0", "0", 31 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", acer_b1_750_mount_matrix), 41 /* Novatek NVT-ts touchscreen */ 43 .type = "NVT-ts", [all …]
|
/linux/tools/memory-model/Documentation/ |
H A D | recipes.txt | 20 ------------------------------------ 31 2. Compilers are permitted to use the "as-if" rule. That is, a 33 as long as the results of a single-threaded execution appear 41 your full-ordering warranty, as do undersized accesses that load 51 holding the update-side lock, reads from that variable 62 ------- 64 Locking is well-known and straightforward, at least if you don't think 153 Counter-intuitive though it might be, it is quite possible to have 188 sufficiently to rule out the counter-intuitive outcome. 195 load buffering, release-acquire chains, store buffering. [all …]
|
/linux/drivers/cpuidle/governors/ |
H A D | menu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * menu.c - the menu idle governor 5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> 40 * ----------------------- 68 * Repeatable-interval-detector 69 * ---------------------------- 79 * --------------------------- 88 * This rule-of-thumb is implemented using a performance-multiplier: 180 unsigned int value = data->intervals[i]; in get_typical_interval() 203 unsigned int value = data->intervals[i]; in get_typical_interval() [all …]
|
/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * GSPCA by Jean-Francois Moine <http://moinejf.free.fr> 52 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl() 55 switch (ctrl->id) { in sd_s_ctrl() 57 sd->vcur.brightness = ctrl->val; in sd_s_ctrl() 60 sd->vcur.contrast = ctrl->val; in sd_s_ctrl() 63 sd->vcur.saturation = ctrl->val; in sd_s_ctrl() 66 sd->vcur.hue = ctrl->val; in sd_s_ctrl() 69 sd->vcur.gamma = ctrl->val; in sd_s_ctrl() 72 sd->vcur.mirror = ctrl->val; in sd_s_ctrl() [all …]
|
/linux/drivers/media/usb/gspca/m5602/ |
H A D | m5602_ov9650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 151 /* Enable denoise, and white-pixel erase */ 175 where the sensor is mounted upside down */ 307 return -ENODEV; in ov9650_probe() 312 /* Run the pre-init before probing the sensor */ in ov9650_probe() 327 return -ENODEV; in ov9650_probe() 330 return -ENODEV; in ov9650_probe() 336 return -ENODEV; in ov9650_probe() 339 sd->gspca_dev.cam.cam_mode = ov9650_modes; in ov9650_probe() 340 sd->gspca_dev.cam.nmodes = ARRAY_SIZE(ov9650_modes); in ov9650_probe() [all …]
|
/linux/include/drm/ |
H A D | drm_mode_config.h | 42 * struct drm_mode_config_funcs - basic driver provided mode setting functions 44 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that 59 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0. 70 * driver-specific information (like the internal native buffer object 119 * - Checking that the modes, framebuffers, scaling and placement 122 * - Checking that any hidden shared resources are not oversubscribed. 127 * - Checking that virtualized resources exported to userspace are not 130 * example is dual-pipe operations (which generally should be hidden 137 * - Check that any transitional state is possible and that if 141 * - Check any other constraints the driver or hardware might have. [all …]
|