Searched refs:en_pin (Results 1 – 2 of 2) sorted by relevance
201 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()
125 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member148 int en_pin; /* enable GPIO pin (if < 0, ignore this value) */ member