Home
last modified time | relevance | path

Searched refs:clrbits_le32 (Results 1 – 25 of 264) sorted by relevance

1234567891011

/openbmc/u-boot/drivers/ddr/altera/
H A Dsdram_s10.c149 clrbits_le32(CCU_REG_ADDR(CCU_CPU0_MPRT_ADBASE_DDRREG), in sdram_mmr_init_full()
151 clrbits_le32(CCU_REG_ADDR(CCU_CPU0_MPRT_ADBASE_MEMSPACE0), in sdram_mmr_init_full()
165 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE0), in sdram_mmr_init_full()
167 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE1A), in sdram_mmr_init_full()
169 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE1B), in sdram_mmr_init_full()
171 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE1C), in sdram_mmr_init_full()
173 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE1D), in sdram_mmr_init_full()
175 clrbits_le32(CCU_REG_ADDR(CCU_IOM_MPRT_ADBASE_MEMSPACE1E), in sdram_mmr_init_full()
348 clrbits_le32(SOCFPGA_SDR_ADDRESS + ECCCTRL1, in sdram_mmr_init_full()
355 clrbits_le32(SOCFPGA_SDR_ADDRESS + ECCCTRL1, in sdram_mmr_init_full()
[all …]
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dda850_lowlevel.c40 clrbits_le32(&davinci_syscfg_regs->cfgchip0, PLL_MASTER_LOCK); in da850_pll_init()
46 clrbits_le32(&reg->pllctl, PLLCTL_PLLENSRC); in da850_pll_init()
48 clrbits_le32(&reg->pllctl, PLLCTL_EXTCLKSRC); in da850_pll_init()
51 clrbits_le32(&reg->pllctl, PLLCTL_PLLEN); in da850_pll_init()
66 clrbits_le32(&reg->pllctl, PLLCTL_PLLRST); in da850_pll_init()
76 clrbits_le32(&reg->pllctl, PLLCTL_PLLPWRDN); in da850_pll_init()
79 clrbits_le32(&reg->pllctl, PLLCTL_PLLDIS); in da850_pll_init()
173 clrbits_le32(&davinci_syscfg1_regs->vtpio_ctl, VTP_LOCK); in da850_ddr_setup()
175 clrbits_le32(&davinci_syscfg1_regs->vtpio_ctl, VTP_CLKRZ); in da850_ddr_setup()
191 clrbits_le32(&davinci_syscfg1_regs->ddr_slew, in da850_ddr_setup()
[all …]
H A Ddm365_lowlevel.c30 clrbits_le32(&dv_pll0_regs->pllctl, PLLCTL_PLLPWRDN); in dm365_pll1_init()
32 clrbits_le32(&dv_pll0_regs->pllctl, PLLCTL_RES_9); in dm365_pll1_init()
40 clrbits_le32(&dv_pll0_regs->pllctl, PLLCTL_PLLENSRC); in dm365_pll1_init()
43 clrbits_le32(&dv_pll0_regs->pllctl, PLLCTL_PLLEN); in dm365_pll1_init()
53 clrbits_le32(&dv_pll0_regs->pllctl, PLLCTL_PLLRST); in dm365_pll1_init()
107 clrbits_le32(&dv_pll1_regs->pllctl, PLLCTL_PLLPWRDN); in dm365_pll2_init()
114 clrbits_le32(&dv_pll1_regs->pllctl, PLLCTL_RES_9); in dm365_pll2_init()
125 clrbits_le32(&dv_pll1_regs->pllctl, PLLCTL_PLLEN); in dm365_pll2_init()
135 clrbits_le32(&dv_pll1_regs->pllctl, PLLCTL_PLLRST); in dm365_pll2_init()
186 clrbits_le32(&dv_sys_module_regs->vtpiocr, in dm365_ddr_setup()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dsocfpga_arria10.c50 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_02, in fpgamgr_set_cfgwdth()
130 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_02, in fpgamgr_set_cd_ratio()
224 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_00, in fpgamgr_reset()
286 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_01, in fpgamgr_program_init()
289 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_02, in fpgamgr_program_init()
296 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_00, in fpgamgr_program_init()
306 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_01, in fpgamgr_program_init()
308 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_00, in fpgamgr_program_init()
324 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_01, in fpgamgr_program_init()
391 clrbits_le32(&fpga_manager_base->imgcfg_ctrl_02, in fpgamgr_program_poll_usermode()
H A Dsocfpga_gen5.c59 clrbits_le32(&fpgamgr_regs->ctrl, in fpgamgr_program_init()
75 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCE_MASK); in fpgamgr_program_init()
96 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_NCONFIGPULL_MASK); in fpgamgr_program_init()
148 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_AXICFGEN_MASK); in fpgamgr_program_poll_cd()
196 clrbits_le32(&fpgamgr_regs->ctrl, FPGAMGRREGS_CTRL_EN_MASK); in fpgamgr_program_poll_usermode()
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dpower.c50 clrbits_le32(&power->usbhost_phy_control, in exynos5_set_usbhost_phy_ctrl()
70 clrbits_le32(&power->usbhost_phy_control, in exynos4412_set_usbhost_phy_ctrl()
72 clrbits_le32(&power->hsic1_phy_control, in exynos4412_set_usbhost_phy_ctrl()
74 clrbits_le32(&power->hsic2_phy_control, in exynos4412_set_usbhost_phy_ctrl()
99 clrbits_le32(&power->usbdrd_phy_control, in exynos5_set_usbdrd_phy_ctrl()
117 clrbits_le32(&power->usbdev_phy_control, in exynos5420_set_usbdev_phy_ctrl()
119 clrbits_le32(&power->usbdev1_phy_control, in exynos5420_set_usbdev_phy_ctrl()
H A Dspl_boot.c74 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_rx_tx()
123 clrbits_le32(&regs->ch_cfg, SPI_CH_CPOL_L); /* CPOL: active high */ in exynos_spi_copy()
126 clrbits_le32(&regs->ch_cfg, SPI_RX_CH_ON | SPI_TX_CH_ON); in exynos_spi_copy()
134 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in exynos_spi_copy()
138 clrbits_le32(&regs->cs_reg, SPI_SLAVE_SIG_INACT); /* CS low */ in exynos_spi_copy()
164 clrbits_le32(&regs->mode_cfg, SPI_MODE_CH_WIDTH_WORD | in exynos_spi_copy()
173 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in exynos_spi_copy()
174 clrbits_le32(&regs->ch_cfg, SPI_TX_CH_ON | SPI_RX_CH_ON); in exynos_spi_copy()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_power_init.c397 clrbits_le32(&power_regs->hw_power_5vctrl, in mxs_enable_4p2_dcdc_input()
407 clrbits_le32(&power_regs->hw_power_5vctrl, in mxs_enable_4p2_dcdc_input()
449 clrbits_le32(&power_regs->hw_power_ctrl, in mxs_enable_4p2_dcdc_input()
497 clrbits_le32(&power_regs->hw_power_dcdc4p2, in mxs_power_init_4p2_regulator()
574 clrbits_le32(&power_regs->hw_power_dcdc4p2, in mxs_power_init_dcdc_4p2_source()
618 clrbits_le32(&power_regs->hw_power_dcdc4p2, in mxs_power_enable_4p2()
718 clrbits_le32(&power_regs->hw_power_dcdc4p2, in mxs_batt_boot()
734 clrbits_le32(&power_regs->hw_power_vdddctrl, in mxs_batt_boot()
737 clrbits_le32(&power_regs->hw_power_vddactrl, in mxs_batt_boot()
883 clrbits_le32(&power_regs->hw_power_vdddctrl, in mxs_switch_vddd_to_dcdc_source()
[all …]
H A Dspl_mem_init.c259 clrbits_le32(&power_regs->hw_power_vddmemctrl, in mx23_mem_setup_vddmem()
284 clrbits_le32(MXS_DRAM_BASE + 0x20, (1 << 16) | (1 << 8)); in mx23_mem_init()
291 clrbits_le32(MXS_DRAM_BASE + 0x40, 1 << 17); in mx23_mem_init()
326 clrbits_le32(MXS_DRAM_BASE + 0x40, 1); in mx28_mem_init()
331 clrbits_le32(MXS_DRAM_BASE + 0x44, 1); in mx28_mem_init()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-exynos.c88 clrbits_le32(&usb->usbphyctrl0, in exynos5_setup_usb_phy()
105 clrbits_le32(&usb->usbphyctrl0, in exynos5_setup_usb_phy()
114 clrbits_le32(&usb->hsicphyctrl1, hsic_ctrl); in exynos5_setup_usb_phy()
115 clrbits_le32(&usb->hsicphyctrl2, hsic_ctrl); in exynos5_setup_usb_phy()
128 clrbits_le32(&usb->hsicphyctrl1, HSIC_CTRL_PHYSWRST | in exynos5_setup_usb_phy()
131 clrbits_le32(&usb->hsicphyctrl2, HSIC_CTRL_PHYSWRST | in exynos5_setup_usb_phy()
148 clrbits_le32(&usb->usbphyctrl, (PHYPWR_NORMAL_MASK_HSIC0 | in exynos4412_setup_usb_phy()
154 clrbits_le32(&usb->usbphyrstcon, (RSTCON_HOSTPHY_SWRST | RSTCON_SWRST)); in exynos4412_setup_usb_phy()
H A Dehci-tegra.c320 clrbits_le32(&usbctlr->port_sc1, STS1); in init_phy_mux()
324 clrbits_le32(&usbctlr->port_sc1, STS); in init_phy_mux()
339 clrbits_le32(&usbctlr->hostpc1_devlc, STS); in init_phy_mux()
431 clrbits_le32(&clkrst->crc_utmip_pll_cfg1, in init_utmi_usb_controller()
465 clrbits_le32(&usbctlr->utmip_misc_cfg0, in init_utmi_usb_controller()
527 clrbits_le32(&clkrst->crc_utmip_pll_cfg2, in init_utmi_usb_controller()
530 clrbits_le32(&clkrst->crc_utmip_pll_cfg2, in init_utmi_usb_controller()
533 clrbits_le32(&clkrst->crc_utmip_pll_cfg2, in init_utmi_usb_controller()
539 clrbits_le32(&usbctlr->susp_ctrl, UTMIP_RESET); in init_utmi_usb_controller()
551 clrbits_le32(&usbctlr->icusb_ctrl, IC_ENB1); in init_utmi_usb_controller()
[all …]
H A Dutmi-armada100.c28 clrbits_le32(&phy_regs->utmi_pll, PLL_FBDIV_MASK | PLL_REFDIV_MASK); in utmi_phy_init()
43 clrbits_le32(&phy_regs->utmi_pll, VCOCAL_START); in utmi_phy_init()
48 clrbits_le32(&phy_regs->utmi_tx, RCAL_START); in utmi_phy_init()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun4i.c75 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
79 clrbits_le32(&dram->mcr, DRAM_MCR_RESET); in mctl_ddr3_reset()
122 clrbits_le32(&dram->ccr, DRAM_CCR_ITM_OFF); in mctl_itm_enable()
180 clrbits_le32(&dram->dllcr[i], DRAM_DLLCR_NRESET | in mctl_enable_dllx()
298 clrbits_le32(&ccm->ahb_gate0, CCM_AHB_GATE_GPS); in mctl_setup_dram_clock()
340 clrbits_le32(&ccm->ahb_gate0, CCM_AHB_GATE_SDRAM); in mctl_setup_dram_clock()
390 clrbits_le32(&dram->csr, DRAM_CSR_FAILED); in dramc_scan_readpipe()
412 clrbits_le32(&dram->mcr, DRAM_MCR_DCLK_OUT); in dramc_clock_output_en()
539 clrbits_le32(&dram->zqcr0, DRAM_ZQCR0_ZCAL); in mctl_set_impedance()
555 clrbits_le32(&dram->zqcr0, DRAM_ZQCR0_ZCAL); in mctl_set_impedance()
[all …]
H A Ddram_sun50i_h6.c302 clrbits_le32(&ccm->dram_gate_reset, BIT(0)); in mctl_sys_init()
435 clrbits_le32(&mctl_com->cr, BIT(27)); in mctl_com_init()
491 clrbits_le32(&mctl_phy->pgcr[0], BIT(26)); in mctl_bit_delay_set()
544 clrbits_le32(&mctl_phy->pgcr[6], BIT(0)); in mctl_channel_init()
548 clrbits_le32(&mctl_phy->vtcr[1], BIT(1)); in mctl_channel_init()
564 clrbits_le32(&mctl_phy->dtcr[1], BIT(1)); in mctl_channel_init()
631 clrbits_le32(&mctl_phy->pgcr[6], 0xfff8); in mctl_channel_init()
666 clrbits_le32(&mctl_phy->pgcr[1], 0x40); in mctl_channel_init()
667 clrbits_le32(&mctl_ctl->dfimisc, BIT(0)); in mctl_channel_init()
670 clrbits_le32(&mctl_ctl->rfshctl3, BIT(0)); in mctl_channel_init()
[all …]
H A Ddram_sunxi_dw.c33 clrbits_le32(&mctl_ctl->pgcr[0], 1 << 26); in mctl_set_bit_delays()
371 clrbits_le32(&ccm->mbus0_clk_cfg, MBUS_CLK_GATE); in mctl_sys_init()
372 clrbits_le32(&ccm->mbus_reset, CCM_MBUS_RESET_RESET); in mctl_sys_init()
373 clrbits_le32(&ccm->ahb_gate0, 1 << AHB_GATE_OFFSET_MCTL); in mctl_sys_init()
375 clrbits_le32(&ccm->pll5_cfg, CCM_PLL5_CTRL_EN); in mctl_sys_init()
377 clrbits_le32(&ccm->pll11_cfg, CCM_PLL11_CTRL_EN); in mctl_sys_init()
380 clrbits_le32(&ccm->dram_clk_cfg, CCM_DRAMCLK_CFG_RST); in mctl_sys_init()
433 clrbits_le32(&mctl_ctl->pgcr[0], (1 << 30) | 0x3f); in mctl_channel_init()
469 clrbits_le32(&mctl_ctl->pgcr[0], (0x3 << 14) | (0x3 << 12)); in mctl_channel_init()
566 clrbits_le32(&mctl_ctl->rfshctl0, 0x1 << 31); in mctl_channel_init()
[all …]
H A Ddram_sun8i_a83t.c277 clrbits_le32(&mctl_ctl->pgcr0, 0x3f << 0 | 0x1 << 30); in mctl_channel_init()
320 clrbits_le32(&mctl_ctl->pgcr2, (0x3 << 6)); in mctl_channel_init()
321 clrbits_le32(&mctl_ctl->dqsgmr, (0x1 << 8) | (0x7)); in mctl_channel_init()
395 clrbits_le32(&ccm->mbus_clk_cfg, MBUS_CLK_GATE); in mctl_sys_init()
396 clrbits_le32(&ccm->mbus_reset, CCM_MBUS_RESET_RESET); in mctl_sys_init()
397 clrbits_le32(&ccm->ahb_gate0, 1 << AHB_GATE_OFFSET_MCTL); in mctl_sys_init()
398 clrbits_le32(&ccm->ahb_reset0_cfg, 1 << AHB_RESET_OFFSET_MCTL); in mctl_sys_init()
399 clrbits_le32(&ccm->pll5_cfg, CCM_PLL5_CTRL_EN); in mctl_sys_init()
401 clrbits_le32(&ccm->dram_clk_cfg, 0x01<<31); in mctl_sys_init()
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dfreeze_controller.c48 clrbits_le32(ioctrl_reg_offset, reg_cfg_mask); in sys_mgr_frzctrl_freeze_req()
58 clrbits_le32(ioctrl_reg_offset, reg_cfg_mask); in sys_mgr_frzctrl_freeze_req()
73 clrbits_le32(&freeze_controller_base->hioctrl, reg_cfg_mask); in sys_mgr_frzctrl_freeze_req()
153 clrbits_le32(&freeze_controller_base->hioctrl, in sys_mgr_frzctrl_thaw_req()
196 clrbits_le32(&freeze_controller_base->hioctrl, in sys_mgr_frzctrl_thaw_req()
H A Dreset_manager_arria10.c73 clrbits_le32(&reset_manager_base->brgmodrst, in socfpga_reset_deassert_noc_ddr_scheduler()
106 clrbits_le32(&reset_manager_base->brgmodrst, mask_rstmgr); in socfpga_reset_deassert_bridges_handoff()
116 clrbits_le32(&reset_manager_base->per1modrst, in socfpga_reset_deassert_osc1wd0()
152 clrbits_le32(reg, 1 << RSTMGR_RESET(reset)); in socfpga_per_reset()
/openbmc/u-boot/board/kmc/kzm9g/
H A Dkzm9g.c151 clrbits_le32(&cpg->smstpcr3, (1 << 15)); in s_init()
152 clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); in s_init()
153 clrbits_le32(&cpg->smstpcr2, (1 << 18)); in s_init()
154 clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); in s_init()
166 clrbits_le32(&cpg->smstpcr0, (1 << 1)); in s_init()
168 clrbits_le32(&cpg_srcr->srcr0, (1 << 1)); in s_init()
234 clrbits_le32(&cpg->pllecr, (1 << 3)); in s_init()
272 clrbits_le32(&cpg->smstpcr1, (SMSTPCR1_CMT0|SMSTPCR1_I2C0)); in board_early_init_f()
273 clrbits_le32(&cpg_srcr->srcr1, (SMSTPCR1_CMT0|SMSTPCR1_I2C0)); in board_early_init_f()
274 clrbits_le32(&cpg->smstpcr3, (SMSTPCR3_USB|SMSTPCR3_I2C1)); in board_early_init_f()
[all …]
/openbmc/u-boot/board/solidrun/clearfog/
H A Dclearfog.c113 clrbits_le32(MVEBU_GPIO1_BASE + 0x0, BIT(9)); in board_init()
114 clrbits_le32(MVEBU_GPIO1_BASE + 0x4, BIT(9)); in board_init()
116 clrbits_le32(MVEBU_GPIO0_BASE + 0x0, BIT(19)); in board_init()
117 clrbits_le32(MVEBU_GPIO0_BASE + 0x4, BIT(19)); in board_init()
/openbmc/u-boot/drivers/usb/dwc3/
H A Dsamsung_usb_phy.c21 clrbits_le32(&phy->phy_param0, in exynos5_usb3_phy_init()
40 clrbits_le32(&phy->phy_param1, PHYPARAM1_PCS_TXDEEMPH_MASK); in exynos5_usb3_phy_init()
46 clrbits_le32(&phy->phy_test, in exynos5_usb3_phy_init()
/openbmc/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_ddr.c283 clrbits_le32(&ctl->swctl, DDRCTRL_SWCTL_SW_DONE); in start_sw_done()
340 clrbits_le32(&ctl->pwrctl, DDRCTRL_PWRCTL_POWERDOWN_EN); in stm32mp1_refresh_disable()
341 clrbits_le32(&ctl->dfimisc, DDRCTRL_DFIMISC_DFI_INIT_COMPLETE_EN); in stm32mp1_refresh_disable()
350 clrbits_le32(&ctl->rfshctl3, DDRCTRL_RFSHCTL3_DIS_AUTO_REFRESH); in stm32mp1_refresh_restore()
397 clrbits_le32(priv->rcc + RCC_DDRITFCR, RCC_DDRITFCR_DPHYRST); in stm32mp1_ddr_init()
398 clrbits_le32(priv->rcc + RCC_DDRITFCR, RCC_DDRITFCR_DPHYCTLRST); in stm32mp1_ddr_init()
402 clrbits_le32(priv->rcc + RCC_DDRITFCR, RCC_DDRITFCR_DDRCAPBRST); in stm32mp1_ddr_init()
412 clrbits_le32(&priv->ctl->dfimisc, DDRCTRL_DFIMISC_DFI_INIT_COMPLETE_EN); in stm32mp1_ddr_init()
428 clrbits_le32(priv->rcc + RCC_DDRITFCR, RCC_DDRITFCR_DDRCORERST); in stm32mp1_ddr_init()
429 clrbits_le32(priv->rcc + RCC_DDRITFCR, RCC_DDRITFCR_DDRCAXIRST); in stm32mp1_ddr_init()
[all …]
/openbmc/u-boot/drivers/ram/rockchip/
H A Dsdram_rk3188.c128 clrbits_le32(&publ->acdllcr, ACDLLCR_DLLSRST); in phy_pctrl_reset()
151 clrbits_le32(&publ->dllgcr, SBIAS_BYPASS); in phy_dll_bypass_set()
161 clrbits_le32(&publ->dllgcr, SBIAS_BYPASS); in phy_dll_bypass_set()
162 clrbits_le32(&publ->acdllcr, ACDLLCR_DLLDIS); in phy_dll_bypass_set()
164 clrbits_le32(&publ->datx8[i].dxdllcr, in phy_dll_bypass_set()
168 clrbits_le32(&publ->pir, PIR_DLLBYP); in phy_dll_bypass_set()
282 clrbits_le32(&publ->pgcr, 0x1f); in phy_cfg()
388 clrbits_le32(&publ->datx8[2].dxgcr, 1); in set_bandwidth_ratio()
389 clrbits_le32(&publ->datx8[3].dxgcr, 1); in set_bandwidth_ratio()
394 clrbits_le32(&pctl->ppcfg, 1); in set_bandwidth_ratio()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dpsci.c110 clrbits_le32(pwroff, BIT(cpu)); in sunxi_power_switch()
185 clrbits_le32(&cpucfg->dbg_ctrl1, BIT(cpu)); in sunxi_cpu_power_off()
262 clrbits_le32(&cpucfg->gen_ctrl, BIT(cpu)); in psci_cpu_on()
265 clrbits_le32(&cpucfg->dbg_ctrl1, BIT(cpu)); in psci_cpu_on()
297 clrbits_le32(GICD_BASE + GICD_IGROUPRn, BIT(15)); in psci_arch_init()
/openbmc/u-boot/drivers/gpio/
H A Dgpio-rcar.c59 clrbits_le32(priv->regs + GPIO_OUTDT, BIT(offset)); in rcar_gpio_set_value()
74 clrbits_le32(regs + GPIO_POSNEG, BIT(offset)); in rcar_gpio_set_direction()
77 clrbits_le32(regs + GPIO_IOINTSEL, BIT(offset)); in rcar_gpio_set_direction()
83 clrbits_le32(regs + GPIO_INOUTSEL, BIT(offset)); in rcar_gpio_set_direction()

1234567891011