/linux-6.1.9/arch/mips/bcm63xx/ |
D | reset.c | 161 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()
|
/linux-6.1.9/arch/mips/include/asm/mach-ar7/ |
D | ar7.h | 150 void *reset_reg = in ar7_device_enable() local 152 writel(readl(reset_reg) | (1 << bit), reset_reg); in ar7_device_enable() 158 void *reset_reg = in ar7_device_disable() local 160 writel(readl(reset_reg) & ~(1 << bit), reset_reg); in ar7_device_disable()
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | hwxface.c | 34 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()
|
/linux-6.1.9/drivers/reset/ |
D | reset-microchip-sparx5.c | 19 u32 reset_reg; member 45 regmap_write(ctx->gcb_ctrl, ctx->props->reset_reg, in sparx5_switch_reset() 49 return regmap_read_poll_timeout(ctx->gcb_ctrl, ctx->props->reset_reg, val, in sparx5_switch_reset() 139 .reset_reg = 0x0, 146 .reset_reg = 0x0,
|
/linux-6.1.9/drivers/leds/ |
D | leds-is31fl32xx.c | 79 u8 reset_reg; member 93 .reset_reg = 0x4f, 104 .reset_reg = 0x4f, 115 .reset_reg = 0x17, 129 .reset_reg = IS31FL32XX_REG_NONE, 254 if (cdef->reset_reg != IS31FL32XX_REG_NONE) { in is31fl32xx_reset_regs() 255 ret = is31fl32xx_write(priv, cdef->reset_reg, 0); in is31fl32xx_reset_regs()
|
D | leds-lp50xx.c | 193 u8 reset_reg; member 205 .reset_reg = LP5012_RESET, 216 .reset_reg = LP5012_RESET, 227 .reset_reg = LP5024_RESET, 238 .reset_reg = LP5024_RESET, 249 .reset_reg = LP5036_RESET, 260 .reset_reg = LP5036_RESET, 376 return regmap_write(priv->regmap, priv->chip_info->reset_reg, LP50XX_SW_RESET); in lp50xx_reset()
|
D | leds-is31fl319x.c | 107 u8 reset_reg; member 309 .reset_reg = IS31FL3190_RESET, 320 .reset_reg = IS31FL3190_RESET, 331 .reset_reg = IS31FL3196_RESET, 342 .reset_reg = IS31FL3196_RESET, 536 err = regmap_write(is31->regmap, is31->cdef->reset_reg, 0x00); in is31fl319x_probe()
|
/linux-6.1.9/arch/powerpc/platforms/pasemi/ |
D | setup.c | 39 static void __iomem *reset_reg; variable 61 out_le32(reset_reg, 0x6000000); in pas_restart() 150 reset_reg = ioremap(0xfc101100, 4); in pas_setup_arch()
|
/linux-6.1.9/drivers/clk/meson/ |
D | meson-aoclk.h | 22 const unsigned int reset_reg; member
|
D | meson-aoclk.c | 28 return regmap_write(rstc->regmap, rstc->data->reset_reg, in meson_aoclk_do_reset()
|
D | gxbb-aoclk.c | 276 .reset_reg = AO_RTI_GEN_CNTL_REG0,
|
D | axg-aoclk.c | 315 .reset_reg = AO_RTI_GEN_CNTL_REG0,
|
D | g12a-aoclk.c | 450 .reset_reg = AO_RTI_GEN_CNTL_REG0,
|
/linux-6.1.9/sound/soc/tegra/ |
D | tegra210_i2s.c | 92 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()
|
D | tegra210_admaif.c | 348 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()
|
/linux-6.1.9/drivers/clk/qcom/ |
D | clk-rcg.c | 479 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()
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-pll.c | 368 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()
|
D | clk.h | 315 u32 reset_reg; member
|
D | clk-tegra210.c | 1717 .reset_reg = PLLC_MISC0, 1754 .reset_reg = PLLC2_MISC0, 1786 .reset_reg = PLLC3_MISC0, 2076 .reset_reg = PLLA1_MISC0,
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 1473 const struct dbg_reset_reg *reset_reg; in qed_bus_reset_dbg_block() local 1477 reset_reg = qed_get_dbg_reset_reg(p_hwfn, block->reset_reg_id); in qed_bus_reset_dbg_block() 1479 DWORDS_TO_BYTES(GET_FIELD(reset_reg->data, DBG_RESET_REG_ADDR)); in qed_bus_reset_dbg_block() 1738 const struct dbg_reset_reg *reset_reg; in qed_grc_unreset_blocks() local 1741 reset_reg = qed_get_dbg_reset_reg(p_hwfn, reset_reg_id); in qed_grc_unreset_blocks() 1744 (reset_reg->data, DBG_RESET_REG_IS_REMOVED)) in qed_grc_unreset_blocks() 1749 GET_FIELD(reset_reg->data, in qed_grc_unreset_blocks() 2391 const struct dbg_reset_reg *reset_reg; in qed_grc_dump_reset_regs() local 2394 reset_reg = qed_get_dbg_reset_reg(p_hwfn, reset_reg_id); in qed_grc_dump_reset_regs() 2396 if (GET_FIELD(reset_reg->data, DBG_RESET_REG_IS_REMOVED)) in qed_grc_dump_reset_regs() [all …]
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | dib9000.c | 501 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()
|
/linux-6.1.9/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 7480 union pqi_reset_register reset_reg; in pqi_wait_for_pqi_reset_completion() local 7488 reset_reg.all_bits = readl(&pqi_registers->device_reset); in pqi_wait_for_pqi_reset_completion() 7489 if (reset_reg.bits.reset_action == PQI_RESET_ACTION_COMPLETED) in pqi_wait_for_pqi_reset_completion() 7507 union pqi_reset_register reset_reg; in pqi_reset() local 7518 reset_reg.all_bits = 0; in pqi_reset() 7519 reset_reg.bits.reset_type = PQI_RESET_TYPE_HARD_RESET; in pqi_reset() 7520 reset_reg.bits.reset_action = PQI_RESET_ACTION_RESET; in pqi_reset() 7522 writel(reset_reg.all_bits, &ctrl_info->pqi_registers->device_reset); in pqi_reset()
|
/linux-6.1.9/drivers/scsi/cxlflash/ |
D | main.c | 235 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()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 10406 u8 port, u32 reset_reg, in bnx2x_prev_unload_close_umac() argument 10412 if (!(mask & reset_reg)) in bnx2x_prev_unload_close_umac() 10427 u32 val, base_addr, offset, mask, reset_reg; in bnx2x_prev_unload_close_mac() local 10434 reset_reg = REG_RD(bp, MISC_REG_RESET_REG_2); in bnx2x_prev_unload_close_mac() 10439 if ((mask & reset_reg) && val) { in bnx2x_prev_unload_close_mac() 10468 if (reset_reg & MISC_REGISTERS_RESET_REG_2_XMAC) { in bnx2x_prev_unload_close_mac() 10483 reset_reg, vals); in bnx2x_prev_unload_close_mac() 10485 reset_reg, vals); in bnx2x_prev_unload_close_mac() 10757 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local 10772 reset_reg = REG_RD(bp, MISC_REG_RESET_REG_1); in bnx2x_prev_unload_common() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 3074 __le32 reset_reg[16]; member
|