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