From 366053e464d736b211d6d7cbdd5fb891009b5d7e Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Wed, 11 Sep 2019 08:56:56 -0600 Subject: [PATCH] Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. --- ChangeLog | 14 +++++++------- ReleaseNotes | 12 ++++++------ arch/arm/src/armv7-a/sctlr.h | 2 +- arch/arm/src/cxd56xx/cxd56_i2c.c | 2 +- arch/arm/src/cxd56xx/cxd56_spi.c | 2 +- arch/arm/src/cxd56xx/cxd56_usbdev.c | 2 +- arch/arm/src/cxd56xx/cxd56_usbdev.h | 2 +- arch/arm/src/cxd56xx/hardware/cxd56_uart.h | 2 +- arch/arm/src/efm32/efm32_spi.c | 2 +- arch/arm/src/imx1/imx_spi.c | 4 ++-- arch/arm/src/imx6/imx_ecspi.c | 4 ++-- arch/arm/src/imxrt/imxrt_lpspi.c | 2 +- arch/arm/src/imxrt/imxrt_usdhc.c | 2 +- arch/arm/src/kinetis/kinetis_spi.c | 2 +- arch/arm/src/kl/kl_spi.c | 2 +- arch/arm/src/lc823450/lc823450_serial.c | 2 +- arch/arm/src/lc823450/lc823450_spi.c | 2 +- arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c | 2 +- arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c | 2 +- arch/arm/src/lpc214x/lpc214x_spi.h | 4 ++-- arch/arm/src/lpc31xx/lpc31_analogdie.h | 2 +- arch/arm/src/lpc31xx/lpc31_spi.c | 2 +- arch/arm/src/lpc43xx/lpc43_spi.c | 2 +- arch/arm/src/lpc43xx/lpc43_ssp.c | 2 +- arch/arm/src/lpc54xx/hardware/lpc54_syscon.h | 2 +- arch/arm/src/max326xx/max32660/max32660_spim.c | 2 +- arch/arm/src/nuc1xx/nuc_serial.c | 4 ++-- arch/arm/src/s32k1xx/s32k1xx_lpspi.c | 2 +- arch/arm/src/sama5/sam_emaca.c | 2 +- arch/arm/src/sama5/sam_gmac.c | 2 +- arch/arm/src/sama5/sam_spi.c | 4 ++-- arch/arm/src/sama5/sam_ssc.c | 2 +- arch/arm/src/samd2l2/hardware/saml_opamp.h | 2 +- arch/arm/src/samd2l2/sam_spi.c | 4 ++-- arch/arm/src/samd5e5/sam_spi.c | 4 ++-- arch/arm/src/samv7/hardware/sam_emac.h | 2 +- arch/arm/src/samv7/sam_emac.c | 2 +- arch/arm/src/samv7/sam_ssc.c | 2 +- arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h | 2 +- arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h | 2 +- arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h | 2 +- arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h | 2 +- arch/arm/src/stm32/stm32_gpio.c | 8 ++++---- arch/arm/src/stm32/stm32_i2c_alt.c | 2 +- arch/arm/src/stm32/stm32_i2s.c | 2 +- arch/arm/src/stm32/stm32_spi.c | 2 +- arch/arm/src/stm32f0l0g0/hardware/stm32_gpio.h | 2 +- arch/arm/src/stm32f0l0g0/stm32_spi.c | 2 +- .../arm/src/stm32f7/hardware/stm32f72xx73xx_gpio.h | 2 +- .../arm/src/stm32f7/hardware/stm32f74xx75xx_gpio.h | 2 +- .../arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h | 2 +- arch/arm/src/stm32f7/stm32_qspi.c | 2 +- arch/arm/src/stm32f7/stm32_spi.c | 2 +- arch/arm/src/stm32h7/hardware/stm32h7x3xx_gpio.h | 2 +- arch/arm/src/stm32h7/stm32_spi.c | 2 +- arch/arm/src/stm32l4/hardware/stm32l4_gpio.h | 2 +- arch/arm/src/stm32l4/stm32l4_qspi.c | 2 +- arch/arm/src/stm32l4/stm32l4_sai.c | 2 +- arch/arm/src/stm32l4/stm32l4_spi.c | 2 +- arch/arm/src/tiva/common/tiva_ssi.c | 4 ++-- arch/avr/src/at32uc3/at32uc3_gpio.c | 2 +- arch/avr/src/avr/up_spi.c | 2 +- arch/mips/src/pic32mx/pic32mx-memorymap.h | 2 +- arch/mips/src/pic32mx/pic32mx-spi.c | 2 +- arch/mips/src/pic32mz/pic32mz-spi.c | 2 +- arch/renesas/src/m16c/m16c_uart.h | 2 +- arch/renesas/src/sh1/sh1_703x.h | 2 +- arch/renesas/src/sh1/sh1_lowputc.c | 2 +- arch/renesas/src/sh1/sh1_serial.c | 2 +- arch/z80/src/ez80/ez80_spi.c | 2 +- arch/z80/src/ez80/ez80f91.h | 2 +- arch/z80/src/ez80/ez80f91_emac.h | 2 +- .../arm/lpc214x/mcu123-lpc214x/src/lpc2148_spi1.c | 2 +- boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c | 2 +- boards/arm/sama5/sama5d4-ek/README.txt | 2 +- boards/arm/samv7/same70-xplained/README.txt | 2 +- boards/arm/samv7/samv71-xult/README.txt | 2 +- boards/arm/stm32/cloudctrl/include/board.h | 2 +- boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c | 2 +- boards/arm/stm32/olimex-stm32-p107/include/board.h | 2 +- boards/arm/stm32/shenzhou/include/board.h | 2 +- boards/arm/stm32/stm3210e-eval/src/stm32_lcd.c | 2 +- boards/arm/stm32/stm32f4discovery/README.txt | 2 +- .../include/board-stm32f107vct6.h | 2 +- boards/arm/str71x/olimex-strp711/src/str71_spi.c | 2 +- boards/mips/pic32mx/sure-pic32mx/README.txt | 2 +- boards/sim/sim/sim/README.txt | 2 +- drivers/input/max11802.c | 2 +- drivers/input/tsc2007.c | 2 +- drivers/ioexpander/tca64xx.c | 2 +- drivers/lcd/pcf8574_lcd_backpack_readme.txt | 2 +- drivers/spi/spi_bitbang.c | 4 ++-- drivers/syslog/README.txt | 2 +- drivers/usbdev/usbmsc.c | 2 +- drivers/usbdev/usbmsc.h | 2 +- graphics/vnc/server/vnc_fbdev.c | 2 +- graphics/vnc/server/vnc_receiver.c | 2 +- include/nuttx/audio/i2s.h | 2 +- include/nuttx/mqueue.h | 4 ++-- include/nuttx/video/vnc.h | 2 +- mm/umm_heap/umm_calloc.c | 2 +- mm/umm_heap/umm_zalloc.c | 2 +- net/ipforward/ipfwd_dropstats.c | 2 +- net/ipforward/ipv4_forward.c | 2 +- net/ipforward/ipv6_forward.c | 2 +- sched/sched/sched_roundrobin.c | 2 +- sched/sched/sched_sporadic.c | 2 +- sched/sched/sched_timerexpiration.c | 10 +++++----- sched/sched/sched_unlock.c | 4 ++-- sched/semaphore/sem_post.c | 2 +- tools/Config.mk | 2 +- tools/cfgdefine.c | 2 +- video/videomode/videomode_lookup.c | 2 +- 113 files changed, 142 insertions(+), 142 deletions(-) diff --git a/ChangeLog b/ChangeLog index bdea49c6fa2..2222fedc849 100644 --- a/ChangeLog +++ b/ChangeLog @@ -698,7 +698,7 @@ 0.4.6 2009-05-19 Gregory Nutt - * Change SPI interface so that is can accomodate interfaces where the + * Change SPI interface so that is can accommodate interfaces where the number of bits per word is greater an 8 (such as with many 9-bit display interfaces). -- this might have broken a few things which will need to be retested! @@ -4186,7 +4186,7 @@ application is started. * arch/arm/src/stm32/stm32_otgfsdev.c, drivers/usbdev/usbdev_trprintf.c, and include/nuttx/usb/usbdev_trace.h: Add logic to support decoding - of device-specific trace events to make the trace ouput more readable. + of device-specific trace events to make the trace output more readable. From Petteri Aimonen. * arch/arm/src/stm32/stm32_otgfsdev.c: Need to manually set CNAK in the case where we are waiting for a SETUP command with DATA. Otherwise, @@ -16124,12 +16124,12 @@ (2017-07-19). * Initial port to STM32F769I-DISCO. From Titus von Boxberg (2017-07-20). - * libc/math: Fix wrong ouput in modf() API. The sign of integral part + * libc/math: Fix wrong output in modf() API. The sign of integral part given by the modf() should be same as sign of input. But for inputs between 0 and 1, the sign of integral part was not same as sign of input. From Lokesh B V (2017-07-20). - * libc/math: Fix wrong ouput in ceil() API. Ex:for input x = 1.0, the - ouput should be 1.0, but the ouput was 2.0. From Lokesh B V + * libc/math: Fix wrong output in ceil() API. Ex:for input x = 1.0, the + output should be 1.0, but the output was 2.0. From Lokesh B V (2017-07-20). * USB device: Rename usbdev_description_s to usbdev_devinfo_s to avoid any more confusion of naming with device descriptions in the future. @@ -16142,10 +16142,10 @@ * libc/stdlib: (1) Fix an error in mkstemp() the could result in an infinite loop. (2) Fix for wrong output in some cases. For Example: (a) input: "FILEXX", output: "FILE00" and repeats same - output for further invocations of mkstemp(). But, the ouput has to be + output for further invocations of mkstemp(). But, the output has to be FILE01, FILE02, ...., FILEZZ. (b) input: "FILEXXXXXX", output: "FILE100000", for next invocation "FILE200000" and so on. But it's - good, if the ouput goes like FILE000001, FILE000002, ..., FILE000101, + good, if the output goes like FILE000001, FILE000002, ..., FILE000101, ... From Lokesh B V (2017-07-21). * configs: add stm32f334-disco basic support. From Mateusz Szafoni (2017-07-21). diff --git a/ReleaseNotes b/ReleaseNotes index d1f446098ad..1293e6a3458 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -2367,7 +2367,7 @@ The new features (some still incomplete) include: Bugfixes, order roughly on decreasing criticality include: * Message Queues. Correct errors in mq_timedsend() and - mq_timedrecieve(). + mq_timedreceive(). * FAT. Writes that cross sector boundaries, stray write into the FAT, and a FAT long file name issue @@ -15505,19 +15505,19 @@ detailed bugfix information): - C Library: (1) Fix an error in mkstemp() the could result in an infinite loop. (2) Fix for wrong output in some cases. For Example: (a) input: "FILEXX", output: "FILE00" and repeats same output for - further invocations of mkstemp(). But, the ouput has to be FILE01, + further invocations of mkstemp(). But, the output has to be FILE01, FILE02, ...., FILEZZ. (b) input: "FILEXXXXXX", output: "FILE100000", for next invocation "FILE200000" and so on. But it's good, if the - ouput goes like FILE000001, FILE000002, ..., FILE000101, ... From + output goes like FILE000001, FILE000002, ..., FILE000101, ... From Lokesh B V. - C Library: gethostbyname_r: Fix check for space in buffer. - C Library: inet_ntop() was printing negative values for fields >127. - - Math Library: Fix wrong ouput in modf() API. The sign of integral + - Math Library: Fix wrong output in modf() API. The sign of integral part given by the modf() should be same as sign of input. But for inputs between 0 and 1, the sign of integral part was not same as sign of input. From Lokesh B V. - - Math Library: Fix wrong ouput in ceil() API. Ex:for input x = 1.0, - the output should be 1.0, but the ouput was 2.0. From Lokesh B V. + - Math Library: Fix wrong output in ceil() API. Ex:for input x = 1.0, + the output should be 1.0, but the output was 2.0. From Lokesh B V. * Tools diff --git a/arch/arm/src/armv7-a/sctlr.h b/arch/arm/src/armv7-a/sctlr.h index 6d3fce9526e..a7bb42bcbb2 100644 --- a/arch/arm/src/armv7-a/sctlr.h +++ b/arch/arm/src/armv7-a/sctlr.h @@ -152,7 +152,7 @@ /* Auxiliary Control Register (ACTLR) */ -#define ACTLR_FW (1 << 0) /* Bit 0: Enable Cache/TLB maintenance broadcase */ +#define ACTLR_FW (1 << 0) /* Bit 0: Enable Cache/TLB maintenance broadcast */ #define ACTLR_L2_PREFECTH (1 << 1) /* Bit 1: L2 pre-fetch hint enable */ #define ACTLR_L1_PREFETCH (1 << 2) /* Bit 2: L1 Dside pre-fetch enable */ #define ACTLR_LINE_ZERO (1 << 3) /* Bit 3: Enable write full line zero mode */ diff --git a/arch/arm/src/cxd56xx/cxd56_i2c.c b/arch/arm/src/cxd56xx/cxd56_i2c.c index b823e092987..821bbbc7bf5 100644 --- a/arch/arm/src/cxd56xx/cxd56_i2c.c +++ b/arch/arm/src/cxd56xx/cxd56_i2c.c @@ -771,7 +771,7 @@ static int cxd56_i2c_scurecv(int port, int addr, uint8_t *buf, ssize_t buflen) ret = scu_i2ctransfer(port, addr, inst, instn, buf, len0 + len1); if (ret < 0) { - syslog(LOG_ERR, "I2C recieve failed. port %d addr %d\n", + syslog(LOG_ERR, "I2C receive failed. port %d addr %d\n", port, addr); break; } diff --git a/arch/arm/src/cxd56xx/cxd56_spi.c b/arch/arm/src/cxd56xx/cxd56_spi.c index a72a4202488..351ab0373ad 100644 --- a/arch/arm/src/cxd56xx/cxd56_spi.c +++ b/arch/arm/src/cxd56xx/cxd56_spi.c @@ -872,7 +872,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of *bits-per-word selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/cxd56xx/cxd56_usbdev.c b/arch/arm/src/cxd56xx/cxd56_usbdev.c index 07f93a6b8d9..78b19bfaf40 100644 --- a/arch/arm/src/cxd56xx/cxd56_usbdev.c +++ b/arch/arm/src/cxd56xx/cxd56_usbdev.c @@ -1762,7 +1762,7 @@ static int cxd56_epinterrupt(int irq, FAR void *context) if (!(stat & USB_INT_MRXFIFOEMPTY)) { - /* Flush Recieve FIFO and clear NAK to finish status stage */ + /* Flush Receive FIFO and clear NAK to finish status stage */ putreg32(ctrl | USB_MRXFLUSH, CXD56_USB_OUT_EP_CONTROL(n)); } diff --git a/arch/arm/src/cxd56xx/cxd56_usbdev.h b/arch/arm/src/cxd56xx/cxd56_usbdev.h index bb724a1a6f0..8578b006909 100644 --- a/arch/arm/src/cxd56xx/cxd56_usbdev.h +++ b/arch/arm/src/cxd56xx/cxd56_usbdev.h @@ -193,7 +193,7 @@ #define USB_INT_CDC_CLEAR (1<<28) /* */ #define USB_INT_XFERDONE (1<<27) /* Tfansfer Done/Transmit FIFO Empty */ -#define USB_INT_RSS (1<<26) /* Recieved Set Stall Indication */ +#define USB_INT_RSS (1<<26) /* Received Set Stall Indication */ #define USB_INT_RCS (1<<25) /* Received Clear Stall Indication */ #define USB_INT_TXEMPTY (1<<24) /* Transmit FIFO Empty */ #define USB_INT_ISO_IN_DONE (1<<23) /* Isochronous IN transaction for the current microframe is complete */ diff --git a/arch/arm/src/cxd56xx/hardware/cxd56_uart.h b/arch/arm/src/cxd56xx/hardware/cxd56_uart.h index 5d272b6b5d4..d1302b03e3c 100644 --- a/arch/arm/src/cxd56xx/hardware/cxd56_uart.h +++ b/arch/arm/src/cxd56xx/hardware/cxd56_uart.h @@ -51,7 +51,7 @@ /* Common Register Offsets */ #define CXD56_UART_DR 0x000 /* Data register */ -#define CXD56_UART_RSR_ECR 0x004 /* Recieve status/error clear register */ +#define CXD56_UART_RSR_ECR 0x004 /* Receive status/error clear register */ #define CXD56_UART_FR 0x018 /* Flag register */ #define CXD56_UART_ILPR 0x020 /* IrDA low-power counter register */ #define CXD56_UART_IBRD 0x024 /* Integer baud rate register */ diff --git a/arch/arm/src/efm32/efm32_spi.c b/arch/arm/src/efm32/efm32_spi.c index 843519157d8..00564cd6d1c 100644 --- a/arch/arm/src/efm32/efm32_spi.c +++ b/arch/arm/src/efm32/efm32_spi.c @@ -1542,7 +1542,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *txbuffer, * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - The length of data that can be received in the buffer in * number of words. The wordsize is determined by the number * of bits-per-word selected for the SPI interface. If nbits diff --git a/arch/arm/src/imx1/imx_spi.c b/arch/arm/src/imx1/imx_spi.c index 682805fdb70..1a3d0ad00cf 100644 --- a/arch/arm/src/imx1/imx_spi.c +++ b/arch/arm/src/imx1/imx_spi.c @@ -932,7 +932,7 @@ static uint16_t spi_send(FAR struct spi_dev_s *dev, uint16_t wd) * Input Parameters: * dev - Device-specific state data * buffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -987,7 +987,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/imx6/imx_ecspi.c b/arch/arm/src/imx6/imx_ecspi.c index 0a20c514b9f..2e821b54d7f 100644 --- a/arch/arm/src/imx6/imx_ecspi.c +++ b/arch/arm/src/imx6/imx_ecspi.c @@ -1117,7 +1117,7 @@ static int spi_cmddata(FAR struct spi_dev_s *dev, uint32_t devid, * Input Parameters: * dev - Device-specific state data * buffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -1172,7 +1172,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/imxrt/imxrt_lpspi.c b/arch/arm/src/imxrt/imxrt_lpspi.c index 174aad18951..9ecb35f7a08 100644 --- a/arch/arm/src/imxrt/imxrt_lpspi.c +++ b/arch/arm/src/imxrt/imxrt_lpspi.c @@ -1398,7 +1398,7 @@ static void imxrt_lpspi_sndblock(FAR struct spi_dev_s *dev, * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/imxrt/imxrt_usdhc.c b/arch/arm/src/imxrt/imxrt_usdhc.c index 5ac73d0d9ca..687ce3c7186 100644 --- a/arch/arm/src/imxrt/imxrt_usdhc.c +++ b/arch/arm/src/imxrt/imxrt_usdhc.c @@ -1847,7 +1847,7 @@ static int imxrt_sendcmd(FAR struct sdio_dev_s *dev, uint32_t cmd, if (cmdidx == SD_ACMDIDX53) { - /* Dynamically set parameters for ACMD53 because it can accomodate + /* Dynamically set parameters for ACMD53 because it can accommodate * different transmission characteristics (single and multi-block, * rx & tx). */ diff --git a/arch/arm/src/kinetis/kinetis_spi.c b/arch/arm/src/kinetis/kinetis_spi.c index 7b8280c90d5..5239d5a88fa 100644 --- a/arch/arm/src/kinetis/kinetis_spi.c +++ b/arch/arm/src/kinetis/kinetis_spi.c @@ -1080,7 +1080,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/kl/kl_spi.c b/arch/arm/src/kl/kl_spi.c index 6cd41bf7175..002cf8d800c 100644 --- a/arch/arm/src/kl/kl_spi.c +++ b/arch/arm/src/kl/kl_spi.c @@ -583,7 +583,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lc823450/lc823450_serial.c b/arch/arm/src/lc823450/lc823450_serial.c index 3330a3b3749..0277e40b86f 100644 --- a/arch/arm/src/lc823450/lc823450_serial.c +++ b/arch/arm/src/lc823450/lc823450_serial.c @@ -970,7 +970,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable) * (at least by default) like edge interrupts. * * In any event, faking a TX interrupt here solves the problem; - * Call uart_xmitchars() just as would have been done if we recieved + * Call uart_xmitchars() just as would have been done if we received * the TX interrupt. */ diff --git a/arch/arm/src/lc823450/lc823450_spi.c b/arch/arm/src/lc823450/lc823450_spi.c index 8dd86aabfc2..72ad1805908 100644 --- a/arch/arm/src/lc823450/lc823450_spi.c +++ b/arch/arm/src/lc823450/lc823450_spi.c @@ -466,7 +466,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c index d56f89154ee..21167e0e0ca 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c @@ -466,7 +466,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c index f91ca568ccc..cb6534643ed 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c @@ -696,7 +696,7 @@ static void ssp_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc214x/lpc214x_spi.h b/arch/arm/src/lpc214x/lpc214x_spi.h index e4934d9d38c..f54876cdcd3 100644 --- a/arch/arm/src/lpc214x/lpc214x_spi.h +++ b/arch/arm/src/lpc214x/lpc214x_spi.h @@ -142,8 +142,8 @@ /* Interrupt set/clear/status/mask registers (can't clear RXIM or TXIM) */ -#define LPC214X_SP1INT_ROR (0x01) /* Bit 0: 1=Recieve Overrun */ -#define LPC214X_SP1INT_RTIM (0x02) /* Bit 1: 1=Recieve Timeout */ +#define LPC214X_SP1INT_ROR (0x01) /* Bit 0: 1=Receive Overrun */ +#define LPC214X_SP1INT_RTIM (0x02) /* Bit 1: 1=Receive Timeout */ #define LPC214X_SP1INT_RXIM (0x04) /* Bit 2: 1=RX FIFO at least half full */ #define LPC214X_SP1INT_TXIM (0x08) /* Bit 3: 1=TX FIFO at least half empty */ diff --git a/arch/arm/src/lpc31xx/lpc31_analogdie.h b/arch/arm/src/lpc31xx/lpc31_analogdie.h index 9daf5c34f8d..32a2a5a35c6 100644 --- a/arch/arm/src/lpc31xx/lpc31_analogdie.h +++ b/arch/arm/src/lpc31xx/lpc31_analogdie.h @@ -375,7 +375,7 @@ #define CODEC_INT_DACPC_SHIFT (1) /* Bits 1-7: Program counter on the CLKIN_DSP clock for interpolator */ #define CODEC_INT_DACPC_MASK (0x7f << CODEC_INT_DACPC_SHIFT) #define CODEC_INT_SDETECTEDR1 (1 << 8) /* Bit 8: Silence detection output channel 1 RIGHT */ -#define CODEC_INT_SDETECTEDL1 (1 << 9) /* Bit 9: Silence detection ouput channel 1 LEFT */ +#define CODEC_INT_SDETECTEDL1 (1 << 9) /* Bit 9: Silence detection output channel 1 LEFT */ #define CODEC_INT_MUTESTATEM (1 << 10) /* Bit 10: Mute status of master channel */ #define CODEC_INT_INVNDAC (1 << 11) /* Bit 11: Control signal to invert neg. channel data for differential application */ #define CODEC_INT_DSR (1 << 12) /* Bit 12: DAC silence switch control signal RIGHT */ diff --git a/arch/arm/src/lpc31xx/lpc31_spi.c b/arch/arm/src/lpc31xx/lpc31_spi.c index c4e18511638..b2a4af2c4bb 100644 --- a/arch/arm/src/lpc31xx/lpc31_spi.c +++ b/arch/arm/src/lpc31xx/lpc31_spi.c @@ -875,7 +875,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc43xx/lpc43_spi.c b/arch/arm/src/lpc43xx/lpc43_spi.c index 2181b4fa2f0..c598b455899 100644 --- a/arch/arm/src/lpc43xx/lpc43_spi.c +++ b/arch/arm/src/lpc43xx/lpc43_spi.c @@ -457,7 +457,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc43xx/lpc43_ssp.c b/arch/arm/src/lpc43xx/lpc43_ssp.c index a21546ede7e..8bc42a70b5e 100644 --- a/arch/arm/src/lpc43xx/lpc43_ssp.c +++ b/arch/arm/src/lpc43xx/lpc43_ssp.c @@ -639,7 +639,7 @@ static void ssp_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/lpc54xx/hardware/lpc54_syscon.h b/arch/arm/src/lpc54xx/hardware/lpc54_syscon.h index a7e3ebb8567..a8d0aab765a 100644 --- a/arch/arm/src/lpc54xx/hardware/lpc54_syscon.h +++ b/arch/arm/src/lpc54xx/hardware/lpc54_syscon.h @@ -506,7 +506,7 @@ #define SYSCON_SYSPLLCLKSEL_MASK (7 << SYSCON_SYSPLLCLKSEL_SHIFT) # define SYSCON_SYSPLLCLKSEL_FFRO (0 << SYSCON_SYSPLLCLKSEL_SHIFT) /* FRO 12 MHz (fro_12m) */ # define SYSCON_SYSPLLCLKSEL_CLKIN (1 << SYSCON_SYSPLLCLKSEL_SHIFT) /* CLKIN (clk_in) */ -# define SYSCON_SYSPLLCLKSEL_RTC (3 << SYSCON_SYSPLLCLKSEL_SHIFT) /* RTC oscillator 32 KHz ouput */ +# define SYSCON_SYSPLLCLKSEL_RTC (3 << SYSCON_SYSPLLCLKSEL_SHIFT) /* RTC oscillator 32 KHz output */ # define SYSCON_SYSPLLCLKSEL_NONE (7 << SYSCON_SYSPLLCLKSEL_SHIFT) /* None */ /* Audio PLL clock source select */ diff --git a/arch/arm/src/max326xx/max32660/max32660_spim.c b/arch/arm/src/max326xx/max32660/max32660_spim.c index 278691e085c..2f5aa2a1000 100644 --- a/arch/arm/src/max326xx/max32660/max32660_spim.c +++ b/arch/arm/src/max326xx/max32660/max32660_spim.c @@ -1372,7 +1372,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *txbuffer, size_t nwo * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/nuc1xx/nuc_serial.c b/arch/arm/src/nuc1xx/nuc_serial.c index 76cfd3d8baa..38f25b38d77 100644 --- a/arch/arm/src/nuc1xx/nuc_serial.c +++ b/arch/arm/src/nuc1xx/nuc_serial.c @@ -667,7 +667,7 @@ static int up_interrupt(int irq, void *context, void *arg) /* Disable, further RX timeout interrupts and set the RX FIFO * threshold so that an interrupt will be generated when the - * very next byte is recieved. + * very next byte is received. */ up_rxto_disable(priv); @@ -867,7 +867,7 @@ static void up_rxint(struct uart_dev_s *dev, bool enable) { /* The FIFO is empty. Disable RX timeout interrupts and set the * RX FIFO threshold so that an interrupt will be generated when - * the very next byte is recieved. + * the very next byte is received. */ up_rxto_disable(priv); diff --git a/arch/arm/src/s32k1xx/s32k1xx_lpspi.c b/arch/arm/src/s32k1xx/s32k1xx_lpspi.c index dfb5a1c4523..b4e63ece26d 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_lpspi.c +++ b/arch/arm/src/s32k1xx/s32k1xx_lpspi.c @@ -1376,7 +1376,7 @@ static void s32k1xx_lpspi_sndblock(FAR struct spi_dev_s *dev, * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index ddbc185d9be..500d7e28c29 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/arch/arm/src/sama5/sam_emaca.c @@ -1625,7 +1625,7 @@ static void sam_interrupt_work(FAR void *arg) } #ifdef CONFIG_DEBUG_NET - /* Check for PAUSE Frame recieved (PFRE). + /* Check for PAUSE Frame received (PFRE). * * ISR:PFRE indicates that a pause frame has been received. Cleared on a read. */ diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index a845c6ba6f0..fe48935eaed 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -1577,7 +1577,7 @@ static void sam_interrupt_work(FAR void *arg) } #ifdef CONFIG_DEBUG_NET - /* Check for PAUSE Frame recieved (PFRE). + /* Check for PAUSE Frame received (PFRE). * * ISR:PFRE indicates that a pause frame has been received. Cleared on a read. */ diff --git a/arch/arm/src/sama5/sam_spi.c b/arch/arm/src/sama5/sam_spi.c index 3848709521d..3dc55e78b68 100644 --- a/arch/arm/src/sama5/sam_spi.c +++ b/arch/arm/src/sama5/sam_spi.c @@ -1234,7 +1234,7 @@ static uint16_t spi_send(struct spi_dev_s *dev, uint16_t wd) * Input Parameters: * dev - Device-specific state data * txbuffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -1608,7 +1608,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/sama5/sam_ssc.c b/arch/arm/src/sama5/sam_ssc.c index f9cca0ae4e6..82d3fe41e59 100644 --- a/arch/arm/src/sama5/sam_ssc.c +++ b/arch/arm/src/sama5/sam_ssc.c @@ -2179,7 +2179,7 @@ static uint32_t ssc_rxdatawidth(struct i2s_dev_s *dev, int bits) * * Input Parameters: * dev - Device-specific state data - * apb - A pointer to the audio buffer in which to recieve data + * apb - A pointer to the audio buffer in which to receive data * callback - A user provided callback function that will be called at * the completion of the transfer. The callback will be * performed in the context of the worker thread. diff --git a/arch/arm/src/samd2l2/hardware/saml_opamp.h b/arch/arm/src/samd2l2/hardware/saml_opamp.h index eb1254ec46a..db7843a7282 100644 --- a/arch/arm/src/samd2l2/hardware/saml_opamp.h +++ b/arch/arm/src/samd2l2/hardware/saml_opamp.h @@ -120,7 +120,7 @@ #define OPAMP_CTRL_MUXPOS_MASK (7 << OPAMP_CTRL_MUXPOS_SHIFT) # define OPAMP_CTRL_MUXPOS_OAxPOS (0 << OPAMP_CTRL_MUXPOS_SHIFT) /* Positive I/O pin, OPAMPn, n=0,1,2 */ # define OPAMP_CTRL_MUXPOS_OAxTAP (1 << OPAMP_CTRL_MUXPOS_SHIFT) /* Resister ladder x taps, OPAMPn, n=0,1,2 */ -# define OPAMP_CTRL_MUXPOS_DAC_0 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* DAC ouput, OPAMP0 */ +# define OPAMP_CTRL_MUXPOS_DAC_0 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* DAC output, OPAMP0 */ # define OPAMP_CTRL_MUXPOS_OA0OUT_1 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* OPAMP0 output, OPAMP1 */ # define OPAMP_CTRL_MUXPOS_OA1OUT_2 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* OPAMP1 output, OPAMP2 */ # define OPAMP_CTRL_MUXPOS_GND (3 << OPAMP_CTRL_MUXPOS_SHIFT) /* Ground, OPAMPn, n=0,1,2 */ diff --git a/arch/arm/src/samd2l2/sam_spi.c b/arch/arm/src/samd2l2/sam_spi.c index b7dd662687f..4f88264373d 100644 --- a/arch/arm/src/samd2l2/sam_spi.c +++ b/arch/arm/src/samd2l2/sam_spi.c @@ -1151,7 +1151,7 @@ static void spi_dma_callback(DMA_HANDLE dma, void *arg, int result) * Input Parameters: * dev - Device-specific state data * txbuffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -1364,7 +1364,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/samd5e5/sam_spi.c b/arch/arm/src/samd5e5/sam_spi.c index 9d3e7e6779a..f8e476f7ee5 100644 --- a/arch/arm/src/samd5e5/sam_spi.c +++ b/arch/arm/src/samd5e5/sam_spi.c @@ -1246,7 +1246,7 @@ static void spi_dma_callback(DMA_HANDLE dma, void *arg, int result) * Input Parameters: * dev - Device-specific state data * txbuffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -1459,7 +1459,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/samv7/hardware/sam_emac.h b/arch/arm/src/samv7/hardware/sam_emac.h index 7ed859f257e..6f924623b0a 100644 --- a/arch/arm/src/samv7/hardware/sam_emac.h +++ b/arch/arm/src/samv7/hardware/sam_emac.h @@ -648,7 +648,7 @@ /* RX Partial Store and Forward Register */ -#define EMAC_RPSF_RPB1ADR_SHIFT (0) /* Bits 0-11: Recieve Partial Store and Forward Address */ +#define EMAC_RPSF_RPB1ADR_SHIFT (0) /* Bits 0-11: Receive Partial Store and Forward Address */ #define EMAC_RPSF_RPB1ADR_MASK (0xfff << EMAC_RPSF_RPB1ADR_SHIFT) # define EMAC_RPSF_RPB1ADR(n) ((uint32_t)(n) << EMAC_RPSF_RPB1ADR_SHIFT) #define EMAC_RPSF_ENRXP (1 << 31) /* Bit 31: Enable RX Partial Store and Forward Operation */ diff --git a/arch/arm/src/samv7/sam_emac.c b/arch/arm/src/samv7/sam_emac.c index a61e3f64f98..28e6781bce9 100644 --- a/arch/arm/src/samv7/sam_emac.c +++ b/arch/arm/src/samv7/sam_emac.c @@ -1902,7 +1902,7 @@ static int sam_recvframe(struct sam_emac_s *priv, int qid) * * Input Parameters: * priv - Reference to the driver state structure - * qid - The transfer queue on which the packet was recieved + * qid - The transfer queue on which the packet was received * * Returned Value: * None diff --git a/arch/arm/src/samv7/sam_ssc.c b/arch/arm/src/samv7/sam_ssc.c index 6e2c5c8d168..753f95ab295 100644 --- a/arch/arm/src/samv7/sam_ssc.c +++ b/arch/arm/src/samv7/sam_ssc.c @@ -2158,7 +2158,7 @@ static uint32_t ssc_rxdatawidth(struct i2s_dev_s *dev, int bits) * * Input Parameters: * dev - Device-specific state data - * apb - A pointer to the audio buffer in which to recieve data + * apb - A pointer to the audio buffer in which to receive data * callback - A user provided callback function that will be called at * the completion of the transfer. The callback will be * performed in the context of the worker thread. diff --git a/arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h b/arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h index 7474c36d3f6..2c349ba396d 100644 --- a/arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h +++ b/arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h @@ -235,7 +235,7 @@ #define GPIO_CRH_CNF15_SHIFT (30) /* Bits 31:30: Port configuration bits */ #define GPIO_CRL_CNF15_MASK (3 << GPIO_CRL_CNF15_SHIFT) -/* Port input/ouput data register */ +/* Port input/output data register */ #define GPIO_IDR(n) (1 << (n)) #define GPIO_ODR(n) (1 << (n)) diff --git a/arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h b/arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h index 4fbc3f9fad8..2a85f00ab14 100644 --- a/arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h +++ b/arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h @@ -222,7 +222,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h b/arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h index 4191b0c7010..9d48b6a17b3 100644 --- a/arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h +++ b/arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h @@ -248,7 +248,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h b/arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h index b791d0206a1..a5540206d5a 100644 --- a/arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h +++ b/arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h @@ -211,7 +211,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32/stm32_gpio.c b/arch/arm/src/stm32/stm32_gpio.c index 677c1c2c7b1..ec0bbb0208f 100644 --- a/arch/arm/src/stm32/stm32_gpio.c +++ b/arch/arm/src/stm32/stm32_gpio.c @@ -543,19 +543,19 @@ int stm32_configgpio(uint32_t cfgset) { #if defined(CONFIG_STM32_STM32L15XX) default: - case GPIO_SPEED_400KHz: /* 400 kHz Very low speed ouput */ + case GPIO_SPEED_400KHz: /* 400 kHz Very low speed output */ setting = GPIO_OSPEED_400KHz; break; - case GPIO_SPEED_2MHz: /* 2 MHz Low speed ouput */ + case GPIO_SPEED_2MHz: /* 2 MHz Low speed output */ setting = GPIO_OSPEED_2MHz; break; - case GPIO_SPEED_10MHz: /* 10 MHz Medium speed ouput */ + case GPIO_SPEED_10MHz: /* 10 MHz Medium speed output */ setting = GPIO_OSPEED_10MHz; break; - case GPIO_SPEED_40MHz: /* 40 MHz High speed ouput */ + case GPIO_SPEED_40MHz: /* 40 MHz High speed output */ setting = GPIO_OSPEED_40MHz; break; #else diff --git a/arch/arm/src/stm32/stm32_i2c_alt.c b/arch/arm/src/stm32/stm32_i2c_alt.c index 1e0283fcc73..b511aae4433 100644 --- a/arch/arm/src/stm32/stm32_i2c_alt.c +++ b/arch/arm/src/stm32/stm32_i2c_alt.c @@ -1742,7 +1742,7 @@ static int stm32_i2c_isr_process(struct stm32_i2c_priv_s *priv) stm32_i2c_modifyreg(priv, STM32_I2C_CR1_OFFSET, I2C_CR1_ACK, 0); - /* Read dcnt = 3, to ensure a BTF event after having recieved + /* Read dcnt = 3, to ensure a BTF event after having received * in the shift register. */ diff --git a/arch/arm/src/stm32/stm32_i2s.c b/arch/arm/src/stm32/stm32_i2s.c index a99b8927a34..cf6cd4a4838 100644 --- a/arch/arm/src/stm32/stm32_i2s.c +++ b/arch/arm/src/stm32/stm32_i2s.c @@ -1856,7 +1856,7 @@ static uint32_t stm32_i2s_rxdatawidth(struct i2s_dev_s *dev, int bits) * * Input Parameters: * dev - Device-specific state data - * apb - A pointer to the audio buffer in which to recieve data + * apb - A pointer to the audio buffer in which to receive data * callback - A user provided callback function that will be called at * the completion of the transfer. The callback will be * performed in the context of the worker thread. diff --git a/arch/arm/src/stm32/stm32_spi.c b/arch/arm/src/stm32/stm32_spi.c index 5a5d5441ac8..230dddf7370 100644 --- a/arch/arm/src/stm32/stm32_spi.c +++ b/arch/arm/src/stm32/stm32_spi.c @@ -1813,7 +1813,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_gpio.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_gpio.h index a5906407e45..447a1f2467b 100644 --- a/arch/arm/src/stm32f0l0g0/hardware/stm32_gpio.h +++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_gpio.h @@ -218,7 +218,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32f0l0g0/stm32_spi.c b/arch/arm/src/stm32f0l0g0/stm32_spi.c index bd62655e19a..2473e89d0be 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_spi.c +++ b/arch/arm/src/stm32f0l0g0/stm32_spi.c @@ -1525,7 +1525,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/stm32f7/hardware/stm32f72xx73xx_gpio.h b/arch/arm/src/stm32f7/hardware/stm32f72xx73xx_gpio.h index 95c1eeb0711..690188d4197 100644 --- a/arch/arm/src/stm32f7/hardware/stm32f72xx73xx_gpio.h +++ b/arch/arm/src/stm32f7/hardware/stm32f72xx73xx_gpio.h @@ -256,7 +256,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_gpio.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_gpio.h index 3b28d3c3e72..8919d0af05c 100644 --- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_gpio.h +++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_gpio.h @@ -255,7 +255,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h index 8bc226918d0..69b49a6213f 100644 --- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h +++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h @@ -256,7 +256,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32f7/stm32_qspi.c b/arch/arm/src/stm32f7/stm32_qspi.c index 7436390c8c6..a468ed54264 100644 --- a/arch/arm/src/stm32f7/stm32_qspi.c +++ b/arch/arm/src/stm32f7/stm32_qspi.c @@ -494,7 +494,7 @@ static void qspi_dumpregs(struct stm32f7_qspidev_s *priv, const char *msg) #if 0 /* this extra verbose output may be helpful in some cases; you'll need - * to make sure your syslog is large enough to accomodate the extra output. + * to make sure your syslog is large enough to accommodate the extra output. */ regval = getreg32(priv->base + STM32_QUADSPI_CR_OFFSET); /* Control Register */ diff --git a/arch/arm/src/stm32f7/stm32_spi.c b/arch/arm/src/stm32f7/stm32_spi.c index 67c81266ec1..03ebc7dc94e 100644 --- a/arch/arm/src/stm32f7/stm32_spi.c +++ b/arch/arm/src/stm32f7/stm32_spi.c @@ -1834,7 +1834,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_gpio.h b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_gpio.h index 78f8087928a..9acc69fdb1d 100644 --- a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_gpio.h +++ b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_gpio.h @@ -255,7 +255,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32h7/stm32_spi.c b/arch/arm/src/stm32h7/stm32_spi.c index 81f7cb41ca9..3b2dbcb299e 100644 --- a/arch/arm/src/stm32h7/stm32_spi.c +++ b/arch/arm/src/stm32h7/stm32_spi.c @@ -1895,7 +1895,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h b/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h index 6e91d67f044..7254ee69626 100644 --- a/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h +++ b/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h @@ -227,7 +227,7 @@ /* GPIO port output type register */ #define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */ -#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */ +#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */ /* GPIO port output speed register */ diff --git a/arch/arm/src/stm32l4/stm32l4_qspi.c b/arch/arm/src/stm32l4/stm32l4_qspi.c index b3bb57c76a4..fd4049ef2b0 100644 --- a/arch/arm/src/stm32l4/stm32l4_qspi.c +++ b/arch/arm/src/stm32l4/stm32l4_qspi.c @@ -496,7 +496,7 @@ static void qspi_dumpregs(struct stm32l4_qspidev_s *priv, const char *msg) #if 0 /* This extra verbose output may be helpful in some cases; you'll need - * to make sure your syslog is large enough to accomodate the extra output. + * to make sure your syslog is large enough to accommodate the extra output. */ regval = getreg32(priv->base + STM32L4_QUADSPI_CR_OFFSET); /* Control Register */ diff --git a/arch/arm/src/stm32l4/stm32l4_sai.c b/arch/arm/src/stm32l4/stm32l4_sai.c index 1905fa93f90..d84e4d5af90 100644 --- a/arch/arm/src/stm32l4/stm32l4_sai.c +++ b/arch/arm/src/stm32l4/stm32l4_sai.c @@ -949,7 +949,7 @@ static uint32_t sai_datawidth(struct i2s_dev_s *dev, int bits) * * Input Parameters: * dev - Device-specific state data - * apb - A pointer to the audio buffer in which to recieve data + * apb - A pointer to the audio buffer in which to receive data * callback - A user provided callback function that will be called at * the completion of the transfer. The callback will be * performed in the context of the worker thread. diff --git a/arch/arm/src/stm32l4/stm32l4_spi.c b/arch/arm/src/stm32l4/stm32l4_spi.c index 076466e5f9a..a6df342ecc1 100644 --- a/arch/arm/src/stm32l4/stm32l4_spi.c +++ b/arch/arm/src/stm32l4/stm32l4_spi.c @@ -1567,7 +1567,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si * * Input Parameters: * dev - Device-specific state data - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/arm/src/tiva/common/tiva_ssi.c b/arch/arm/src/tiva/common/tiva_ssi.c index 2ba2b4e7f8d..2b16ef40de0 100644 --- a/arch/arm/src/tiva/common/tiva_ssi.c +++ b/arch/arm/src/tiva/common/tiva_ssi.c @@ -1401,7 +1401,7 @@ static uint16_t ssi_send(FAR struct spi_dev_s *dev, uint16_t wd) * Input Parameters: * dev - Device-specific state data * buffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -1457,7 +1457,7 @@ static void ssi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/avr/src/at32uc3/at32uc3_gpio.c b/arch/avr/src/at32uc3/at32uc3_gpio.c index 256f75e6d64..ec726175dc9 100644 --- a/arch/avr/src/at32uc3/at32uc3_gpio.c +++ b/arch/avr/src/at32uc3/at32uc3_gpio.c @@ -252,7 +252,7 @@ void at32uc3_gpiowrite(uint16_t pinset, bool value) pinmask = (1 << pin); base = g_portmap[port]; - /* Now, set or clear the pin ouput value */ + /* Now, set or clear the pin output value */ if (value) { diff --git a/arch/avr/src/avr/up_spi.c b/arch/avr/src/avr/up_spi.c index 98742cf4e20..ff0e7b1232c 100644 --- a/arch/avr/src/avr/up_spi.c +++ b/arch/avr/src/avr/up_spi.c @@ -407,7 +407,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits- * per-wordselected for the SPI interface. If nbits <= 8, the diff --git a/arch/mips/src/pic32mx/pic32mx-memorymap.h b/arch/mips/src/pic32mx/pic32mx-memorymap.h index 5b5ce8020b6..dd403c85871 100644 --- a/arch/mips/src/pic32mx/pic32mx-memorymap.h +++ b/arch/mips/src/pic32mx/pic32mx-memorymap.h @@ -180,7 +180,7 @@ # define PIC32MX_RESET_K1BASE (PIC32MX_SFR_K1BASE + 0x0000f600) -/* Peripheral Pin Select Input/Ouput Register Base Address */ +/* Peripheral Pin Select Input/Output Register Base Address */ # define PIC32MX_INSEL_K1BASE (PIC32MX_SFR_K1BASE + 0x0000fa00) # define PIC32MX_OUTSEL_K1BASE (PIC32MX_SFR_K1BASE + 0x0000fb00) diff --git a/arch/mips/src/pic32mx/pic32mx-spi.c b/arch/mips/src/pic32mx/pic32mx-spi.c index ed3e8bae41b..2576d72b88a 100644 --- a/arch/mips/src/pic32mx/pic32mx-spi.c +++ b/arch/mips/src/pic32mx/pic32mx-spi.c @@ -785,7 +785,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/arch/mips/src/pic32mz/pic32mz-spi.c b/arch/mips/src/pic32mz/pic32mz-spi.c index ffc78d704c1..a4a8cb56903 100644 --- a/arch/mips/src/pic32mz/pic32mz-spi.c +++ b/arch/mips/src/pic32mz/pic32mz-spi.c @@ -717,7 +717,7 @@ static void spi_exchange8(FAR struct pic32mz_dev_s *priv, * Input Parameters: * dev - Device-specific state data * txbuffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * * Returned Value: diff --git a/arch/renesas/src/m16c/m16c_uart.h b/arch/renesas/src/m16c/m16c_uart.h index c50d9b90183..8d799c901bf 100644 --- a/arch/renesas/src/m16c/m16c_uart.h +++ b/arch/renesas/src/m16c/m16c_uart.h @@ -101,7 +101,7 @@ #define UART_C0_TXEPT 0x08 /* Bit 3: Transmit register empty 1=empty */ #define UART_C0_CRD 0x10 /* Bit 4: CTS/RTS disable bit 1=CTS/RTS disabled */ #define UART_C0_NCH 0x20 /* Bit 5: Data output select 1=TxDi is N-channel open drain output */ -#define UART_C0_CKPOL 0x40 /* Bit 6: CLK polarity select 1=XMT rising, recieve falling */ +#define UART_C0_CKPOL 0x40 /* Bit 6: CLK polarity select 1=XMT rising, receive falling */ #define UART_C0_UFORM 0x80 /* Bit 7: Transfer format select 1=MSB first */ /* UART Transmit/Receive Control 1 */ diff --git a/arch/renesas/src/sh1/sh1_703x.h b/arch/renesas/src/sh1/sh1_703x.h index 0313de95784..580110e9e72 100644 --- a/arch/renesas/src/sh1/sh1_703x.h +++ b/arch/renesas/src/sh1/sh1_703x.h @@ -299,7 +299,7 @@ #define SH1_SCISCR_MPIE (0x08) /* Bit 3: 1=Multiprocessor interrupt enable */ #define SH1_SCISCR_RE (0x10) /* Bit 4: 1=Receiver enable */ #define SH1_SCISCR_TE (0x20) /* Bit 5: 1=Transmitter enable */ -#define SH1_SCISCR_RIE (0x40) /* Bit 6: 1=Recieve-data-full interrupt enable */ +#define SH1_SCISCR_RIE (0x40) /* Bit 6: 1=Receive-data-full interrupt enable */ #define SH1_SCISCR_TIE (0x80) /* Bit 7: 1=Transmit-data-empty interrupt enable */ #define SH1_SCISCR_ALLINTS (0xcc) diff --git a/arch/renesas/src/sh1/sh1_lowputc.c b/arch/renesas/src/sh1/sh1_lowputc.c index 372ea6f46e8..b35f1589c08 100644 --- a/arch/renesas/src/sh1/sh1_lowputc.c +++ b/arch/renesas/src/sh1/sh1_lowputc.c @@ -257,7 +257,7 @@ void up_lowsetup(void) up_udelay(100); - /* Then enable the transmitter and reciever */ + /* Then enable the transmitter and receiver */ scr |= (SH1_SCISCR_TE | SH1_SCISCR_RE); putreg8(scr, SH1_SCI_BASE + SH1_SCI_SCR_OFFSET); diff --git a/arch/renesas/src/sh1/sh1_serial.c b/arch/renesas/src/sh1/sh1_serial.c index 97da2bd54df..c46d98e9ed0 100644 --- a/arch/renesas/src/sh1/sh1_serial.c +++ b/arch/renesas/src/sh1/sh1_serial.c @@ -440,7 +440,7 @@ static int up_setup(struct uart_dev_s *dev) up_udelay(100); - /* Then enable the transmitter and reciever */ + /* Then enable the transmitter and receiver */ priv->scr |= (SH1_SCISCR_TE | SH1_SCISCR_RE); up_serialout(priv, SH1_SCI_SCR_OFFSET, priv->scr); diff --git a/arch/z80/src/ez80/ez80_spi.c b/arch/z80/src/ez80/ez80_spi.c index 7331fdcd1e8..749b0a44d1e 100644 --- a/arch/z80/src/ez80/ez80_spi.c +++ b/arch/z80/src/ez80/ez80_spi.c @@ -537,7 +537,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * buflen - The length of data that can be received in the buffer in * number of words. The wordsize is determined by the number of * bits-per-word selected for the SPI interface. If nbits <= 8, diff --git a/arch/z80/src/ez80/ez80f91.h b/arch/z80/src/ez80/ez80f91.h index 8b2d276cdd3..87a7cc472a7 100644 --- a/arch/z80/src/ez80/ez80f91.h +++ b/arch/z80/src/ez80/ez80f91.h @@ -364,7 +364,7 @@ /* UART0/1 FCTL register bits *******************************************************/ -#define EZ80_UARTFCTL_TRIG 0xc0 /* Bits 6-7: UART recieve FIFO trigger level */ +#define EZ80_UARTFCTL_TRIG 0xc0 /* Bits 6-7: UART receive FIFO trigger level */ # define EZ80_UARTTRIG_1 0x00 /* 00: Receive FIFO trigger level=1 */ # define EZ80_UARTTRIG_4 0x40 /* 01: Receive FIFO trigger level=4 */ # define EZ80_UARTTRIG_8 0x80 /* 10: Receive FIFO trigger level=8 */ diff --git a/arch/z80/src/ez80/ez80f91_emac.h b/arch/z80/src/ez80/ez80f91_emac.h index 8e32e1ed835..48aa33e3ca8 100644 --- a/arch/z80/src/ez80/ez80f91_emac.h +++ b/arch/z80/src/ez80/ez80f91_emac.h @@ -56,7 +56,7 @@ /* EMAC configuration 1/2/3 register bit settings ***********************************/ #define EMAC_CFG1_DCRCC 0x01 /* Bit 0: 1=4 bytes of proprietary header */ -#define EMAC_CFG1_HUGEN 0x02 /* Bit 1: 1=Allow unlimited size frames to be recieved */ +#define EMAC_CFG1_HUGEN 0x02 /* Bit 1: 1=Allow unlimited size frames to be received */ #define EMAC_CFG1_FLCHK 0x04 /* Bit 2: 1=Frame lengths compared to length/type */ #define EMAC_CFG1_FULLHD 0x08 /* Bit 3: 1=Enable full duplex mode */ #define EMAC_CFG1_CRCEN 0x10 /* Bit 4: 1=Append CRC to every frame */ diff --git a/boards/arm/lpc214x/mcu123-lpc214x/src/lpc2148_spi1.c b/boards/arm/lpc214x/mcu123-lpc214x/src/lpc2148_spi1.c index a50eb196b27..c9ed9651d94 100644 --- a/boards/arm/lpc214x/mcu123-lpc214x/src/lpc2148_spi1.c +++ b/boards/arm/lpc214x/mcu123-lpc214x/src/lpc2148_spi1.c @@ -476,7 +476,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. * The wordsize is determined by the number of bits-per-word diff --git a/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c b/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c index 94e9b0501d3..3916d21b66f 100644 --- a/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c +++ b/boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c @@ -522,7 +522,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of * bits-per-word selected for the SPI interface. diff --git a/boards/arm/sama5/sama5d4-ek/README.txt b/boards/arm/sama5/sama5d4-ek/README.txt index f063cea81e9..2ac52073af0 100644 --- a/boards/arm/sama5/sama5d4-ek/README.txt +++ b/boards/arm/sama5/sama5d4-ek/README.txt @@ -1347,7 +1347,7 @@ Networking CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering CONFIG_NET_UDP=y : Enable UDP networking - CONFIG_NET_BROADCAST=y : Support UDP broadcase packets + CONFIG_NET_BROADCAST=y : Support UDP broadcast packets CONFIG_NET_ICMP=y : Enable ICMP networking CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command : Defaults should be okay for other options diff --git a/boards/arm/samv7/same70-xplained/README.txt b/boards/arm/samv7/same70-xplained/README.txt index 6ba10242aa1..2a952b4b43f 100644 --- a/boards/arm/samv7/same70-xplained/README.txt +++ b/boards/arm/samv7/same70-xplained/README.txt @@ -398,7 +398,7 @@ Selecting the GMAC peripheral CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering CONFIG_NET_UDP=y : Enable UDP networking - CONFIG_NET_BROADCAST=y : Support UDP broadcase packets + CONFIG_NET_BROADCAST=y : Support UDP broadcast packets CONFIG_NET_ICMP=y : Enable ICMP networking CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command : Defaults should be okay for other options diff --git a/boards/arm/samv7/samv71-xult/README.txt b/boards/arm/samv7/samv71-xult/README.txt index 83fd29502ea..328dec14a2d 100644 --- a/boards/arm/samv7/samv71-xult/README.txt +++ b/boards/arm/samv7/samv71-xult/README.txt @@ -714,7 +714,7 @@ Selecting the GMAC peripheral CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering CONFIG_NET_UDP=y : Enable UDP networking - CONFIG_NET_BROADCAST=y : Support UDP broadcase packets + CONFIG_NET_BROADCAST=y : Support UDP broadcast packets CONFIG_NET_ICMP=y : Enable ICMP networking CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command : Defaults should be okay for other options diff --git a/boards/arm/stm32/cloudctrl/include/board.h b/boards/arm/stm32/cloudctrl/include/board.h index bf94584d159..d778fa3c0cb 100644 --- a/boards/arm/stm32/cloudctrl/include/board.h +++ b/boards/arm/stm32/cloudctrl/include/board.h @@ -71,7 +71,7 @@ #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL #define STM32_LSE_FREQUENCY 32768 -/* PLL ouput is 72MHz */ +/* PLL output is 72MHz */ #define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */ #define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */ diff --git a/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c b/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c index b15bf8defd7..3cb2d5d246e 100644 --- a/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c +++ b/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c @@ -302,7 +302,7 @@ static int waveform_init(FAR struct spwm_s *spwm, float (*f)(float)) printf("Initialize waveform\n"); - /* Get phase step to acheive one sine waveform period */ + /* Get phase step to achieve one sine waveform period */ spwm->phase_step = (float)(2 * M_PI / spwm->samples); diff --git a/boards/arm/stm32/olimex-stm32-p107/include/board.h b/boards/arm/stm32/olimex-stm32-p107/include/board.h index 74336eafaea..fa9fbf6dc70 100644 --- a/boards/arm/stm32/olimex-stm32-p107/include/board.h +++ b/boards/arm/stm32/olimex-stm32-p107/include/board.h @@ -68,7 +68,7 @@ #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL #define STM32_LSE_FREQUENCY 32768 -/* PLL ouput is 72MHz */ +/* PLL output is 72MHz */ #define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */ #define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */ diff --git a/boards/arm/stm32/shenzhou/include/board.h b/boards/arm/stm32/shenzhou/include/board.h index d98f56e6291..baac67e890e 100644 --- a/boards/arm/stm32/shenzhou/include/board.h +++ b/boards/arm/stm32/shenzhou/include/board.h @@ -70,7 +70,7 @@ #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL #define STM32_LSE_FREQUENCY 32768 -/* PLL ouput is 72MHz */ +/* PLL output is 72MHz */ #define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */ #define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */ diff --git a/boards/arm/stm32/stm3210e-eval/src/stm32_lcd.c b/boards/arm/stm32/stm3210e-eval/src/stm32_lcd.c index 1d736c93cb5..a488790d135 100644 --- a/boards/arm/stm32/stm3210e-eval/src/stm32_lcd.c +++ b/boards/arm/stm32/stm3210e-eval/src/stm32_lcd.c @@ -1702,7 +1702,7 @@ static void stm3210e_backlight(void) ccer &= ~(ATIM_CCER_CC1NP|ATIM_CCER_CC1NE); - /* Reset the Ouput Compare and Output Compare N IDLE State */ + /* Reset the Output Compare and Output Compare N IDLE State */ cr2 &= ~(ATIM_CR2_OIS1|ATIM_CR2_OIS1N); diff --git a/boards/arm/stm32/stm32f4discovery/README.txt b/boards/arm/stm32/stm32f4discovery/README.txt index bf8da1f9144..e893717a835 100644 --- a/boards/arm/stm32/stm32f4discovery/README.txt +++ b/boards/arm/stm32/stm32f4discovery/README.txt @@ -486,7 +486,7 @@ MAPPING TO STM32 F4: FSMC_NWE ~WR pin 22 PD5 P2 pin 29 Conflict (Note 3) FSMC_NOE ~RD pin 21 PD4 P2 pin 32 Conflict (Note 4) PC6 RESET pin 24 PC6 P2 pin 47 Free I/O - Timer ouput BL_CNT pin 23 (to be determined) + Timer output BL_CNT pin 23 (to be determined) ---------------- -------------- ---------------------------------- 1 Used for the RED LED diff --git a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h index 5d41fd37018..fcfefb52f0b 100644 --- a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h +++ b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h @@ -67,7 +67,7 @@ #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL #define STM32_LSE_FREQUENCY 32768 -/* PLL ouput is 72MHz */ +/* PLL output is 72MHz */ #define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */ #define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */ diff --git a/boards/arm/str71x/olimex-strp711/src/str71_spi.c b/boards/arm/str71x/olimex-strp711/src/str71_spi.c index 83386bf7277..f7d5c1866c1 100644 --- a/boards/arm/str71x/olimex-strp711/src/str71_spi.c +++ b/boards/arm/str71x/olimex-strp711/src/str71_spi.c @@ -906,7 +906,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * buflen - the length of data that can be received in the buffer in * number of words. * The wordsize is determined by the number of bits-per-word diff --git a/boards/mips/pic32mx/sure-pic32mx/README.txt b/boards/mips/pic32mx/sure-pic32mx/README.txt index 58f4019a948..6fba1bce5ef 100644 --- a/boards/mips/pic32mx/sure-pic32mx/README.txt +++ b/boards/mips/pic32mx/sure-pic32mx/README.txt @@ -818,7 +818,7 @@ Where is one of the following: Storage Demo Board," UART2 is available and is configured to used as the SYSLOG device. That means that all debug output will be directed out UART2. Debug output is not enabled by default, however, so these - settings do nothing until you enable debug ouput. + settings do nothing until you enable debug output. Device Drivers -> System Logging Device Options: CONFIG_SYSLOG_CHAR=y diff --git a/boards/sim/sim/sim/README.txt b/boards/sim/sim/sim/README.txt index 0a263bfea8b..cf0b60db8be 100644 --- a/boards/sim/sim/sim/README.txt +++ b/boards/sim/sim/sim/README.txt @@ -541,7 +541,7 @@ ipforward forwarding logic will recognize that the received packets are not destined for it and will forward the logic to the other TUN network. The application logic then both sends the packets on one network and receives - and verifies the forwarded packet recieved on the other network. The + and verifies the forwarded packet received on the other network. The received packets differ from the sent packets only in that the hop limit (TTL) has been decremented. diff --git a/drivers/input/max11802.c b/drivers/input/max11802.c index f9d4c8976d6..901a7594a6a 100644 --- a/drivers/input/max11802.c +++ b/drivers/input/max11802.c @@ -1275,7 +1275,7 @@ int max11802_register(FAR struct spi_dev_s *spi, /* If multiple MAX11802 devices are supported, then we will need to add * this new instance to a list of device instances so that it can be - * found by the interrupt handler based on the recieved IRQ number. + * found by the interrupt handler based on the received IRQ number. */ #ifdef CONFIG_MAX11802_MULTIPLE diff --git a/drivers/input/tsc2007.c b/drivers/input/tsc2007.c index d0cbd1c4e1a..b65dfefeaab 100644 --- a/drivers/input/tsc2007.c +++ b/drivers/input/tsc2007.c @@ -1294,7 +1294,7 @@ int tsc2007_register(FAR struct i2c_master_s *dev, /* If multiple TSC2007 devices are supported, then we will need to add * this new instance to a list of device instances so that it can be - * found by the interrupt handler based on the recieved IRQ number. + * found by the interrupt handler based on the received IRQ number. */ #ifdef CONFIG_TSC2007_MULTIPLE diff --git a/drivers/ioexpander/tca64xx.c b/drivers/ioexpander/tca64xx.c index 1fd2639bde2..a339dfec035 100644 --- a/drivers/ioexpander/tca64xx.c +++ b/drivers/ioexpander/tca64xx.c @@ -824,7 +824,7 @@ static int tca64_multiwritepin(FAR struct ioexpander_dev_s *dev, ret = tca64_getreg(priv, regaddr, (FAR uint8_t *)&pinset, nregs); if (ret < 0) { - gpioerr("ERROR: Failed to read %u ouput registers at %u: %d\n", + gpioerr("ERROR: Failed to read %u output registers at %u: %d\n", nregs, regaddr, ret); goto errout_with_lock; } diff --git a/drivers/lcd/pcf8574_lcd_backpack_readme.txt b/drivers/lcd/pcf8574_lcd_backpack_readme.txt index edae94e0b60..737472b231f 100644 --- a/drivers/lcd/pcf8574_lcd_backpack_readme.txt +++ b/drivers/lcd/pcf8574_lcd_backpack_readme.txt @@ -141,7 +141,7 @@ fields in the configuration descriptor: cfg.rows = 2; cfg.cols = 16; -The lcd backpack can accomodate all known 1-line and 2-line displays, and +The lcd backpack can accommodate all known 1-line and 2-line displays, and 4-line displays up to 4 x 32. Explicitly, the 4 x 40 /cannot/ be supported because it has an important hardware difference (it is actually two 4x20 controllers, and the LCD backpack does not have the wiring for the diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index d79a433cc09..249d3cd19a6 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c @@ -335,7 +335,7 @@ static uint16_t spi_send(FAR struct spi_dev_s *dev, uint16_t wd) * Input Parameters: * dev - Device-specific state data * txbuffer - A pointer to the buffer of data to be sent - * rxbuffer - A pointer to the buffer in which to recieve data + * rxbuffer - A pointer to the buffer in which to receive data * nwords - the length of data that to be exchanged in units of words. * The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is @@ -452,7 +452,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size * * Input Parameters: * dev - Device-specific state data - * buffer - A pointer to the buffer in which to recieve data + * buffer - A pointer to the buffer in which to receive data * nwords - the length of data that can be received in the buffer in number * of words. The wordsize is determined by the number of bits-per-word * selected for the SPI interface. If nbits <= 8, the data is diff --git a/drivers/syslog/README.txt b/drivers/syslog/README.txt index 346cc632557..d24e3d02522 100644 --- a/drivers/syslog/README.txt +++ b/drivers/syslog/README.txt @@ -265,7 +265,7 @@ SYSLOG Channels * The output generated by up_putc() is immediate and in real-time. The normal SYSLOG output, on the other hand, is buffered in the serial driver and may be delayed with respect to the immediate output by many - lines. Therefore, the interrupt level SYSLOG ouput provided throug + lines. Therefore, the interrupt level SYSLOG output provided through up_putc() is grossly out of synchronization with other debug output 2. In-Memory Buffering diff --git a/drivers/usbdev/usbmsc.c b/drivers/usbdev/usbmsc.c index 3895c1724b0..197aed97046 100644 --- a/drivers/usbdev/usbmsc.c +++ b/drivers/usbdev/usbmsc.c @@ -1219,7 +1219,7 @@ void usbmsc_rdcomplete(FAR struct usbdev_ep_s *ep, * Name: usbmsc_deferredresponse * * Description: - * Some EP0 setup request cannot be responded to immediately becuase they + * Some EP0 setup request cannot be responded to immediately because they * require some asynchronous action from the SCSI worker thread. This * function is provided for the SCSI thread to make that deferred response. * The specific requests that require this deferred response are: diff --git a/drivers/usbdev/usbmsc.h b/drivers/usbdev/usbmsc.h index a17d5aa437d..97149e9581b 100644 --- a/drivers/usbdev/usbmsc.h +++ b/drivers/usbdev/usbmsc.h @@ -667,7 +667,7 @@ void usbmsc_rdcomplete(FAR struct usbdev_ep_s *ep, * Name: usbmsc_deferredresponse * * Description: - * Some EP0 setup request cannot be responded to immediately becuase they + * Some EP0 setup request cannot be responded to immediately because they * require some asynchronous action from the SCSI worker thread. This * function is provided for the SCSI thread to make that deferred response. * The specific requests that require this deferred response are: diff --git a/graphics/vnc/server/vnc_fbdev.c b/graphics/vnc/server/vnc_fbdev.c index 2f9af0ef227..551ce3b5646 100644 --- a/graphics/vnc/server/vnc_fbdev.c +++ b/graphics/vnc/server/vnc_fbdev.c @@ -551,7 +551,7 @@ static inline int vnc_wait_connect(int display) * The RUNNING state indicates that the server has started, it has * established a connection with the VNC client, it is negotiated * encodings and framebuffer characteristics, and it has started the - * updater thread. The server is now ready to recieve Client-to-Server + * updater thread. The server is now ready to receive Client-to-Server * messages and to perform remote framebuffer updates. */ diff --git a/graphics/vnc/server/vnc_receiver.c b/graphics/vnc/server/vnc_receiver.c index 6d8e452e914..1d41f73400c 100644 --- a/graphics/vnc/server/vnc_receiver.c +++ b/graphics/vnc/server/vnc_receiver.c @@ -97,7 +97,7 @@ int vnc_read_remainder(FAR struct vnc_session_s *session, size_t msglen, ssize_t nrecvd; size_t ntotal; - /* Loop until the rest of the message is recieved. */ + /* Loop until the rest of the message is received. */ for (ntotal = 0; ntotal < msglen; offset += nrecvd, ntotal += nrecvd) { diff --git a/include/nuttx/audio/i2s.h b/include/nuttx/audio/i2s.h index e84586774cd..5a630d6800d 100644 --- a/include/nuttx/audio/i2s.h +++ b/include/nuttx/audio/i2s.h @@ -122,7 +122,7 @@ * * Input Parameters: * dev - Device-specific state data - * apb - A pointer to the audio buffer in which to recieve data + * apb - A pointer to the audio buffer in which to receive data * callback - A user provided callback function that will be called at * the completion of the transfer. The callback will be * performed in the context of the worker thread. diff --git a/include/nuttx/mqueue.h b/include/nuttx/mqueue.h index 0fb6d098487..81d0780cf23 100644 --- a/include/nuttx/mqueue.h +++ b/include/nuttx/mqueue.h @@ -78,7 +78,7 @@ # define _MQ_SEND(d,m,l,p) nxmq_send(d,m,l,p) # define _MQ_TIMEDSEND(d,m,l,p,t) nxmq_timedsend(d,m,l,p,t) # define _MQ_RECEIVE(d,m,l,p) nxmq_receive(d,m,l,p) -# define _MQ_TIMEDRECIEVE(d,m,l,p,t) nxmq_timedreceive(d,m,l,p,t) +# define _MQ_TIMEDRECEIVE(d,m,l,p,t) nxmq_timedreceive(d,m,l,p,t) # define _MQ_GETERRNO(r) (-(r)) # define _MQ_SETERRNO(r) set_errno(-(r)) # define _MQ_GETERRVAL(r) (r) @@ -86,7 +86,7 @@ # define _MQ_SEND(d,m,l,p) mq_send(d,m,l,p) # define _MQ_TIMEDSEND(d,m,l,p,t) mq_timedsend(d,m,l,p,t) # define _MQ_RECEIVE(d,m,l,p) mq_receive(d,m,l,p) -# define _MQ_TIMEDRECIEVE(d,m,l,p,t) mq_timedreceive(d,m,l,p,t) +# define _MQ_TIMEDRECEIVE(d,m,l,p,t) mq_timedreceive(d,m,l,p,t) # define _MQ_GETERRNO(r) errno # define _MQ_SETERRNO(r) # define _MQ_GETERRVAL(r) (-errno) diff --git a/include/nuttx/video/vnc.h b/include/nuttx/video/vnc.h index 3d9fa0df63a..f73d01cec39 100644 --- a/include/nuttx/video/vnc.h +++ b/include/nuttx/video/vnc.h @@ -101,7 +101,7 @@ extern "C" * nor can it call upward into NX. So, some other logic. * * vnc_fbinitialize() provides an optional, alternative initialization - * function. It is optional becuase it need not be called. If it is not + * function. It is optional because it need not be called. If it is not * called, however, keyboard/mouse inputs from the remote VNC client will * be lost. By calling vnc_fbinitialize(), you can provide callout * functions that can be received by logic higher in the architecture. diff --git a/mm/umm_heap/umm_calloc.c b/mm/umm_heap/umm_calloc.c index eb147ec89f2..41faba3e600 100644 --- a/mm/umm_heap/umm_calloc.c +++ b/mm/umm_heap/umm_calloc.c @@ -83,7 +83,7 @@ FAR void *calloc(size_t n, size_t elem_size) return ret; #else - /* Use mm_calloc() becuase it implements the clear */ + /* Use mm_calloc() because it implements the clear */ return mm_calloc(USR_HEAP, n, elem_size); #endif diff --git a/mm/umm_heap/umm_zalloc.c b/mm/umm_heap/umm_zalloc.c index 7adea7235cf..227c121e86d 100644 --- a/mm/umm_heap/umm_zalloc.c +++ b/mm/umm_heap/umm_zalloc.c @@ -78,7 +78,7 @@ FAR void *zalloc(size_t size) return alloc; #else - /* Use mm_zalloc() becuase it implements the clear */ + /* Use mm_zalloc() because it implements the clear */ return mm_zalloc(USR_HEAP, size); #endif diff --git a/net/ipforward/ipfwd_dropstats.c b/net/ipforward/ipfwd_dropstats.c index b856f7016ad..2e29ca26a0e 100644 --- a/net/ipforward/ipfwd_dropstats.c +++ b/net/ipforward/ipfwd_dropstats.c @@ -64,7 +64,7 @@ * * Returned Value: * On success, zero (OK) is returned. Otherwise, a negated errno value - * is returned. The only error is if th protocol is not recognized. + * is returned. The only error is if the protocol is not recognized. * ****************************************************************************/ diff --git a/net/ipforward/ipv4_forward.c b/net/ipforward/ipv4_forward.c index edebe410ce1..37db9938e8e 100644 --- a/net/ipforward/ipv4_forward.c +++ b/net/ipforward/ipv4_forward.c @@ -355,7 +355,7 @@ errout: * * Description: * This function is a callback from netdev_foreach. It implements the - * the broadcase forwarding action for each network device (other than, of + * the broadcast forwarding action for each network device (other than, of * course, the device that received the packet). * * Input Parameters: diff --git a/net/ipforward/ipv6_forward.c b/net/ipforward/ipv6_forward.c index 61daba254d9..83c5e83a742 100644 --- a/net/ipforward/ipv6_forward.c +++ b/net/ipforward/ipv6_forward.c @@ -492,7 +492,7 @@ errout: * * Description: * This function is a callback from netdev_foreach. It implements the - * the broadcase forwarding action for each network device (other than, of + * the broadcast forwarding action for each network device (other than, of * course, the device that received the packet). * * Input Parameters: diff --git a/sched/sched/sched_roundrobin.c b/sched/sched/sched_roundrobin.c index e19c6377eea..4c289cb6e5b 100644 --- a/sched/sched/sched_roundrobin.c +++ b/sched/sched/sched_roundrobin.c @@ -124,7 +124,7 @@ uint32_t sched_roundrobin_process(FAR struct tcb_s *tcb, uint32_t ticks, if (tcb->timeslice <= 0 && !sched_islocked_tcb(tcb)) { /* We will also suppress context switches if we were called via one - * of the unusual cases handled by sched_timer_reasses(). In that + * of the unusual cases handled by sched_timer_reassess(). In that * case, we will return a value of one so that the timer will expire * as soon as possible and we can perform this action in the normal * timer expiration context. diff --git a/sched/sched/sched_sporadic.c b/sched/sched/sched_sporadic.c index 4ead1a0e2a1..5a475e2e3e0 100644 --- a/sched/sched/sched_sporadic.c +++ b/sched/sched/sched_sporadic.c @@ -1238,7 +1238,7 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks, } /* We will also suppress context switches if we were called via one of - * the unusual cases handled by sched_timer_reasses(). In that case, + * the unusual cases handled by sched_timer_reassess(). In that case, * we will return a value of one so that the timer will expire as soon * as possible and we can perform this action in the normal timer * expiration context. diff --git a/sched/sched/sched_timerexpiration.c b/sched/sched/sched_timerexpiration.c index c60f98062eb..bd8fc9191d2 100644 --- a/sched/sched/sched_timerexpiration.c +++ b/sched/sched/sched_timerexpiration.c @@ -63,16 +63,16 @@ * Pre-processor Definitions ****************************************************************************/ -/* In the original design, it was planned that sched_timer_reasses() be +/* In the original design, it was planned that sched_timer_reassess() be * called whenever there was a change at the head of the ready-to-run * list. That call was intended to establish a new time-slice or to * stop an old time-slice timer. However, it turns out that that * solution is too fragile: The system is too vulnerable at the time - * that the read-to-run list is modified in order to muck with timers. + * that the ready-to-run list is modified in order to muck with timers. * * The kludge/work-around is simple to keep the timer running all of the * time with an interval of no more than the timeslice interval. If we - * this, then there is really no need to do anything when on context + * do this, then there is really no need to do anything when on context * switches. */ @@ -740,12 +740,12 @@ void sched_timer_resume(void) * - When pre-emption is re-enabled. A previous time slice may have * expired while pre-emption was enabled and now needs to be executed. * - * In the original design, it was also planned that sched_timer_reasses() + * In the original design, it was also planned that sched_timer_reassess() * be called whenever there was a change at the head of the ready-to-run * list. That call was intended to establish a new time-slice for the * newly activated task or to stop the timer if time-slicing is no longer * needed. However, it turns out that that solution is too fragile: The - * system is too vulnerable at the time that the read-to-run list is + * system is too vulnerable at the time that the ready-to-run list is * modified in order to muck with timers. * * The kludge/work-around is simple to keep the timer running all of the diff --git a/sched/sched/sched_unlock.c b/sched/sched/sched_unlock.c index 7248b497377..61ad181108f 100644 --- a/sched/sched/sched_unlock.c +++ b/sched/sched/sched_unlock.c @@ -170,7 +170,7 @@ int sched_unlock(void) { /* Yes.. that is the situation. But one more thing. The call * to up_release_pending() above may have actually replaced - * the task at the head of the read-to-run list. In that case, + * the task at the head of the ready-to-run list. In that case, * we need only to reset the timeslice value back to the * maximum. */ @@ -301,7 +301,7 @@ int sched_unlock(void) { /* Yes.. that is the situation. But one more thing. The call * to up_release_pending() above may have actually replaced - * the task at the head of the read-to-run list. In that case, + * the task at the head of the ready-to-run list. In that case, * we need only to reset the timeslice value back to the * maximum. */ diff --git a/sched/semaphore/sem_post.c b/sched/semaphore/sem_post.c index 6b998b1e60f..2bb22379ed8 100644 --- a/sched/semaphore/sem_post.c +++ b/sched/semaphore/sem_post.c @@ -125,7 +125,7 @@ int nxsem_post(FAR sem_t *sem) #ifdef CONFIG_PRIORITY_INHERITANCE /* Don't let any unblocked tasks run until we complete any priority * restoration steps. Interrupts are disabled, but we do not want - * the head of the read-to-run list to be modified yet. + * the head of the ready-to-run list to be modified yet. * * NOTE: If this sched_lock is called from an interrupt handler, it * will do nothing. diff --git a/tools/Config.mk b/tools/Config.mk index 4a5c8e7e45c..dee33625f39 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -43,7 +43,7 @@ export SHELL=cmd endif # These are configuration variables that are quoted by configuration tool -# but which must be unquoated when used in the build system. +# but which must be unquoted when used in the build system. CONFIG_ARCH := $(patsubst "%",%,$(strip $(CONFIG_ARCH))) CONFIG_ARCH_CHIP := $(patsubst "%",%,$(strip $(CONFIG_ARCH_CHIP))) diff --git a/tools/cfgdefine.c b/tools/cfgdefine.c index 5edd26de0b2..e0d69602de8 100644 --- a/tools/cfgdefine.c +++ b/tools/cfgdefine.c @@ -232,7 +232,7 @@ static char *dequote_value(const char *varname, char *varval) if (dqval) { - /* Check if the variable name is in the list of strings to be dequoated */ + /* Check if the variable name is in the list of strings to be dequoted */ for (dqnam = dequote_list; *dqnam; dqnam++) { diff --git a/video/videomode/videomode_lookup.c b/video/videomode/videomode_lookup.c index 441ff394035..e1c9dba24e3 100644 --- a/video/videomode/videomode_lookup.c +++ b/video/videomode/videomode_lookup.c @@ -257,7 +257,7 @@ FAR const struct videomode_s * * * Description: * Find the video mode in a look-up table with the matching width and - * height and the closest refrsh rate that does not exceed the requested + * height and the closest refresh rate that does not exceed the requested * rate. * ****************************************************************************/