Home
last modified time | relevance | path

Searched refs:csr (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/drivers/timer/
Drv32m1_lptmr_timer.c76 uint32_t csr, psr, sircdiv; /* LPTMR registers */ in sys_clock_driver_init() local
91 csr = SYSTEM_TIMER_INSTANCE->CSR; in sys_clock_driver_init()
92 csr &= ~LPTMR_CSR_TEN(0); in sys_clock_driver_init()
93 csr |= LPTMR_CSR_TFC(1); in sys_clock_driver_init()
94 SYSTEM_TIMER_INSTANCE->CSR = csr; in sys_clock_driver_init()
113 csr &= ~(LPTMR_CSR_TMS(1) | LPTMR_CSR_TFC(1) | LPTMR_CSR_TDRE(1)); in sys_clock_driver_init()
117 csr |= LPTMR_CSR_TIE(1); in sys_clock_driver_init()
118 SYSTEM_TIMER_INSTANCE->CSR = csr; in sys_clock_driver_init()
145 csr = SYSTEM_TIMER_INSTANCE->CSR; in sys_clock_driver_init()
146 csr |= LPTMR_CSR_TEN(1); in sys_clock_driver_init()
[all …]
/Zephyr-Core-3.5.0/drivers/regulator/
Dregulator_nxp_vref.c37 volatile uint32_t *const csr = &base->CSR; in regulator_nxp_vref_enable() local
39 *csr |= VREF_CSR_LPBGEN_MASK | VREF_CSR_LPBG_BUF_EN_MASK; in regulator_nxp_vref_enable()
44 *csr |= VREF_CSR_HCBGEN_MASK; in regulator_nxp_vref_enable()
47 while (!(*csr & VREF_CSR_VREFST_MASK)) in regulator_nxp_vref_enable()
51 *csr |= VREF_CSR_BUF21EN_MASK; in regulator_nxp_vref_enable()
74 uint32_t csr = base->CSR; in regulator_nxp_vref_set_mode() local
77 csr &= ~VREF_CSR_REGEN_MASK & in regulator_nxp_vref_set_mode()
82 csr &= ~VREF_CSR_REGEN_MASK & in regulator_nxp_vref_set_mode()
85 csr |= VREF_CSR_BUF21EN_MASK; in regulator_nxp_vref_set_mode()
87 csr &= ~VREF_CSR_REGEN_MASK & in regulator_nxp_vref_set_mode()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/riscv/
Dcsr.h185 #define csr_read(csr) \ argument
188 __asm__ volatile ("csrr %0, " STRINGIFY(csr) \
193 #define csr_write(csr, val) \ argument
196 __asm__ volatile ("csrw " STRINGIFY(csr) ", %0" \
202 #define csr_read_set(csr, val) \ argument
205 __asm__ volatile ("csrrs %0, " STRINGIFY(csr) ", %1" \
211 #define csr_set(csr, val) \ argument
214 __asm__ volatile ("csrs " STRINGIFY(csr) ", %0" \
219 #define csr_read_clear(csr, val) \ argument
222 __asm__ volatile ("csrrc %0, " STRINGIFY(csr) ", %1" \
[all …]
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dintc_swerv_pic.c37 #define swerv_piccsr(csr) SWERV_PIC_##csr argument
39 #define swerv_pic_readcsr(csr, value) \ argument
40 volatile("csrr %0, "swerv_piccsr(csr) : "=r" (value))
41 #define swerv_pic_writecsr(csr, value) \ argument
42 volatile("csrw "swerv_piccsr(csr)", %0" :: "rK" (value))
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/cavs/include/intel_tgl_adsp/
Dadsp_ipc_regs.h23 uint32_t csr; member
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/include/intel_ace15_mtpm/
Dadsp_ipc_regs.h30 uint32_t csr; member
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/include/intel_ace20_lnl/
Dadsp_ipc_regs.h30 uint32_t csr; member
/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_rpi_pico.c84 bool pwm_polarity_a = (cfg->pwm_controller->slice[slice].csr & PWM_CH0_CSR_A_INV_BITS) > 0; in pwm_rpi_set_channel_polarity()
85 bool pwm_polarity_b = (cfg->pwm_controller->slice[slice].csr & PWM_CH0_CSR_B_INV_BITS) > 0; in pwm_rpi_set_channel_polarity()
/Zephyr-Core-3.5.0/boards/riscv/litex_vexriscv/doc/
Dindex.rst142 … ./litex-boards/litex_boards/targets/digilent_arty.py --build --timer-uptime --csr-json csr.json
148 … ./litex/litex/tools/litex_json2dts_zephyr.py --dts overlay.dts --config overlay.config csr.json
/Zephyr-Core-3.5.0/samples/subsys/mgmt/hawkbit/
DREADME.rst199 openssl req -new -key server.key -out server.csr
209 openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt