Home
last modified time | relevance | path

Searched refs:baudrate (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-a-3.4.0/plat/imx/imx8qx/
Dimx8qx_bl31_setup.c103 static void lpuart32_serial_setbrg(unsigned int base, int baudrate) in lpuart32_serial_setbrg() argument
108 if (baudrate == 0) in lpuart32_serial_setbrg()
113 baud_diff = baudrate; in lpuart32_serial_setbrg()
117 tmp_sbr = (rate / (baudrate * tmp_osr)); in lpuart32_serial_setbrg()
122 diff1 = rate / (tmp_osr * tmp_sbr) - baudrate; in lpuart32_serial_setbrg()
126 if (diff1 > (baudrate - diff2)) { in lpuart32_serial_setbrg()
127 diff1 = baudrate - diff2; in lpuart32_serial_setbrg()
/trusted-firmware-a-3.4.0/plat/imx/imx8qm/
Dimx8qm_bl31_setup.c92 static void lpuart32_serial_setbrg(unsigned int base, int baudrate) in lpuart32_serial_setbrg() argument
97 if (baudrate == 0) in lpuart32_serial_setbrg()
102 baud_diff = baudrate; in lpuart32_serial_setbrg()
106 tmp_sbr = (rate / (baudrate * tmp_osr)); in lpuart32_serial_setbrg()
111 diff1 = rate / (tmp_osr * tmp_sbr) - baudrate; in lpuart32_serial_setbrg()
115 if (diff1 > (baudrate - diff2)) { in lpuart32_serial_setbrg()
116 diff1 = baudrate - diff2; in lpuart32_serial_setbrg()
/trusted-firmware-a-3.4.0/plat/allwinner/common/include/
Dmentor_i2c_plat.h24 uint32_t baudrate; member
/trusted-firmware-a-3.4.0/plat/marvell/armada/a8k/common/include/
Dmentor_i2c_plat.h24 uint32_t baudrate; /* when writing */ member
/trusted-firmware-a-3.4.0/tools/marvell/doimage/
Ddoimage.c88 uint8_t baudrate; /* 33 */ member
159 uint32_t baudrate; member
226 .baudrate = 0,
1151 print_field(main_hdr, header_t, baudrate, FMT_HEX, base); in print_header()
1459 header->baudrate = 0; in update_uart()
1464 if (opts.baudrate) in update_uart()
1465 header->baudrate = (opts.baudrate / 1200); in update_uart()
1616 opts.baudrate = strtoul(optarg, NULL, 0); in main()
1654 if (opts.baudrate % 1200) in main()
/trusted-firmware-a-3.4.0/drivers/mentor/i2c/
Dmi2cv.c267 mmio_write_32((uintptr_t)&base->baudrate, (actual_m << 3) | actual_n); in mentor_i2c_bus_speed_set()