Home
last modified time | relevance | path

Searched refs:zl (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dwcd-mbhc-v2.h236 uint32_t *zl, uint32_t *zr);
281 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl,
328 uint32_t *zl, in wcd_mbhc_get_impedance() argument
331 *zl = 0; in wcd_mbhc_get_impedance()
H A Dwcd938x.c2189 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd938x_mbhc_zdet_ramp() argument
2207 if (!zl) in wcd938x_mbhc_zdet_ramp()
2218 *zl = zdet; in wcd938x_mbhc_zdet_ramp()
2256 uint32_t *zl, uint32_t *zr) in wcd938x_wcd_mbhc_calc_impedance() argument
2332 *zl = WCD938X_ZDET_FLOATING_IMPEDANCE; in wcd938x_wcd_mbhc_calc_impedance()
2336 *zl = z1L/1000; in wcd938x_wcd_mbhc_calc_impedance()
2340 __func__, *zl); in wcd938x_wcd_mbhc_calc_impedance()
2396 if (*zl < (WCD938X_ZDET_VAL_32/1000)) in wcd938x_wcd_mbhc_calc_impedance()
2407 zMono = ((*zl) * 9) / ((*zl) + 9); in wcd938x_wcd_mbhc_calc_impedance()
2409 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd938x_wcd_mbhc_calc_impedance()
[all …]
H A Dwcd-mbhc-v2.c71 uint32_t zl, zr; member
303 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal()
322 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance()
361 if ((mbhc->zl > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion()
1348 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl, uint32_t *zr) in wcd_mbhc_get_impedance() argument
1350 *zl = mbhc->zl; in wcd_mbhc_get_impedance()
1353 if (*zl && *zr) in wcd_mbhc_get_impedance()
H A Dwcd934x.c2705 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd934x_mbhc_zdet_ramp() argument
2723 if (!zl) in wcd934x_mbhc_zdet_ramp()
2730 *zl = zdet; in wcd934x_mbhc_zdet_ramp()
2764 uint32_t *zl, uint32_t *zr) in wcd934x_wcd_mbhc_calc_impedance() argument
2829 *zl = WCD934X_ZDET_FLOATING_IMPEDANCE; in wcd934x_wcd_mbhc_calc_impedance()
2833 *zl = z1L/1000; in wcd934x_wcd_mbhc_calc_impedance()
2837 __func__, *zl); in wcd934x_wcd_mbhc_calc_impedance()
2893 if (*zl < (WCD934X_ZDET_VAL_32/1000)) in wcd934x_wcd_mbhc_calc_impedance()
2904 zMono = ((*zl) * 9) / ((*zl) + 9); in wcd934x_wcd_mbhc_calc_impedance()
2906 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd934x_wcd_mbhc_calc_impedance()
[all …]
/openbmc/qemu/hw/nvme/
H A Dctrl.c4323 static bool nvme_zone_matches_filter(uint32_t zafs, NvmeZone *zl) in nvme_zone_matches_filter() argument
4325 NvmeZoneState zs = nvme_get_zone_state(zl); in nvme_zone_matches_filter()