Searched refs:lcdev (Results 1 – 1 of 1) sorted by relevance
/drivers/video/backlight/ |
D | hx8357.c | 213 static int hx8357_spi_write_then_read(struct lcd_device *lcdev, in hx8357_spi_write_then_read() argument 217 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_spi_write_then_read() 255 dev_err(&lcdev->dev, "Couldn't send SPI data\n"); in hx8357_spi_write_then_read() 263 static inline int hx8357_spi_write_array(struct lcd_device *lcdev, in hx8357_spi_write_array() argument 266 return hx8357_spi_write_then_read(lcdev, value, len, NULL, 0); in hx8357_spi_write_array() 269 static inline int hx8357_spi_write_byte(struct lcd_device *lcdev, in hx8357_spi_write_byte() argument 272 return hx8357_spi_write_then_read(lcdev, &value, 1, NULL, 0); in hx8357_spi_write_byte() 275 static int hx8357_enter_standby(struct lcd_device *lcdev) in hx8357_enter_standby() argument 279 ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_OFF); in hx8357_enter_standby() 285 ret = hx8357_spi_write_byte(lcdev, HX8357_ENTER_SLEEP_MODE); in hx8357_enter_standby() [all …]
|