Home
last modified time | relevance | path

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

/drivers/video/backlight/
Dhx8357.c87 unsigned im_pins[HX8357_NUM_IM_PINS]; member
345 gpio_set_value_cansleep(lcd->im_pins[0], 1); in hx8357_lcd_init()
346 gpio_set_value_cansleep(lcd->im_pins[1], 0); in hx8357_lcd_init()
347 gpio_set_value_cansleep(lcd->im_pins[2], 1); in hx8357_lcd_init()
625 lcd->im_pins[i] = of_get_named_gpio(spi->dev.of_node, in hx8357_probe()
627 if (lcd->im_pins[i] == -EPROBE_DEFER) { in hx8357_probe()
631 if (!gpio_is_valid(lcd->im_pins[i])) { in hx8357_probe()
636 ret = devm_gpio_request_one(&spi->dev, lcd->im_pins[i], in hx8357_probe()
641 lcd->im_pins[i], ret); in hx8357_probe()