Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Drtq2208-regulator.c427 static void rtq2208_init_regulator_desc(struct rtq2208_regulator_desc *rdesc, int mtp_sel, int idx) in rtq2208_init_regulator_desc() argument
459 desc->enable_mask = mtp_sel ? MTP_SEL_MASK(1) : MTP_SEL_MASK(0); in rtq2208_init_regulator_desc()
468 desc->vsel_reg = curr_info->base + VSEL_SHIFT(mtp_sel); in rtq2208_init_regulator_desc()
499 int mtp_sel, i, idx, ret; in rtq2208_parse_regulator_dt_data() local
502 mtp_sel = device_property_read_bool(dev, "richtek,mtp-sel-high"); in rtq2208_parse_regulator_dt_data()
511 rtq2208_init_regulator_desc(rdesc[i], mtp_sel, idx); in rtq2208_parse_regulator_dt_data()