drivers: serial: correct spelling
Employ a code spell checking tool to scan and correct spelling errors in all files within the drivers/serial directory. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
parent
6a50bbdb3a
commit
b4567fa551
|
@ -20,7 +20,7 @@ config UART_EMUL_WORK_Q_STACK_SIZE
|
||||||
default 2048
|
default 2048
|
||||||
|
|
||||||
config UART_EMUL_WORK_Q_PRIORITY
|
config UART_EMUL_WORK_Q_PRIORITY
|
||||||
int "UART emulator work queue tread priority"
|
int "UART emulator work queue thread priority"
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
endif # UART_EMUL
|
endif # UART_EMUL
|
||||||
|
|
|
@ -122,7 +122,7 @@ struct uart_cdns_regs {
|
||||||
volatile uint32_t flow_ctrl_delay; /* Flow Control Delay Register */
|
volatile uint32_t flow_ctrl_delay; /* Flow Control Delay Register */
|
||||||
volatile uint32_t rpwr; /* IR Minimum Received Pulse Register */
|
volatile uint32_t rpwr; /* IR Minimum Received Pulse Register */
|
||||||
volatile uint32_t tpwr; /* IR TRansmitted Pulse Width Register */
|
volatile uint32_t tpwr; /* IR TRansmitted Pulse Width Register */
|
||||||
volatile uint32_t tx_fifo_trigger_level; /* Transmiter FIFO trigger level */
|
volatile uint32_t tx_fifo_trigger_level; /* Transmitter FIFO trigger level */
|
||||||
volatile uint32_t rbrs; /* RX FIFO Byte Status Register */
|
volatile uint32_t rbrs; /* RX FIFO Byte Status Register */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -603,7 +603,7 @@ static int uart_esp32_async_tx_abort(const struct device *dev)
|
||||||
|
|
||||||
err = dma_stop(config->dma_dev, config->tx_dma_channel);
|
err = dma_stop(config->dma_dev, config->tx_dma_channel);
|
||||||
if (err) {
|
if (err) {
|
||||||
LOG_ERR("Error stoping Tx DMA (%d)", err);
|
LOG_ERR("Error stopping Tx DMA (%d)", err);
|
||||||
goto unlock;
|
goto unlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -838,7 +838,7 @@ static int uart_esp32_async_rx_disable(const struct device *dev)
|
||||||
|
|
||||||
err = dma_stop(config->dma_dev, config->rx_dma_channel);
|
err = dma_stop(config->dma_dev, config->rx_dma_channel);
|
||||||
if (err) {
|
if (err) {
|
||||||
LOG_ERR("Error stoping Rx DMA (%d)", err);
|
LOG_ERR("Error stopping Rx DMA (%d)", err);
|
||||||
goto unlock;
|
goto unlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -254,7 +254,7 @@ static void hl_static_send(size_t payload_used)
|
||||||
* It is responsibility of debugger to set this back to HL_NOADDRESS
|
* It is responsibility of debugger to set this back to HL_NOADDRESS
|
||||||
* after receiving the packet.
|
* after receiving the packet.
|
||||||
* Please note that we don't wait here because some implementations
|
* Please note that we don't wait here because some implementations
|
||||||
* use hl_blockedPeek() function as a signal that we send a messege.
|
* use hl_blockedPeek() function as a signal that we send a message.
|
||||||
*/
|
*/
|
||||||
hl_write32(&__HOSTLINK__.hdr.target2host_addr, buf_addr);
|
hl_write32(&__HOSTLINK__.hdr.target2host_addr, buf_addr);
|
||||||
|
|
||||||
|
|
|
@ -376,7 +376,7 @@ static int rzt2m_uart_init(const struct device *dev)
|
||||||
config->irq_config_func(dev);
|
config->irq_config_func(dev);
|
||||||
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
|
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
|
||||||
|
|
||||||
/* Start trasmitter and receiver. */
|
/* Start transmitter and receiver. */
|
||||||
*CCR0(config->base) |= (CCR0_MASK_TE | CCR0_MASK_RE);
|
*CCR0(config->base) |= (CCR0_MASK_TE | CCR0_MASK_RE);
|
||||||
while (!(*CCR0(config->base) & CCR0_MASK_RE)) {
|
while (!(*CCR0(config->base) & CCR0_MASK_RE)) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ struct uart_sedi_config_info {
|
||||||
/* Specifies the baudrate for the uart instance. */
|
/* Specifies the baudrate for the uart instance. */
|
||||||
uint32_t baud_rate;
|
uint32_t baud_rate;
|
||||||
|
|
||||||
/* Specifies the port line contorl settings */
|
/* Specifies the port line control settings */
|
||||||
sedi_uart_lc_t line_ctrl;
|
sedi_uart_lc_t line_ctrl;
|
||||||
|
|
||||||
struct k_mutex *mutex;
|
struct k_mutex *mutex;
|
||||||
|
|
|
@ -567,7 +567,7 @@ static int uart_stm32_configure(const struct device *dev,
|
||||||
|
|
||||||
LL_USART_Disable(config->usart);
|
LL_USART_Disable(config->usart);
|
||||||
|
|
||||||
/* Set basic parmeters, such as data-/stop-bit, parity, and baudrate */
|
/* Set basic parameters, such as data-/stop-bit, parity, and baudrate */
|
||||||
uart_stm32_parameters_set(dev, cfg);
|
uart_stm32_parameters_set(dev, cfg);
|
||||||
|
|
||||||
LL_USART_Enable(config->usart);
|
LL_USART_Enable(config->usart);
|
||||||
|
@ -1913,7 +1913,7 @@ static int uart_stm32_registers_configure(const struct device *dev)
|
||||||
LL_USART_SetTransferDirection(config->usart,
|
LL_USART_SetTransferDirection(config->usart,
|
||||||
LL_USART_DIRECTION_TX_RX);
|
LL_USART_DIRECTION_TX_RX);
|
||||||
|
|
||||||
/* Set basic parmeters, such as data-/stop-bit, parity, and baudrate */
|
/* Set basic parameters, such as data-/stop-bit, parity, and baudrate */
|
||||||
uart_stm32_parameters_set(dev, uart_cfg);
|
uart_stm32_parameters_set(dev, uart_cfg);
|
||||||
|
|
||||||
/* Enable the single wire / half-duplex mode */
|
/* Enable the single wire / half-duplex mode */
|
||||||
|
|
Loading…
Reference in a new issue