Lines Matching defs:config
98 divisor = get_divisor (port->config.speed);
105 parities[port->config.parity]
106 | stop_bits[port->config.stop_bits]
107 | port->config.word_len, 0, 0, 0);
134 struct grub_serial_config *config)
138 divisor = get_divisor (config->speed);
142 if (config->parity != GRUB_SERIAL_PARITY_NONE
143 && config->parity != GRUB_SERIAL_PARITY_ODD
144 && config->parity != GRUB_SERIAL_PARITY_EVEN)
147 if (config->stop_bits != GRUB_SERIAL_STOP_BITS_1
148 && config->stop_bits != GRUB_SERIAL_STOP_BITS_2)
151 if (config->word_len < 5 || config->word_len > 8)
154 port->config = *config;