Searched refs:pullup_ref (Results 1 – 3 of 3) sorted by relevance
191 s32 pullup_ref[WCD938X_MAX_MICBIAS]; member1385 wcd938x->pullup_ref[micb_index]++; in wcd938x_micbias_control()1386 if ((wcd938x->pullup_ref[micb_index] == 1) && in wcd938x_micbias_control()1393 if (wcd938x->pullup_ref[micb_index] > 0) in wcd938x_micbias_control()1394 wcd938x->pullup_ref[micb_index]--; in wcd938x_micbias_control()1396 if ((wcd938x->pullup_ref[micb_index] == 0) && in wcd938x_micbias_control()1432 (wcd938x->pullup_ref[micb_index] > 0)) in wcd938x_micbias_control()1437 (wcd938x->pullup_ref[micb_index] == 0)) { in wcd938x_micbias_control()
343 int pullup_ref[WCD9335_MAX_MICBIAS]; member2529 wcd->pullup_ref[micb_index]++; in wcd9335_micbias_control()2530 if ((wcd->pullup_ref[micb_index] == 1) && in wcd9335_micbias_control()2536 wcd->pullup_ref[micb_index]--; in wcd9335_micbias_control()2537 if ((wcd->pullup_ref[micb_index] == 0) && in wcd9335_micbias_control()2551 (wcd->pullup_ref[micb_index] > 0)) in wcd9335_micbias_control()2555 (wcd->pullup_ref[micb_index] == 0)) { in wcd9335_micbias_control()
574 u32 pullup_ref[WCD934X_MAX_MICBIAS]; member2446 wcd934x->pullup_ref[micb_index]++; in wcd934x_micbias_control()2447 if ((wcd934x->pullup_ref[micb_index] == 1) && in wcd934x_micbias_control()2454 if (wcd934x->pullup_ref[micb_index] > 0) in wcd934x_micbias_control()2455 wcd934x->pullup_ref[micb_index]--; in wcd934x_micbias_control()2457 if ((wcd934x->pullup_ref[micb_index] == 0) && in wcd934x_micbias_control()2482 (wcd934x->pullup_ref[micb_index] > 0)) in wcd934x_micbias_control()2487 (wcd934x->pullup_ref[micb_index] == 0)) { in wcd934x_micbias_control()