Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ata/
Dahci_mtk.c30 struct reset_control *reg_rst; member
59 plat->reg_rst = devm_reset_control_get_optional_exclusive(dev, "reg"); in mtk_ahci_platform_resets()
60 if (PTR_ERR(plat->reg_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
61 return PTR_ERR(plat->reg_rst); in mtk_ahci_platform_resets()
75 err = reset_control_assert(plat->reg_rst); in mtk_ahci_platform_resets()
81 err = reset_control_deassert(plat->reg_rst); in mtk_ahci_platform_resets()
/Linux-v5.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c231 unsigned int reg_pupd, reg_set, reg_rst; in mtk_pctrl_spec_pull_set_samereg() local
248 reg_rst = spec_pupd_pin->offset + (align << 1); in mtk_pctrl_spec_pull_set_samereg()
251 reg_pupd = reg_rst; in mtk_pctrl_spec_pull_set_samereg()
263 regmap_write(regmap, reg_rst, bit_r0); in mtk_pctrl_spec_pull_set_samereg()
264 regmap_write(regmap, reg_rst, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
268 regmap_write(regmap, reg_rst, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
271 regmap_write(regmap, reg_rst, bit_r0); in mtk_pctrl_spec_pull_set_samereg()