Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dpixcir_i2c_ts.c37 struct gpio_desc *gpio_enable; member
300 if (ts->gpio_enable) { in pixcir_start()
301 gpiod_set_value_cansleep(ts->gpio_enable, 1); in pixcir_start()
346 if (ts->gpio_enable) in pixcir_stop()
347 gpiod_set_value_cansleep(ts->gpio_enable, 0); in pixcir_stop()
542 tsdata->gpio_enable = devm_gpiod_get_optional(dev, "enable", in pixcir_i2c_ts_probe()
544 if (IS_ERR(tsdata->gpio_enable)) { in pixcir_i2c_ts_probe()
545 error = PTR_ERR(tsdata->gpio_enable); in pixcir_i2c_ts_probe()
551 if (tsdata->gpio_enable) in pixcir_i2c_ts_probe()
/drivers/video/backlight/
Dsky81452-backlight.c196 pdata->gpio_enable = of_get_gpio(np, 0); in sky81452_bl_parse_dt()
278 if (gpio_is_valid(pdata->gpio_enable)) { in sky81452_bl_probe()
279 ret = devm_gpio_request_one(dev, pdata->gpio_enable, in sky81452_bl_probe()
326 if (gpio_is_valid(pdata->gpio_enable)) in sky81452_bl_remove()
327 gpio_set_value_cansleep(pdata->gpio_enable, 0); in sky81452_bl_remove()
/drivers/scsi/qla2xxx/
Dqla_sup.c1543 uint16_t gpio_enable; in qla2x00_beacon_blink() local
1557 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_blink()
1560 gpio_enable = RD_REG_WORD(&reg->gpioe); in qla2x00_beacon_blink()
1565 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_blink()
1568 WRT_REG_WORD_PIO(PIO_REG(ha, gpioe), gpio_enable); in qla2x00_beacon_blink()
1570 WRT_REG_WORD(&reg->gpioe, gpio_enable); in qla2x00_beacon_blink()
1596 uint16_t gpio_enable; in qla2x00_beacon_on() local
1614 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_on()
1617 gpio_enable = RD_REG_WORD(&reg->gpioe); in qla2x00_beacon_on()
1620 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_on()
[all …]
/drivers/pinctrl/
Dpinctrl-pistachio.c871 static inline void gpio_enable(struct pistachio_gpio_bank *bank, in gpio_enable() function
1203 gpio_enable(bank, offset); in pistachio_gpio_direction_input()
1215 gpio_enable(bank, offset); in pistachio_gpio_direction_output()
/drivers/media/pci/bt8xx/
Dbttvp.h355 u32 gpio_enable; member
Dbttv-driver.c4337 btv->state.gpio_enable = btread(BT848_GPIO_OUT_EN); in bttv_suspend()
4379 gpio_inout(0xffffff, btv->state.gpio_enable); in bttv_resume()
/drivers/scsi/
Dqla1280.h217 uint16_t gpio_enable; member
Dqla1280.c2246 WRT_REG_WORD(&reg->gpio_enable, in qla1280_nvram_config()