Lines Matching refs:enable
188 gpio_direction_output(vbat->io, vbat->enable);
192 gpio_direction_output(vbat->io, !(vbat->enable));
257 int level = mrfkill->pdata->mregulator.enable;
295 gpio_direction_output(poweron->io, poweron->enable);
300 gpio_direction_output(reset->io, reset->enable);
305 LOG("wifi turn on power [GPIO%d-%d]\n", poweron->io, poweron->enable);
309 gpio_direction_output(poweron->io, !(poweron->enable));
314 gpio_direction_output(reset->io, !(reset->enable));
326 LOG("wifi shut off power [GPIO%d-%d]\n", poweron->io, !poweron->enable);
383 gpio_flags = wifi_int_irq->enable;
560 LOG("%s: enable wifi power control.\n", __func__);
579 data->mregulator.enable = value;
587 data->power_n.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
595 data->vbat_n.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
603 data->reset_n.enable = (flags == GPIO_ACTIVE_HIGH) ? 1 : 0;
611 data->wifi_int_b.enable = !flags;
632 LOG("%s: enable ref clk error!\n", __func__);
635 /* WIFI clock (REF_CLKOUT) output enable.
637 * 1'b1: output enable
855 gpio_direction_output(pdata->power_n.io, pdata->power_n.enable);
859 gpio_direction_output(pdata->power_n.io, !pdata->power_n.enable);