Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 25 of 135) sorted by relevance

123456

/Zephyr-Core-3.4.0/drivers/flash/
Dflash_stm32f1x.c46 static int is_flash_locked(FLASH_TypeDef *regs) in is_flash_locked()
51 static void write_enable(FLASH_TypeDef *regs) in write_enable()
56 static void write_disable(FLASH_TypeDef *regs) in write_disable()
61 static void erase_page_begin(FLASH_TypeDef *regs, unsigned int page) in erase_page_begin()
73 static void erase_page_end(FLASH_TypeDef *regs) in erase_page_end()
80 static int is_flash_locked(FLASH_TypeDef *regs) in is_flash_locked()
85 static void write_enable(FLASH_TypeDef *regs) in write_enable()
93 static void write_disable(FLASH_TypeDef *regs) in write_disable()
99 static void erase_page_begin(FLASH_TypeDef *regs, unsigned int page) in erase_page_begin()
114 static void erase_page_end(FLASH_TypeDef *regs) in erase_page_end()
[all …]
Dflash_stm32f4x.c30 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_valid_range() local
43 static inline void flush_cache(FLASH_TypeDef *regs) in flush_cache()
69 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_byte() local
123 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector() local
216 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_optb() local
267 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_wp_sectors() local
280 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_update_rdp() local
350 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp() local
/Zephyr-Core-3.4.0/tests/kernel/fpu_sharing/generic/src/
Dfloat_regs_arm64_gcc.h34 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
69 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
108 struct fp_register_set *regs) in _load_then_store_all_float_registers()
Dfloat_regs_arm_gcc.h40 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
60 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
83 static inline void _load_then_store_all_float_registers(struct fp_register_set in _load_then_store_all_float_registers()
Dfloat_regs_xtensa.h29 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
62 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
96 static inline void _load_then_store_all_float_registers(struct fp_register_set in _load_then_store_all_float_registers()
Dfloat_regs_sparc.h13 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
37 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
62 static inline void _load_then_store_all_float_registers(struct fp_register_set in _load_then_store_all_float_registers()
Dfloat_regs_x86_gcc.h39 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
83 _load_then_store_all_float_registers(struct fp_register_set *regs) in _load_then_store_all_float_registers()
131 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
Dfloat_regs_arc_gcc.h38 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
71 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
105 static inline void _load_then_store_all_float_registers(struct fp_register_set in _load_then_store_all_float_registers()
Dfloat_regs_riscv_gcc.h48 static inline void _load_all_float_registers(struct fp_register_set *regs) in _load_all_float_registers()
133 static inline void _store_all_float_registers(struct fp_register_set *regs) in _store_all_float_registers()
220 static inline void _load_then_store_all_float_registers(struct fp_register_set in _load_then_store_all_float_registers()
/Zephyr-Core-3.4.0/tests/arch/arc/arc_dsp_sharing/src/
Ddsp_regs_arc.h34 void _load_all_dsp_registers(struct dsp_register_set *regs) in _load_all_dsp_registers()
54 void _store_all_dsp_registers(struct dsp_register_set *regs) in _store_all_dsp_registers()
76 void _load_then_store_all_dsp_registers(struct dsp_register_set *regs) in _load_then_store_all_dsp_registers()
/Zephyr-Core-3.4.0/drivers/interrupt_controller/
Dintc_dw.c40 volatile struct dw_ictl_registers * const regs = in dw_ictl_initialize() local
53 volatile struct dw_ictl_registers * const regs = in dw_ictl_isr() local
69 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_enable() local
83 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_disable() local
96 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_get_state() local
115 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_get_line_state() local
Dintc_rv32m1_intmux.c42 INTMUX_Type *regs; member
56 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_irq_enable() local
65 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_irq_disable() local
74 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_get_state() local
89 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_get_line_state() local
111 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_isr() local
154 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_init() local
Dintc_cavs.c58 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_isr() local
69 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_enable() local
79 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_disable() local
88 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_get_state() local
102 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_get_line_state() local
/Zephyr-Core-3.4.0/drivers/serial/
Duart_apbuart.c127 struct apbuart_regs *regs; member
147 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_poll_out() local
170 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_poll_in() local
183 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_err_check() local
204 static int get_baud(volatile struct apbuart_regs *const regs) in get_baud()
216 static void set_baud(volatile struct apbuart_regs *const regs, uint32_t baud) in set_baud()
238 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_configure() local
285 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_config_get() local
319 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_fifo_fill() local
344 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_fifo_read() local
[all …]
Duart_sam0.c34 SercomUsart *regs; member
142 SercomUsart * const regs = cfg->regs; in uart_sam0_dma_tx_done() local
231 SercomUsart * const regs = cfg->regs; in uart_sam0_dma_rx_done() local
309 SercomUsart * const regs = cfg->regs; in uart_sam0_rx_timeout() local
669 SercomUsart * const regs = config->regs; in uart_sam0_err_check() local
722 SercomUsart * const regs = cfg->regs; in uart_sam0_isr() local
788 SercomUsart *regs = config->regs; in uart_sam0_fifo_fill() local
801 SercomUsart * const regs = config->regs; in uart_sam0_irq_tx_enable() local
810 SercomUsart * const regs = config->regs; in uart_sam0_irq_tx_disable() local
819 SercomUsart * const regs = config->regs; in uart_sam0_irq_tx_ready() local
[all …]
/Zephyr-Core-3.4.0/drivers/watchdog/
Dwdt_mchp_xec.c24 struct wdt_regs *regs; member
38 struct wdt_regs *regs = cfg->regs; in wdt_xec_setup() local
71 struct wdt_regs *regs = cfg->regs; in wdt_xec_disable() local
90 struct wdt_regs *regs = cfg->regs; in wdt_xec_install_timeout() local
133 struct wdt_regs *regs = cfg->regs; in wdt_xec_feed() local
153 struct wdt_regs *regs = cfg->regs; in wdt_xec_isr() local
Dwdt_opentitan.c24 uintptr_t regs; member
36 volatile uintptr_t regs = cfg->regs; in ot_aontimer_setup() local
51 volatile uintptr_t regs = cfg->regs; in ot_aontimer_disable() local
166 volatile uintptr_t regs = cfg->regs; in ot_aontimer_feed() local
179 volatile uintptr_t regs = cfg->regs; in wdt_ot_isr() local
/Zephyr-Core-3.4.0/drivers/spi/
Dspi_xec_qmspi.c21 QMSPI_Type *regs; member
39 static inline uint32_t descr_rd(QMSPI_Type *regs, uint32_t did) in descr_rd()
47 static inline void descr_wr(QMSPI_Type *regs, uint32_t did, uint32_t val) in descr_wr()
55 static inline void txb_wr8(QMSPI_Type *regs, uint8_t data8) in txb_wr8()
60 static inline uint8_t rxb_rd8(QMSPI_Type *regs) in rxb_rd8()
71 static void qmspi_set_frequency(QMSPI_Type *regs, uint32_t freq_hz) in qmspi_set_frequency()
122 static void qmspi_set_signalling_mode(QMSPI_Type *regs, uint32_t smode) in qmspi_set_signalling_mode()
180 QMSPI_Type *regs = cfg->regs; in qmspi_configure() local
248 static int qmspi_tx_dummy_clocks(QMSPI_Type *regs, uint32_t nclocks) in qmspi_tx_dummy_clocks()
326 static int qmspi_descr_alloc(QMSPI_Type *regs, const struct spi_buf *txb, in qmspi_descr_alloc()
[all …]
Dspi_sam0.c26 SercomSpi *regs; member
55 static void wait_synchronization(SercomSpi *regs) in wait_synchronization()
75 SercomSpi *regs = cfg->regs; in spi_sam0_configure() local
154 static void spi_sam0_shift_master(SercomSpi *regs, struct spi_sam0_data *data) in spi_sam0_shift_master()
183 static void spi_sam0_finish(SercomSpi *regs) in spi_sam0_finish()
194 static void spi_sam0_fast_tx(SercomSpi *regs, const struct spi_buf *tx_buf) in spi_sam0_fast_tx()
213 static void spi_sam0_fast_rx(SercomSpi *regs, const struct spi_buf *rx_buf) in spi_sam0_fast_rx()
237 static void spi_sam0_fast_txrx(SercomSpi *regs, in spi_sam0_fast_txrx()
272 SercomSpi *regs = cfg->regs; in spi_sam0_fast_transceive() local
358 SercomSpi *regs = cfg->regs; in spi_sam0_transceive() local
[all …]
/Zephyr-Core-3.4.0/drivers/espi/
Despi_saf_mchp_xec.c72 static inline void mchp_saf_cs_descr_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_cs_descr_wr()
78 static inline void mchp_saf_poll2_mask_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_poll2_mask_wr()
89 static inline void mchp_saf_cm_prefix_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_cm_prefix_wr()
145 static void saf_protection_regions_init(MCHP_SAF_HW_REGS *regs) in saf_protection_regions_init()
211 QMSPI_Type *regs = (QMSPI_Type *)xcfg->qmspi_base_addr; in saf_qmspi_init() local
275 static void saf_flash_timing_init(MCHP_SAF_HW_REGS *regs, in saf_flash_timing_init()
294 static void saf_dnx_bypass_init(MCHP_SAF_HW_REGS *regs) in saf_dnx_bypass_init()
346 static void saf_flash_misc_cfg(MCHP_SAF_HW_REGS *regs, uint8_t cs, in saf_flash_misc_cfg()
397 MCHP_SAF_HW_REGS *regs = (MCHP_SAF_HW_REGS *)xcfg->saf_base_addr; in saf_flash_cfg() local
428 static void saf_tagmap_init(MCHP_SAF_HW_REGS *regs, in saf_tagmap_init()
[all …]
Despi_saf_mchp_xec_v2.c96 static inline void mchp_saf_cs_descr_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_cs_descr_wr()
102 static inline void mchp_saf_poll2_mask_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_poll2_mask_wr()
113 static inline void mchp_saf_cm_prefix_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_cm_prefix_wr()
151 static void saf_protection_regions_init(struct mchp_espi_saf *regs) in saf_protection_regions_init()
229 struct mchp_espi_saf * const regs = xcfg->saf_base; in saf_qmspi_init() local
310 static void saf_flash_timing_init(struct mchp_espi_saf * const regs, in saf_flash_timing_init()
329 static void saf_dnx_bypass_init(struct mchp_espi_saf * const regs) in saf_dnx_bypass_init()
383 static void saf_flash_misc_cfg(struct mchp_espi_saf * const regs, uint8_t cs, in saf_flash_misc_cfg()
418 static void saf_flash_pd_cfg(struct mchp_espi_saf * const regs, uint8_t cs, in saf_flash_pd_cfg()
451 static int saf_flash_freq_cfg(struct mchp_espi_saf * const regs, uint8_t cs, in saf_flash_freq_cfg()
[all …]
/Zephyr-Core-3.4.0/drivers/eeprom/
Deeprom_mchp_xec.c63 struct eeprom_xec_regs * const regs; member
72 static void eeprom_xec_execute_reg_set(struct eeprom_xec_regs * const regs, in eeprom_xec_execute_reg_set()
84 static uint8_t eeprom_xec_data_buffer_read(struct eeprom_xec_regs * const regs, in eeprom_xec_data_buffer_read()
100 static uint8_t eeprom_xec_data_buffer_write(struct eeprom_xec_regs * const regs, in eeprom_xec_data_buffer_write()
116 static void eeprom_xec_wait_transfer_compl(struct eeprom_xec_regs * const regs) in eeprom_xec_wait_transfer_compl()
141 static void eeprom_xec_wait_write_compl(struct eeprom_xec_regs * const regs) in eeprom_xec_wait_write_compl()
167 static void eeprom_xec_data_read_32_bytes(struct eeprom_xec_regs * const regs, in eeprom_xec_data_read_32_bytes()
180 static void eeprom_xec_data_write_32_bytes(struct eeprom_xec_regs * const regs, in eeprom_xec_data_write_32_bytes()
226 struct eeprom_xec_regs * const regs = config->regs; in eeprom_xec_read() local
261 struct eeprom_xec_regs * const regs = config->regs; in eeprom_xec_write() local
[all …]
/Zephyr-Core-3.4.0/drivers/usb/device/
Dusb_dc_sam0.c80 UsbDevice *regs = &REGS->DEVICE; in usb_sam0_ep_isr() local
115 UsbDevice *regs = &REGS->DEVICE; in usb_sam0_isr() local
149 UsbDevice *regs = &REGS->DEVICE; in usb_sam0_wait_syncbusy() local
158 UsbDevice *regs = &REGS->DEVICE; in usb_sam0_load_padcal() local
220 UsbDevice *regs = &REGS->DEVICE; in usb_dc_attach() local
321 UsbDevice *regs = &REGS->DEVICE; in usb_dc_detach() local
334 UsbDevice *regs = &REGS->DEVICE; in usb_dc_reset() local
383 UsbDevice *regs = &REGS->DEVICE; in usb_dc_ep_configure() local
456 UsbDevice *regs = &REGS->DEVICE; in usb_dc_ep_set_stall() local
477 UsbDevice *regs = &REGS->DEVICE; in usb_dc_ep_clear_stall() local
[all …]
/Zephyr-Core-3.4.0/drivers/peci/
Dpeci_mchp_xec.c47 struct peci_regs * const regs; member
132 static int check_bus_idle(struct peci_regs * const regs) in check_bus_idle()
156 struct peci_regs * const regs = cfg->regs; in peci_xec_configure() local
179 struct peci_regs * const regs = cfg->regs; in peci_xec_disable() local
201 struct peci_regs * const regs = cfg->regs; in peci_xec_enable() local
217 struct peci_regs * const regs = cfg->regs; in peci_xec_bus_recovery() local
242 struct peci_regs * const regs = cfg->regs; in peci_xec_write() local
315 struct peci_regs * const regs = cfg->regs; in peci_xec_read() local
377 struct peci_regs * const regs = cfg->regs; in peci_xec_transfer() local
448 struct peci_regs * const regs = devcfg->regs; in peci_xec_pm_action() local
[all …]
/Zephyr-Core-3.4.0/soc/arm/microchip_mec/mec172x/
Ddevice_power.c75 struct ecia_named_regs *regs = ECIA_XEC_REG_BASE; in soc_deep_sleep_non_wake_en() local
85 struct ecia_named_regs *regs = ECIA_XEC_REG_BASE; in soc_deep_sleep_non_wake_dis() local
96 struct ecia_named_regs *regs = ECIA_XEC_REG_BASE; in soc_deep_sleep_wake_en() local
113 struct ecia_named_regs *regs = ECIA_XEC_REG_BASE; in soc_deep_sleep_wake_dis() local
156 struct ecs_regs *regs = ECS_XEC_REG_BASE; in deep_sleep_save_ecs() local
169 struct uart_regs *regs = UART_0_XEC_REG_BASE; in deep_sleep_save_uarts() local
208 struct ecs_regs *regs = ECS_XEC_REG_BASE; in deep_sleep_restore_ecs() local

123456