Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mfd/
Daat2870-core.c215 if (aat2870->en_pin >= 0) in aat2870_enable()
216 gpio_set_value(aat2870->en_pin, 1); in aat2870_enable()
223 if (aat2870->en_pin >= 0) in aat2870_disable()
224 gpio_set_value(aat2870->en_pin, 0); in aat2870_disable()
386 if (pdata->en_pin < 0) in aat2870_i2c_probe()
387 aat2870->en_pin = -1; in aat2870_i2c_probe()
389 aat2870->en_pin = pdata->en_pin; in aat2870_i2c_probe()
402 if (aat2870->en_pin >= 0) { in aat2870_i2c_probe()
403 ret = gpio_request_one(aat2870->en_pin, GPIOF_OUT_INIT_HIGH, in aat2870_i2c_probe()
407 "Failed to request GPIO %d\n", aat2870->en_pin); in aat2870_i2c_probe()
[all …]
/linux-3.4.99/include/linux/mfd/
Daat2870.h138 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member
162 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member