Lines Matching refs:vbat
178 struct rksdmmc_gpio *vbat;
188 vbat = &mrfkill->pdata->vbat_n;
190 if (gpio_is_valid(vbat->io))
191 gpio_direction_output(vbat->io, vbat->enable);
193 if (gpio_is_valid(vbat->io))
194 gpio_direction_output(vbat->io, !(vbat->enable));
323 LOG("%s: wifi will set vbat to low\n", __func__);
326 LOG("%s: wifi shouldn't control the vbat\n", __func__);
769 long vbat = 0;
771 if (kstrtol(_buf, 10, &vbat) < 0)
774 LOG("%s: vbat = %ld\n", __func__, vbat);
776 if (vbat > 0)