Searched refs:serial_config (Results 1 – 5 of 5) sorted by relevance
166 static int sandbox_serial_getconfig(struct udevice *dev, uint *serial_config) in sandbox_serial_getconfig() argument170 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() argument180 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()
51 static int stm32_serial_setconfig(struct udevice *dev, uint serial_config) in stm32_serial_setconfig() argument58 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()
358 static int ns16550_serial_setconfig(struct udevice *dev, uint serial_config) in ns16550_serial_setconfig() argument362 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()
370 uint serial_config; in acpi_create_spcr() local462 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()
243 int (*getconfig)(struct udevice *dev, uint *serial_config);254 int (*setconfig)(struct udevice *dev, uint serial_config);