forked from nuttx/nuttx-update
Make sure that labeling is used consistently in all function headers (part 2).
This commit is contained in:
parent
12474d2c38
commit
1567b82429
78 changed files with 193 additions and 177 deletions
|
@ -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[]
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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[]
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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[]
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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[]
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -346,7 +346,7 @@ eicloop:
|
|||
/*****************************************************************************
|
||||
* Name: periphinit
|
||||
*
|
||||
* Description"
|
||||
* Description:
|
||||
* Disable all perfipherals (except EIC)
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
|
|
@ -106,7 +106,7 @@ up_switchcontext:
|
|||
/****************************************************************************
|
||||
* Name: up_fullcontextrestore
|
||||
*
|
||||
* Descripion:
|
||||
* Description:
|
||||
* Restore the full-running context of a thread.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -236,7 +236,7 @@ errout:
|
|||
/************************************************************************************
|
||||
* Name: qe_read
|
||||
*
|
||||
* Description:O
|
||||
* Description:
|
||||
* A dummy read method. This is provided only to satsify the VFS layer.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
/****************************************************************************
|
||||
* Name: tcdrain
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Function for draining the output buffer of a terminal/serial device
|
||||
*
|
||||
* Input Parameters:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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().
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxgl_copyrectangle_*bpp
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Copy a rectangular bitmap image into the specific position in the
|
||||
* framebuffer memory.
|
||||
*
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxgl_fillrectangle_*bpp
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Fill a rectangle region in the framebuffer memory with a fixed color
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxgl_copyrectangle_*bpp
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Copy a rectangular bitmap image into the specific position in the
|
||||
* framebuffer memory.
|
||||
*
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxgl_fillrectangle_*bpp
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Fill a rectangle region in the LCD memory with a fixed color
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxfe_redrawreq
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Request the client that has this window to redraw the rectangular region.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
/****************************************************************************
|
||||
* Name: nxfe_reportposition
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Report the new size/position of the window.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -129,7 +129,7 @@ extern "C"
|
|||
/****************************************************************************
|
||||
* Name: spi_create_bitbang
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Create an instance of the SPI bit-bang driver.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
/****************************************************************************
|
||||
* Name: dq_addlast
|
||||
*
|
||||
* Description
|
||||
* Description:
|
||||
* dq_addlast adds 'node' to the end of 'queue'
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
/****************************************************************************
|
||||
* Name: dq_rem
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* dq_rem removes 'node' from 'queue'
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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'.
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
/****************************************************************************
|
||||
* Name: tcflush
|
||||
*
|
||||
* Descripton:
|
||||
* Description:
|
||||
* Function for flushing a terminal/serial device
|
||||
*
|
||||
* Input Parameters:
|
||||
|
|
|
@ -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'.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue