Lines Matching refs:param
451 struct modbus_iface_param *param) in configure_uart() argument
455 .baudrate = param->serial.baud, in configure_uart()
465 switch (param->serial.parity) { in configure_uart()
468 uart_cfg.parity = param->serial.parity; in configure_uart()
473 uart_cfg.parity = param->serial.parity; in configure_uart()
482 switch (param->serial.stop_bits_client) { in configure_uart()
487 uart_cfg.stop_bits = param->serial.stop_bits_client; in configure_uart()
558 struct modbus_iface_param param) in modbus_serial_init() argument
564 switch (param.mode) { in modbus_serial_init()
567 ctx->mode = param.mode; in modbus_serial_init()
579 if (configure_uart(ctx, ¶m) != 0) { in modbus_serial_init()
584 if (param.serial.baud <= 38400) { in modbus_serial_init()
586 param.serial.baud; in modbus_serial_init()