lcdev 213 drivers/video/backlight/hx8357.c static int hx8357_spi_write_then_read(struct lcd_device *lcdev, lcdev 217 drivers/video/backlight/hx8357.c struct hx8357_data *lcd = lcd_get_data(lcdev); lcdev 255 drivers/video/backlight/hx8357.c dev_err(&lcdev->dev, "Couldn't send SPI data\n"); lcdev 263 drivers/video/backlight/hx8357.c static inline int hx8357_spi_write_array(struct lcd_device *lcdev, lcdev 266 drivers/video/backlight/hx8357.c return hx8357_spi_write_then_read(lcdev, value, len, NULL, 0); lcdev 269 drivers/video/backlight/hx8357.c static inline int hx8357_spi_write_byte(struct lcd_device *lcdev, lcdev 272 drivers/video/backlight/hx8357.c return hx8357_spi_write_then_read(lcdev, &value, 1, NULL, 0); lcdev 275 drivers/video/backlight/hx8357.c static int hx8357_enter_standby(struct lcd_device *lcdev) lcdev 279 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_OFF); lcdev 285 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_ENTER_SLEEP_MODE); lcdev 298 drivers/video/backlight/hx8357.c static int hx8357_exit_standby(struct lcd_device *lcdev) lcdev 302 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_EXIT_SLEEP_MODE); lcdev 312 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_ON); lcdev 319 drivers/video/backlight/hx8357.c static void hx8357_lcd_reset(struct lcd_device *lcdev) lcdev 321 drivers/video/backlight/hx8357.c struct hx8357_data *lcd = lcd_get_data(lcdev); lcdev 334 drivers/video/backlight/hx8357.c static int hx8357_lcd_init(struct lcd_device *lcdev) lcdev 336 drivers/video/backlight/hx8357.c struct hx8357_data *lcd = lcd_get_data(lcdev); lcdev 349 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_power, lcdev 354 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_vcom, lcdev 359 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_power_normal, lcdev 364 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_panel_driving, lcdev 369 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_display_frame, lcdev 374 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_panel_related, lcdev 379 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_undefined1, lcdev 384 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_undefined2, lcdev 389 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_gamma, lcdev 394 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_address_mode, lcdev 399 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_pixel_format, lcdev 404 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_column_address, lcdev 409 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_page_address, lcdev 414 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_rgb, lcdev 419 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8357_seq_display_mode, lcdev 424 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_EXIT_SLEEP_MODE); lcdev 433 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_ON); lcdev 439 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_WRITE_MEMORY_START); lcdev 446 drivers/video/backlight/hx8357.c static int hx8369_lcd_init(struct lcd_device *lcdev) lcdev 450 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_extension_command, lcdev 456 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_display_related, lcdev 461 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_panel_waveform_cycle, lcdev 466 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_set_address_mode, lcdev 471 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_vcom, lcdev 476 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_gip, lcdev 481 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_power, lcdev 486 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_EXIT_SLEEP_MODE); lcdev 495 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_gamma_curve_related, lcdev 500 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_EXIT_SLEEP_MODE); lcdev 505 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_write_CABC_control, lcdev 511 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, lcdev 517 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, lcdev 524 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_array(lcdev, hx8369_seq_set_display_brightness, lcdev 529 drivers/video/backlight/hx8357.c ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_ON); lcdev 538 drivers/video/backlight/hx8357.c static int hx8357_set_power(struct lcd_device *lcdev, int power) lcdev 540 drivers/video/backlight/hx8357.c struct hx8357_data *lcd = lcd_get_data(lcdev); lcdev 544 drivers/video/backlight/hx8357.c ret = hx8357_exit_standby(lcdev); lcdev 546 drivers/video/backlight/hx8357.c ret = hx8357_enter_standby(lcdev); lcdev 551 drivers/video/backlight/hx8357.c dev_warn(&lcdev->dev, "failed to set power mode %d\n", power); lcdev 556 drivers/video/backlight/hx8357.c static int hx8357_get_power(struct lcd_device *lcdev) lcdev 558 drivers/video/backlight/hx8357.c struct hx8357_data *lcd = lcd_get_data(lcdev); lcdev 583 drivers/video/backlight/hx8357.c struct lcd_device *lcdev; lcdev 648 drivers/video/backlight/hx8357.c lcdev = devm_lcd_device_register(&spi->dev, "mxsfb", &spi->dev, lcd, lcdev 650 drivers/video/backlight/hx8357.c if (IS_ERR(lcdev)) { lcdev 651 drivers/video/backlight/hx8357.c ret = PTR_ERR(lcdev); lcdev 654 drivers/video/backlight/hx8357.c spi_set_drvdata(spi, lcdev); lcdev 656 drivers/video/backlight/hx8357.c hx8357_lcd_reset(lcdev); lcdev 658 drivers/video/backlight/hx8357.c ret = ((int (*)(struct lcd_device *))match->data)(lcdev); lcdev 83 include/linux/led-class-flash.h struct led_classdev *lcdev) lcdev 85 include/linux/led-class-flash.h return container_of(lcdev, struct led_classdev_flash, led_cdev);