/drivers/auxdisplay/ |
D | charlcd.c | 31 struct charlcd lcd; member 51 #define charlcd_to_priv(p) container_of(p, struct charlcd_priv, lcd) 57 void charlcd_backlight(struct charlcd *lcd, enum charlcd_onoff on) in charlcd_backlight() argument 59 struct charlcd_priv *priv = charlcd_to_priv(lcd); in charlcd_backlight() 61 if (!lcd->ops->backlight) in charlcd_backlight() 66 lcd->ops->backlight(lcd, on); in charlcd_backlight() 81 priv->lcd.ops->backlight(&priv->lcd, CHARLCD_OFF); in charlcd_bl_off() 87 void charlcd_poke(struct charlcd *lcd) in charlcd_poke() argument 89 struct charlcd_priv *priv = charlcd_to_priv(lcd); in charlcd_poke() 91 if (!lcd->ops->backlight) in charlcd_poke() [all …]
|
D | arm-charlcd.c | 78 struct charlcd *lcd = data; in charlcd_interrupt() local 81 status = readl(lcd->virtbase + CHAR_STAT) & 0x01; in charlcd_interrupt() 83 writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); in charlcd_interrupt() 85 complete(&lcd->complete); in charlcd_interrupt() 87 dev_info(lcd->dev, "Spurious IRQ (%02x)\n", status); in charlcd_interrupt() 92 static void charlcd_wait_complete_irq(struct charlcd *lcd) in charlcd_wait_complete_irq() argument 96 ret = wait_for_completion_interruptible_timeout(&lcd->complete, in charlcd_wait_complete_irq() 99 writel(0x00, lcd->virtbase + CHAR_MASK); in charlcd_wait_complete_irq() 102 dev_err(lcd->dev, in charlcd_wait_complete_irq() 109 dev_err(lcd->dev, "charlcd controller timed out " in charlcd_wait_complete_irq() [all …]
|
D | hd44780_common.c | 39 int hd44780_common_print(struct charlcd *lcd, int c) in hd44780_common_print() argument 41 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_print() 43 if (lcd->addr.x < hdc->bwidth) { in hd44780_common_print() 52 int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y) in hd44780_common_gotoxy() argument 54 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_gotoxy() 71 int hd44780_common_home(struct charlcd *lcd) in hd44780_common_home() argument 73 return hd44780_common_gotoxy(lcd, 0, 0); in hd44780_common_home() 78 int hd44780_common_clear_display(struct charlcd *lcd) in hd44780_common_clear_display() argument 80 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_clear_display() 93 return hd44780_common_home(lcd); in hd44780_common_clear_display() [all …]
|
D | charlcd.h | 79 void (*backlight)(struct charlcd *lcd, enum charlcd_onoff on); 80 int (*print)(struct charlcd *lcd, int c); 81 int (*gotoxy)(struct charlcd *lcd, unsigned int x, unsigned int y); 82 int (*home)(struct charlcd *lcd); 83 int (*clear_display)(struct charlcd *lcd); 84 int (*init_display)(struct charlcd *lcd); 85 int (*shift_cursor)(struct charlcd *lcd, enum charlcd_shift_dir dir); 86 int (*shift_display)(struct charlcd *lcd, enum charlcd_shift_dir dir); 87 int (*display)(struct charlcd *lcd, enum charlcd_onoff on); 88 int (*cursor)(struct charlcd *lcd, enum charlcd_onoff on); [all …]
|
D | lcd2s.c | 97 static int lcd2s_print(struct charlcd *lcd, int c) in lcd2s_print() argument 99 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_print() 106 static int lcd2s_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y) in lcd2s_gotoxy() argument 108 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_gotoxy() 116 static int lcd2s_home(struct charlcd *lcd) in lcd2s_home() argument 118 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_home() 124 static int lcd2s_init_display(struct charlcd *lcd) in lcd2s_init_display() argument 126 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_init_display() 139 static int lcd2s_shift_cursor(struct charlcd *lcd, enum charlcd_shift_dir dir) in lcd2s_shift_cursor() argument 141 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_shift_cursor() [all …]
|
D | panel.c | 218 } lcd; variable 712 if (lcd.pins.bl == PIN_NONE) in lcd_backlight() 844 hdc->hd44780 = &lcd; in lcd_init() 859 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 860 lcd.charset = LCD_CHARSET_NORMAL; in lcd_init() 861 lcd.pins.e = PIN_STROBE; in lcd_init() 862 lcd.pins.rs = PIN_AUTOLF; in lcd_init() 871 lcd.proto = LCD_PROTO_SERIAL; in lcd_init() 872 lcd.charset = LCD_CHARSET_KS0074; in lcd_init() 873 lcd.pins.bl = PIN_AUTOLF; in lcd_init() [all …]
|
D | hd44780_common.h | 18 int hd44780_common_print(struct charlcd *lcd, int c); 19 int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y); 20 int hd44780_common_home(struct charlcd *lcd); 21 int hd44780_common_clear_display(struct charlcd *lcd); 22 int hd44780_common_init_display(struct charlcd *lcd); 23 int hd44780_common_shift_cursor(struct charlcd *lcd, 25 int hd44780_common_shift_display(struct charlcd *lcd, 27 int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on); 28 int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on); 29 int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on); [all …]
|
D | hd44780.c | 41 static void hd44780_backlight(struct charlcd *lcd, enum charlcd_onoff on) in hd44780_backlight() argument 43 struct hd44780_common *hdc = lcd->drvdata; in hd44780_backlight() 204 struct charlcd *lcd; in hd44780_probe() local 229 lcd = charlcd_alloc(); in hd44780_probe() 230 if (!lcd) in hd44780_probe() 238 lcd->drvdata = hdc; in hd44780_probe() 277 &lcd->height); in hd44780_probe() 280 ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); in hd44780_probe() 288 if (lcd->height > 2) in hd44780_probe() 289 hdc->bwidth = lcd->width; in hd44780_probe() [all …]
|
/drivers/gpu/drm/panel/ |
D | panel-sony-acx565akm.c | 75 static void acx565akm_transfer(struct acx565akm_panel *lcd, int cmd, in acx565akm_transfer() argument 118 ret = spi_sync(lcd->spi, &m); in acx565akm_transfer() 120 dev_dbg(&lcd->spi->dev, "spi_sync %d\n", ret); in acx565akm_transfer() 123 static inline void acx565akm_cmd(struct acx565akm_panel *lcd, int cmd) in acx565akm_cmd() argument 125 acx565akm_transfer(lcd, cmd, NULL, 0, NULL, 0); in acx565akm_cmd() 128 static inline void acx565akm_write(struct acx565akm_panel *lcd, in acx565akm_write() argument 131 acx565akm_transfer(lcd, reg, buf, len, NULL, 0); in acx565akm_write() 134 static inline void acx565akm_read(struct acx565akm_panel *lcd, in acx565akm_read() argument 137 acx565akm_transfer(lcd, reg, NULL, 0, buf, len); in acx565akm_read() 144 static unsigned int acx565akm_get_cabc_mode(struct acx565akm_panel *lcd) in acx565akm_get_cabc_mode() argument [all …]
|
D | panel-tpo-td043mtea1.c | 74 static int td043mtea1_write(struct td043mtea1_panel *lcd, u8 addr, u8 value) in td043mtea1_write() argument 91 ret = spi_sync(lcd->spi, &msg); in td043mtea1_write() 93 dev_warn(&lcd->spi->dev, "failed to write to LCD reg (%d)\n", in td043mtea1_write() 99 static void td043mtea1_write_gamma(struct td043mtea1_panel *lcd) in td043mtea1_write_gamma() argument 101 const u16 *gamma = lcd->gamma; in td043mtea1_write_gamma() 108 td043mtea1_write(lcd, 0x11, val); in td043mtea1_write_gamma() 112 td043mtea1_write(lcd, 0x12, val); in td043mtea1_write_gamma() 116 td043mtea1_write(lcd, 0x13, val); in td043mtea1_write_gamma() 120 td043mtea1_write(lcd, 0x14 + i, gamma[i] & 0xff); in td043mtea1_write_gamma() 123 static int td043mtea1_write_mirror(struct td043mtea1_panel *lcd) in td043mtea1_write_mirror() argument [all …]
|
D | panel-tpo-td028ttec1.c | 94 jbt_ret_write_0(struct td028ttec1_panel *lcd, u8 reg, int *err) in jbt_ret_write_0() argument 96 struct spi_device *spi = lcd->spi; in jbt_ret_write_0() 114 jbt_reg_write_1(struct td028ttec1_panel *lcd, in jbt_reg_write_1() argument 117 struct spi_device *spi = lcd->spi; in jbt_reg_write_1() 138 jbt_reg_write_2(struct td028ttec1_panel *lcd, in jbt_reg_write_2() argument 141 struct spi_device *spi = lcd->spi; in jbt_reg_write_2() 164 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel); in td028ttec1_prepare() local 170 jbt_ret_write_0(lcd, 0x00, &ret); in td028ttec1_prepare() 175 jbt_reg_write_1(lcd, JBT_REG_POWER_ON_OFF, 0x17, &ret); in td028ttec1_prepare() 178 jbt_reg_write_1(lcd, JBT_REG_DISPLAY_MODE, 0x80, &ret); in td028ttec1_prepare() [all …]
|
D | panel-sharp-ls037v7dw01.c | 41 struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel); in ls037v7dw01_disable() local 43 gpiod_set_value_cansleep(lcd->ini_gpio, 0); in ls037v7dw01_disable() 44 gpiod_set_value_cansleep(lcd->resb_gpio, 0); in ls037v7dw01_disable() 54 struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel); in ls037v7dw01_unprepare() local 56 regulator_disable(lcd->vdd); in ls037v7dw01_unprepare() 62 struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel); in ls037v7dw01_prepare() local 65 ret = regulator_enable(lcd->vdd); in ls037v7dw01_prepare() 67 dev_err(&lcd->pdev->dev, "%s: failed to enable regulator\n", in ls037v7dw01_prepare() 75 struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel); in ls037v7dw01_enable() local 80 gpiod_set_value_cansleep(lcd->resb_gpio, 1); in ls037v7dw01_enable() [all …]
|
D | panel-olimex-lcd-olinuxino.c | 83 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_disable() local 85 if (!lcd->enabled) in lcd_olinuxino_disable() 88 lcd->enabled = false; in lcd_olinuxino_disable() 95 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_unprepare() local 97 if (!lcd->prepared) in lcd_olinuxino_unprepare() 100 gpiod_set_value_cansleep(lcd->enable_gpio, 0); in lcd_olinuxino_unprepare() 101 regulator_disable(lcd->supply); in lcd_olinuxino_unprepare() 103 lcd->prepared = false; in lcd_olinuxino_unprepare() 110 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_prepare() local 113 if (lcd->prepared) in lcd_olinuxino_prepare() [all …]
|
D | panel-nec-nl8048hl11.c | 32 static int nl8048_write(struct nl8048_panel *lcd, unsigned char addr, in nl8048_write() argument 38 ret = spi_write(lcd->spi, data, sizeof(data)); in nl8048_write() 40 dev_err(&lcd->spi->dev, "SPI write to %u failed: %d\n", in nl8048_write() 46 static int nl8048_init(struct nl8048_panel *lcd) in nl8048_init() argument 79 ret = nl8048_write(lcd, nl8048_init_seq[i].addr, in nl8048_init() 87 return nl8048_write(lcd, 2, 0x00); in nl8048_init() 92 struct nl8048_panel *lcd = to_nl8048_device(panel); in nl8048_disable() local 94 gpiod_set_value_cansleep(lcd->reset_gpio, 0); in nl8048_disable() 101 struct nl8048_panel *lcd = to_nl8048_device(panel); in nl8048_enable() local 103 gpiod_set_value_cansleep(lcd->reset_gpio, 1); in nl8048_enable() [all …]
|
D | panel-lg-lb035q02.c | 32 static int lb035q02_write(struct lb035q02_device *lcd, u16 reg, u16 val) in lb035q02_write() argument 60 return spi_sync(lcd->spi, &msg); in lb035q02_write() 63 static int lb035q02_init(struct lb035q02_device *lcd) in lb035q02_init() argument 100 ret = lb035q02_write(lcd, init_data[i].index, in lb035q02_init() 111 struct lb035q02_device *lcd = to_lb035q02_device(panel); in lb035q02_disable() local 113 gpiod_set_value_cansleep(lcd->enable_gpio, 0); in lb035q02_disable() 120 struct lb035q02_device *lcd = to_lb035q02_device(panel); in lb035q02_enable() local 122 gpiod_set_value_cansleep(lcd->enable_gpio, 1); in lb035q02_enable() 178 struct lb035q02_device *lcd; in lb035q02_probe() local 181 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in lb035q02_probe() [all …]
|
/drivers/video/backlight/ |
D | corgi_lcd.c | 99 static int corgi_ssp_lcdtg_send(struct corgi_lcd *lcd, int reg, uint8_t val); 110 static void lcdtg_ssp_i2c_send(struct corgi_lcd *lcd, uint8_t data) in lcdtg_ssp_i2c_send() argument 112 corgi_ssp_lcdtg_send(lcd, POWERREG0_ADRS, data); in lcdtg_ssp_i2c_send() 116 static void lcdtg_i2c_send_bit(struct corgi_lcd *lcd, uint8_t data) in lcdtg_i2c_send_bit() argument 118 lcdtg_ssp_i2c_send(lcd, data); in lcdtg_i2c_send_bit() 119 lcdtg_ssp_i2c_send(lcd, data | POWER0_COM_DCLK); in lcdtg_i2c_send_bit() 120 lcdtg_ssp_i2c_send(lcd, data); in lcdtg_i2c_send_bit() 123 static void lcdtg_i2c_send_start(struct corgi_lcd *lcd, uint8_t base) in lcdtg_i2c_send_start() argument 125 lcdtg_ssp_i2c_send(lcd, base | POWER0_COM_DCLK | POWER0_COM_DOUT); in lcdtg_i2c_send_start() 126 lcdtg_ssp_i2c_send(lcd, base | POWER0_COM_DCLK); in lcdtg_i2c_send_start() [all …]
|
D | ltv350qv.c | 36 static int ltv350qv_write_reg(struct ltv350qv *lcd, u8 reg, u16 val) in ltv350qv_write_reg() argument 50 lcd->buffer[0] = LTV_OPC_INDEX; in ltv350qv_write_reg() 51 lcd->buffer[1] = 0x00; in ltv350qv_write_reg() 52 lcd->buffer[2] = reg & 0x7f; in ltv350qv_write_reg() 53 index_xfer.tx_buf = lcd->buffer; in ltv350qv_write_reg() 57 lcd->buffer[4] = LTV_OPC_DATA; in ltv350qv_write_reg() 58 lcd->buffer[5] = val >> 8; in ltv350qv_write_reg() 59 lcd->buffer[6] = val; in ltv350qv_write_reg() 60 value_xfer.tx_buf = lcd->buffer + 4; in ltv350qv_write_reg() 63 return spi_sync(lcd->spi, &msg); in ltv350qv_write_reg() [all …]
|
D | tdo24m.c | 33 int (*adj_mode)(struct tdo24m *lcd, int mode); 175 static int tdo24m_writes(struct tdo24m *lcd, const uint32_t *array) in tdo24m_writes() argument 177 struct spi_transfer *x = &lcd->xfer; in tdo24m_writes() 183 if (!lcd->color_invert && *p == CMD0(0x21)) in tdo24m_writes() 191 lcd->buf[0] = (data >> 8) & 0xff; in tdo24m_writes() 192 lcd->buf[1] = data & 0xff; in tdo24m_writes() 195 lcd->buf[0] = (data >> 16) & 0xff; in tdo24m_writes() 196 lcd->buf[1] = (data >> 8) & 0xff; in tdo24m_writes() 197 lcd->buf[2] = data & 0xff; in tdo24m_writes() 200 lcd->buf[0] = (data >> 24) & 0xff; in tdo24m_writes() [all …]
|
D | lms501kf03.c | 103 static int lms501kf03_spi_write_byte(struct lms501kf03 *lcd, int addr, int data) in lms501kf03_spi_write_byte() argument 118 return spi_sync(lcd->spi, &msg); in lms501kf03_spi_write_byte() 121 static int lms501kf03_spi_write(struct lms501kf03 *lcd, unsigned char address, in lms501kf03_spi_write() argument 124 return lms501kf03_spi_write_byte(lcd, address, command); in lms501kf03_spi_write() 127 static int lms501kf03_panel_send_sequence(struct lms501kf03 *lcd, in lms501kf03_panel_send_sequence() argument 135 ret = lms501kf03_spi_write(lcd, COMMAND_ONLY, wbuf[i]); in lms501kf03_panel_send_sequence() 137 ret = lms501kf03_spi_write(lcd, DATA_ONLY, wbuf[i]); in lms501kf03_panel_send_sequence() 146 static int lms501kf03_ldi_init(struct lms501kf03 *lcd) in lms501kf03_ldi_init() argument 180 ret = lms501kf03_panel_send_sequence(lcd, init_seq[i], in lms501kf03_ldi_init() 195 static int lms501kf03_ldi_enable(struct lms501kf03 *lcd) in lms501kf03_ldi_enable() argument [all …]
|
D | ams369fg06.c | 158 static int ams369fg06_spi_write_byte(struct ams369fg06 *lcd, int addr, int data) in ams369fg06_spi_write_byte() argument 173 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte() 176 static int ams369fg06_spi_write(struct ams369fg06 *lcd, unsigned char address, in ams369fg06_spi_write() argument 182 ret = ams369fg06_spi_write_byte(lcd, 0x70, address); in ams369fg06_spi_write() 184 ret = ams369fg06_spi_write_byte(lcd, 0x72, command); in ams369fg06_spi_write() 189 static int ams369fg06_panel_send_sequence(struct ams369fg06 *lcd, in ams369fg06_panel_send_sequence() argument 196 ret = ams369fg06_spi_write(lcd, wbuf[i], wbuf[i+1]); in ams369fg06_panel_send_sequence() 208 static int _ams369fg06_gamma_ctl(struct ams369fg06 *lcd, in _ams369fg06_gamma_ctl() argument 215 ret = ams369fg06_spi_write(lcd, 0x40 + i, gamma[i]); in _ams369fg06_gamma_ctl() 216 ret = ams369fg06_spi_write(lcd, 0x50 + i, gamma[i+7*1]); in _ams369fg06_gamma_ctl() [all …]
|
D | ili9320.c | 75 static void ili9320_reset(struct ili9320 *lcd) in ili9320_reset() argument 77 struct ili9320_platdata *cfg = lcd->platdata; in ili9320_reset() 89 static inline int ili9320_init_chip(struct ili9320 *lcd) in ili9320_init_chip() argument 93 ili9320_reset(lcd); in ili9320_init_chip() 95 ret = lcd->client->init(lcd, lcd->platdata); in ili9320_init_chip() 97 dev_err(lcd->dev, "failed to initialise display\n"); in ili9320_init_chip() 101 lcd->initialised = 1; in ili9320_init_chip() 105 static inline int ili9320_power_on(struct ili9320 *lcd) in ili9320_power_on() argument 107 if (!lcd->initialised) in ili9320_power_on() 108 ili9320_init_chip(lcd); in ili9320_power_on() [all …]
|
D | vgg2432a4.c | 108 static int vgg2432a4_lcd_init(struct ili9320 *lcd, in vgg2432a4_lcd_init() argument 115 ret = ili9320_write(lcd, 0x00e5, 0x8000); in vgg2432a4_lcd_init() 120 ret = ili9320_write(lcd, ILI9320_OSCILATION, ILI9320_OSCILATION_OSC); in vgg2432a4_lcd_init() 127 ret = ili9320_write_regs(lcd, vgg_init0, ARRAY_SIZE(vgg_init0)); in vgg2432a4_lcd_init() 131 ili9320_write(lcd, ILI9320_DISPLAY2, cfg->display2); in vgg2432a4_lcd_init() 132 ili9320_write(lcd, ILI9320_DISPLAY3, cfg->display3); in vgg2432a4_lcd_init() 133 ili9320_write(lcd, ILI9320_DISPLAY4, cfg->display4); in vgg2432a4_lcd_init() 135 ili9320_write(lcd, ILI9320_RGB_IF1, cfg->rgb_if1); in vgg2432a4_lcd_init() 136 ili9320_write(lcd, ILI9320_FRAMEMAKER, 0x0); in vgg2432a4_lcd_init() 137 ili9320_write(lcd, ILI9320_RGB_IF2, cfg->rgb_if2); in vgg2432a4_lcd_init() [all …]
|
D | hx8357.c | 217 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_spi_write_then_read() local 253 ret = spi_sync(lcd->spi, &msg); in hx8357_spi_write_then_read() 321 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_lcd_reset() local 324 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset() 326 gpio_set_value(lcd->reset, 0); in hx8357_lcd_reset() 328 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset() 336 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_lcd_init() local 343 if (lcd->use_im_pins) { in hx8357_lcd_init() 344 gpio_set_value_cansleep(lcd->im_pins[0], 1); in hx8357_lcd_init() 345 gpio_set_value_cansleep(lcd->im_pins[1], 0); in hx8357_lcd_init() [all …]
|
D | platform_lcd.c | 21 struct lcd_device *lcd; member 28 static inline struct platform_lcd *to_our_lcd(struct lcd_device *lcd) in to_our_lcd() argument 30 return lcd_get_data(lcd); in to_our_lcd() 33 static int platform_lcd_get_power(struct lcd_device *lcd) in platform_lcd_get_power() argument 35 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_get_power() 40 static int platform_lcd_set_power(struct lcd_device *lcd, int power) in platform_lcd_set_power() argument 42 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_set_power() 54 static int platform_lcd_match(struct lcd_device *lcd, struct fb_info *info) in platform_lcd_match() argument 56 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_match() 97 plcd->lcd = devm_lcd_device_register(&pdev->dev, dev_name(dev), dev, in platform_lcd_probe() [all …]
|
/drivers/video/fbdev/ |
D | au1200fb.c | 179 static struct au1200_lcd *lcd = (struct au1200_lcd *) AU1200_LCD_ADDR; variable 710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() 758 winenable = lcd->winenable & (1 << plane); in au1200_setlocation() 760 lcd->winenable &= ~(1 << plane); in au1200_setlocation() 761 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation() 762 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation() 763 lcd->window[plane].winbuf0 = in au1200_setlocation() 764 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation() [all …]
|