Home
last modified time | relevance | path

Searched refs:lcdev (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/video/backlight/
Dhx8357.c214 static int hx8357_spi_write_then_read(struct lcd_device *lcdev, in hx8357_spi_write_then_read() argument
218 struct hx8357_data *lcd = lcd_get_data(lcdev); in hx8357_spi_write_then_read()
256 dev_err(&lcdev->dev, "Couldn't send SPI data\n"); in hx8357_spi_write_then_read()
264 static inline int hx8357_spi_write_array(struct lcd_device *lcdev, in hx8357_spi_write_array() argument
267 return hx8357_spi_write_then_read(lcdev, value, len, NULL, 0); in hx8357_spi_write_array()
270 static inline int hx8357_spi_write_byte(struct lcd_device *lcdev, in hx8357_spi_write_byte() argument
273 return hx8357_spi_write_then_read(lcdev, &value, 1, NULL, 0); in hx8357_spi_write_byte()
276 static int hx8357_enter_standby(struct lcd_device *lcdev) in hx8357_enter_standby() argument
280 ret = hx8357_spi_write_byte(lcdev, HX8357_SET_DISPLAY_OFF); in hx8357_enter_standby()
286 ret = hx8357_spi_write_byte(lcdev, HX8357_ENTER_SLEEP_MODE); in hx8357_enter_standby()
[all …]
/linux-4.4.14/include/linux/
Dled-class-flash.h87 struct led_classdev *lcdev) in lcdev_to_flcdev() argument
89 return container_of(lcdev, struct led_classdev_flash, led_cdev); in lcdev_to_flcdev()