Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt8135.c203 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()
[all …]
H A Dpinctrl-mtk-common.h245 const struct mtk_pin_spec_pupd_set_samereg *spec_pupd; member
H A Dpinctrl-mt8167.c296 .spec_pupd = mt8167_spec_pupd,
H A Dpinctrl-mt8516.c296 .spec_pupd = mt8516_spec_pupd,
H A Dpinctrl-mt8127.c263 .spec_pupd = mt8127_spec_pupd,
H A Dpinctrl-mt8173.c304 .spec_pupd = mt8173_spec_pupd,
H A Dpinctrl-mtk-common.c249 if (!devdata->spec_pupd) in mtk_pctrl_spec_pull_set_samereg()
253 if (pin == devdata->spec_pupd[i].pin) { in mtk_pctrl_spec_pull_set_samereg()
262 spec_pupd_pin = devdata->spec_pupd + i; in mtk_pctrl_spec_pull_set_samereg()
H A Dpinctrl-mt8365.c446 .spec_pupd = mt8365_spec_pupd,
H A Dpinctrl-mt2712.c544 .spec_pupd = mt2712_spec_pupd,
H A Dpinctrl-mt2701.c493 .spec_pupd = mt2701_spec_pupd,