Home
last modified time | relevance | path

Searched +full:vcom +full:- +full:mode (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/staging/fbtft/
H A Dfb_st7789v.c1 // SPDX-License-Identifier: GPL-2.0+
34 * enum st7789v_command - ST7789V display controller commands
38 * @VCOMS: VCOM setting
42 * @VCMOFSET: VCOM offset set
86 * init_tearing_effect_line() - init tearing effect line.
93 struct device *dev = par->info->device; in init_tearing_effect_line()
130 * init_display() - initialize the display controller
147 par->fbtftops.reset(par); in init_display()
153 /* turn off sleep mode */ in init_display()
157 /* set pixel format to RGB-565 */ in init_display()
[all …]
H A Dfb_hx8340bn.c1 // SPDX-License-Identifier: GPL-2.0+
5 * This display uses 9-bit SPI: Data/Command bit + 8 data bits
6 * For platforms that doesn't support 9-bit, the driver is capable
7 * of emulating this using 8-bit transfer.
8 * This is done by transferring eight 9-bit words in 9 bytes.
32 MODULE_PARM_DESC(emulate, "Force emulation in 9-bit mode");
36 par->fbtftops.reset(par); in init_display()
38 /* BTL221722-276L startup sequence, from datasheet */ in init_display()
49 * This command turns off sleep mode. in init_display()
50 * In this mode the DC/DC converter is enabled, Internal oscillator in init_display()
[all …]
H A Dfb_upd161704.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2014 Seong-Woo Kim
26 par->fbtftops.reset(par); in init_display()
37 /* y-setting */ in init_display()
68 write_reg(par, 0x001E, 0x0009); /* VCOM output setting */ in init_display()
69 write_reg(par, 0x001F, 0x0035); /* VCOM amplitude setting */ in init_display()
97 /* Color mode */ in init_display()
98 /*GS = 0: 260-k color (64 gray scale), GS = 1: 8 color (2 gray scale) */ in init_display()
115 switch (par->info->var.rotate) { in set_addr_win()
123 write_reg(par, 0x0006, WIDTH - 1 - xs); in set_addr_win()
[all …]
H A Dfb_ili9481.c1 // SPDX-License-Identifier: GPL-2.0+
22 /* SLP_OUT - Sleep out */
23 -1, MIPI_DCS_EXIT_SLEEP_MODE,
24 -2, 50,
26 -1, 0xD0, 0x07, 0x42, 0x18,
27 /* VCOM */
28 -1, 0xD1, 0x00, 0x07, 0x10,
29 /* Power setting for norm. mode */
30 -1, 0xD2, 0x01, 0x02,
32 -1, 0xC0, 0x10, 0x3B, 0x00, 0x02, 0x11,
[all …]
H A Dfb_ili9486.c1 // SPDX-License-Identifier: GPL-2.0+
21 /* Interface Mode Control */
22 -1, 0xb0, 0x0,
23 -1, MIPI_DCS_EXIT_SLEEP_MODE,
24 -2, 250,
26 -1, MIPI_DCS_SET_PIXEL_FORMAT, 0x55,
28 -1, 0xC2, 0x44,
29 /* VCOM Control 1 */
30 -1, 0xC5, 0x00, 0x00, 0x00, 0x00,
32 -1, 0xE0, 0x0F, 0x1F, 0x1C, 0x0C, 0x0F, 0x08, 0x48, 0x98,
[all …]
H A Dfb_hx8353d.c1 // SPDX-License-Identifier: GPL-2.0+
22 par->fbtftops.reset(par); in init_display()
31 /* VCOM */ in init_display()
43 /* SLPOUT - Sleep out & booster on */ in init_display()
47 /* DISPON - Display On */ in init_display()
82 * madctl - memory data access control in set_var()
84 * 1. mode selection pin srgb in set_var()
87 * rgb-bgr order color filter panel: 0=rgb, 1=bgr in set_var()
89 switch (par->info->var.rotate) { in set_var()
92 mx | my | (par->bgr << 3)); in set_var()
[all …]
H A Dfb_ili9341.c1 // SPDX-License-Identifier: GPL-2.0+
5 * This display uses 9-bit SPI: Data/Command bit + 8 data bits
6 * For platforms that doesn't support 9-bit, the driver is capable
7 * of emulating this using 8-bit transfer.
8 * This is done by transferring eight 9-bit words in 9 bytes.
31 par->fbtftops.reset(par); in init_display()
33 /* startup sequence for MI0283QT-9A */ in init_display()
37 /* --------------------------------------------------------- */ in init_display()
44 /* ------------power control-------------------------------- */ in init_display()
47 /* ------------VCOM --------- */ in init_display()
[all …]
H A Dfb_ili9163.c1 // SPDX-License-Identifier: GPL-2.0+
33 /* (In normal mode/Full colors) */
34 #define CMD_FRMCTR2 0xB2 /* Frame Rate Control (In Idle mode/8-colors) */
36 /* (In Partial mode/full colors) */
50 #define CMD_VCOMOFFS 0xC7 /* VCOM Offset Control */
57 * http://www.ebay.com/itm/Replace-Nokia-5110-LCD-1-44-Red-Serial-128X128-SPI-
58 * Color-TFT-LCD-Display-Module-/271422122271
70 #define __OFFSET 32 /*see note 2 - this is the red version */
72 #define __OFFSET 0 /*see note 2 - this is the black version */
77 par->fbtftops.reset(par); in init_display()
[all …]
/linux/arch/sh/boards/mach-kfr2r09/
H A Dlcd_wqvga.c1 // SPDX-License-Identifier: GPL-2.0
7 * Register settings based on the out-of-tree t33fb.c driver
22 /* The on-board LCD module is a Hitachi TX07D34VM0AAA. This module is made
24 * communicating with the main port of the LCDC using an 18-bit SYS interface.
30 0x02, /* WEMODE: 1=cont, 0=one-shot */
62 return so->read_data(sohandle); in read_reg()
70 so->write_data(sohandle, v); /* PTH4/LCDRS High [param, 17:0] */ in write_reg()
72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
140 /* exit deep standby mode */ in display_on()
148 /* display mode and frame memory write mode */ in display_on()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-kingdisplay-kd097d04.c1 // SPDX-License-Identifier: GPL-2.0+
46 /* VCOM disable */
50 /* VCOM setting */
185 err = mipi_dsi_dcs_set_display_off(kingdisplay->link); in kingdisplay_panel_disable()
187 dev_err(panel->dev, "failed to set display off: %d\n", err); in kingdisplay_panel_disable()
197 err = mipi_dsi_dcs_enter_sleep_mode(kingdisplay->link); in kingdisplay_panel_unprepare()
199 dev_err(panel->dev, "failed to enter sleep mode: %d\n", err); in kingdisplay_panel_unprepare()
206 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 0); in kingdisplay_panel_unprepare()
208 err = regulator_disable(kingdisplay->supply); in kingdisplay_panel_unprepare()
221 gpiod_set_value_cansleep(kingdisplay->enable_gpio, 0); in kingdisplay_panel_prepare()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-skov-reva.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 #include "imx8mp-nominal.dtsi"
6 #include <dt-bindings/leds/common.h>
27 compatible = "pwm-backlight";
28 pinctrl-0 = <&pinctrl_backlight>;
30 power-supply = <&reg_24v>;
31 enable-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>;
32 brightness-levels = <0 255>;
33 num-interpolated-steps = <17>;
34 default-brightness-level = <8>;
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
10 stdout-path = &uart2;
19 mdio-gpio0 = &mdio;
28 iio-hwmon {
29 compatible = "iio-hwmon";
30 io-channels = <&adc 0>, /* 24V */
35 compatible = "gpio-leds";
37 led-0 {
[all …]
/linux/drivers/video/backlight/
H A Dtdo24m.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tdo24m - SPI-based drivers for Toppoly TDO24M series LCD panels
32 int (*adj_mode)(struct tdo24m *lcd, int mode);
36 int mode; member
44 #define CMD_NULL (-1)
146 CMD1(0xba, 0x01), /* Display mode (1) */
147 CMD1(0xbb, 0x00), /* Display mode (2) */
148 CMD1(0x3a, 0x60), /* Display mode 18-bit RGB */
151 CMD1(0xb2, 0x33), /* Booster mode setup */
155 CMD1(0xb6, 0x40), /* VCOM voltage */
[all …]
/linux/sound/soc/codecs/
H A Dak4642.c1 // SPDX-License-Identifier: GPL-2.0
3 // ak4642.c -- AK4642/AK4643 ALSA Soc Audio driver
23 #include <linux/clk-provider.h>
76 #define PMVCM (1 << 6) /* VCOM Power Management */
102 #define LOPS (1 << 6) /* Stero Line-out Power Save Mode */
153 * min : 0xFE : -115.0 dB
156 static const DECLARE_TLV_DB_SCALE(out_tlv, -11550, 50, 1);
177 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in ak4642_lout_event()
182 /* Power save mode ON */ in ak4642_lout_event()
187 /* Power save mode OFF */ in ak4642_lout_event()
[all …]
/linux/drivers/usb/core/
H A Dquirks.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
38 return -ENOMEM; in quirks_param_set()
70 return -ENOMEM; in quirks_param_set()
193 /* CBM - Flash disk */
220 /* Microsoft LifeCam-VX700 v2.0 */
226 /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */
233 /* Logitech HD Pro Webcams C920, C920-C, C922, C925e and C930e */
268 /* Logitech Harmony 700-series */
294 /* Samsung Android phone modem - ID conflict with SPH-I500 */
[all …]