Lines Matching refs:enable

162                           (irq->gpio.enable == GPIO_ACTIVE_LOW) ? IRQF_TRIGGER_FALLING : IRQF_TRIGGER_RISING, irq->name,

192 gpio_direction_output(wake->io, sleep ? !wake->enable : wake->enable);
200 gpio_direction_output(wake->io, wake->enable);
202 gpio_direction_output(wake->io, !wake->enable);
308 if (gpio_get_value(poweron->io) == !poweron->enable) {
309 gpio_direction_output(poweron->io, !poweron->enable);
311 gpio_direction_output(poweron->io, poweron->enable);
320 if (gpio_get_value(reset->io) == !reset->enable) {
321 gpio_direction_output(reset->io, !reset->enable);
323 gpio_direction_output(reset->io, reset->enable);
330 gpio_direction_output(rts->io, rts->enable);
333 gpio_direction_output(rts->io, !rts->enable);
342 if (gpio_get_value(poweron->io) == poweron->enable) {
343 gpio_direction_output(poweron->io, !poweron->enable);
351 if (gpio_get_value(reset->io) == reset->enable) {
352 gpio_direction_output(reset->io, !reset->enable);
389 gpio_direction_output(rts->io, !rts->enable);
396 // enable bt wakeup host
398 DBG("enable irq for bt wakeup host\n");
433 gpio_direction_output(rts->io, rts->enable);
507 data->rts_gpio.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
527 data->poweron_gpio.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
535 data->reset_gpio.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
543 data->wake_gpio.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
551 data->wake_host_irq.gpio.enable = flags;
690 gpio_direction_output(pdata->poweron_gpio.io, !pdata->poweron_gpio.enable);
693 gpio_direction_output(pdata->reset_gpio.io, !pdata->reset_gpio.enable);