Lines Matching refs:value
292 uint32_t value, usart_div; in stm32l4x5_update_params() local
339 value = FIELD_EX32(s->brr, BRR, BRR); in stm32l4x5_update_params()
340 if (value < 16) { in stm32l4x5_update_params()
342 "UNDEFINED: BRR less than 16: %u", value); in stm32l4x5_update_params()
351 usart_div = value; in stm32l4x5_update_params()
360 usart_div = ((value & 0xFFF0) | ((value & 0x0007) << 1)) / 2; in stm32l4x5_update_params()
393 static void usart_update_rqr(Stm32l4x5UsartBaseState *s, uint32_t value) in usart_update_rqr() argument
397 if (value & R_RQR_RXFRQ_MASK) { in usart_update_rqr()
466 const uint32_t value = val64; in stm32l4x5_usart_base_write() local
468 trace_stm32l4x5_usart_write(addr, value); in stm32l4x5_usart_base_write()
472 s->cr1 = value; in stm32l4x5_usart_base_write()
478 s->cr2 = value; in stm32l4x5_usart_base_write()
482 s->cr3 = value; in stm32l4x5_usart_base_write()
485 s->brr = value; in stm32l4x5_usart_base_write()
489 s->gtpr = value; in stm32l4x5_usart_base_write()
492 s->rtor = value; in stm32l4x5_usart_base_write()
495 usart_update_rqr(s, value); in stm32l4x5_usart_base_write()
503 s->isr &= ~value; in stm32l4x5_usart_base_write()
511 s->tdr = value; in stm32l4x5_usart_base_write()