/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | ovti,ov02a10.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Dongchun Zhu <dongchun.zhu@mediatek.com> 13 description: |- 14 The Omnivision OV02A10 is a low-cost, high performance, 1/5-inch, 2 megapixel 17 @ 1600x1200 (UXGA) resolution transferred over a 1-lane MIPI interface. The 18 sensor output is available via CSI-2 serial data output. 21 - $ref: /schemas/media/video-interface-devices.yaml# 33 clock-names: [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_hw_sequencer.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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 CSI-2 and parallel (BT.601 and BT.656) busses 7 --------------------------------------------- 9 Please see :ref:`transmitter-receiver`. 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 29 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver 35 The currently preferred way to achieve this is using ``assigned-clocks``, 36 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See 37 ``Documentation/devicetree/bindings/clock/clock-bindings.txt`` for more [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/hw/display/ |
H A D | qxl-render.c | 29 DisplaySurface *surface = qemu_console_surface(qxl->vga.con); in qxl_blit() 37 trace_qxl_render_blit(qxl->guest_primary.qxl_stride, in qxl_blit() 38 rect->left, rect->right, rect->top, rect->bottom); in qxl_blit() 39 src = qxl->guest_primary.data; in qxl_blit() 40 if (qxl->guest_primary.qxl_stride < 0) { in qxl_blit() 41 /* qxl surface is upside down, walk src scanlines in qxl_blit() 43 src += (qxl->guest_primary.surface.height - rect->top - 1) * in qxl_blit() 44 qxl->guest_primary.abs_stride; in qxl_blit() 46 src += rect->top * qxl->guest_primary.abs_stride; in qxl_blit() 48 dst += rect->top * qxl->guest_primary.abs_stride; in qxl_blit() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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> 16 #include "shared-psy-info.h" 17 #include "x86-android-tablets.h" 19 /* Acer Iconia One 7 B1-750 has an Android factory img with everything hardcoded */ 21 "-1", "0", "0", 27 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", acer_b1_750_mount_matrix), 37 /* Novatek NVT-ts touchscreen */ 39 .type = "NVT-ts", 41 .dev_name = "NVT-ts", [all …]
|
/openbmc/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 …]
|
/openbmc/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> 61 .height = -1, 62 .width = -1, 83 * already rounded down to the hardware's capabilities in efifb_setcolreg() 88 if (regno >= info->cmap.len) in efifb_setcolreg() 92 red >>= 16 - info->var.red.length; in efifb_setcolreg() 93 green >>= 16 - info->var.green.length; in efifb_setcolreg() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/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 …]
|
/openbmc/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 …]
|
/openbmc/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> 42 * ----------------------- 70 * Repeatable-interval-detector 71 * ---------------------------- 81 * --------------------------- 90 * This rule-of-thumb is implemented using a performance-multiplier: 187 unsigned int value = data->intervals[i]; in get_typical_interval() 210 unsigned int value = data->intervals[i]; in get_typical_interval() [all …]
|
/openbmc/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 …]
|