Home
last modified time | relevance | path

Searched refs:retvalue (Results 1 – 5 of 5) sorted by relevance

/qemu/hw/char/
H A Dstm32f2xx_usart.c96 uint64_t retvalue = 0; in stm32f2xx_usart_read() local
100 retvalue = s->usart_sr; in stm32f2xx_usart_read()
104 retvalue = s->usart_dr & 0x3FF; in stm32f2xx_usart_read()
110 retvalue = s->usart_brr; in stm32f2xx_usart_read()
113 retvalue = s->usart_cr1; in stm32f2xx_usart_read()
116 retvalue = s->usart_cr2; in stm32f2xx_usart_read()
119 retvalue = s->usart_cr3; in stm32f2xx_usart_read()
122 retvalue = s->usart_gtpr; in stm32f2xx_usart_read()
130 trace_stm32f2xx_usart_read(d->id, size, addr, retvalue); in stm32f2xx_usart_read()
132 return retvalue; in stm32f2xx_usart_read()
H A Dibex_uart.c269 uint64_t retvalue = 0; in ibex_uart_read() local
273 retvalue = s->uart_intr_state; in ibex_uart_read()
276 retvalue = s->uart_intr_enable; in ibex_uart_read()
284 retvalue = s->uart_ctrl; in ibex_uart_read()
287 retvalue = s->uart_status; in ibex_uart_read()
291 retvalue = s->uart_rdata; in ibex_uart_read()
309 retvalue = s->uart_fifo_ctrl; in ibex_uart_read()
312 retvalue = s->uart_fifo_status; in ibex_uart_read()
314 retvalue |= (s->rx_level & 0x1F) << R_FIFO_STATUS_RXLVL_SHIFT; in ibex_uart_read()
315 retvalue |= (s->tx_level & 0x1F) << R_FIFO_STATUS_TXLVL_SHIFT; in ibex_uart_read()
[all …]
H A Dstm32l4x5_usart.c410 uint64_t retvalue = 0; in stm32l4x5_usart_base_read() local
414 retvalue = s->cr1; in stm32l4x5_usart_base_read()
417 retvalue = s->cr2; in stm32l4x5_usart_base_read()
420 retvalue = s->cr3; in stm32l4x5_usart_base_read()
423 retvalue = FIELD_EX32(s->brr, BRR, BRR); in stm32l4x5_usart_base_read()
426 retvalue = s->gtpr; in stm32l4x5_usart_base_read()
429 retvalue = s->rtor; in stm32l4x5_usart_base_read()
433 retvalue = 0x00000000; in stm32l4x5_usart_base_read()
436 retvalue = s->isr; in stm32l4x5_usart_base_read()
440 retvalue = 0x00000000; in stm32l4x5_usart_base_read()
[all …]
/qemu/hw/timer/
H A Dibex_timer.c140 uint64_t retvalue = 0; in ibex_timer_read() local
148 retvalue = s->timer_ctrl; in ibex_timer_read()
151 retvalue = s->timer_cfg0; in ibex_timer_read()
154 retvalue = now; in ibex_timer_read()
157 retvalue = now >> 32; in ibex_timer_read()
160 retvalue = s->timer_compare_lower0; in ibex_timer_read()
163 retvalue = s->timer_compare_upper0; in ibex_timer_read()
166 retvalue = s->timer_intr_enable; in ibex_timer_read()
169 retvalue = s->timer_intr_state; in ibex_timer_read()
181 return retvalue; in ibex_timer_read()
/qemu/hw/misc/
H A Dstm32l4x5_rcc.c969 uint64_t retvalue = 0; in stm32l4x5_rcc_read() local
973 retvalue = s->cr; in stm32l4x5_rcc_read()
976 retvalue = s->icscr; in stm32l4x5_rcc_read()
979 retvalue = s->cfgr; in stm32l4x5_rcc_read()
982 retvalue = s->pllcfgr; in stm32l4x5_rcc_read()
985 retvalue = s->pllsai1cfgr; in stm32l4x5_rcc_read()
988 retvalue = s->pllsai2cfgr; in stm32l4x5_rcc_read()
991 retvalue = s->cier; in stm32l4x5_rcc_read()
994 retvalue = s->cifr; in stm32l4x5_rcc_read()
1000 retvalue = s->ahb1rstr; in stm32l4x5_rcc_read()
[all …]