Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Dreset.c161 static int reset_reg; variable
166 reset_reg = PERF_SOFTRESET_6358_REG; in bcm63xx_reset_bits_init()
169 reset_reg = PERF_SOFTRESET_6328_REG; in bcm63xx_reset_bits_init()
172 reset_reg = PERF_SOFTRESET_REG; in bcm63xx_reset_bits_init()
175 reset_reg = PERF_SOFTRESET_REG; in bcm63xx_reset_bits_init()
178 reset_reg = PERF_SOFTRESET_6358_REG; in bcm63xx_reset_bits_init()
181 reset_reg = PERF_SOFTRESET_6362_REG; in bcm63xx_reset_bits_init()
184 reset_reg = PERF_SOFTRESET_6368_REG; in bcm63xx_reset_bits_init()
202 val = bcm_perf_readl(reset_reg); in __bcm63xx_core_set_reset()
209 bcm_perf_writel(val, reset_reg); in __bcm63xx_core_set_reset()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ar7/
Dar7.h156 void *reset_reg = in ar7_device_enable() local
158 writel(readl(reset_reg) | (1 << bit), reset_reg); in ar7_device_enable()
164 void *reset_reg = in ar7_device_disable() local
166 writel(readl(reset_reg) & ~(1 << bit), reset_reg); in ar7_device_disable()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dhwxface.c34 struct acpi_generic_address *reset_reg; in acpi_reset() local
39 reset_reg = &acpi_gbl_FADT.reset_register; in acpi_reset()
44 !reset_reg->address) { in acpi_reset()
48 if (reset_reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_reset()
60 status = acpi_os_write_port((acpi_io_address)reset_reg->address, in acpi_reset()
66 status = acpi_hw_write(acpi_gbl_FADT.reset_value, reset_reg); in acpi_reset()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-is31fl32xx.c78 u8 reset_reg; member
92 .reset_reg = 0x4f,
103 .reset_reg = 0x4f,
114 .reset_reg = 0x17,
128 .reset_reg = IS31FL32XX_REG_NONE,
253 if (cdef->reset_reg != IS31FL32XX_REG_NONE) { in is31fl32xx_reset_regs()
254 ret = is31fl32xx_write(priv, cdef->reset_reg, 0); in is31fl32xx_reset_regs()
Dleds-lp50xx.c194 u8 reset_reg; member
206 .reset_reg = LP5012_RESET,
217 .reset_reg = LP5012_RESET,
228 .reset_reg = LP5024_RESET,
239 .reset_reg = LP5024_RESET,
250 .reset_reg = LP5036_RESET,
261 .reset_reg = LP5036_RESET,
378 return regmap_write(priv->regmap, priv->chip_info->reset_reg, LP50XX_SW_RESET); in lp50xx_reset()
/kernel/linux/linux-5.10/drivers/clk/meson/
Dmeson-aoclk.h22 const unsigned int reset_reg; member
Dmeson-aoclk.c26 return regmap_write(rstc->regmap, rstc->data->reset_reg, in meson_aoclk_do_reset()
Dgxbb-aoclk.c275 .reset_reg = AO_RTI_GEN_CNTL_REG0,
Daxg-aoclk.c314 .reset_reg = AO_RTI_GEN_CNTL_REG0,
Dg12a-aoclk.c449 .reset_reg = AO_RTI_GEN_CNTL_REG0,
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Dsetup.c39 static void __iomem *reset_reg; variable
61 out_le32(reset_reg, 0x6000000); in pas_restart()
152 reset_reg = ioremap(0xfc101100, 4); in pas_setup_arch()
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra210_i2s.c92 unsigned int reset_reg, cif_reg, stream_reg; in tegra210_i2s_sw_reset() local
97 reset_reg = TEGRA210_I2S_RX_SOFT_RESET; in tegra210_i2s_sw_reset()
101 reset_reg = TEGRA210_I2S_TX_SOFT_RESET; in tegra210_i2s_sw_reset()
112 regmap_update_bits(i2s->regmap, reset_reg, reset_mask, reset_en); in tegra210_i2s_sw_reset()
114 err = regmap_read_poll_timeout(i2s->regmap, reset_reg, val, in tegra210_i2s_sw_reset()
Dtegra210_admaif.c348 unsigned int enable_reg, status_reg, reset_reg, mask, val; in tegra_admaif_stop() local
359 reset_reg = CH_TX_REG(TEGRA_ADMAIF_TX_SOFT_RESET, dai->id); in tegra_admaif_stop()
367 reset_reg = CH_RX_REG(TEGRA_ADMAIF_RX_SOFT_RESET, dai->id); in tegra_admaif_stop()
384 regmap_update_bits(admaif->regmap, reset_reg, SW_RESET_MASK, SW_RESET); in tegra_admaif_stop()
387 err = regmap_read_poll_timeout_atomic(admaif->regmap, reset_reg, val, in tegra_admaif_stop()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-rcg.c479 unsigned int reset_reg; in __clk_rcg_set_rate() local
482 reset_reg = rcg->clkr.enable_reg; in __clk_rcg_set_rate()
484 reset_reg = rcg->ns_reg; in __clk_rcg_set_rate()
488 regmap_update_bits(rcg->clkr.regmap, reset_reg, mask, mask); in __clk_rcg_set_rate()
511 regmap_update_bits(rcg->clkr.regmap, reset_reg, mask, 0); in __clk_rcg_set_rate()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-pll.c368 if (pll->params->reset_reg) { in _clk_pll_enable()
369 val = pll_readl(pll->params->reset_reg, pll); in _clk_pll_enable()
371 pll_writel(val, pll->params->reset_reg, pll); in _clk_pll_enable()
406 if (pll->params->reset_reg) { in _clk_pll_disable()
407 val = pll_readl(pll->params->reset_reg, pll); in _clk_pll_disable()
409 pll_writel(val, pll->params->reset_reg, pll); in _clk_pll_disable()
Dclk.h315 u32 reset_reg; member
Dclk-tegra210.c1666 .reset_reg = PLLC_MISC0,
1703 .reset_reg = PLLC2_MISC0,
1735 .reset_reg = PLLC3_MISC0,
2025 .reset_reg = PLLA1_MISC0,
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c1384 const struct dbg_reset_reg *reset_reg; in qed_bus_reset_dbg_block() local
1388 reset_reg = qed_get_dbg_reset_reg(p_hwfn, block->reset_reg_id); in qed_bus_reset_dbg_block()
1390 DWORDS_TO_BYTES(GET_FIELD(reset_reg->data, DBG_RESET_REG_ADDR)); in qed_bus_reset_dbg_block()
1649 const struct dbg_reset_reg *reset_reg; in qed_grc_unreset_blocks() local
1652 reset_reg = qed_get_dbg_reset_reg(p_hwfn, reset_reg_id); in qed_grc_unreset_blocks()
1655 (reset_reg->data, DBG_RESET_REG_IS_REMOVED)) in qed_grc_unreset_blocks()
1660 GET_FIELD(reset_reg->data, in qed_grc_unreset_blocks()
2211 const struct dbg_reset_reg *reset_reg; in qed_grc_dump_reset_regs() local
2214 reset_reg = qed_get_dbg_reset_reg(p_hwfn, reset_reg_id); in qed_grc_dump_reset_regs()
2216 if (GET_FIELD(reset_reg->data, DBG_RESET_REG_IS_REMOVED)) in qed_grc_dump_reset_regs()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Ddib9000.c501 u16 reset_reg; in dib9000_mbx_host_init() local
514 reset_reg = dib9000_read_word(state, 1027 + mbox_offs); in dib9000_mbx_host_init()
516 } while ((reset_reg & 0x8000) && --tries); in dib9000_mbx_host_init()
518 if (reset_reg & 0x8000) { in dib9000_mbx_host_init()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c6660 union pqi_reset_register reset_reg; in pqi_wait_for_pqi_reset_completion() local
6668 reset_reg.all_bits = readl(&pqi_registers->device_reset); in pqi_wait_for_pqi_reset_completion()
6669 if (reset_reg.bits.reset_action == PQI_RESET_ACTION_COMPLETED) in pqi_wait_for_pqi_reset_completion()
6688 union pqi_reset_register reset_reg; in pqi_reset() local
6700 reset_reg.all_bits = 0; in pqi_reset()
6701 reset_reg.bits.reset_type = PQI_RESET_TYPE_HARD_RESET; in pqi_reset()
6702 reset_reg.bits.reset_action = PQI_RESET_ACTION_RESET; in pqi_reset()
6704 writel(reset_reg.all_bits, &ctrl_info->pqi_registers->device_reset); in pqi_reset()
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dmain.c235 static int context_reset(struct hwq *hwq, __be64 __iomem *reset_reg) in context_reset() argument
248 writeq_be(val, reset_reg); in context_reset()
250 val = readq_be(reset_reg); in context_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10407 u8 port, u32 reset_reg, in bnx2x_prev_unload_close_umac() argument
10413 if (!(mask & reset_reg)) in bnx2x_prev_unload_close_umac()
10428 u32 val, base_addr, offset, mask, reset_reg; in bnx2x_prev_unload_close_mac() local
10435 reset_reg = REG_RD(bp, MISC_REG_RESET_REG_2); in bnx2x_prev_unload_close_mac()
10440 if ((mask & reset_reg) && val) { in bnx2x_prev_unload_close_mac()
10469 if (reset_reg & MISC_REGISTERS_RESET_REG_2_XMAC) { in bnx2x_prev_unload_close_mac()
10484 reset_reg, vals); in bnx2x_prev_unload_close_mac()
10486 reset_reg, vals); in bnx2x_prev_unload_close_mac()
10758 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local
10773 reset_reg = REG_RD(bp, MISC_REG_RESET_REG_1); in bnx2x_prev_unload_common()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h2440 __le32 reset_reg[16]; member
Dbnxt.c7624 le32_to_cpu(resp->reset_reg[i]); in bnxt_hwrm_error_recovery_qcfg()