Lines Matching refs:vbat
176 struct rksdmmc_gpio *vbat;
185 vbat = &mrfkill->pdata->vbat_n;
187 if (gpio_is_valid(vbat->io)) {
188 gpio_direction_output(vbat->io, vbat->enable);
191 if (gpio_is_valid(vbat->io)) {
192 gpio_direction_output(vbat->io, !(vbat->enable));
320 LOG("%s: wifi will set vbat to low\n", __func__);
323 LOG("%s: wifi shouldn't control the vbat\n", __func__);
740 long vbat = 0;
742 if (kstrtol(_buf, 0x0A, &vbat) < 0) {
746 LOG("%s: vbat = %ld\n", __func__, vbat);
748 if (vbat > 0) {