Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mfd/
Daat2870-core.c201 if (aat2870->en_pin >= 0) in aat2870_enable()
202 gpio_set_value(aat2870->en_pin, 1); in aat2870_enable()
209 if (aat2870->en_pin >= 0) in aat2870_disable()
210 gpio_set_value(aat2870->en_pin, 0); in aat2870_disable()
356 if (pdata->en_pin < 0) in aat2870_i2c_probe()
357 aat2870->en_pin = -1; in aat2870_i2c_probe()
359 aat2870->en_pin = pdata->en_pin; in aat2870_i2c_probe()
372 if (aat2870->en_pin >= 0) { in aat2870_i2c_probe()
373 ret = devm_gpio_request_one(&client->dev, aat2870->en_pin, in aat2870_i2c_probe()
377 "Failed to request GPIO %d\n", aat2870->en_pin); in aat2870_i2c_probe()
/Linux-v6.1/include/linux/mfd/
Daat2870.h125 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member
148 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member