Lines Matching refs:spec_pupd
203 static const struct mtk_spec_pull_set spec_pupd[] = { variable
242 for (i = 0; i < ARRAY_SIZE(spec_pupd); i++) { in spec_pull_set()
243 if (pin == spec_pupd[i].pin) { in spec_pull_set()
253 reg_pupd = spec_pupd[i].pupd_offset + align; in spec_pull_set()
255 reg_pupd = spec_pupd[i].pupd_offset + (align << 1); in spec_pull_set()
257 regmap_write(regmap, reg_pupd, spec_pupd[i].pupd_bit); in spec_pull_set()
259 reg_set_r0 = spec_pupd[i].r0_offset + align; in spec_pull_set()
260 reg_rst_r0 = spec_pupd[i].r0_offset + (align << 1); in spec_pull_set()
261 reg_set_r1 = spec_pupd[i].r1_offset + align; in spec_pull_set()
262 reg_rst_r1 = spec_pupd[i].r1_offset + (align << 1); in spec_pull_set()
266 regmap_write(regmap, reg_rst_r0, spec_pupd[i].r0_bit); in spec_pull_set()
267 regmap_write(regmap, reg_rst_r1, spec_pupd[i].r1_bit); in spec_pull_set()
270 regmap_write(regmap, reg_set_r0, spec_pupd[i].r0_bit); in spec_pull_set()
271 regmap_write(regmap, reg_rst_r1, spec_pupd[i].r1_bit); in spec_pull_set()
274 regmap_write(regmap, reg_rst_r0, spec_pupd[i].r0_bit); in spec_pull_set()
275 regmap_write(regmap, reg_set_r1, spec_pupd[i].r1_bit); in spec_pull_set()
278 regmap_write(regmap, reg_set_r0, spec_pupd[i].r0_bit); in spec_pull_set()
279 regmap_write(regmap, reg_set_r1, spec_pupd[i].r1_bit); in spec_pull_set()