Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c246 const struct mtk_pin_spec_pupd_set_samereg *spec_pupd_pin; in mtk_pctrl_spec_pull_set_samereg() local
262 spec_pupd_pin = devdata->spec_pupd + i; in mtk_pctrl_spec_pull_set_samereg()
263 reg_set = spec_pupd_pin->offset + devdata->port_align; in mtk_pctrl_spec_pull_set_samereg()
264 reg_rst = spec_pupd_pin->offset + (devdata->port_align << 1); in mtk_pctrl_spec_pull_set_samereg()
271 bit_pupd = BIT(spec_pupd_pin->pupd_bit); in mtk_pctrl_spec_pull_set_samereg()
274 bit_r0 = BIT(spec_pupd_pin->r0_bit); in mtk_pctrl_spec_pull_set_samereg()
275 bit_r1 = BIT(spec_pupd_pin->r1_bit); in mtk_pctrl_spec_pull_set_samereg()