Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dsandbox.c166 static int sandbox_serial_getconfig(struct udevice *dev, uint *serial_config) in sandbox_serial_getconfig() argument
170 if (!serial_config) in sandbox_serial_getconfig()
173 *serial_config = config; in sandbox_serial_getconfig()
178 static int sandbox_serial_setconfig(struct udevice *dev, uint serial_config) in sandbox_serial_setconfig() argument
180 u8 parity = SERIAL_GET_PARITY(serial_config); in sandbox_serial_setconfig()
181 u8 bits = SERIAL_GET_BITS(serial_config); in sandbox_serial_setconfig()
182 u8 stop = SERIAL_GET_STOP(serial_config); in sandbox_serial_setconfig()
Dserial_stm32.c51 static int stm32_serial_setconfig(struct udevice *dev, uint serial_config) in stm32_serial_setconfig() argument
58 uint parity = SERIAL_GET_PARITY(serial_config); in stm32_serial_setconfig()
59 uint bits = SERIAL_GET_BITS(serial_config); in stm32_serial_setconfig()
60 uint stop = SERIAL_GET_STOP(serial_config); in stm32_serial_setconfig()
Dns16550.c358 static int ns16550_serial_setconfig(struct udevice *dev, uint serial_config) in ns16550_serial_setconfig() argument
362 uint parity = SERIAL_GET_PARITY(serial_config); in ns16550_serial_setconfig()
363 uint bits = SERIAL_GET_BITS(serial_config); in ns16550_serial_setconfig()
364 uint stop = SERIAL_GET_STOP(serial_config); in ns16550_serial_setconfig()
/external/u-boot/arch/x86/lib/
Dacpi_table.c370 uint serial_config; in acpi_create_spcr() local
462 serial_config = SERIAL_DEFAULT_CONFIG; in acpi_create_spcr()
464 ret = serial_getconfig(dev, &serial_config); in acpi_create_spcr()
466 spcr->parity = SERIAL_GET_PARITY(serial_config); in acpi_create_spcr()
467 spcr->stop_bits = SERIAL_GET_STOP(serial_config); in acpi_create_spcr()
/external/u-boot/include/
Dserial.h243 int (*getconfig)(struct udevice *dev, uint *serial_config);
254 int (*setconfig)(struct udevice *dev, uint serial_config);