Home
last modified time | relevance | path

Searched refs:bus_space_write_4 (Results 1 – 25 of 219) sorted by relevance

123456789

/freebsd/sys/arm/allwinner/
H A Daw_mp.c130 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_P_REG0, in aw_mp_start_ap()
139 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPU_RST_CTL(i), 0); in aw_mp_start_ap()
145 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_GENCTL, val); in aw_mp_start_ap()
151 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_DBGCTL1, val); in aw_mp_start_ap()
157 bus_space_write_4(fdtbus_bs_tag, prcm, in aw_mp_start_ap()
160 bus_space_write_4(fdtbus_bs_tag, in aw_mp_start_ap()
171 bus_space_write_4(fdtbus_bs_tag, prcm, CPU_PWROFF, val); in aw_mp_start_ap()
176 bus_space_write_4(fdtbus_bs_tag, cpucfg, in aw_mp_start_ap()
183 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPU_RST_CTL(i), in aw_mp_start_ap()
190 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_DBGCTL1, val); in aw_mp_start_ap()
[all …]
/freebsd/sys/arm/qualcomm/
H A Dqcom_cpu_kpssv2.c141 bus_space_write_4(acc_tag, acc_handle, QCOM_APC_PWR_GATE_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
150 bus_space_write_4(acc_tag, acc_handle, QCOM_APC_PWR_GATE_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
159 bus_space_write_4(acc_tag, acc_handle, QCOM_APC_PWR_GATE_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
164 bus_space_write_4(saw_tag, saw_handle, QCOM_APCS_SAW2_2_VCTL, 0x10003); in qcom_cpu_kpssv2_regulator_start()
174 bus_space_write_4(acc_tag, acc_handle, QCOM_APCS_CPU_PWR_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
182 bus_space_write_4(acc_tag, acc_handle, QCOM_APCS_CPU_PWR_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
190 bus_space_write_4(acc_tag, acc_handle, QCOM_APCS_CPU_PWR_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
198 bus_space_write_4(acc_tag, acc_handle, QCOM_APCS_CPU_PWR_CTL, reg_val); in qcom_cpu_kpssv2_regulator_start()
/freebsd/sys/arm/mv/armada38x/
H A Darmada38x.c112 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, MV_SYNC_BARRIER_CTRL, in armada38x_win_set_iosync_barrier()
142 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, IO_WIN_9_CTRL_OFFSET, in armada38x_open_bootrom_win()
145 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, IO_WIN_9_BASE_OFFSET, in armada38x_open_bootrom_win()
171 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, 0, 0x19180); in armada38x_mbus_optimization()
177 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, 0x4, 0x3000A); in armada38x_mbus_optimization()
183 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, 0x8, 0xFFFF); in armada38x_mbus_optimization()
189 bus_space_write_4(fdtbus_bs_tag, vaddr_iowind, 0xc, 0x303); in armada38x_mbus_optimization()
217 bus_space_write_4(fdtbus_bs_tag, vaddr_scu, 0, in armada38x_scu_enable()
/freebsd/sys/arm/freescale/imx/
H A Dimx6_mp.c118 bus_space_write_4(fdtbus_bs_tag, scu, SCU_INV_TAGS_REG, 0x0000ffff); in imx6_mp_start_ap()
126 bus_space_write_4(fdtbus_bs_tag, scu, SCU_DIAG_CONTROL, in imx6_mp_start_ap()
137 bus_space_write_4(fdtbus_bs_tag, scu, SCU_CONTROL_REG, in imx6_mp_start_ap()
147 bus_space_write_4(fdtbus_bs_tag, src, SRC_GPR0_C1FUNC + 8*i, in imx6_mp_start_ap()
149 bus_space_write_4(fdtbus_bs_tag, src, SRC_GPR1_C1ARG + 8*i, 0); in imx6_mp_start_ap()
154 bus_space_write_4(fdtbus_bs_tag, src, SRC_CONTROL_REG, val); in imx6_mp_start_ap()
/freebsd/sys/dev/usb/controller/
H A Dehci_fsl.c157 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, USBMODE, tmp | HOST_MODE); in set_to_host_mode()
177 bus_space_write_4(iot, ioh, CONTROL, tmp); in enable_usb()
184 bus_space_write_4(iot, ioh, SI_CTRL, FETCH_32); in set_32b_prefetch()
191 bus_space_write_4(iot, ioh, SNOOP1, SNOOP_RANGE_2GB); in set_snooping()
192 bus_space_write_4(iot, ioh, SNOOP2, 0x80000000 | SNOOP_RANGE_2GB); in set_snooping()
201 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, PORTSC, tmp & ~PORT_POWER_MASK); in clear_port_power()
393 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, EHCI_USBINTR, 0); in fsl_ehci_detach()
/freebsd/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c284 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PEX_ERR_DR, clear_reg); in fsl_pcib_err_intr()
454 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_CFG_ADDR, addr); in fsl_pcib_cfgread()
492 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_CFG_ADDR, addr); in fsl_pcib_cfgwrite()
504 bus_space_write_4(sc->sc_bst, sc->sc_bsh, in fsl_pcib_cfgwrite()
597 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PITAR(wnd), tar); in fsl_pcib_inbound()
598 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PIWBEAR(wnd), 0); in fsl_pcib_inbound()
599 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PIWBAR(wnd), bar); in fsl_pcib_inbound()
600 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PIWAR(wnd), attr); in fsl_pcib_inbound()
623 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_POTAR(wnd), tar); in fsl_pcib_outbound()
624 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_POTEAR(wnd), 0); in fsl_pcib_outbound()
[all …]
H A Dlbc.c315 bus_space_write_4(sc->sc_bst, sc->sc_bsh, in lbc_banks_enable()
338 bus_space_write_4(sc->sc_bst, sc->sc_bsh, in lbc_banks_enable()
430 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTESR, ltesr); in lbc_intr()
474 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_BR(bank), 0); in lbc_attach()
475 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_OR(bank), 0); in lbc_attach()
486 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LBCR, 0); in lbc_attach()
494 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LCRR, 0x00030008); in lbc_attach()
496 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTEDR, 0); in lbc_attach()
497 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTESR, ~0); in lbc_attach()
498 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTEIR, 0x64080001); in lbc_attach()
[all …]
/freebsd/sys/arm/rockchip/
H A Drk32xx_mp.c96 bus_space_write_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON, val); in rk32xx_mp_start_pmu()
103 bus_space_write_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON, val); in rk32xx_mp_start_pmu()
108 bus_space_write_4(fdtbus_bs_tag, imem, 8, val); in rk32xx_mp_start_pmu()
110 bus_space_write_4(fdtbus_bs_tag, imem, 4, 0xDEADBEAF); in rk32xx_mp_start_pmu()
/freebsd/sys/arm/mv/armadaxp/
H A Darmadaxp_mp.c84 bus_space_write_4(fdtbus_bs_tag, MV_AXP_CPU_DIVCLK_BASE, reg, val); in write_cpu_clkdiv()
165 bus_space_write_4(fdtbus_bs_tag, MV_BASE, CPU_RESUME_CONTROL, 0); in mv_axp_platform_mp_start_ap()
168 bus_space_write_4(fdtbus_bs_tag, CPU_PMU(cpu_num), CPU_PMU_BOOT, in mv_axp_platform_mp_start_ap()
174 bus_space_write_4(fdtbus_bs_tag, MP, MP_SW_RESET(cpu_num), 0); in mv_axp_platform_mp_start_ap()
/freebsd/sys/dev/e1000/
H A De1000_osdep.h175 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->mem_bus_space_tag, \
186 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->mem_bus_space_tag, \
196 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->mem_bus_space_tag, \
219 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->io_bus_space_tag, \
222 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->io_bus_space_tag, \
235 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->flash_bus_space_tag, \
/freebsd/sys/arm/mv/
H A Dmvwin.h311 bus_space_write_4(fdtbus_bs_tag, base, off(i), val); \
318 bus_space_write_4(fdtbus_bs_tag, base, off(i, j), val); \
325 bus_space_write_4(fdtbus_bs_tag, base, off(i), val); \
332 bus_space_write_4(fdtbus_bs_tag, base, off(i, j), val); \
353 bus_space_write_4(fdtbus_bs_tag, base, off, val); \
360 bus_space_write_4(fdtbus_bs_tag, base, off, val); \
/freebsd/sys/arm/annapurna/alpine/
H A Dalpine_machdep_mp.c217 bus_space_write_4(fdtbus_bs_tag, nb_baddr, in alpine_mp_start_ap()
225 bus_space_write_4(fdtbus_bs_tag, cpu_resume_baddr, in alpine_mp_start_ap()
230 bus_space_write_4(fdtbus_bs_tag, cpu_resume_baddr, in alpine_mp_start_ap()
245 bus_space_write_4(fdtbus_bs_tag, nb_baddr, AL_NB_INIT_CONTROL, val); in alpine_mp_start_ap()
H A Dalpine_machdep.c140 bus_space_write_4(fdtbus_bs_tag, wdbaddr, WDTLOCK, UNLOCK); in alpine_cpu_reset()
141 bus_space_write_4(fdtbus_bs_tag, wdbaddr, WDTLOAD, LOAD_MIN); in alpine_cpu_reset()
142 bus_space_write_4(fdtbus_bs_tag, wdbaddr, WDTCONTROL, in alpine_cpu_reset()
/freebsd/sys/dev/igc/
H A Digc_osdep.h88 bus_space_write_4(((struct igc_osdep *)(hw)->back)->mem_bus_space_tag, \
99 bus_space_write_4(((struct igc_osdep *)(hw)->back)->mem_bus_space_tag, \
109 bus_space_write_4(((struct igc_osdep *)(hw)->back)->mem_bus_space_tag, \
/freebsd/sys/arm/ti/
H A Dti_scm_syscon.c92 bus_space_write_4(sc->bst, sc->bsh, offset, val); in ti_scm_syscon_write_4()
123 bus_space_write_4(sc->bst, sc->bsh, offset, reg); in ti_scm_syscon_modify_4()
218 bus_space_write_4(sc->bst, sc->bsh, addr, val); in ti_scm_syscon_clk_write_4()
245 bus_space_write_4(sc->bst, sc->bsh, addr, reg); in ti_scm_syscon_clk_modify_4()
/freebsd/sys/arm/xilinx/
H A Dzy7_mp.c115 bus_space_write_4(fdtbus_bs_tag, scu_handle, 0, scu_ctrl); in zynq7_mp_start_ap()
125 bus_space_write_4(fdtbus_bs_tag, ocm_handle, 0, in zynq7_mp_start_ap()
H A Dzy7_ehci.c172 bus_space_write_4(io_tag, bsh, ZY7_USB_PORTSC(1), portsc); in zy7_phy_config()
177 bus_space_write_4(io_tag, bsh, ZY7_USB_ULPI_VIEWPORT, in zy7_phy_config()
288 bus_space_write_4(sc->sc_io_tag, bsh, in zy7_ehci_attach()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_mp.c89 bus_space_write_4(fdtbus_bs_tag, exvec , TEGRA_EXCEPTION_VECTOR_ENTRY, in tegra124_mp_start_ap()
108 bus_space_write_4(fdtbus_bs_tag, pmc, in tegra124_mp_start_ap()
H A Dtegra124_machdep.c102 bus_space_write_4(fdtbus_bs_tag, pmc, PMC_SCRATCH0, in tegra124_cpu_reset()
109 bus_space_write_4(fdtbus_bs_tag, pmc, PMC_CONTROL_REG, reg | 0x10); in tegra124_cpu_reset()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_ehci.c113 bus_space_write_4(_sc->bst_phy, _sc->bsh_phy, _reg, _val)
118 bus_space_write_4(_sc->bst_usbc, _sc->bsh_usbc, _reg, _val)
351 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, 0xA8, reg); in vybrid_ehci_attach()
405 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, in vybrid_ehci_detach()
/freebsd/sys/dev/ixgbe/
H A Dixgbe_osdep.c64 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg()
80 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_array()
/freebsd/sys/dev/ice/
H A Dice_osdep.c241 bus_space_write_4(sc->bar0.tag, sc->bar0.handle, reg, val); in wr32()
267 * back to using two bus_space_write_4 calls. in wr64()
271 bus_space_write_4(sc->bar0.tag, sc->bar0.handle, reg, lo_val); in wr64()
272 bus_space_write_4(sc->bar0.tag, sc->bar0.handle, reg + 4, hi_val); in wr64()
/freebsd/sys/arm64/apple/
H A Dexynos_uart.c424 bus_space_write_4(sc->sc_bas.bst, sc->sc_bas.bsh, SSCOM_UINTM, in exynos4210_bus_transmit()
503 bus_space_write_4(sc->sc_bas.bst, sc->sc_bas.bsh, SSCOM_UTRSTAT, in s5l_bus_ipend()
519 bus_space_write_4(sc->sc_bas.bst, sc->sc_bas.bsh, SSCOM_UINTP, ints); in exynos4210_bus_ipend()
530 bus_space_write_4(sc->sc_bas.bst, sc->sc_bas.bsh, in exynos4210_bus_ipend()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci.c247 bus_space_write_4(sc->vmci_iot0, sc->vmci_ioh0, in vmci_detach()
423 bus_space_write_4(sc->vmci_iot0, sc->vmci_ioh0, in vmci_config_capabilities()
669 bus_space_write_4(sc->vmci_iot0, sc->vmci_ioh0, in vmci_config_interrupts()
672 bus_space_write_4(sc->vmci_iot0, sc->vmci_ioh0, in vmci_config_interrupts()
676 bus_space_write_4(sc->vmci_iot0, sc->vmci_ioh0, in vmci_config_interrupts()
/freebsd/sys/dev/tpm/
H A Dtpm.c335 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_tis12_irqinit()
338 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INT_STATUS, in tpm_tis12_irqinit()
352 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, r); in tpm_tis12_irqinit()
579 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_waitfor_int()
582 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_waitfor_int()
617 out: bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_waitfor_int()
620 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_waitfor_int()
945 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INT_STATUS, r); in tpm_intr()

123456789