Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c246 unsigned int reg_pupd, reg_set, reg_rst; in mtk_pctrl_spec_pull_set_samereg() local
266 reg_rst = spec_pupd_pin->offset + (devdata->port_align << 1); in mtk_pctrl_spec_pull_set_samereg()
269 reg_pupd = reg_rst; in mtk_pctrl_spec_pull_set_samereg()
281 regmap_write(regmap, reg_rst, bit_r0); in mtk_pctrl_spec_pull_set_samereg()
282 regmap_write(regmap, reg_rst, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
286 regmap_write(regmap, reg_rst, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
289 regmap_write(regmap, reg_rst, bit_r0); in mtk_pctrl_spec_pull_set_samereg()
/linux-5.19.10/drivers/phy/microchip/
Dsparx5_serdes.c110 bool reg_rst:1; member
115 u8 reg_rst; member
248 bool reg_rst:1; member
804 .reg_rst = args->reg_rst, in sparx5_sd25g28_get_params()
929 if (params->reg_rst == 1) { in sparx5_sd25g28_reset()
1863 .reg_rst = reset, in sparx5_sd25g28_config()
1886 .reg_rst = reset, in sparx5_sd10g28_config()