Home
last modified time | relevance | path

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

12345678

/drivers/flash/
A Dflash_stm32f1x.c48 static int is_flash_locked(FLASH_TypeDef *regs) in is_flash_locked()
53 static void write_enable(FLASH_TypeDef *regs) in write_enable()
58 static void write_disable(FLASH_TypeDef *regs) in write_disable()
63 static void erase_page_begin(FLASH_TypeDef *regs, unsigned int page) in erase_page_begin()
75 static void erase_page_end(FLASH_TypeDef *regs) in erase_page_end()
82 static int is_flash_locked(FLASH_TypeDef *regs) in is_flash_locked()
87 static void write_enable(FLASH_TypeDef *regs) in write_enable()
95 static void write_disable(FLASH_TypeDef *regs) in write_disable()
116 static void erase_page_end(FLASH_TypeDef *regs) in erase_page_end()
129 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_value() local
[all …]
A Dflash_stm32f4x.c46 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_valid_range() local
59 static inline void flush_cache(FLASH_TypeDef *regs) in flush_cache()
85 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_value() local
139 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector() local
237 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write() local
269 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read() local
296 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_wp_sectors() local
308 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level() local
A Dflash_stm32f7x.c27 static inline void flush_cache(FLASH_TypeDef *regs) in flush_cache()
43 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_byte() local
75 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector() local
165 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write() local
192 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read() local
200 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level() local
A Dflash_stm32l4x.c36 static inline void flush_cache(FLASH_TypeDef *regs) in flush_cache()
73 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword() local
145 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page() local
252 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write() local
287 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read() local
311 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level() local
A Dflash_stm32g4x.c52 static inline void flush_cache(FLASH_TypeDef *regs) in flush_cache()
79 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword() local
150 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page() local
261 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write() local
296 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read() local
320 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level() local
/drivers/i3c/
A Di3c_max32.c35 mxc_i3c_regs_t *regs; member
612 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_fifo_rx_drain() local
647 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_recover_bus() local
873 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_transfer() local
971 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_do_daa() local
1123 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_do_ccc() local
1243 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_ibi_work() local
1406 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_ibi_enable() local
1512 mxc_i3c_regs_t *regs = config->regs; in max32_i3c_ibi_disable() local
1618 mxc_i3c_regs_t *regs = cfg->regs; in max32_i3c_configure() local
[all …]
/drivers/serial/
A Duart_mchp_sercom_g1.c70 sercom_registers_t *regs; member
103 static void uart_wait_sync(sercom_registers_t *regs, bool clock_external) in uart_wait_sync()
209 static void uart_config_parity(sercom_registers_t *regs, bool clock_external, in uart_config_parity()
317 sercom_registers_t *regs = cfg->regs; in uart_config_pinout() local
366 static void uart_set_clock_source(sercom_registers_t *regs, bool clock_external) in uart_set_clock_source()
514 static void uart_enable(sercom_registers_t *regs, bool clock_external, bool enable) in uart_enable()
545 static inline bool uart_is_rx_complete(sercom_registers_t *regs, bool clock_external) in uart_is_rx_complete()
589 static inline bool uart_is_tx_ready(sercom_registers_t *regs, bool clock_external) in uart_is_tx_ready()
630 sercom_registers_t *regs = cfg->regs; in uart_mchp_init() local
706 sercom_registers_t *regs = cfg->regs; in uart_mchp_poll_in() local
[all …]
A Duart_wch_usart.c18 USART_TypeDef *regs; member
37 USART_TypeDef *regs = config->regs; in usart_wch_init() local
85 USART_TypeDef *regs = config->regs; in usart_wch_poll_in() local
98 USART_TypeDef *regs = config->regs; in usart_wch_poll_out() local
109 USART_TypeDef *regs = config->regs; in usart_wch_err_check() local
146 USART_TypeDef *regs = config->regs; in usart_wch_fifo_fill() local
159 USART_TypeDef *regs = config->regs; in usart_wch_fifo_read() local
172 USART_TypeDef *regs = config->regs; in usart_wch_irq_tx_enable() local
180 USART_TypeDef *regs = config->regs; in usart_wch_irq_tx_disable() local
188 USART_TypeDef *regs = config->regs; in usart_wch_irq_tx_ready() local
[all …]
A 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()
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
358 volatile struct apbuart_regs *regs = (void *) config->regs; in apbuart_irq_tx_enable() local
[all …]
/drivers/pcie/host/
A Dvc.c14 uint32_t pcie_vc_cap_lookup(pcie_bdf_t bdf, struct pcie_vc_regs *regs) in pcie_vc_cap_lookup()
38 struct pcie_vc_resource_regs *regs, in pcie_vc_load_resources_regs()
58 struct pcie_vc_regs *regs, in get_vc_registers()
82 struct pcie_vc_regs regs; in pcie_vc_enable() local
107 struct pcie_vc_regs regs; in pcie_vc_disable() local
130 struct pcie_vc_regs regs; in pcie_vc_map_tc() local
/drivers/interrupt_controller/
A Dintc_dw.c42 volatile struct dw_ictl_registers * const regs = in dw_ictl_initialize() local
57 volatile struct dw_ictl_registers * const regs = in dw_ictl_isr() local
73 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_enable() local
87 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_disable() local
100 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_get_state() local
119 volatile struct dw_ictl_registers * const regs = in dw_ictl_intr_get_line_state() local
A Dintc_rv32m1_intmux.c43 INTMUX_Type *regs; member
57 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_irq_enable() local
66 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_irq_disable() local
75 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_get_state() local
90 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_get_line_state() local
112 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_isr() local
155 INTMUX_Type *regs = DEV_REGS(dev); in rv32m1_intmux_init() local
A Dintc_cavs.c60 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_isr() local
71 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_enable() local
81 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_disable() local
90 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_get_state() local
104 volatile struct cavs_registers * const regs = get_base_address(context); in cavs_ictl_irq_get_line_state() local
/drivers/i2c/
A Di2c_wch.c30 I2C_TypeDef *regs; member
54 I2C_TypeDef *regs = config->regs; in wch_i2c_handle_start_bit() local
70 I2C_TypeDef *regs = config->regs; in wch_i2c_handle_addr() local
89 I2C_TypeDef *regs = config->regs; in wch_i2c_handle_txe() local
113 I2C_TypeDef *regs = config->regs; in wch_i2c_handle_rxne() local
144 I2C_TypeDef *regs = config->regs; in i2c_wch_event_isr() local
165 I2C_TypeDef *regs = config->regs; in i2c_wch_error_isr() local
186 I2C_TypeDef *regs = config->regs; in wch_i2c_msg_init() local
245 I2C_TypeDef *regs = config->regs; in wch_i2c_begin_transfer() local
261 I2C_TypeDef *regs = config->regs; in wch_i2c_finish_transfer() local
[all …]
/drivers/spi/
A Dspi_xec_qmspi.c22 QMSPI_Type *regs; member
40 static inline uint32_t descr_rd(QMSPI_Type *regs, uint32_t did) in descr_rd()
56 static inline void txb_wr8(QMSPI_Type *regs, uint8_t data8) in txb_wr8()
61 static inline uint8_t rxb_rd8(QMSPI_Type *regs) in rxb_rd8()
72 static void qmspi_set_frequency(QMSPI_Type *regs, uint32_t freq_hz) in qmspi_set_frequency()
181 QMSPI_Type *regs = cfg->regs; in qmspi_configure() local
249 static int qmspi_tx_dummy_clocks(QMSPI_Type *regs, uint32_t nclocks) in qmspi_tx_dummy_clocks()
382 static int qmspi_tx(QMSPI_Type *regs, const struct spi_buf *tx_buf, in qmspi_tx()
522 QMSPI_Type *regs = cfg->regs; in qmspi_transceive() local
606 QMSPI_Type *regs = cfg->regs; in qmspi_release() local
[all …]
/drivers/watchdog/
A 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
A 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
/drivers/sdhc/
A Dintel_emmc_host.c60 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in enable_interrupts() local
71 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in disable_interrupts() local
85 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in clear_interrupts() local
93 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in emmc_set_voltage() local
159 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in emmc_set_power() local
176 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in emmc_disable_clock() local
199 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in emmc_enable_clock() local
218 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in emmc_clock_set() local
274 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in set_timing() local
359 volatile struct emmc_reg *regs = (struct emmc_reg *)DEVICE_MMIO_GET(dev); in poll_cmd_complete() local
[all …]
/drivers/espi/
A Despi_saf_mchp_xec.c145 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()
467 MCHP_SAF_HW_REGS *regs = (MCHP_SAF_HW_REGS *)xcfg->saf_base_addr; in espi_saf_xec_configuration() local
600 MCHP_SAF_HW_REGS *regs = (MCHP_SAF_HW_REGS *)cfg->saf_base_addr; in espi_saf_xec_channel_ready() local
674 MCHP_SAF_HW_REGS *regs = (MCHP_SAF_HW_REGS *)cfg->saf_base_addr; in saf_ecp_access() local
[all …]
A Despi_saf_mchp_xec_v2.c151 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
517 struct mchp_espi_saf * const regs = xcfg->saf_base; in saf_flash_cfg() local
551 static void saf_tagmap_init(struct mchp_espi_saf * const regs, in saf_tagmap_init()
625 struct mchp_espi_saf * const regs = xcfg->saf_base; in espi_saf_xec_configuration() local
729 struct mchp_espi_saf * const regs = xcfg->saf_base; in espi_saf_xec_set_pr() local
772 struct mchp_espi_saf * const regs = xcfg->saf_base; in espi_saf_xec_channel_ready() local
850 struct mchp_espi_saf * const regs = xcfg->saf_base; in saf_ecp_access() local
1005 struct mchp_espi_saf * const regs = xcfg->saf_base; in espi_saf_xec_activate() local
1027 struct mchp_espi_saf * const regs = xcfg->saf_base; in espi_saf_done_isr() local
[all …]
/drivers/gpio/
A Dgpio_grgpio2.c27 volatile struct grgpio_regs *regs; member
47 volatile struct grgpio_regs *regs = cfg->regs; in pin_configure() local
102 volatile struct grgpio_regs *regs = cfg->regs; in port_set_masked_raw() local
118 volatile struct grgpio_regs *regs = cfg->regs; in port_set_bits_raw() local
127 volatile struct grgpio_regs *regs = cfg->regs; in port_clear_bits_raw() local
136 volatile struct grgpio_regs *regs = cfg->regs; in port_toggle_bits() local
145 volatile struct grgpio_regs *regs = cfg->regs; in get_pending_int() local
157 volatile struct grgpio_regs *regs = cfg->regs; in pin_interrupt_configure() local
240 volatile struct grgpio_regs *regs = cfg->regs; in grgpio_isr() local
256 volatile struct grgpio_regs *regs = cfg->regs; in grgpio_init() local
/drivers/eeprom/
A Deeprom_mchp_xec.c66 struct eeprom_xec_regs * const regs; member
75 static void eeprom_xec_execute_reg_set(struct eeprom_xec_regs * const regs, in eeprom_xec_execute_reg_set()
87 static uint8_t eeprom_xec_data_buffer_read(struct eeprom_xec_regs * const regs, in eeprom_xec_data_buffer_read()
103 static uint8_t eeprom_xec_data_buffer_write(struct eeprom_xec_regs * const regs, in eeprom_xec_data_buffer_write()
119 static void eeprom_xec_wait_transfer_compl(struct eeprom_xec_regs * const regs) in eeprom_xec_wait_transfer_compl()
144 static void eeprom_xec_wait_write_compl(struct eeprom_xec_regs * const regs) in eeprom_xec_wait_write_compl()
170 static void eeprom_xec_data_read_32_bytes(struct eeprom_xec_regs * const regs, in eeprom_xec_data_read_32_bytes()
229 struct eeprom_xec_regs * const regs = config->regs; in eeprom_xec_read() local
265 struct eeprom_xec_regs * const regs = config->regs; in eeprom_xec_write() local
308 struct eeprom_xec_regs * const regs = devcfg->regs; in eeprom_xec_pm_action() local
[all …]
/drivers/usb/device/
A 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 …]
/drivers/peci/
A Dpeci_mchp_xec.c47 struct peci_regs * const regs; member
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
490 struct peci_regs * const regs = cfg->regs; in peci_xec_isr() local
[all …]
/drivers/input/
A Dinput_xec_kbd.c31 struct kscan_regs *regs; member
84 struct kscan_regs *regs = cfg->regs; in xec_kbd_drive_column() local
101 struct kscan_regs *regs = cfg->regs; in xec_kbd_read_row() local
119 struct kscan_regs *regs = cfg->regs; in xec_kbd_set_detect_mode() local
143 struct kscan_regs *regs = cfg->regs; in xec_kbd_pm_action() local
190 struct kscan_regs *regs = cfg->regs; in xec_kbd_init() local

Completed in 68 milliseconds

12345678