Home
last modified time | relevance | path

Searched +full:upside +full:- +full:down (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/staging/fbtft/
H A Dfb_uc1701.c1 // 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 Dmount-matrix.txt2 * 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 Dext-ctrls-camera.rst1 .. 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/misc-devices/
H A Dlis3lv02d.rst12 - 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 Dtegra.rst11 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/arch/arm64/boot/dts/qcom/
H A Dsm6115p-lenovo-j606f.dts1 // 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 Ddisplay7seg.c1 // 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 Domap3-n950.dts1 // 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 Dtypec.rst3 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 Dmux.c1 // 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/drivers/media/usb/gspca/
H A Dsq905.c1 // 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/Documentation/input/
H A Dmulti-touch-protocol.rst4 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 Dvivid.rst1 .. 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 Ddcn20_hubbub.c32 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/tools/memory-model/Documentation/
H A Drecipes.txt20 ------------------------------------
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 -------
66 locklessly accessing lock-protected shared variables.
68 Locking is well-known and straightforward, at least if you don't think
157 Counter-intuitive though it might be, it is quite possible to have
192 sufficiently to rule out the counter-intuitive outcome.
[all …]
/linux/drivers/media/usb/gspca/gl860/
H A Dgl860.c1 // 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 Dm5602_ov9650.c1 // 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 Ddrm_mode_config.h42 * 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
120 * - Checking that the modes, framebuffers, scaling and placement
123 * - Checking that any hidden shared resources are not oversubscribed.
128 * - Checking that virtualized resources exported to userspace are not
131 * example is dual-pipe operations (which generally should be hidden
138 * - Check that any transitional state is possible and that if
142 * - Check any other constraints the driver or hardware might have.
[all …]
/linux/drivers/usb/gadget/function/
H A Df_midi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_midi.c -- USB MIDI class function driver
49 * stored in 4-bit fields. And as the interface currently only holds one
69 * USB -> OUT endpoint -> rawmidi
70 * USB <- IN endpoint <- rawmidi
97 /* This fifo is used as a buffer ring for pre-allocated IN usb_requests */
130 /* B.3.2 Class-Specific AC Interface Descriptor */
152 /* B.4.2 Class-Specific MS Interface Descriptor */
176 /* B.5.2 Class-specific MS Bulk OUT Endpoint Descriptor */
200 /* B.6.2 Class-specific MS Bulk IN Endpoint Descriptor */
[all …]
/linux/arch/x86/mm/
H A Dfault.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar
51 return -1; in kmmio_fault()
58 * 32-bit mode:
63 * 64-bit mode:
90 * In 64-bit mode 0x40..0x4F are valid REX prefixes in check_prefetch_opcode()
118 c->x86_vendor == X86_VENDOR_AMD && in is_amd_k8_pre_npt()
119 c->x86 == 0xf && c->x86_model < 0x40); in is_amd_k8_pre_npt()
129 /* Erratum #91 affects AMD K8, pre-NPT CPUs */ in is_prefetch()
145 * not-present page (e.g. due to a race). No one has ever in is_prefetch()
[all …]
/linux/arch/x86/kernel/apic/
H A Dio_apic.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel IO-APIC support for multi-Pentium hosts.
10 * (c) 1999, Multiple IO-APIC support, developed by
11 * Ken-ichi Yaku <yaku@css1.kbnes.nec.co.jp> and
25 * - SiS APIC rmw bug:
28 * required to rewrite the index register for a read-modify-write
74 for ((idx) = nr_ioapics - 1; (idx) >= 0; (idx)--)
110 /* Saved state during suspend/resume, or while enabling intr-remap. */
142 return gsi_cfg->gsi_end - gsi_cfg->gsi_base + 1; in mp_ioapic_pin_count()
147 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi()
[all …]
/linux/drivers/platform/x86/
H A Dtouchscreen_dmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 /* The EFI embedded-fw code expects this to be the first member! */
33 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
34 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
35 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
36 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
37 PROPERTY_ENTRY_BOOL("silead,home-button"),
38 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
48 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
49 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
[all …]
/linux/drivers/hid/
H A Dhid-multitouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr>
6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com>
7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
8 * Copyright (c) 2012-2013 Red Hat, Inc
10 * This code is partly based on hid-egalax.c:
16 * This code is partly based on hid-3m-pct.c:
18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr>
27 * This driver is regularly tested thanks to the test suite in hid-tools[1].
31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dcommands.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2023-2025 Intel Corporation
7 * Please use iwl-xxxx-hw.h for hardware-related definitions.
29 /* Multi-Station support */
93 /* RF-KILL commands and notifications */
138 * - 4 standard TX queues
139 * - the command queue
140 * - 4 PAN TX queues
141 * - the PAN multicast queue, and
142 * - the AUX (TX during scan dwell) queue.
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
92 /* Multi-Station support */
138 /* RF-KILL commands and notifications */
184 * when sending the response to each driver-originated command, so
196 * 0:7 tfd idx - position within TX queue
199 * 14 huge - driver sets this to indicate command is in the
201 * 15 unsolicited RX or uCode-originated notification
212 * 1) DSP gain (or sometimes called DSP attenuation). This is a fine-grained
[all …]

12