diff --git a/arch/arm/src/a1x/a1x_boot.c b/arch/arm/src/a1x/a1x_boot.c index 1dc27fd6365..95bfc97aa1a 100644 --- a/arch/arm/src/a1x/a1x_boot.c +++ b/arch/arm/src/a1x/a1x_boot.c @@ -124,7 +124,7 @@ static const struct section_mapping_s section_mapping[] = /**************************************************************************** * Name: a1x_setupmappings * - * Description + * Description: * Map all of the initial memory regions defined in section_mapping[] * ****************************************************************************/ diff --git a/arch/arm/src/a1x/a1x_serial.c b/arch/arm/src/a1x/a1x_serial.c index 307dac2d5e0..0a91003a28a 100644 --- a/arch/arm/src/a1x/a1x_serial.c +++ b/arch/arm/src/a1x/a1x_serial.c @@ -710,7 +710,7 @@ static inline void up_enablebreaks(struct up_dev_s *priv, bool enable) /************************************************************************************ * Name: a1x_uart0config, uart1config, uart2config, ..., uart7config * - * Descrption: + * Description: * Configure the UART * ************************************************************************************/ @@ -886,7 +886,7 @@ static inline void a1x_uart7config(void) /************************************************************************************ * Name: a1x_uartdl * - * Descrption: + * Description: * Select a divider to produce the BAUD from the UART PCLK. * * BAUD = PCLK / (16 * DL), or diff --git a/arch/arm/src/arm/up_prefetchabort.c b/arch/arm/src/arm/up_prefetchabort.c index ab97efd5737..7fc02b11df3 100644 --- a/arch/arm/src/arm/up_prefetchabort.c +++ b/arch/arm/src/arm/up_prefetchabort.c @@ -69,7 +69,7 @@ /**************************************************************************** * Name: up_prefetchabort * - * Description; + * Description: * This is the prefetch abort exception handler. The ARM prefetch abort * exception occurs when a memory fault is detected during an an * instruction fetch. diff --git a/arch/arm/src/armv7-a/arm_prefetchabort.c b/arch/arm/src/armv7-a/arm_prefetchabort.c index 0bb8cd37932..a10f703287c 100644 --- a/arch/arm/src/armv7-a/arm_prefetchabort.c +++ b/arch/arm/src/armv7-a/arm_prefetchabort.c @@ -57,7 +57,7 @@ /**************************************************************************** * Name: arm_prefetchabort * - * Description; + * Description: * This is the prefetch abort exception handler. The ARM prefetch abort * exception occurs when a memory fault is detected during an an * instruction fetch. diff --git a/arch/arm/src/armv7-r/arm_prefetchabort.c b/arch/arm/src/armv7-r/arm_prefetchabort.c index 74713f5ad3e..7d5fd7cd86a 100644 --- a/arch/arm/src/armv7-r/arm_prefetchabort.c +++ b/arch/arm/src/armv7-r/arm_prefetchabort.c @@ -54,7 +54,7 @@ /**************************************************************************** * Name: arm_prefetchabort * - * Description; + * Description: * This is the prefetch abort exception handler. The ARM prefetch abort * exception occurs when a memory fault is detected during an an * instruction fetch. diff --git a/arch/arm/src/bcm2708/bcm_boot.c b/arch/arm/src/bcm2708/bcm_boot.c index a73dbf5e667..7dbc32cb812 100644 --- a/arch/arm/src/bcm2708/bcm_boot.c +++ b/arch/arm/src/bcm2708/bcm_boot.c @@ -104,7 +104,7 @@ static inline void bcm_set_level1entry(uint32_t paddr, uint32_t vaddr, /**************************************************************************** * Name: bcm_setupmappings * - * Description + * Description: * Map all of the initial memory regions defined in g_section_mapping[] * ****************************************************************************/ diff --git a/arch/arm/src/c5471/c5471_ethernet.c b/arch/arm/src/c5471/c5471_ethernet.c index f38497a37ed..b92f2f20948 100644 --- a/arch/arm/src/c5471/c5471_ethernet.c +++ b/arch/arm/src/c5471/c5471_ethernet.c @@ -439,7 +439,7 @@ static void c5471_macassign(struct c5471_driver_s *priv); /**************************************************************************** * Name: c5471_dumpbuffer * - * Description + * Description: * Debug only * ****************************************************************************/ @@ -461,7 +461,7 @@ static inline void c5471_dumpbuffer(const char *msg, const uint8_t *buffer, /**************************************************************************** * Name: c5471_mdtxbit * - * Description + * Description: * A helper routine used when serially communicating with the c547X's * external ethernet transeiver device. GPIO pins are connected to the * transeiver's MDCLK and MDIO pins and are used to accomplish the serial @@ -528,7 +528,7 @@ static void c5471_mdtxbit (int bit_state) /**************************************************************************** * Name: c5471_mdrxbit * - * Description + * Description: * A helper routine used when serially communicating with the c547X's * external ethernet transeiver device. GPIO pins are connected to the * transeiver's MDCLK and MDIO pins and are used to accomplish the serial @@ -589,7 +589,7 @@ static int c5471_mdrxbit (void) /**************************************************************************** * Name: c5471_mdwrite * - * Description + * Description: * A helper routine used when serially communicating with the c547X's * external ethernet transeiver device. GPIO pins are connected to the * transeiver's MDCLK and MDIO pins and are used to accomplish the serial @@ -651,7 +651,7 @@ static void c5471_mdwrite (int adr, int reg, int data) /**************************************************************************** * Name: c5471_mdread * - * Description + * Description: * A helper routine used when serially communicating with the c547X's * external ethernet transeiver device. GPIO pins are connected to the * transeiver's MDCLK and MDIO pins and are used to accomplish the serial @@ -716,7 +716,7 @@ static int c5471_mdread (int adr, int reg) /**************************************************************************** * Name: c5471_phyinit * - * Description + * Description: * The c547X EVM board uses a Lucent LU3X31T-T64 transeiver device to * handle the physical layer (PHY). It's a h/w block that on the one end * offers a Media Independent Interface (MII) which is connected to the @@ -820,7 +820,7 @@ static int c5471_phyinit (void) /**************************************************************************** * Name: c5471_inctxcpu * - * Description + * Description: * ****************************************************************************/ @@ -843,7 +843,7 @@ static inline void c5471_inctxcpu(struct c5471_driver_s *priv) /**************************************************************************** * Name: c5471_incrxcpu * - * Description + * Description: * ****************************************************************************/ @@ -2073,7 +2073,7 @@ static int c5471_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) /**************************************************************************** * Name: c5471_eimreset * - * Description + * Description: * The C547x docs states that a module should generally be reset according * to the following algorithm: * @@ -2121,7 +2121,7 @@ static void c5471_eimreset (struct c5471_driver_s *priv) /**************************************************************************** * Name: c5471_eimconfig * - * Description + * Description: * Assumes that all registers are currently in the power-up reset state. * This routine then modifies that state to provide our specific ethernet * configuration. @@ -2332,7 +2332,7 @@ static void c5471_eimconfig(struct c5471_driver_s *priv) /**************************************************************************** * Name: c5471_reset * - * Description + * Description: * ****************************************************************************/ @@ -2352,7 +2352,7 @@ static void c5471_reset(struct c5471_driver_s *priv) /**************************************************************************** * Name: c5471_macassign * - * Description + * Description: * Set the mac address of our CPU ether port so that when the SWITCH * receives packets from the PROMISCUOUS ENET0 it will switch them to the * CPU port and cause a packet arrival event on the Switch's CPU TX queue diff --git a/arch/arm/src/efm32/efm32_adc.c b/arch/arm/src/efm32/efm32_adc.c index a1224e2d754..abe463ca375 100644 --- a/arch/arm/src/efm32/efm32_adc.c +++ b/arch/arm/src/efm32/efm32_adc.c @@ -847,9 +847,9 @@ static void adc_hw_reset(struct efm32_dev_s *priv, bool reset) /**************************************************************************** * Name: adc_enable * - * Description : Enables or disables the specified ADC peripheral. - * Also, starts a conversion when the ADC is not - * triggered by timers + * Description: + * Enables or disables the specified ADC peripheral. Also, starts a + * conversion when the ADC is not triggered by timers * * Input Parameters: * diff --git a/arch/arm/src/imx6/imx_boot.c b/arch/arm/src/imx6/imx_boot.c index 6abc6f8b157..f48b3e70a28 100644 --- a/arch/arm/src/imx6/imx_boot.c +++ b/arch/arm/src/imx6/imx_boot.c @@ -91,7 +91,7 @@ extern uint32_t _vector_end; /* End+1 of vector block */ /**************************************************************************** * Name: imx_setupmappings * - * Description + * Description: * Map all of the initial memory regions defined in g_section_mapping[] * ****************************************************************************/ @@ -115,7 +115,7 @@ static inline void imx_setupmappings(void) /**************************************************************************** * Name: imx_remap * - * Description + * Description: * Map all of the final memory regions defined in g_operational_mapping[] * ****************************************************************************/ diff --git a/arch/arm/src/lpc11xx/lpc11_serial.c b/arch/arm/src/lpc11xx/lpc11_serial.c index 941a4475b4b..4799e4ed514 100644 --- a/arch/arm/src/lpc11xx/lpc11_serial.c +++ b/arch/arm/src/lpc11xx/lpc11_serial.c @@ -362,7 +362,7 @@ static inline void lpc11_uart0config(void) /************************************************************************************ * Name: lpc11_uartdl * - * Descrption: + * Description: * Select a divider to produce the BAUD from the UART PCLK. * * BAUD = PCLK / (16 * DL), or diff --git a/arch/arm/src/lpc17xx/lpc17_serial.c b/arch/arm/src/lpc17xx/lpc17_serial.c index 9c13a06d4a1..f6a7fabbb9a 100644 --- a/arch/arm/src/lpc17xx/lpc17_serial.c +++ b/arch/arm/src/lpc17xx/lpc17_serial.c @@ -550,7 +550,7 @@ static inline void up_enablebreaks(struct up_dev_s *priv, bool enable) /************************************************************************************ * Name: lpc17_uartcclkdiv * - * Descrption: + * Description: * Select a CCLK divider to produce the UART PCLK. The stratey is to select the * smallest divisor that results in an solution within range of the 16-bit * DLM and DLL divisor: @@ -667,7 +667,7 @@ static inline uint32_t lpc17_uartcclkdiv(uint32_t baud) /************************************************************************************ * Name: lpc17_uart0config, uart1config, uart2config, and uart3config * - * Descrption: + * Description: * Configure the UART. UART0/1/2/3 peripherals are configured using the following * registers: * @@ -815,7 +815,7 @@ static inline void lpc17_uart3config(void) /************************************************************************************ * Name: lpc17_uartdl * - * Descrption: + * Description: * Select a divider to produce the BAUD from the UART PCLK. * * BAUD = PCLK / (16 * DL), or diff --git a/arch/arm/src/lpc2378/lpc23xx_io.c b/arch/arm/src/lpc2378/lpc23xx_io.c index 94e7f99c548..f871ce17f80 100644 --- a/arch/arm/src/lpc2378/lpc23xx_io.c +++ b/arch/arm/src/lpc2378/lpc23xx_io.c @@ -55,7 +55,8 @@ /**************************************************************************** * Name: IO_Init() * - * Descriptions: Initialize the target board before running the main() + * Description: + * Initialize the target board before running the main() * ****************************************************************************/ diff --git a/arch/arm/src/sam34/sam_udp.c b/arch/arm/src/sam34/sam_udp.c index 908716ebb08..c2edada328c 100644 --- a/arch/arm/src/sam34/sam_udp.c +++ b/arch/arm/src/sam34/sam_udp.c @@ -2525,7 +2525,7 @@ static void sam_resume(struct sam_usbdev_s *priv) /**************************************************************************** * Name: sam_ep_reset * - * Description + * Description: * Reset and disable one endpoints. * ****************************************************************************/ @@ -2565,7 +2565,7 @@ static void sam_ep_reset(struct sam_usbdev_s *priv, uint8_t epno) /**************************************************************************** * Name: sam_epset_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ diff --git a/arch/arm/src/sama5/sam_boot.c b/arch/arm/src/sama5/sam_boot.c index 0098100945f..609f1476080 100644 --- a/arch/arm/src/sama5/sam_boot.c +++ b/arch/arm/src/sama5/sam_boot.c @@ -84,7 +84,7 @@ extern uint32_t _vector_end; /* End+1 of vector block */ /**************************************************************************** * Name: sam_setupmappings * - * Description + * Description: * Map all of the initial memory regions defined in g_section_mapping[] * ****************************************************************************/ @@ -106,7 +106,7 @@ static inline void sam_setupmappings(void) /**************************************************************************** * Name: sam_remap * - * Description + * Description: * Map all of the final memory regions defined in g_operational_mapping[] * ****************************************************************************/ diff --git a/arch/arm/src/sama5/sam_udphs.c b/arch/arm/src/sama5/sam_udphs.c index 090e10b4d84..1c04600e1a7 100644 --- a/arch/arm/src/sama5/sam_udphs.c +++ b/arch/arm/src/sama5/sam_udphs.c @@ -3048,7 +3048,7 @@ static void sam_resume(struct sam_usbdev_s *priv) /**************************************************************************** * Name: sam_ep_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ @@ -3090,7 +3090,7 @@ static void sam_ep_reset(struct sam_usbdev_s *priv, uint8_t epno) /**************************************************************************** * Name: sam_epset_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ diff --git a/arch/arm/src/samdl/sam_usb.c b/arch/arm/src/samdl/sam_usb.c index 02521250738..2ed2fa2ff47 100644 --- a/arch/arm/src/samdl/sam_usb.c +++ b/arch/arm/src/samdl/sam_usb.c @@ -3491,7 +3491,7 @@ errout: /**************************************************************************** * Name: sam_ep_reset * - * Description + * Description: * Reset and disable one endpoints. * ****************************************************************************/ @@ -3528,7 +3528,7 @@ static void sam_ep_reset(struct sam_usbdev_s *priv, uint8_t epno) /**************************************************************************** * Name: sam_epset_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ diff --git a/arch/arm/src/samv7/sam_usbdevhs.c b/arch/arm/src/samv7/sam_usbdevhs.c index d27dafd5cc8..5959cde64a0 100644 --- a/arch/arm/src/samv7/sam_usbdevhs.c +++ b/arch/arm/src/samv7/sam_usbdevhs.c @@ -3319,7 +3319,7 @@ static void sam_resume(struct sam_usbdev_s *priv) /**************************************************************************** * Name: sam_ep_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ @@ -3377,7 +3377,7 @@ static void sam_ep_reset(struct sam_usbdev_s *priv, uint8_t epno) /**************************************************************************** * Name: sam_epset_reset * - * Description + * Description: * Reset and disable a set of endpoints. * ****************************************************************************/ diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/arm/src/stm32/stm32_adc.c index 89e826f6f0f..a1a3d5523c6 100644 --- a/arch/arm/src/stm32/stm32_adc.c +++ b/arch/arm/src/stm32/stm32_adc.c @@ -1366,7 +1366,8 @@ static void adc_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: adc_power_down_idle * - * Description : Enables or disables power down during the idle phase. + * Description: + * Enables or disables power down during the idle phase. * * Input Parameters: * @@ -1407,7 +1408,8 @@ static void adc_power_down_idle(FAR struct stm32_dev_s *priv, bool pdi_high) /**************************************************************************** * Name: adc_power_down_delay * - * Description : Enables or disables power down during the delay phase. + * Description: + * Enables or disables power down during the delay phase. * * Input Parameters: * @@ -1448,8 +1450,9 @@ static void adc_power_down_delay(FAR struct stm32_dev_s *priv, bool pdd_high) /**************************************************************************** * Name: adc_dels_after_conversion * - * Description : Defines the length of the delay which is applied - * after a conversion or a sequence of conversions. + * Description: + * Defines the length of the delay which is applied after a conversion or + * a sequence of conversions. * * Input Parameters: * @@ -1474,7 +1477,8 @@ static void adc_dels_after_conversion(FAR struct stm32_dev_s *priv, /**************************************************************************** * Name: adc_select_ch_bank * - * Description : Selects the bank of channels to be converted + * Description: + * Selects the bank of channels to be converted * (! Must be modified only when no conversion is on going !) * * Input Parameters: @@ -1507,9 +1511,9 @@ static void adc_select_ch_bank(FAR struct stm32_dev_s *priv, /**************************************************************************** * Name: adc_enable * - * Description : Enables or disables the specified ADC peripheral. - * Also, starts a conversion when the ADC is not - * triggered by timers + * Description: + * Enables or disables the specified ADC peripheral. Also, starts a + * conversion when the ADC is not triggered by timers * * Input Parameters: * diff --git a/arch/arm/src/stm32/stm32_sdadc.c b/arch/arm/src/stm32/stm32_sdadc.c index eaaf486e9d1..67e348c81d0 100644 --- a/arch/arm/src/stm32/stm32_sdadc.c +++ b/arch/arm/src/stm32/stm32_sdadc.c @@ -629,7 +629,8 @@ static void sdadc_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: sdadc_power_down_idle * - * Description : Enables or disables power down during the idle phase. + * Description: + * Enables or disables power down during the idle phase. * * Input Parameters: * priv - A reference to the SDADC block state @@ -670,7 +671,8 @@ static void sdadc_power_down_idle(FAR struct stm32_dev_s *priv, bool pdi_high) /**************************************************************************** * Name: sdadc_enable * - * Description : Enables or disables the specified SDADC peripheral. + * Description: + * Enables or disables the specified SDADC peripheral. * Does not start conversion unless the SDADC is * triggered by timer * diff --git a/arch/arm/src/stm32/stm32f33xxx_adc.c b/arch/arm/src/stm32/stm32f33xxx_adc.c index 412c3453d79..b75641c27af 100644 --- a/arch/arm/src/stm32/stm32f33xxx_adc.c +++ b/arch/arm/src/stm32/stm32f33xxx_adc.c @@ -1350,9 +1350,9 @@ static void adc_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: adc_enable * - * Description : Enables or disables the specified ADC peripheral. - * Also, starts a conversion when the ADC is not - * triggered by timers + * Description: + * Enables or disables the specified ADC peripheral. Also, starts a + * conversion when the ADC is not triggered by timers * * Input Parameters: * diff --git a/arch/arm/src/stm32f7/stm32_adc.c b/arch/arm/src/stm32f7/stm32_adc.c index 587983c40ab..710209a2bf1 100644 --- a/arch/arm/src/stm32f7/stm32_adc.c +++ b/arch/arm/src/stm32f7/stm32_adc.c @@ -1082,9 +1082,9 @@ static void adc_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: adc_enable * - * Description : Enables or disables the specified ADC peripheral. - * Also, starts a conversion when the ADC is not - * triggered by timers + * Description: + * Enables or disables the specified ADC peripheral. Also, starts a + * conversion when the ADC is not triggered by timers * * Input Parameters: * diff --git a/arch/arm/src/stm32l4/stm32l4_adc.c b/arch/arm/src/stm32l4/stm32l4_adc.c index 2576ec182ed..ada9f4d8791 100644 --- a/arch/arm/src/stm32l4/stm32l4_adc.c +++ b/arch/arm/src/stm32l4/stm32l4_adc.c @@ -1145,7 +1145,8 @@ static void adc_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: adc_enable * - * Description : Enables the specified ADC peripheral. + * Description: + * Enables the specified ADC peripheral. * * Input Parameters: * priv - A reference to the ADC block status diff --git a/arch/arm/src/stm32l4/stm32l4_dfsdm.c b/arch/arm/src/stm32l4/stm32l4_dfsdm.c index 4e54b77c519..a52ad71df03 100644 --- a/arch/arm/src/stm32l4/stm32l4_dfsdm.c +++ b/arch/arm/src/stm32l4/stm32l4_dfsdm.c @@ -1070,7 +1070,8 @@ static void dfsdm_rccreset(FAR struct stm32_dev_s *priv, bool reset) /**************************************************************************** * Name: dfsdm_enable * - * Description : Enables the DFSDM peripheral. + * Description: + * Enables the DFSDM peripheral. * * Input Parameters: * priv - A reference to the DFSDM block status diff --git a/arch/arm/src/str71x/str71x_head.S b/arch/arm/src/str71x/str71x_head.S index c35715e02d2..934fd7fdfd1 100644 --- a/arch/arm/src/str71x/str71x_head.S +++ b/arch/arm/src/str71x/str71x_head.S @@ -346,7 +346,7 @@ eicloop: /***************************************************************************** * Name: periphinit * - * Description" + * Description: * Disable all perfipherals (except EIC) * *****************************************************************************/ diff --git a/arch/avr/src/avr/up_switchcontext.S b/arch/avr/src/avr/up_switchcontext.S index c6ab3f8c080..c5613b9814e 100644 --- a/arch/avr/src/avr/up_switchcontext.S +++ b/arch/avr/src/avr/up_switchcontext.S @@ -106,7 +106,7 @@ up_switchcontext: /**************************************************************************** * Name: up_fullcontextrestore * - * Descripion: + * Description: * Restore the full-running context of a thread. * * Input Parameters: diff --git a/arch/avr/src/avr32/up_fullcontextrestore.S b/arch/avr/src/avr32/up_fullcontextrestore.S index 8b091099834..45019c424bf 100644 --- a/arch/avr/src/avr32/up_fullcontextrestore.S +++ b/arch/avr/src/avr32/up_fullcontextrestore.S @@ -53,7 +53,7 @@ /**************************************************************************** * Name: up_fullcontextrestore * - * Descripion: + * Description: * Restore the full-running contex of a thread. * * NOTE: Thus function must handle one very strange case. That is when diff --git a/arch/risc-v/src/nr5m100/nr5_allocateheap.c b/arch/risc-v/src/nr5m100/nr5_allocateheap.c index 3467cee05cb..38fb84c162c 100644 --- a/arch/risc-v/src/nr5m100/nr5_allocateheap.c +++ b/arch/risc-v/src/nr5m100/nr5_allocateheap.c @@ -51,7 +51,7 @@ /************************************************************************************ * Name: up_addregion * - * Descripton: + * Description: * RAM may be added in non-contiguous chunks. This routine adds all chunks * that may be used for heap. * diff --git a/drivers/audio/cs43l22.c b/drivers/audio/cs43l22.c index be90d84c562..ad09df65ec8 100644 --- a/drivers/audio/cs43l22.c +++ b/drivers/audio/cs43l22.c @@ -209,7 +209,7 @@ static const struct audio_ops_s g_audioops = /**************************************************************************** * Name: cs43l22_readreg * - * Description + * Description: * Read the specified 16-bit register from the CS43L22 device. * ****************************************************************************/ @@ -1206,8 +1206,8 @@ static int cs43l22_start(FAR struct audio_lowerhalf_s *dev) /**************************************************************************** * Name: cs43l22_stop * - * Description: Stop the configured operation (audio streaming, volume - * disabled, etc.). + * Description: + * Stop the configured operation (audio streaming, volume disabled, etc.). * ****************************************************************************/ @@ -1244,7 +1244,8 @@ static int cs43l22_stop(FAR struct audio_lowerhalf_s *dev) /**************************************************************************** * Name: cs43l22_pause * - * Description: Pauses the playback. + * Description: + * Pauses the playback. * ****************************************************************************/ @@ -1273,7 +1274,8 @@ static int cs43l22_pause(FAR struct audio_lowerhalf_s *dev) /**************************************************************************** * Name: cs43l22_resume * - * Description: Resumes the playback. + * Description: + * Resumes the playback. * ****************************************************************************/ @@ -1306,7 +1308,8 @@ static int cs43l22_resume(FAR struct audio_lowerhalf_s *dev) /**************************************************************************** * Name: cs43l22_enqueuebuffer * - * Description: Enqueue an Audio Pipeline Buffer for playback/ processing. + * Description: + * Enqueue an Audio Pipeline Buffer for playback/ processing. * ****************************************************************************/ @@ -1356,7 +1359,8 @@ static int cs43l22_enqueuebuffer(FAR struct audio_lowerhalf_s *dev, /**************************************************************************** * Name: cs43l22_cancelbuffer * - * Description: Called when an enqueued buffer is being cancelled. + * Description: + * Called when an enqueued buffer is being cancelled. * ****************************************************************************/ @@ -1370,7 +1374,8 @@ static int cs43l22_cancelbuffer(FAR struct audio_lowerhalf_s *dev, /**************************************************************************** * Name: cs43l22_ioctl * - * Description: Perform a device ioctl + * Description: + * Perform a device ioctl * ****************************************************************************/ @@ -1424,7 +1429,8 @@ static int cs43l22_ioctl(FAR struct audio_lowerhalf_s *dev, int cmd, /**************************************************************************** * Name: cs43l22_reserve * - * Description: Reserves a session (the only one we have). + * Description: + * Reserves a session (the only one we have). * ****************************************************************************/ @@ -1469,7 +1475,8 @@ static int cs43l22_reserve(FAR struct audio_lowerhalf_s *dev) /**************************************************************************** * Name: cs43l22_release * - * Description: Releases the session (the only one we have). + * Description: + * Releases the session (the only one we have). * ****************************************************************************/ diff --git a/drivers/audio/cs43l22.h b/drivers/audio/cs43l22.h index f2ec078e109..ce83523527b 100644 --- a/drivers/audio/cs43l22.h +++ b/drivers/audio/cs43l22.h @@ -374,7 +374,7 @@ extern const uint8_t g_fllratio[CS43L22_NFLLRATIO]; /**************************************************************************** * Name: cs43l22_readreg * - * Description + * Description: * Read the specified 8-bit register from the CS43L22 device. * ****************************************************************************/ diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index 50fb2a7045d..d917a8ee359 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -247,7 +247,7 @@ const uint8_t g_fllratio[WM8904_NFLLRATIO] = /**************************************************************************** * Name: wm8904_readreg * - * Description + * Description: * Read the specified 16-bit register from the WM8904 device. * ****************************************************************************/ diff --git a/drivers/audio/wm8904.h b/drivers/audio/wm8904.h index e51d247c5f3..0ba1e16c9ff 100644 --- a/drivers/audio/wm8904.h +++ b/drivers/audio/wm8904.h @@ -1118,7 +1118,7 @@ extern const uint8_t g_fllratio[WM8904_NFLLRATIO]; /**************************************************************************** * Name: wm8904_readreg * - * Description + * Description: * Read the specified 16-bit register from the WM8904 device. * ****************************************************************************/ diff --git a/drivers/input/ads7843e.c b/drivers/input/ads7843e.c index e62d2c2de3b..56f1b6d88d7 100644 --- a/drivers/input/ads7843e.c +++ b/drivers/input/ads7843e.c @@ -225,7 +225,7 @@ static void ads7843e_unlock(FAR struct spi_dev_s *spi) /**************************************************************************** * Name: ads7843e_sendcmd * - * Description. + * Description: * The command/data sequences is as follows: * * DCLK diff --git a/drivers/power/pm.h b/drivers/power/pm.h index 472b42a9485..03e405910b2 100644 --- a/drivers/power/pm.h +++ b/drivers/power/pm.h @@ -76,7 +76,7 @@ /**************************************************************************** * Name: pm_lock * - * Descripton: + * Description: * Lock the power management registry. NOTE: This function may return * an error if a signal is received while what (errno == EINTR). * @@ -87,7 +87,7 @@ /**************************************************************************** * Name: pm_unlock * - * Descripton: + * Description: * Unlock the power management registry. * ****************************************************************************/ diff --git a/drivers/sensors/qencoder.c b/drivers/sensors/qencoder.c index be5879ac257..6649bf0ab39 100644 --- a/drivers/sensors/qencoder.c +++ b/drivers/sensors/qencoder.c @@ -236,7 +236,7 @@ errout: /************************************************************************************ * Name: qe_read * - * Description:O + * Description: * A dummy read method. This is provided only to satsify the VFS layer. * ************************************************************************************/ diff --git a/drivers/sensors/zerocross.c b/drivers/sensors/zerocross.c index 3f01650f178..e2260ec0423 100644 --- a/drivers/sensors/zerocross.c +++ b/drivers/sensors/zerocross.c @@ -370,7 +370,7 @@ errout_with_exclsem: /**************************************************************************** * Name: zc_read * - * Description:O + * Description: * A dummy read method. This is provided only to satsify the VFS layer. * ****************************************************************************/ diff --git a/drivers/serial/tcdrain.c b/drivers/serial/tcdrain.c index 1dcdf456bb7..5171aedf72d 100644 --- a/drivers/serial/tcdrain.c +++ b/drivers/serial/tcdrain.c @@ -55,7 +55,7 @@ /**************************************************************************** * Name: tcdrain * - * Descripton: + * Description: * Function for draining the output buffer of a terminal/serial device * * Input Parameters: diff --git a/drivers/serial/uart_16550.c b/drivers/serial/uart_16550.c index 3ba4a4f0569..79918be449c 100644 --- a/drivers/serial/uart_16550.c +++ b/drivers/serial/uart_16550.c @@ -518,7 +518,7 @@ static inline void u16550_enablebreaks(FAR struct u16550_s *priv, /**************************************************************************** * Name: u16550_divisor * - * Descrption: + * Description: * Select a divider to produce the BAUD from the UART_CLK. * * BAUD = UART_CLK / (16 * DL), or diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index 8c650282bce..06c0a1e81fd 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c @@ -528,7 +528,7 @@ static int spi_cmddata(FAR struct spi_dev_s *dev, uint32_t devid, /**************************************************************************** * Name: spi_create_bitbang * - * Descripton: + * Description: * Create an instance of the SPI bit-bang driver. * ****************************************************************************/ diff --git a/drivers/timers/oneshot.c b/drivers/timers/oneshot.c index 404bb2a1d4f..8de9a3ef32b 100644 --- a/drivers/timers/oneshot.c +++ b/drivers/timers/oneshot.c @@ -179,7 +179,7 @@ static int oneshot_close(FAR struct file *filep) /************************************************************************************ * Name: oneshot_read * - * Description:O + * Description: * A dummy read method. This is provided only to satsify the VFS layer. * ************************************************************************************/ diff --git a/drivers/wireless/ieee802154/xbee/xbee_netdev.c b/drivers/wireless/ieee802154/xbee/xbee_netdev.c index ea7db25986d..77e75e1187d 100644 --- a/drivers/wireless/ieee802154/xbee/xbee_netdev.c +++ b/drivers/wireless/ieee802154/xbee/xbee_netdev.c @@ -1165,7 +1165,7 @@ static int xbeenet_ioctl(FAR struct net_driver_s *dev, int cmd, /**************************************************************************** * Name: xbeemac_get_mhrlen * - * Description + * Description: * Calculate the MAC header length given the frame meta-data. * * Input Parameters: diff --git a/fs/fat/fs_fat32dirent.c b/fs/fat/fs_fat32dirent.c index bc2f79801f4..bd1655aa79d 100644 --- a/fs/fat/fs_fat32dirent.c +++ b/fs/fat/fs_fat32dirent.c @@ -182,7 +182,7 @@ static uint8_t fat_lfnchecksum(const uint8_t *sfname) /**************************************************************************** * Name: fat_parsesfname * - * Desciption: Convert a user filename into a properly formatted FAT + * Description: Convert a user filename into a properly formatted FAT * (short 8.3) filename as it would appear in a directory entry. Here are * the rules for the 8+3 short file name in the directory: * @@ -458,7 +458,7 @@ errout: /**************************************************************************** * Name: fat_parselfname * - * Desciption: Convert a user filename into a properly formatted FAT + * Description: Convert a user filename into a properly formatted FAT * long filename as it would appear in a directory entry. Here are * the rules for the long file name in the directory: * @@ -549,7 +549,7 @@ errout: /**************************************************************************** * Name: fat_createalias * - * Desciption: Given a valid long file name, create a short filename alias. + * Description: Given a valid long file name, create a short filename alias. * Here are the rules for creation of the alias: * * 1. All uppercase @@ -761,7 +761,7 @@ static inline int fat_createalias(struct fat_dirinfo_s *dirinfo) /**************************************************************************** * Name: fat_findalias * - * Desciption: Make sure that the short alias for the long file name is + * Description: Make sure that the short alias for the long file name is * unique, ie., that there is no other * * NOTE: This function does not restore the directory entry that was in the @@ -800,7 +800,7 @@ static inline int fat_findalias(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_uniquealias * - * Desciption: Make sure that the short alias for the long file name is + * Description: Make sure that the short alias for the long file name is * unique, modifying the alias as necessary to assure uniqueness. * * NOTE: This function does not restore the directory entry that was in the @@ -913,7 +913,7 @@ static inline int fat_uniquealias(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_path2dirname * - * Desciption: Convert a user filename into a properly formatted FAT + * Description: Convert a user filename into a properly formatted FAT * (short 8.3) filename as it would appear in a directory entry. * ****************************************************************************/ @@ -951,7 +951,7 @@ static int fat_path2dirname(const char **path, struct fat_dirinfo_s *dirinfo, /**************************************************************************** * Name: fat_findsfnentry * - * Desciption: Find a short file name directory entry. Returns OK if the + * Description: Find a short file name directory entry. Returns OK if the * directory exists; -ENOENT if it does not. * ****************************************************************************/ @@ -1038,7 +1038,7 @@ static int fat_findsfnentry(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_cmplfnchunk * - * Desciption: There are 13 characters per LFN entry, broken up into three + * Description: There are 13 characters per LFN entry, broken up into three * chunks for characts 1-5, 6-11, and 12-13. This function will perform * the comparison of a single chunk. * @@ -1102,7 +1102,7 @@ static bool fat_cmplfnchunk(uint8_t *chunk, const uint8_t *substr, int nchunk) /**************************************************************************** * Name: fat_cmplfname * - * Desciption: Given an LFN directory entry, compare a substring of the name + * Description: Given an LFN directory entry, compare a substring of the name * to a portion in the directory entry. * ****************************************************************************/ @@ -1146,7 +1146,7 @@ static bool fat_cmplfname(const uint8_t *direntry, const uint8_t *substr) /**************************************************************************** * Name: fat_findlfnentry * - * Desciption: Find a sequence of long file name directory entries. + * Description: Find a sequence of long file name directory entries. * * NOTE: As a side effect, this function returns with the sector containing * the short file name directory entry in the cache. @@ -1368,7 +1368,7 @@ next_entry: /**************************************************************************** * Name: fat_allocatesfnentry * - * Desciption: Find a free directory entry for a short file name entry. + * Description: Find a free directory entry for a short file name entry. * ****************************************************************************/ @@ -1450,7 +1450,7 @@ static inline int fat_allocatesfnentry(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_allocatelfnentry * - * Desciption: Find a sequence of free directory entries for a several long + * Description: Find a sequence of free directory entries for a several long * and one short file name entry. * * On entry, dirinfo.dir refers to the first interesting entry the directory. @@ -1592,7 +1592,7 @@ static inline int fat_allocatelfnentry(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_getsfname * - * Desciption: Get the 8.3 filename from a directory entry. On entry, the + * Description: Get the 8.3 filename from a directory entry. On entry, the * short file name entry is already in the cache. * ****************************************************************************/ @@ -1711,7 +1711,7 @@ static inline int fat_getsfname(uint8_t *direntry, char *buffer, /**************************************************************************** * Name: fat_getlfnchunk * - * Desciption: There are 13 characters per LFN entry, broken up into three + * Description: There are 13 characters per LFN entry, broken up into three * chunks for characts 1-5, 6-11, and 12-13. This function will get the * file name characters from one chunk. * @@ -1742,7 +1742,7 @@ static void fat_getlfnchunk(uint8_t *chunk, uint8_t *dest, int nchunk) /**************************************************************************** * Name: fat_getlfname * - * Desciption: Get the long filename from a sequence of directory entries. + * Description: Get the long filename from a sequence of directory entries. * On entry, the "last" long file name entry is in the cache. Returns with * the short file name entry in the cache. * @@ -1903,7 +1903,7 @@ static inline int fat_getlfname(struct fat_mountpt_s *fs, struct fs_dirent_s *di /**************************************************************************** * Name: fat_putsfname * - * Desciption: Write the short directory entry name. + * Description: Write the short directory entry name. * * Assumption: The directory sector is in the cache. * @@ -1928,7 +1928,7 @@ static int fat_putsfname(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo /**************************************************************************** * Name: fat_initlfname * - * Desciption: There are 13 characters per LFN entry, broken up into three + * Description: There are 13 characters per LFN entry, broken up into three * chunks for characts 1-5, 6-11, and 12-13. This function will put the * 0xffff characters into one chunk. * @@ -1954,7 +1954,7 @@ static void fat_initlfname(uint8_t *chunk, int nchunk) /**************************************************************************** * Name: fat_putlfnchunk * - * Desciption: There are 13 characters per LFN entry, broken up into three + * Description: There are 13 characters per LFN entry, broken up into three * chunks for characts 1-5, 6-11, and 12-13. This function will put the * file name characters into one chunk. * @@ -1986,7 +1986,7 @@ static void fat_putlfnchunk(uint8_t *chunk, const uint8_t *src, int nchunk) /**************************************************************************** * Name: fat_putlfname * - * Desciption: Write the long filename into a sequence of directory entries. + * Description: Write the long filename into a sequence of directory entries. * On entry, the "last" long file name entry is in the cache. Returns with * the short file name entry in the cache. * @@ -2192,7 +2192,7 @@ static int fat_putlfname(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_putsfdirentry * - * Desciption: Write a short file name directory entry + * Description: Write a short file name directory entry * * Assumption: The directory sector is in the cache. The caller will write * sector information. @@ -2236,7 +2236,7 @@ static int fat_putsfdirentry(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_finddirentry * - * Desciption: Given a path to something that may or may not be in the file + * Description: Given a path to something that may or may not be in the file * system, return the description of the directory entry of the requested * item. * @@ -2407,7 +2407,7 @@ int fat_finddirentry(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo, /**************************************************************************** * Name: fat_allocatedirentry * - * Desciption: + * Description: * Find (or allocate) all needed directory entries to contain the file name * ****************************************************************************/ @@ -2544,7 +2544,7 @@ int fat_allocatedirentry(struct fat_mountpt_s *fs, /**************************************************************************** * Name: fat_freedirentry * - * Desciption: Free the directory entry. + * Description: Free the directory entry. * * NOTE: As a side effect, this function returns with the sector containing * the deleted short file name directory entry in the cache. @@ -2647,7 +2647,7 @@ int fat_freedirentry(struct fat_mountpt_s *fs, struct fat_dirseq_s *seq) /**************************************************************************** * Name: fat_dirname2path * - * Desciption: Convert a filename in a raw directory entry into a user + * Description: Convert a filename in a raw directory entry into a user * filename. This is essentially the inverse operation of that performed * by fat_path2dirname. See that function for more details. * @@ -2690,7 +2690,7 @@ int fat_dirname2path(struct fat_mountpt_s *fs, struct fs_dirent_s *dir) /**************************************************************************** * Name: fat_dirnamewrite * - * Desciption: Write the (possibly long) directory entry name. This function + * Description: Write the (possibly long) directory entry name. This function * is called only from fat_rename to write the new file name. * * Assumption: The directory sector containing the short file name entry @@ -2731,7 +2731,7 @@ int fat_dirnamewrite(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo) /**************************************************************************** * Name: fat_dirwrite * - * Desciption: Write a directory entry, possibly with a long file name. + * Description: Write a directory entry, possibly with a long file name. * Called from: * * fat_mkdir() to write the new FAT directory entry. @@ -2777,7 +2777,7 @@ int fat_dirwrite(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo, /**************************************************************************** * Name: fat_dircreate * - * Desciption: Create a directory entry for a new file + * Description: Create a directory entry for a new file * ****************************************************************************/ @@ -2809,7 +2809,7 @@ int fat_dircreate(struct fat_mountpt_s *fs, struct fat_dirinfo_s *dirinfo) /**************************************************************************** * Name: fat_remove * - * Desciption: Remove a directory or file from the file system. This + * Description: Remove a directory or file from the file system. This * implements both rmdir() and unlink(). * ****************************************************************************/ diff --git a/fs/nfs/nfs_util.c b/fs/nfs/nfs_util.c index 71709708920..c012ef39b51 100644 --- a/fs/nfs/nfs_util.c +++ b/fs/nfs/nfs_util.c @@ -157,7 +157,7 @@ void nfs_semgive(struct nfsmount *nmp) /**************************************************************************** * Name: nfs_checkmount * - * Desciption: Check if the mountpoint is still valid. + * Description: Check if the mountpoint is still valid. * * The caller should hold the mountpoint semaphore * @@ -190,7 +190,7 @@ int nfs_checkmount(struct nfsmount *nmp) /**************************************************************************** * Name: nfs_request * - * Desciption: + * Description: * Perform the NFS request. On successful receipt, it verifies the NFS level of the * returned values. * @@ -255,7 +255,7 @@ tryagain: /**************************************************************************** * Name: nfs_lookup * - * Desciption: + * Description: * Given a directory file handle, and the path to file in the directory, * return the file handle of the path and attributes of both the file and * the directory containing the file. @@ -376,7 +376,7 @@ int nfs_lookup(struct nfsmount *nmp, FAR const char *filename, /**************************************************************************** * Name: nfs_findnode * - * Desciption: + * Description: * Given a path to something that may or may not be in the file system, * return the handle of the directory entry of the requested object. * @@ -483,7 +483,7 @@ int nfs_findnode(struct nfsmount *nmp, FAR const char *relpath, /**************************************************************************** * Name: nfs_finddir * - * Desciption: + * Description: * Given a path to something that may or may not be in the file system, * return the handle of the entry of the directory containing the requested * object. @@ -574,7 +574,7 @@ int nfs_finddir(struct nfsmount *nmp, FAR const char *relpath, /**************************************************************************** * Name: nfs_attrupdate * - * Desciption: + * Description: * Update file attributes on write or after the file is modified. * * Returned Value: diff --git a/fs/romfs/fs_romfsutil.c b/fs/romfs/fs_romfsutil.c index 145f349bc64..b796a3b0180 100644 --- a/fs/romfs/fs_romfsutil.c +++ b/fs/romfs/fs_romfsutil.c @@ -64,7 +64,7 @@ /**************************************************************************** * Name: romfs_swap32 * - * Desciption: + * Description: * Convert the 32-bit big endian value to little endian * ****************************************************************************/ @@ -80,7 +80,7 @@ static inline uint32_t romfs_swap32(uint32_t value) /**************************************************************************** * Name: romfs_devread32 * - * Desciption: + * Description: * Read the big-endian 32-bit value from the mount device buffer * * Assumption: @@ -105,7 +105,7 @@ static uint32_t romfs_devread32(struct romfs_mountpt_s *rm, int ndx) /**************************************************************************** * Name: romfs_checkentry * - * Desciption: + * Description: * Check if the entry at offset is a directory or file path segment * ****************************************************************************/ @@ -181,7 +181,7 @@ static inline int romfs_checkentry(struct romfs_mountpt_s *rm, /**************************************************************************** * Name: romfs_devcacheread * - * Desciption: + * Description: * Read the specified sector for specified offset into the sector cache. * Return the index into the sector corresponding to the offset * @@ -234,7 +234,7 @@ int16_t romfs_devcacheread(struct romfs_mountpt_s *rm, uint32_t offset) /**************************************************************************** * Name: romfs_followhardlinks * - * Desciption: + * Description: * Given the offset to a file header, check if the file is a hardlink. * If so, traverse the hard links until the terminal, non-linked header * so found and return that offset. @@ -280,7 +280,7 @@ static int romfs_followhardlinks(struct romfs_mountpt_s *rm, uint32_t offset, /**************************************************************************** * Name: romfs_searchdir * - * Desciption: + * Description: * This is part of the romfs_finddirentry log. Search the directory * beginning at dirinfo->fr_firstoffset for entryname. * @@ -382,7 +382,7 @@ void romfs_semgive(struct romfs_mountpt_s *rm) /**************************************************************************** * Name: romfs_hwread * - * Desciption: Read the specified sector into the sector buffer + * Description: Read the specified sector into the sector buffer * ****************************************************************************/ @@ -432,7 +432,7 @@ int romfs_hwread(struct romfs_mountpt_s *rm, uint8_t *buffer, uint32_t sector, /**************************************************************************** * Name: romfs_filecacheread * - * Desciption: + * Description: * Read the specified sector into the sector cache * ****************************************************************************/ @@ -488,7 +488,7 @@ int romfs_filecacheread(struct romfs_mountpt_s *rm, struct romfs_file_s *rf, /**************************************************************************** * Name: romfs_hwconfigure * - * Desciption: + * Description: * This function is called as part of the ROMFS mount operation It * configures the ROMFS filestem for use on this block driver. This includes * the accounting for the geometry of the device, setting up any XIP modes @@ -561,7 +561,7 @@ int romfs_hwconfigure(struct romfs_mountpt_s *rm) /**************************************************************************** * Name: romfs_fsconfigure * - * Desciption: + * Description: * This function is called as part of the ROMFS mount operation It * sets up the mount structure to include configuration information contained * in the ROMFS header. This is the place where we actually determine if @@ -609,7 +609,7 @@ int romfs_fsconfigure(struct romfs_mountpt_s *rm) /**************************************************************************** * Name: romfs_fileconfigure * - * Desciption: + * Description: * This function is called as part of the ROMFS file open operation It * sets up the file structure to handle buffer appropriately, depending * upon XIP mode or not. @@ -650,7 +650,7 @@ int romfs_fileconfigure(struct romfs_mountpt_s *rm, struct romfs_file_s *rf) /**************************************************************************** * Name: romfs_checkmount * - * Desciption: Check if the mountpoint is still valid. + * Description: Check if the mountpoint is still valid. * * The caller should hold the mountpoint semaphore * @@ -694,7 +694,7 @@ int romfs_checkmount(struct romfs_mountpt_s *rm) /**************************************************************************** * Name: romfs_finddirentry * - * Desciption: + * Description: * Given a path to something that may or may not be in the file system, * return the directory entry of the item. * @@ -793,7 +793,7 @@ int romfs_finddirentry(struct romfs_mountpt_s *rm, /**************************************************************************** * Name: romfs_parsedirentry * - * Desciption: + * Description: * Return the directory entry at this offset. If rf is NULL, then the * mount device resources are used. Otherwise, file resources are used. * @@ -847,7 +847,7 @@ int romfs_parsedirentry(struct romfs_mountpt_s *rm, uint32_t offset, /**************************************************************************** * Name: romfs_parsefilename * - * Desciption: + * Description: * Return the filename from directory entry at this offset * ****************************************************************************/ @@ -914,7 +914,7 @@ int romfs_parsefilename(struct romfs_mountpt_s *rm, uint32_t offset, /**************************************************************************** * Name: romfs_datastart * - * Desciption: + * Description: * Given the offset to a file header, return the offset to the start of * the file data * diff --git a/fs/smartfs/smartfs_utils.c b/fs/smartfs/smartfs_utils.c index 0fcfecfd4ed..5071030c419 100644 --- a/fs/smartfs/smartfs_utils.c +++ b/fs/smartfs/smartfs_utils.c @@ -190,7 +190,7 @@ void smartfs_wrle32(uint8_t *dest, uint32_t val) /**************************************************************************** * Name: smartfs_mount * - * Desciption: This function is called only when the mountpoint is first + * Description: This function is called only when the mountpoint is first * established. It initializes the mountpoint structure and verifies * that a valid SMART filesystem is provided by the block driver. * @@ -334,7 +334,7 @@ errout: /**************************************************************************** * Name: smartfs_unmount * - * Desciption: This function is called only when the mountpoint is being + * Description: This function is called only when the mountpoint is being * unbound. If we are serving multiple directories, then we have to * remove ourselves from the mount linked list, and potentially free * the shared buffers. diff --git a/graphics/nxbe/nxbe.h b/graphics/nxbe/nxbe.h index 2f9ce9a3f80..dc9de89a9dc 100644 --- a/graphics/nxbe/nxbe.h +++ b/graphics/nxbe/nxbe.h @@ -208,7 +208,7 @@ void nxbe_closewindow(struct nxbe_window_s *wnd); /**************************************************************************** * Name: nxbe_setposition * - * Descripton: + * Description: * This function checks for intersections and redraws the display after * a change in the position of a window. * @@ -220,7 +220,7 @@ void nxbe_setposition(FAR struct nxbe_window_s *wnd, /**************************************************************************** * Name: nxbe_setsize * - * Descripton: + * Description: * This function checks for intersections and redraws the display after * a change in the size of a window. * diff --git a/graphics/nxbe/nxbe_clipper.c b/graphics/nxbe/nxbe_clipper.c index e73ba6c8530..bf013f2e152 100644 --- a/graphics/nxbe/nxbe_clipper.c +++ b/graphics/nxbe/nxbe_clipper.c @@ -156,7 +156,7 @@ static inline bool nxbe_poprectangle(struct nxbe_clipstack_s *stack, /**************************************************************************** * Name: nxbe_clipper * - * Descripton: + * Description: * Perform flexible clipping operations. Callbacks are executed for * each oscured and visible portions of the window. * @@ -265,7 +265,7 @@ void nxbe_clipper(FAR struct nxbe_window_s *wnd, /**************************************************************************** * Name: nxbe_clipnull * - * Descripton: + * Description: * The do-nothing clipping callback function * ****************************************************************************/ diff --git a/graphics/nxbe/nxbe_redraw.c b/graphics/nxbe/nxbe_redraw.c index 397a0190603..bafd497a252 100644 --- a/graphics/nxbe/nxbe_redraw.c +++ b/graphics/nxbe/nxbe_redraw.c @@ -83,7 +83,7 @@ static void nxbe_clipredraw(FAR struct nxbe_clipops_s *cops, /**************************************************************************** * Name: nxbe_redraw * - * Descripton: + * Description: * Re-draw the visible portions of the rectangular region for the * specified window * diff --git a/graphics/nxbe/nxbe_redrawbelow.c b/graphics/nxbe/nxbe_redrawbelow.c index 97152670489..f51afc1f57e 100644 --- a/graphics/nxbe/nxbe_redrawbelow.c +++ b/graphics/nxbe/nxbe_redrawbelow.c @@ -51,7 +51,7 @@ /**************************************************************************** * Name: nxbe_redrawbelow * - * Descripton: + * Description: * Re-draw the visible portions of the rectangular region for all windows * below (and including) the specified window. This function is called * whenever a window is closed, moved, lowered or re-sized in order to diff --git a/graphics/nxbe/nxbe_setposition.c b/graphics/nxbe/nxbe_setposition.c index a40a01ebe79..e5ee663ba4d 100644 --- a/graphics/nxbe/nxbe_setposition.c +++ b/graphics/nxbe/nxbe_setposition.c @@ -51,7 +51,7 @@ /**************************************************************************** * Name: nxbe_setposition * - * Descripton: + * Description: * This function checks for intersections and redraws the display after * a change in the position of a window. * diff --git a/graphics/nxbe/nxbe_setsize.c b/graphics/nxbe/nxbe_setsize.c index 3b522d38a40..c7f10642584 100644 --- a/graphics/nxbe/nxbe_setsize.c +++ b/graphics/nxbe/nxbe_setsize.c @@ -51,7 +51,7 @@ /**************************************************************************** * Name: nxbe_setsize * - * Descripton: + * Description: * This function checks for intersections and redraws the display after * a change in the size of a window. * diff --git a/graphics/nxbe/nxbe_visible.c b/graphics/nxbe/nxbe_visible.c index bf22ffa0beb..e39eef85122 100644 --- a/graphics/nxbe/nxbe_visible.c +++ b/graphics/nxbe/nxbe_visible.c @@ -81,7 +81,7 @@ static void nxbe_clipvisible(FAR struct nxbe_clipops_s *cops, /**************************************************************************** * Name: nxbe_visible * - * Descripton: + * Description: * Return true if the point, pt, in window wnd is visible. pt is in * absolute screen coordinates * diff --git a/graphics/nxglib/fb/nxglib_copyrectangle.c b/graphics/nxglib/fb/nxglib_copyrectangle.c index 4b7270f1d06..a4e18cefda6 100644 --- a/graphics/nxglib/fb/nxglib_copyrectangle.c +++ b/graphics/nxglib/fb/nxglib_copyrectangle.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: nxgl_copyrectangle_*bpp * - * Descripton: + * Description: * Copy a rectangular bitmap image into the specific position in the * framebuffer memory. * diff --git a/graphics/nxglib/fb/nxglib_fillrectangle.c b/graphics/nxglib/fb/nxglib_fillrectangle.c index 4fec88b60b4..16fde377a10 100644 --- a/graphics/nxglib/fb/nxglib_fillrectangle.c +++ b/graphics/nxglib/fb/nxglib_fillrectangle.c @@ -61,7 +61,7 @@ /**************************************************************************** * Name: nxgl_fillrectangle_*bpp * - * Descripton: + * Description: * Fill a rectangle region in the framebuffer memory with a fixed color * ****************************************************************************/ diff --git a/graphics/nxglib/fb/nxglib_filltrapezoid.c b/graphics/nxglib/fb/nxglib_filltrapezoid.c index dcf29faad4f..a66dbd6e21b 100644 --- a/graphics/nxglib/fb/nxglib_filltrapezoid.c +++ b/graphics/nxglib/fb/nxglib_filltrapezoid.c @@ -63,7 +63,7 @@ /**************************************************************************** * Name: nxglib_filltrapezoid_*bpp * - * Descripton: + * Description: * Fill a trapezoidal region in the framebuffer memory with a fixed color. * Clip the trapezoid to lie within a boundng box. This is useful for * drawing complex shapes that can be broken into a set of trapezoids. diff --git a/graphics/nxglib/fb/nxglib_getrectangle.c b/graphics/nxglib/fb/nxglib_getrectangle.c index 280affae1a2..419c36048b3 100644 --- a/graphics/nxglib/fb/nxglib_getrectangle.c +++ b/graphics/nxglib/fb/nxglib_getrectangle.c @@ -105,7 +105,7 @@ static inline void nxgl_lowresmemcpy(FAR uint8_t *dline, FAR const uint8_t *slin /**************************************************************************** * Name: nxgl_getrectangle_*bpp * - * Descripton: + * Description: * Fetch a rectangular region from framebuffer memory. The source is * expressed as a rectangle. * diff --git a/graphics/nxglib/fb/nxglib_moverectangle.c b/graphics/nxglib/fb/nxglib_moverectangle.c index a24fc9f6f32..178f6070ccd 100644 --- a/graphics/nxglib/fb/nxglib_moverectangle.c +++ b/graphics/nxglib/fb/nxglib_moverectangle.c @@ -105,7 +105,7 @@ static inline void nxgl_lowresmemcpy(FAR uint8_t *dline, FAR const uint8_t *slin /**************************************************************************** * Name: nxgl_moverectangle_*bpp * - * Descripton: + * Description: * Move a rectangular region from location to another in the * framebuffer memory. The source is expressed as a rectangle; the * destination position is expressed as a point corresponding to the diff --git a/graphics/nxglib/fb/nxglib_setpixel.c b/graphics/nxglib/fb/nxglib_setpixel.c index 0cde90ff1ab..fd240469fb7 100644 --- a/graphics/nxglib/fb/nxglib_setpixel.c +++ b/graphics/nxglib/fb/nxglib_setpixel.c @@ -61,7 +61,7 @@ /**************************************************************************** * Name: nxgl_setpixel_*bpp * - * Descripton: + * Description: * Draw a single pixel in frambuffer memory at the given position and with * the given color. This is equivalent to nxgl_fillrectangle_*bpp() with * a 1x1 rectangle but is more efficient. diff --git a/graphics/nxglib/lcd/nxglib_copyrectangle.c b/graphics/nxglib/lcd/nxglib_copyrectangle.c index a1fc20e8706..69b973d7f7e 100644 --- a/graphics/nxglib/lcd/nxglib_copyrectangle.c +++ b/graphics/nxglib/lcd/nxglib_copyrectangle.c @@ -55,7 +55,7 @@ /**************************************************************************** * Name: nxgl_copyrectangle_*bpp * - * Descripton: + * Description: * Copy a rectangular bitmap image into the specific position in the * framebuffer memory. * diff --git a/graphics/nxglib/lcd/nxglib_fillrectangle.c b/graphics/nxglib/lcd/nxglib_fillrectangle.c index e3c263bff26..bcef2c15028 100644 --- a/graphics/nxglib/lcd/nxglib_fillrectangle.c +++ b/graphics/nxglib/lcd/nxglib_fillrectangle.c @@ -63,7 +63,7 @@ /**************************************************************************** * Name: nxgl_fillrectangle_*bpp * - * Descripton: + * Description: * Fill a rectangle region in the LCD memory with a fixed color * ****************************************************************************/ diff --git a/graphics/nxglib/lcd/nxglib_filltrapezoid.c b/graphics/nxglib/lcd/nxglib_filltrapezoid.c index 5960384ab10..5da7418b2ba 100644 --- a/graphics/nxglib/lcd/nxglib_filltrapezoid.c +++ b/graphics/nxglib/lcd/nxglib_filltrapezoid.c @@ -63,7 +63,7 @@ /**************************************************************************** * Name: nxglib_filltrapezoid_*bpp * - * Descripton: + * Description: * Fill a trapezoidal region in the LCD memory with a fixed color. * Clip the trapezoid to lie within a boundng box. This is useful for * drawing complex shapes that can be broken into a set of trapezoids. diff --git a/graphics/nxglib/lcd/nxglib_getrectangle.c b/graphics/nxglib/lcd/nxglib_getrectangle.c index adf6a90047c..129a7dc5ed1 100644 --- a/graphics/nxglib/lcd/nxglib_getrectangle.c +++ b/graphics/nxglib/lcd/nxglib_getrectangle.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: nxgl_moverectangle_*bpp * - * Descripton: + * Description: * Fetch a rectangular region from LCD GRAM memory. The source is * expressed as a rectangle. * diff --git a/graphics/nxglib/lcd/nxglib_moverectangle.c b/graphics/nxglib/lcd/nxglib_moverectangle.c index 85b388963ae..1956ff17d3b 100644 --- a/graphics/nxglib/lcd/nxglib_moverectangle.c +++ b/graphics/nxglib/lcd/nxglib_moverectangle.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: nxgl_moverectangle_*bpp * - * Descripton: + * Description: * Move a rectangular region from location to another in the * LCD memory. The source is expressed as a rectangle; the * destination position is expressed as a point corresponding to the diff --git a/graphics/nxglib/lcd/nxglib_setpixel.c b/graphics/nxglib/lcd/nxglib_setpixel.c index cb57d048ab4..402d4f64dae 100644 --- a/graphics/nxglib/lcd/nxglib_setpixel.c +++ b/graphics/nxglib/lcd/nxglib_setpixel.c @@ -62,7 +62,7 @@ /**************************************************************************** * Name: nxgl_setpixel_*bpp * - * Descripton: + * Description: * Draw a single pixel in LCD memory at the given position and with the * given color. This is equivalent to nxgl_fillrectangle_*bpp() with a 1x1 * rectangle but is more efficient. diff --git a/graphics/nxmu/nxmu_redrawreq.c b/graphics/nxmu/nxmu_redrawreq.c index 325fb1e72b2..2214174b3e4 100644 --- a/graphics/nxmu/nxmu_redrawreq.c +++ b/graphics/nxmu/nxmu_redrawreq.c @@ -73,7 +73,7 @@ /**************************************************************************** * Name: nxfe_redrawreq * - * Descripton: + * Description: * Request the client that has this window to redraw the rectangular region. * ****************************************************************************/ diff --git a/graphics/nxmu/nxmu_reportposition.c b/graphics/nxmu/nxmu_reportposition.c index 757873ac1ee..e6166c49a38 100644 --- a/graphics/nxmu/nxmu_reportposition.c +++ b/graphics/nxmu/nxmu_reportposition.c @@ -73,7 +73,7 @@ /**************************************************************************** * Name: nxfe_reportposition * - * Descripton: + * Description: * Report the new size/position of the window. * ****************************************************************************/ diff --git a/include/nuttx/nx/nxglib.h b/include/nuttx/nx/nxglib.h index 89530cac252..30850049a7f 100644 --- a/include/nuttx/nx/nxglib.h +++ b/include/nuttx/nx/nxglib.h @@ -222,7 +222,7 @@ void nxgl_yuv2rgb(uint8_t y, uint8_t u, uint8_t v, /**************************************************************************** * Name: nxgl_setpixel_*bpp * - * Descripton: + * Description: * Draw a single pixel in graphics memory at the given position and * with the given color. This is equivalent to nxgl_fillrectangle_*bpp() * with a 1x1 rectangle but is more efficient. @@ -247,7 +247,7 @@ void nxgl_setpixel_32bpp(FAR NX_PLANEINFOTYPE *pinfo, /**************************************************************************** * Name: nxgl_fillrectangle_*bpp * - * Descripton: + * Description: * Fill a rectangle region in the graphics memory with a fixed color * ****************************************************************************/ @@ -277,7 +277,7 @@ void nxgl_fillrectangle_32bpp(FAR NX_PLANEINFOTYPE *pinfo, /**************************************************************************** * Name: nxgl_getrectangle_*bpp * - * Descripton: + * Description: * Fetch a rectangular region from graphics memory. The source is * expressed as a rectangle. * @@ -308,7 +308,7 @@ void nxgl_getrectangle_32bpp(FAR NX_PLANEINFOTYPE *pinfo, /**************************************************************************** * Name: nxglib_filltrapezoid_*bpp * - * Descripton: + * Description: * Fill a trapezoidal region in the graphics memory with a fixed color. * Clip the trapezoid to lie within a bounding box. This is useful for * drawing complex shapes that can be broken into a set of trapezoids. @@ -347,7 +347,7 @@ void nxgl_filltrapezoid_32bpp(FAR NX_PLANEINFOTYPE *pinfo, /**************************************************************************** * Name: nxgl_moverectangle_*bpp * - * Descripton: + * Description: * Move a rectangular region from location to another in the * framebuffer/LCD memory. The source is expressed as a rectangle; the * destination position is expressed as a point corresponding to the @@ -380,7 +380,7 @@ void nxgl_moverectangle_32bpp(FAR NX_PLANEINFOTYPE *pinfo, /**************************************************************************** * Name: nxgl_copyrectangle_*bpp * - * Descripton: + * Description: * Copy a rectangular bitmap image into the specific position in the * graphics memory. * diff --git a/include/nuttx/spi/spi_bitbang.h b/include/nuttx/spi/spi_bitbang.h index 9f3a010671a..228fbd6a500 100644 --- a/include/nuttx/spi/spi_bitbang.h +++ b/include/nuttx/spi/spi_bitbang.h @@ -129,7 +129,7 @@ extern "C" /**************************************************************************** * Name: spi_create_bitbang * - * Descripton: + * Description: * Create an instance of the SPI bit-bang driver. * * Input Parameters: diff --git a/libc/netdb/lib_gethostbynamer.c b/libc/netdb/lib_gethostbynamer.c index d1a2e5fb2da..b66e0994e98 100644 --- a/libc/netdb/lib_gethostbynamer.c +++ b/libc/netdb/lib_gethostbynamer.c @@ -420,7 +420,7 @@ static int lib_find_answer(FAR const char *name, FAR struct hostent *host, /**************************************************************************** * Name: lib_dns_query * - * Descriptions: + * Description: * Combines the operations of dns_bind(), dns_query(), and dns_free() to * obtain the IP address ('ipaddr') associated with the 'hostname' in one * operation. diff --git a/libc/queue/dq_addlast.c b/libc/queue/dq_addlast.c index a18ec9083bd..51a423b813a 100644 --- a/libc/queue/dq_addlast.c +++ b/libc/queue/dq_addlast.c @@ -46,7 +46,7 @@ /**************************************************************************** * Name: dq_addlast * - * Description + * Description: * dq_addlast adds 'node' to the end of 'queue' * ****************************************************************************/ diff --git a/libc/queue/dq_rem.c b/libc/queue/dq_rem.c index 2c6176ae1dd..d53b6922340 100644 --- a/libc/queue/dq_rem.c +++ b/libc/queue/dq_rem.c @@ -46,7 +46,7 @@ /**************************************************************************** * Name: dq_rem * - * Descripton: + * Description: * dq_rem removes 'node' from 'queue' * ****************************************************************************/ diff --git a/libc/stdio/lib_fclose.c b/libc/stdio/lib_fclose.c index 374e9f4e535..138cdc14f70 100644 --- a/libc/stdio/lib_fclose.c +++ b/libc/stdio/lib_fclose.c @@ -54,7 +54,7 @@ /**************************************************************************** * Name: fclose * - * Description + * Description: * The fclose() function will flush the stream pointed to by stream * (writing any buffered output data using lib_fflush()) and close the * underlying file descriptor. diff --git a/libc/termios/lib_cfgetspeed.c b/libc/termios/lib_cfgetspeed.c index 1471b23d367..bac31bdd8a8 100644 --- a/libc/termios/lib_cfgetspeed.c +++ b/libc/termios/lib_cfgetspeed.c @@ -47,7 +47,7 @@ /**************************************************************************** * Name: cfgetspeed * - * Descripton: + * Description: * The cfgetspeed() function is a non-POSIX function will extract the baud * from the termios structure to which the termiosp argument points. * diff --git a/libc/termios/lib_cfsetspeed.c b/libc/termios/lib_cfsetspeed.c index 0c3e1215860..6f742905abc 100644 --- a/libc/termios/lib_cfsetspeed.c +++ b/libc/termios/lib_cfsetspeed.c @@ -44,7 +44,7 @@ /**************************************************************************** * Name: cfsetspeed * - * Descripton: + * Description: * The cfsetspeed() function is a non-POSIX function that sets the baud * stored in the structure pointed to by termiosp to speed. * diff --git a/libc/termios/lib_tcflow.c b/libc/termios/lib_tcflow.c index 1ac7a7a7b43..13f3ec3c88e 100644 --- a/libc/termios/lib_tcflow.c +++ b/libc/termios/lib_tcflow.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: tcflow * - * Descripton: + * Description: * The tcflow() function will suspend or restart transmission or reception * of data on the object referred to by 'fd', depending on the value of * 'action'. diff --git a/libc/termios/lib_tcflush.c b/libc/termios/lib_tcflush.c index 239e3610cf9..1189686d131 100644 --- a/libc/termios/lib_tcflush.c +++ b/libc/termios/lib_tcflush.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: tcflush * - * Descripton: + * Description: * Function for flushing a terminal/serial device * * Input Parameters: diff --git a/libc/termios/lib_tcgetattr.c b/libc/termios/lib_tcgetattr.c index c7e0c2339e1..c9354eef70a 100644 --- a/libc/termios/lib_tcgetattr.c +++ b/libc/termios/lib_tcgetattr.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: tcgetattr * - * Descripton: + * Description: * The tcgetattr() function gets the parameters associated with the * terminal referred to by 'fd' and stores them in the termios structure * referenced by 'termiosp'. diff --git a/libc/termios/lib_tcsetattr.c b/libc/termios/lib_tcsetattr.c index 20903e20299..d77d9646102 100644 --- a/libc/termios/lib_tcsetattr.c +++ b/libc/termios/lib_tcsetattr.c @@ -53,7 +53,7 @@ /**************************************************************************** * Name: tcsetattr * - * Descripton: + * Description: * The tcsetattr() function sets the parameters associated with the * terminal referred to by the open file descriptor 'fd' from the termios * structure referenced by 'termiop' as follows: diff --git a/libnx/nxmu/nx_redrawreq.c b/libnx/nxmu/nx_redrawreq.c index 520305bf80d..d2745a1cc8c 100644 --- a/libnx/nxmu/nx_redrawreq.c +++ b/libnx/nxmu/nx_redrawreq.c @@ -54,7 +54,7 @@ /**************************************************************************** * Name: nx_redrawreq * - * Descripton: + * Description: * This will cause a NX re-draw callback to the client that owns the * window. This is not normally called from user code, but may be * used within middle-ware layers when redrawing is needed.