Home
last modified time | relevance | path

Searched refs:vth (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv0910.c119 u8 vth[6]; member
963 state->vth[0] = 0xd7; in set_vth_default()
964 state->vth[1] = 0x85; in set_vth_default()
965 state->vth[2] = 0x58; in set_vth_default()
966 state->vth[3] = 0x3a; in set_vth_default()
967 state->vth[4] = 0x34; in set_vth_default()
968 state->vth[5] = 0x28; in set_vth_default()
969 write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 0, state->vth[0]); in set_vth_default()
970 write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 1, state->vth[1]); in set_vth_default()
971 write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 2, state->vth[2]); in set_vth_default()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwsa884x.c426 #define WSA884X_VTH_TO_REG(vth) \ argument
427 ((vth) != 0 ? (((vth) - 150) * WSA884X_PBR_MAX_CODE / (WSA884X_PBR_MAX_VOLTAGE * 100) + 1) : 0)
H A Dwcd938x.c1961 int i, vth; in wcd938x_mbhc_program_btn_thr() local
1970 vth = ((btn_high[i] * 2) / 25) & 0x3F; in wcd938x_mbhc_program_btn_thr()
1972 WCD938X_MBHC_BTN_VTH_MASK, vth); in wcd938x_mbhc_program_btn_thr()
1974 __func__, i, btn_high[i], vth); in wcd938x_mbhc_program_btn_thr()
H A Dwcd934x.c2376 int i, vth; in wcd934x_mbhc_program_btn_thr() local
2385 vth = ((btn_high[i] * 2) / 25) & 0x3F; in wcd934x_mbhc_program_btn_thr()
2387 WCD934X_MBHC_BTN_VTH_MASK, vth); in wcd934x_mbhc_program_btn_thr()