Be consistent... Use Name: consistent in function headers vs Function:

This commit is contained in:
Gregory Nutt 2017-04-21 16:33:14 -06:00
parent 2c4800f511
commit d5207efb5a
213 changed files with 730 additions and 730 deletions

View file

@ -136,7 +136,7 @@ static const uint32_t pool_twist[8] =
****************************************************************************/
/****************************************************************************
* Function: addentropy
* Name: addentropy
*
* Description:
*
@ -201,7 +201,7 @@ static void addentropy(FAR const uint32_t *buf, size_t n, bool inc_new)
}
/****************************************************************************
* Function: getentropy
* Name: getentropy
*
* Description:
* Hash entropy pool to BLAKE2s context. This is an internal interface for
@ -385,7 +385,7 @@ static void rng_init(void)
****************************************************************************/
/****************************************************************************
* Function: up_rngaddint
* Name: up_rngaddint
*
* Description:
* Add one integer to entropy pool, contributing a specific kind
@ -410,7 +410,7 @@ void up_rngaddint(enum rnd_source_t kindof, int val)
}
/****************************************************************************
* Function: up_rngaddentropy
* Name: up_rngaddentropy
*
* Description:
* Add buffer of integers to entropy pool.
@ -490,7 +490,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf,
}
/****************************************************************************
* Function: up_rngreseed
* Name: up_rngreseed
*
* Description:
* Force reseeding random number generator from entropy pool
@ -513,7 +513,7 @@ void up_rngreseed(void)
}
/****************************************************************************
* Function: up_randompool_initialize
* Name: up_randompool_initialize
*
* Description:
* Initialize entropy pool and random number generator
@ -530,7 +530,7 @@ void up_randompool_initialize(void)
}
/****************************************************************************
* Function: getrandom
* Name: getrandom
*
* Description:
* Fill a buffer of arbitrary length with randomness. This is the

View file

@ -159,7 +159,7 @@ static struct ads7843e_dev_s *g_ads7843elist;
****************************************************************************/
/****************************************************************************
* Function: ads7843e_lock
* Name: ads7843e_lock
*
* Description:
* Lock the SPI bus and re-configure as necessary. This function must be
@ -198,7 +198,7 @@ static void ads7843e_lock(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: ads7843e_unlock
* Name: ads7843e_unlock
*
* Description:
* Un-lock the SPI bus after each transfer, possibly losing the current

View file

@ -159,7 +159,7 @@ static struct max11802_dev_s *g_max11802list;
****************************************************************************/
/****************************************************************************
* Function: max11802_lock
* Name: max11802_lock
*
* Description:
* Lock the SPI bus and re-configure as necessary. This function must be
@ -196,7 +196,7 @@ static void max11802_lock(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: max11802_unlock
* Name: max11802_unlock
*
* Description:
* Un-lock the SPI bus after each transfer, possibly losing the current

View file

@ -61,7 +61,7 @@
****************************************************************************/
/****************************************************************************
* Function: iob_dump
* Name: iob_dump
*
* Description:
* Dump the contents of a I/O buffer chain

View file

@ -637,7 +637,7 @@ static const uint8_t g_setcon[] =
**************************************************************************************/
/**************************************************************************************
* Function: nokia_select
* Name: nokia_select
*
* Description:
* Select the SPI, locking and re-configuring if necessary
@ -674,7 +674,7 @@ static void nokia_select(FAR struct spi_dev_s *spi)
}
/**************************************************************************************
* Function: nokia_deselect
* Name: nokia_deselect
*
* Description:
* De-select the SPI

View file

@ -343,7 +343,7 @@ static struct st7567_dev_s g_st7567dev =
**************************************************************************************/
/**************************************************************************************
* Function: st7567_select
* Name: st7567_select
*
* Description:
* Select the SPI, locking and re-configuring if necessary
@ -380,7 +380,7 @@ static void st7567_select(FAR struct spi_dev_s *spi)
}
/**************************************************************************************
* Function: st7567_deselect
* Name: st7567_deselect
*
* Description:
* De-select the SPI

View file

@ -377,7 +377,7 @@ static inline FAR const char *ug_powerstring(uint8_t power)
}
/**************************************************************************************
* Function: ug_select
* Name: ug_select
*
* Description:
* Select the SPI, locking and re-configuring if necessary
@ -414,7 +414,7 @@ static void ug_select(FAR struct spi_dev_s *spi)
}
/**************************************************************************************
* Function: ug_deselect
* Name: ug_deselect
*
* Description:
* De-select the SPI

View file

@ -137,7 +137,7 @@ static int cs89x0_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac);
****************************************************************************/
/****************************************************************************
* Function: cs89x0_getreg and cs89x0_putreg
* Name: cs89x0_getreg and cs89x0_putreg
*
* Description:
* Read from and write to a CS89x0 register
@ -172,7 +172,7 @@ static void cs89x0_putreg(struct cs89x0_driver_s *cs89x0, int offset, uint16_t v
}
/****************************************************************************
* Function: cs89x0_getppreg and cs89x0_putppreg
* Name: cs89x0_getppreg and cs89x0_putppreg
*
* Description:
* Read from and write to a CS89x0 page packet register
@ -257,7 +257,7 @@ static void cs89x0_putppreg(struct cs89x0_driver_s *cs89x0, int addr, uint16_t v
}
/****************************************************************************
* Function: cs89x0_transmit
* Name: cs89x0_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -298,7 +298,7 @@ static int cs89x0_transmit(struct cs89x0_driver_s *cs89x0)
}
/****************************************************************************
* Function: cs89x0_txpoll
* Name: cs89x0_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing packets ready
@ -368,7 +368,7 @@ static int cs89x0_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: cs89x0_receive
* Name: cs89x0_receive
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -554,7 +554,7 @@ static void cs89x0_receive(FAR struct cs89x0_driver_s *cs89x0, uint16_t isq)
}
/****************************************************************************
* Function: cs89x0_txdone
* Name: cs89x0_txdone
*
* Description:
* An interrupt was received indicating that the last TX packet(s) is done
@ -611,7 +611,7 @@ static void cs89x0_txdone(struct cs89x0_driver_s *cs89x0, uint16_t isq)
}
/****************************************************************************
* Function: cs89x0_interrupt
* Name: cs89x0_interrupt
*
* Description:
* Hardware interrupt handler
@ -680,7 +680,7 @@ static int cs89x0_interrupt(int irq, FAR void *context, FAR void *arg)
}
/****************************************************************************
* Function: cs89x0_txtimeout
* Name: cs89x0_txtimeout
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -713,7 +713,7 @@ static void cs89x0_txtimeout(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: cs89x0_polltimer
* Name: cs89x0_polltimer
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -747,7 +747,7 @@ static void cs89x0_polltimer(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: cs89x0_ifup
* Name: cs89x0_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -787,7 +787,7 @@ static int cs89x0_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: cs89x0_ifdown
* Name: cs89x0_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -825,7 +825,7 @@ static int cs89x0_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: cs89x0_txavail
* Name: cs89x0_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -867,7 +867,7 @@ static int cs89x0_txavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: cs89x0_addmac
* Name: cs89x0_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -897,7 +897,7 @@ static int cs89x0_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: cs89x0_rmmac
* Name: cs89x0_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -931,7 +931,7 @@ static int cs89x0_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
****************************************************************************/
/****************************************************************************
* Function: cs89x0_initialize
* Name: cs89x0_initialize
*
* Description:
* Initialize the Ethernet driver

View file

@ -419,7 +419,7 @@ static void dm9x_reset(struct dm9x_driver_s *priv);
****************************************************************************/
/****************************************************************************
* Function: getreg and setreg
* Name: getreg and setreg
*
* Description:
* Access to memory-mapped DM90x0 8-bit registers
@ -448,7 +448,7 @@ static void putreg(int reg, uint8_t value)
}
/****************************************************************************
* Function: read8, read16, read32
* Name: read8, read16, read32
*
* Description:
* Read packet data from the DM90x0 SRAM based on its current I/O mode
@ -496,7 +496,7 @@ static void read32(FAR uint8_t *ptr, int len)
}
/****************************************************************************
* Function: discard8, discard16, discard32
* Name: discard8, discard16, discard32
*
* Description:
* Read and discard packet data in the DM90x0 SRAM based on its current
@ -540,7 +540,7 @@ static void discard32(int len)
}
/****************************************************************************
* Function: write8, write16, write32
* Name: write8, write16, write32
*
* Description:
* Write packet data into the DM90x0 SRAM based on its current I/O mode
@ -591,7 +591,7 @@ static void write32(FAR const uint8_t *ptr, int len)
}
/****************************************************************************
* Function: dm9x_readsrom
* Name: dm9x_readsrom
*
* Description:
* Read a word from SROM
@ -619,7 +619,7 @@ static uint16_t dm9x_readsrom(struct dm9x_driver_s *priv, int offset)
#endif
/****************************************************************************
* Function: dm9x_phyread and dm9x_phywrite
* Name: dm9x_phyread and dm9x_phywrite
*
* Description:
* Read/write data from/to the PHY
@ -672,7 +672,7 @@ static void dm9x_phywrite(struct dm9x_driver_s *priv, int reg, uint16_t value)
}
/****************************************************************************
* Function: dm9x_rxchecksumready
* Name: dm9x_rxchecksumready
*
* Description:
* Return true if the RX checksum is available
@ -700,7 +700,7 @@ static inline bool dm9x_rxchecksumready(uint8_t rxbyte)
#endif
/****************************************************************************
* Function: dm9x_transmit
* Name: dm9x_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -767,7 +767,7 @@ static int dm9x_transmit(struct dm9x_driver_s *priv)
}
/****************************************************************************
* Function: dm9x_txpoll
* Name: dm9x_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing packets ready
@ -843,7 +843,7 @@ static int dm9x_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: dm9x_receive
* Name: dm9x_receive
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -1041,7 +1041,7 @@ static void dm9x_receive(FAR struct dm9x_driver_s *priv)
}
/****************************************************************************
* Function: dm9x_txdone
* Name: dm9x_txdone
*
* Description:
* An interrupt was received indicating that the last TX packet(s) is done
@ -1104,7 +1104,7 @@ static void dm9x_txdone(struct dm9x_driver_s *priv)
}
/****************************************************************************
* Function: dm9x_interrupt_work
* Name: dm9x_interrupt_work
*
* Description:
* Perform interrupt related work from the worker thread
@ -1223,7 +1223,7 @@ static void dm9x_interrupt_work(FAR void *arg)
}
/****************************************************************************
* Function: dm9x_interrupt
* Name: dm9x_interrupt
*
* Description:
* Hardware interrupt handler
@ -1275,7 +1275,7 @@ static int dm9x_interrupt(int irq, FAR void *context, FAR void *arg)
}
/****************************************************************************
* Function: dm9x_txtimeout_work
* Name: dm9x_txtimeout_work
*
* Description:
* Perform TX timeout related work from the worker thread
@ -1319,7 +1319,7 @@ static void dm9x_txtimeout_work(FAR void *arg)
}
/****************************************************************************
* Function: dm9x_txtimeout_expiry
* Name: dm9x_txtimeout_expiry
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -1354,7 +1354,7 @@ static void dm9x_txtimeout_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: dm9x_poll_work
* Name: dm9x_poll_work
*
* Description:
* Perform periodic polling from the worker thread
@ -1407,7 +1407,7 @@ static void dm9x_poll_work(FAR void *arg)
}
/****************************************************************************
* Function: dm9x_poll_expiry
* Name: dm9x_poll_expiry
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -1434,7 +1434,7 @@ static void dm9x_poll_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: dm9x_phymode
* Name: dm9x_phymode
*
* Description:
* Configure the PHY operating mode
@ -1478,7 +1478,7 @@ static inline void dm9x_phymode(struct dm9x_driver_s *priv)
}
/****************************************************************************
* Function: dm9x_ifup
* Name: dm9x_ifup
*
* Description:
* NuttX Callback: Bring up the DM90x0 interface when an IP address is
@ -1545,7 +1545,7 @@ static int dm9x_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: dm9x_ifdown
* Name: dm9x_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -1591,7 +1591,7 @@ static int dm9x_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: dm9x_txavail_work
* Name: dm9x_txavail_work
*
* Description:
* Perform an out-of-cycle poll on the worker thread.
@ -1635,7 +1635,7 @@ static void dm9x_txavail_work(FAR void *arg)
}
/****************************************************************************
* Function: dm9x_txavail
* Name: dm9x_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -1673,7 +1673,7 @@ static int dm9x_txavail(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: dm9x_addmac
* Name: dm9x_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -1703,7 +1703,7 @@ static int dm9x_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: dm9x_rmmac
* Name: dm9x_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -1733,7 +1733,7 @@ static int dm9x_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: dm9x_bringup
* Name: dm9x_bringup
*
* Description:
* Initialize the dm90x0 chip
@ -1829,7 +1829,7 @@ static void dm9x_bringup(struct dm9x_driver_s *priv)
}
/****************************************************************************
* Function: dm9x_reset
* Name: dm9x_reset
*
* Description:
* Stop, reset, re-initialize, and restart the DM90x0 chip and driver. At
@ -1886,7 +1886,7 @@ static void dm9x_reset(struct dm9x_driver_s *priv)
****************************************************************************/
/****************************************************************************
* Function: dm9x_initialize
* Name: dm9x_initialize
*
* Description:
* Initialize the DM90x0 driver

View file

@ -358,7 +358,7 @@ static int enc_reset(FAR struct enc_driver_s *priv);
****************************************************************************/
/****************************************************************************
* Function: enc_configspi
* Name: enc_configspi
*
* Description:
* Configure the SPI for use with the ENC28J60
@ -384,7 +384,7 @@ static inline void enc_configspi(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: enc_lock
* Name: enc_lock
*
* Description:
* Select the SPI, locking and re-configuring if necessary
@ -418,7 +418,7 @@ static void enc_lock(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_unlock
* Name: enc_unlock
*
* Description:
* De-select the SPI
@ -441,7 +441,7 @@ static inline void enc_unlock(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rdgreg2
* Name: enc_rdgreg2
*
* Description:
* Read a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd
@ -484,7 +484,7 @@ static uint8_t enc_rdgreg2(FAR struct enc_driver_s *priv, uint8_t cmd)
}
/****************************************************************************
* Function: enc_wrgreg2
* Name: enc_wrgreg2
*
* Description:
* Write to a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd
@ -525,7 +525,7 @@ static void enc_wrgreg2(FAR struct enc_driver_s *priv, uint8_t cmd,
}
/****************************************************************************
* Function: enc_src
* Name: enc_src
*
* Description:
* Send the single byte system reset command (SRC).
@ -579,7 +579,7 @@ static inline void enc_src(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_setbank
* Name: enc_setbank
*
* Description:
* Set the bank for these next control register access.
@ -622,7 +622,7 @@ static void enc_setbank(FAR struct enc_driver_s *priv, uint8_t bank)
}
/****************************************************************************
* Function: enc_rdbreg
* Name: enc_rdbreg
*
* Description:
* Read from a banked control register using the RCR command.
@ -677,7 +677,7 @@ static uint8_t enc_rdbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg)
}
/****************************************************************************
* Function: enc_wrbreg
* Name: enc_wrbreg
*
* Description:
* Write to a banked control register using the WCR command. Unlike
@ -723,7 +723,7 @@ static void enc_wrbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg,
}
/****************************************************************************
* Function: enc_waitbreg
* Name: enc_waitbreg
*
* Description:
* Wait until banked register bit(s) take a specific value (or a timeout
@ -764,7 +764,7 @@ static int enc_waitbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg,
}
/****************************************************************************
* Function: enc_txdump enc_rxdump
* Name: enc_txdump enc_rxdump
*
* Description:
* Dump registers associated with receiving or sending packets.
@ -836,7 +836,7 @@ static void enc_txdump(FAR struct enc_driver_s *priv)
#endif
/****************************************************************************
* Function: enc_rdbuffer
* Name: enc_rdbuffer
*
* Description:
* Read a buffer of data.
@ -878,7 +878,7 @@ static void enc_rdbuffer(FAR struct enc_driver_s *priv, FAR uint8_t *buffer,
}
/****************************************************************************
* Function: enc_wrbuffer
* Name: enc_wrbuffer
*
* Description:
* Write a buffer of data.
@ -961,7 +961,7 @@ static inline void enc_wrbuffer(FAR struct enc_driver_s *priv,
}
/****************************************************************************
* Function: enc_rdphy
* Name: enc_rdphy
*
* Description:
* Read 16-bits of PHY data.
@ -1022,7 +1022,7 @@ static uint16_t enc_rdphy(FAR struct enc_driver_s *priv, uint8_t phyaddr)
}
/****************************************************************************
* Function: enc_wrphy
* Name: enc_wrphy
*
* Description:
* write 16-bits of PHY data.
@ -1075,7 +1075,7 @@ static void enc_wrphy(FAR struct enc_driver_s *priv, uint8_t phyaddr,
}
/****************************************************************************
* Function: enc_transmit
* Name: enc_transmit
*
* Description:
* Start hardware transmission. Called either from:
@ -1159,7 +1159,7 @@ static int enc_transmit(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txpoll
* Name: enc_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing packets ready
@ -1230,7 +1230,7 @@ static int enc_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_linkstatus
* Name: enc_linkstatus
*
* Description:
* The current link status can be obtained from the PHSTAT1.LLSTAT or
@ -1256,7 +1256,7 @@ static void enc_linkstatus(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txif
* Name: enc_txif
*
* Description:
* An TXIF interrupt was received indicating that the last TX packet(s) is
@ -1293,7 +1293,7 @@ static void enc_txif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txerif
* Name: enc_txerif
*
* Description:
* An TXERIF interrupt was received indicating that a TX abort has occurred.
@ -1336,7 +1336,7 @@ static void enc_txerif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rxerif
* Name: enc_rxerif
*
* Description:
* An RXERIF interrupt was received indicating that the last TX packet(s) is
@ -1358,7 +1358,7 @@ static void enc_rxerif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rxdispatch
* Name: enc_rxdispatch
*
* Description:
* Give the newly received packet to the network.
@ -1489,7 +1489,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_pktif
* Name: enc_pktif
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -1595,7 +1595,7 @@ static void enc_pktif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_irqworker
* Name: enc_irqworker
*
* Description:
* Perform interrupt handling logic outside of the interrupt handler (on
@ -1815,7 +1815,7 @@ static void enc_irqworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_interrupt
* Name: enc_interrupt
*
* Description:
* Hardware interrupt handler
@ -1854,7 +1854,7 @@ static int enc_interrupt(int irq, FAR void *context, FAR void *arg)
}
/****************************************************************************
* Function: enc_toworker
* Name: enc_toworker
*
* Description:
* Our TX watchdog timed out. This is the worker thread continuation of
@ -1906,7 +1906,7 @@ static void enc_toworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_txtimeout
* Name: enc_txtimeout
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -1947,7 +1947,7 @@ static void enc_txtimeout(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: enc_pollworker
* Name: enc_pollworker
*
* Description:
* Periodic timer handler continuation.
@ -2002,7 +2002,7 @@ static void enc_pollworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_polltimer
* Name: enc_polltimer
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -2042,7 +2042,7 @@ static void enc_polltimer(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: enc_ifup
* Name: enc_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -2114,7 +2114,7 @@ static int enc_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_ifdown
* Name: enc_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -2168,7 +2168,7 @@ static int enc_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_txavail
* Name: enc_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -2222,7 +2222,7 @@ static int enc_txavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_addmac
* Name: enc_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -2260,7 +2260,7 @@ static int enc_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: enc_rmmac
* Name: enc_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -2298,7 +2298,7 @@ static int enc_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: enc_pwrsave
* Name: enc_pwrsave
*
* Description:
* The ENC28J60 may be commanded to power-down via the SPI interface.
@ -2360,7 +2360,7 @@ static void enc_pwrsave(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_pwrfull
* Name: enc_pwrfull
*
* Description:
* When normal operation is desired, the host controller must perform
@ -2412,7 +2412,7 @@ static void enc_pwrfull(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_setmacaddr
* Name: enc_setmacaddr
*
* Description:
* Set the MAC address to the configured value. This is done after ifup
@ -2449,7 +2449,7 @@ static void enc_setmacaddr(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_reset
* Name: enc_reset
*
* Description:
* Stop, reset, re-initialize, and restart the ENC28J60. This is done
@ -2588,7 +2588,7 @@ static int enc_reset(FAR struct enc_driver_s *priv)
****************************************************************************/
/****************************************************************************
* Function: enc_initialize
* Name: enc_initialize
*
* Description:
* Initialize the Ethernet driver. The ENC28J60 device is assumed to be

View file

@ -378,7 +378,7 @@ static int enc_reset(FAR struct enc_driver_s *priv);
****************************************************************************/
/****************************************************************************
* Function: enc_lock
* Name: enc_lock
*
* Description:
* Select the SPI, locking and re-configuring if necessary
@ -412,7 +412,7 @@ static void enc_lock(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_unlock
* Name: enc_unlock
*
* Description:
* De-select the SPI
@ -435,7 +435,7 @@ static inline void enc_unlock(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_cmd
* Name: enc_cmd
*
* Description:
* Execute two byte command.
@ -471,7 +471,7 @@ static void enc_cmd(FAR struct enc_driver_s *priv, uint8_t cmd, uint16_t arg)
}
/****************************************************************************
* Function: enc_setethrst
* Name: enc_setethrst
*
* Description:
* Issues System Reset by setting ETHRST (ECON2<4>)
@ -507,7 +507,7 @@ static inline void enc_setethrst(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_setbank
* Name: enc_setbank
*
* Description:
* Set the bank for the next control register access.
@ -547,7 +547,7 @@ static void enc_setbank(FAR struct enc_driver_s *priv, uint8_t bank)
}
/****************************************************************************
* Function: enc_rdreg
* Name: enc_rdreg
*
* Description:
* Read one word from a control register using the RCR command.
@ -587,7 +587,7 @@ static uint16_t enc_rdreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg)
}
/****************************************************************************
* Function: enc_wrreg
* Name: enc_wrreg
*
* Description:
* Write one word to a control register using the WCR command.
@ -623,7 +623,7 @@ static void enc_wrreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg,
}
/****************************************************************************
* Function: enc_waitbreg
* Name: enc_waitbreg
*
* Description:
* Wait until banked register bit(s) take a specific value (or a timeout
@ -664,7 +664,7 @@ static int enc_waitreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg,
}
/****************************************************************************
* Function: enc_bfs
* Name: enc_bfs
*
* Description:
* Bit Field Set.
@ -709,7 +709,7 @@ static void enc_bfs(FAR struct enc_driver_s *priv, uint16_t ctrlreg,
}
/****************************************************************************
* Function: enc_bfc
* Name: enc_bfc
*
* Description:
* Bit Field Clear.
@ -754,7 +754,7 @@ static void enc_bfc(FAR struct enc_driver_s *priv, uint16_t ctrlreg,
}
/****************************************************************************
* Function: enc_txdump enc_rxdump
* Name: enc_txdump enc_rxdump
*
* Description:
* Dump registers associated with receiving or sending packets.
@ -826,7 +826,7 @@ static void enc_txdump(FAR struct enc_driver_s *priv)
#endif
/****************************************************************************
* Function: enc_rdbuffer
* Name: enc_rdbuffer
*
* Description:
* Read a buffer of data from RX Data Buffer.
@ -868,7 +868,7 @@ static void enc_rdbuffer(FAR struct enc_driver_s *priv, FAR uint8_t *buffer,
}
/****************************************************************************
* Function: enc_wrbuffer
* Name: enc_wrbuffer
*
* Description:
* Write a buffer of data.
@ -901,7 +901,7 @@ static inline void enc_wrbuffer(FAR struct enc_driver_s *priv,
}
/****************************************************************************
* Function: enc_rdphy
* Name: enc_rdphy
*
* Description:
* Read 16-bits of PHY data.
@ -961,7 +961,7 @@ static uint16_t enc_rdphy(FAR struct enc_driver_s *priv, uint8_t phyaddr)
}
/****************************************************************************
* Function: enc_wrphy
* Name: enc_wrphy
*
* Description:
* write 16-bits of PHY data.
@ -1009,7 +1009,7 @@ static void enc_wrphy(FAR struct enc_driver_s *priv, uint8_t phyaddr,
}
/****************************************************************************
* Function: enc_transmit
* Name: enc_transmit
*
* Description:
* Start hardware transmission. Called either from:
@ -1075,7 +1075,7 @@ static int enc_transmit(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txenqueue
* Name: enc_txenqueue
*
* Description:
* Write packet from d_buf to the enc's SRAM if a free descriptor is available.
@ -1143,7 +1143,7 @@ static int enc_txenqueue(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txpoll
* Name: enc_txpoll
*
* Description:
* Enqueues network packets if available.
@ -1212,7 +1212,7 @@ static int enc_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_linkstatus
* Name: enc_linkstatus
*
* Description:
* The current link status can be obtained from the PHSTAT1.LLSTAT or
@ -1268,7 +1268,7 @@ static void enc_linkstatus(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_txif
* Name: enc_txif
*
* Description:
* An TXIF interrupt was received indicating that the last TX packet(s) is
@ -1308,7 +1308,7 @@ static void enc_txif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rxldpkt
* Name: enc_rxldpkt
*
* Description:
* Load packet from the enc's RX buffer to the driver d_buf.
@ -1348,7 +1348,7 @@ static void enc_rxldpkt(FAR struct enc_driver_s *priv,
}
/****************************************************************************
* Function: enc_rxgetdescr
* Name: enc_rxgetdescr
*
* Description:
* Check for a free descriptor in the free list. If no free descriptor is
@ -1380,7 +1380,7 @@ static struct enc_descr_s *enc_rxgetdescr(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rxrmpkt
* Name: enc_rxrmpkt
*
* Description:
* Remove packet from the RX queue and free the block of memory in the enc's
@ -1439,7 +1439,7 @@ static void enc_rxrmpkt(FAR struct enc_driver_s *priv, FAR struct enc_descr_s *d
}
/****************************************************************************
* Function: enc_rxdispatch
* Name: enc_rxdispatch
*
* Description:
* Give the newly received packet to the network.
@ -1620,7 +1620,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_pktif
* Name: enc_pktif
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -1741,7 +1741,7 @@ static void enc_pktif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_rxabtif
* Name: enc_rxabtif
*
* Description:
* An interrupt was received indicating the abortion of an RX packet
@ -1807,7 +1807,7 @@ static void enc_rxabtif(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_irqworker
* Name: enc_irqworker
*
* Description:
* Perform interrupt handling logic outside of the interrupt handler (on
@ -1980,7 +1980,7 @@ static void enc_irqworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_interrupt
* Name: enc_interrupt
*
* Description:
* Hardware interrupt handler
@ -2019,7 +2019,7 @@ static int enc_interrupt(int irq, FAR void *context)
}
/****************************************************************************
* Function: enc_toworker
* Name: enc_toworker
*
* Description:
* Our TX watchdog timed out. This is the worker thread continuation of
@ -2071,7 +2071,7 @@ static void enc_toworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_txtimeout
* Name: enc_txtimeout
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -2112,7 +2112,7 @@ static void enc_txtimeout(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: enc_pollworker
* Name: enc_pollworker
*
* Description:
* Periodic timer handler continuation.
@ -2166,7 +2166,7 @@ static void enc_pollworker(FAR void *arg)
}
/****************************************************************************
* Function: enc_polltimer
* Name: enc_polltimer
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -2206,7 +2206,7 @@ static void enc_polltimer(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: enc_ifup
* Name: enc_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -2282,7 +2282,7 @@ static int enc_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_ifdown
* Name: enc_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -2337,7 +2337,7 @@ static int enc_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_txavail
* Name: enc_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -2392,7 +2392,7 @@ static int enc_txavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_rxavail
* Name: enc_rxavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -2424,7 +2424,7 @@ static int enc_rxavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: enc_addmac
* Name: enc_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -2462,7 +2462,7 @@ static int enc_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: enc_rmmac
* Name: enc_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -2500,7 +2500,7 @@ static int enc_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: enc_pwrsave
* Name: enc_pwrsave
*
* Description:
* The ENCX24J600 may be placed in Power-Down mode through the command
@ -2572,7 +2572,7 @@ static void enc_pwrsave(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_ldmacaddr
* Name: enc_ldmacaddr
*
* Description:
* Load the MAC address from the ENCX24j600 and write it to the device
@ -2609,7 +2609,7 @@ static void enc_ldmacaddr(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_setmacaddr
* Name: enc_setmacaddr
*
* Description:
* Set the MAC address to the configured value. This is done after ifup
@ -2653,7 +2653,7 @@ static void enc_setmacaddr(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_resetbuffers
* Name: enc_resetbuffers
*
* Description:
* Initializes the RX/TX queues and configures the enc's RX/TX buffers.
@ -2703,7 +2703,7 @@ static void enc_resetbuffers(FAR struct enc_driver_s *priv)
}
/****************************************************************************
* Function: enc_reset
* Name: enc_reset
*
* Description:
* Stop, reset, re-initialize, and restart the ENCX24J600. This is done
@ -2822,7 +2822,7 @@ static int enc_reset(FAR struct enc_driver_s *priv)
****************************************************************************/
/****************************************************************************
* Function: enc_initialize
* Name: enc_initialize
*
* Description:
* Initialize the Ethernet driver. The ENCX24J600 device is assumed to be

View file

@ -244,7 +244,7 @@ static void ftmac100_ipv6multicast(FAR struct ftmac100_driver_s *priv);
****************************************************************************/
/****************************************************************************
* Function: ftmac100_transmit
* Name: ftmac100_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -331,7 +331,7 @@ static int ftmac100_transmit(FAR struct ftmac100_driver_s *priv)
}
/****************************************************************************
* Function: ftmac100_txpoll
* Name: ftmac100_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing packets
@ -405,7 +405,7 @@ static int ftmac100_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: ftmac100_reset
* Name: ftmac100_reset
*
* Description:
* Do the HW reset
@ -434,7 +434,7 @@ static void ftmac100_reset(FAR struct ftmac100_driver_s *priv)
}
/****************************************************************************
* Function: ftmac100_init
* Name: ftmac100_init
*
* Description:
* Perform HW initialization
@ -542,7 +542,7 @@ static void ftmac100_init(FAR struct ftmac100_driver_s *priv)
}
/****************************************************************************
* Function: ftmac100_mdio_read
* Name: ftmac100_mdio_read
*
* Description:
* Read MII registers
@ -583,7 +583,7 @@ static uint32_t ftmac100_mdio_read(FAR struct ftmac100_register_s *iobase, int r
}
/****************************************************************************
* Function: ftmac100_set_mac
* Name: ftmac100_set_mac
*
* Description:
* Set the MAC address
@ -613,7 +613,7 @@ static void ftmac100_set_mac(FAR struct ftmac100_driver_s *priv,
}
/****************************************************************************
* Function: ftmac100_receive
* Name: ftmac100_receive
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -787,7 +787,7 @@ static void ftmac100_receive(FAR struct ftmac100_driver_s *priv)
}
/****************************************************************************
* Function: ftmac100_txdone
* Name: ftmac100_txdone
*
* Description:
* An interrupt was received indicating that the last TX packet(s) is done
@ -850,7 +850,7 @@ static void ftmac100_txdone(FAR struct ftmac100_driver_s *priv)
}
/****************************************************************************
* Function: ftmac100_interrupt_work
* Name: ftmac100_interrupt_work
*
* Description:
* Perform interrupt related work from the worker thread
@ -954,7 +954,7 @@ out:
}
/****************************************************************************
* Function: ftmac100_interrupt
* Name: ftmac100_interrupt
*
* Description:
* Hardware interrupt handler
@ -1009,7 +1009,7 @@ static int ftmac100_interrupt(int irq, FAR void *context, FAR void *arg)
}
/****************************************************************************
* Function: ftmac100_txtimeout_work
* Name: ftmac100_txtimeout_work
*
* Description:
* Perform TX timeout related work from the worker thread
@ -1042,7 +1042,7 @@ static void ftmac100_txtimeout_work(FAR void *arg)
}
/****************************************************************************
* Function: ftmac100_txtimeout_expiry
* Name: ftmac100_txtimeout_expiry
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -1077,7 +1077,7 @@ static void ftmac100_txtimeout_expiry(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: ftmac100_poll_work
* Name: ftmac100_poll_work
*
* Description:
* Perform periodic polling from the worker thread
@ -1120,7 +1120,7 @@ static void ftmac100_poll_work(FAR void *arg)
}
/****************************************************************************
* Function: ftmac100_poll_expiry
* Name: ftmac100_poll_expiry
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -1147,7 +1147,7 @@ static void ftmac100_poll_expiry(int argc, uint32_t arg, ...)
}
/****************************************************************************
* Function: ftmac100_ifup
* Name: ftmac100_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -1208,7 +1208,7 @@ static int ftmac100_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: ftmac100_ifdown
* Name: ftmac100_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -1254,7 +1254,7 @@ static int ftmac100_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: ftmac100_txavail_work
* Name: ftmac100_txavail_work
*
* Description:
* Perform an out-of-cycle poll on the worker thread.
@ -1293,7 +1293,7 @@ static void ftmac100_txavail_work(FAR void *arg)
}
/****************************************************************************
* Function: ftmac100_txavail
* Name: ftmac100_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -1331,7 +1331,7 @@ static int ftmac100_txavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: ftmac100_addmac
* Name: ftmac100_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -1385,7 +1385,7 @@ static int ftmac100_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: ftmac100_rmmac
* Name: ftmac100_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -1430,7 +1430,7 @@ static int ftmac100_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: ftmac100_ipv6multicast
* Name: ftmac100_ipv6multicast
*
* Description:
* Configure the IPv6 multicast MAC address.
@ -1507,7 +1507,7 @@ static void ftmac100_ipv6multicast(FAR struct ftmac100_driver_s *priv)
****************************************************************************/
/****************************************************************************
* Function: ftmac100_initialize
* Name: ftmac100_initialize
*
* Description:
* Initialize the Ethernet controller and driver

View file

@ -145,7 +145,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac);
****************************************************************************/
/****************************************************************************
* Function: lo_txpoll
* Name: lo_txpoll
*
* Description:
* Check if the network has any outgoing packets ready to send. This is
@ -219,7 +219,7 @@ static int lo_txpoll(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: lo_poll_work
* Name: lo_poll_work
*
* Description:
* Perform periodic polling from the worker thread
@ -262,7 +262,7 @@ static void lo_poll_work(FAR void *arg)
}
/****************************************************************************
* Function: lo_poll_expiry
* Name: lo_poll_expiry
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -289,7 +289,7 @@ static void lo_poll_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: lo_ifup
* Name: lo_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -331,7 +331,7 @@ static int lo_ifup(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: lo_ifdown
* Name: lo_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -361,7 +361,7 @@ static int lo_ifdown(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: lo_txavail_work
* Name: lo_txavail_work
*
* Description:
* Perform an out-of-cycle poll on the worker thread.
@ -400,7 +400,7 @@ static void lo_txavail_work(FAR void *arg)
}
/****************************************************************************
* Function: lo_txavail
* Name: lo_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -438,7 +438,7 @@ static int lo_txavail(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: lo_addmac
* Name: lo_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -465,7 +465,7 @@ static int lo_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: lo_rmmac
* Name: lo_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -496,7 +496,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
****************************************************************************/
/****************************************************************************
* Function: localhost_initialize
* Name: localhost_initialize
*
* Description:
* Initialize the Ethernet controller and driver

View file

@ -275,7 +275,7 @@ static int phy_handler(int irq, FAR void *context, FAR void *arg)
****************************************************************************/
/****************************************************************************
* Function: phy_notify_subscribe
* Name: phy_notify_subscribe
*
* Description:
* Setup up to deliver signals to the task identified by 'pid' when
@ -362,7 +362,7 @@ int phy_notify_subscribe(FAR const char *intf, pid_t pid, int signo,
}
/****************************************************************************
* Function: phy_notify_unsubscribe
* Name: phy_notify_unsubscribe
*
* Description:
* Stop the deliver of signals for events from the PHY associated with

View file

@ -214,7 +214,7 @@ static void slip_semtake(FAR struct slip_driver_s *priv)
#define slip_semgive(p) sem_post(&(p)->waitsem);
/****************************************************************************
* Function: slip_write
* Name: slip_write
*
* Description:
* Just an inline wrapper around fwrite with error checking.
@ -238,7 +238,7 @@ static inline void slip_write(FAR struct slip_driver_s *priv,
}
/****************************************************************************
* Function: slip_putc
* Name: slip_putc
*
* Description:
* Just an inline wrapper around putc with error checking.
@ -256,7 +256,7 @@ static inline void slip_putc(FAR struct slip_driver_s *priv, int ch)
}
/****************************************************************************
* Function: slip_transmit
* Name: slip_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -368,7 +368,7 @@ static int slip_transmit(FAR struct slip_driver_s *priv)
}
/****************************************************************************
* Function: slip_txpoll
* Name: slip_txpoll
*
* Description:
* Check if the network has any outgoing packets ready to send. This is a
@ -409,7 +409,7 @@ static int slip_txpoll(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: slip_txtask
* Name: slip_txtask
*
* Description:
* Polling and transmission is performed on tx thread.
@ -499,7 +499,7 @@ static void slip_txtask(int argc, FAR char *argv[])
}
/****************************************************************************
* Function: slip_getc
* Name: slip_getc
*
* Description:
* Get one byte from the serial input.
@ -525,7 +525,7 @@ static inline int slip_getc(FAR struct slip_driver_s *priv)
}
/****************************************************************************
* Function: slip_receive
* Name: slip_receive
*
* Description:
* Read a packet from the serial input
@ -630,7 +630,7 @@ static inline void slip_receive(FAR struct slip_driver_s *priv)
}
/****************************************************************************
* Function: slip_rxtask
* Name: slip_rxtask
*
* Description:
* Wait for incoming data.
@ -751,7 +751,7 @@ static int slip_rxtask(int argc, FAR char *argv[])
}
/****************************************************************************
* Function: slip_ifup
* Name: slip_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -782,7 +782,7 @@ static int slip_ifup(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: slip_ifdown
* Name: slip_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -808,7 +808,7 @@ static int slip_ifdown(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: slip_txavail
* Name: slip_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -841,7 +841,7 @@ static int slip_txavail(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: slip_addmac
* Name: slip_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -870,7 +870,7 @@ static int slip_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: slip_rmmac
* Name: slip_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -903,7 +903,7 @@ static int slip_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
****************************************************************************/
/****************************************************************************
* Function: slip_initialize
* Name: slip_initialize
*
* Description:
* Instantiate a SLIP network interface.

View file

@ -304,7 +304,7 @@ static void tun_pollnotify(FAR struct tun_device_s *priv, pollevent_t eventset)
#endif
/****************************************************************************
* Function: tun_transmit
* Name: tun_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -343,7 +343,7 @@ static int tun_fd_transmit(FAR struct tun_device_s *priv)
}
/****************************************************************************
* Function: tun_txpoll
* Name: tun_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing packets
@ -393,7 +393,7 @@ static int tun_txpoll(struct net_driver_s *dev)
}
/****************************************************************************
* Function: tun_receive
* Name: tun_receive
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -495,7 +495,7 @@ static void tun_net_receive(FAR struct tun_device_s *priv)
}
/****************************************************************************
* Function: tun_txdone
* Name: tun_txdone
*
* Description:
* An interrupt was received indicating that the last TX packet(s) is done
@ -524,7 +524,7 @@ static void tun_txdone(FAR struct tun_device_s *priv)
}
/****************************************************************************
* Function: tun_poll_work
* Name: tun_poll_work
*
* Description:
* Perform periodic polling from the worker thread
@ -570,7 +570,7 @@ static void tun_poll_work(FAR void *arg)
}
/****************************************************************************
* Function: tun_poll_expiry
* Name: tun_poll_expiry
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -597,7 +597,7 @@ static void tun_poll_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: tun_ifup
* Name: tun_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -649,7 +649,7 @@ static int tun_ifup(struct net_driver_s *dev)
}
/****************************************************************************
* Function: tun_ifdown
* Name: tun_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -682,7 +682,7 @@ static int tun_ifdown(struct net_driver_s *dev)
}
/****************************************************************************
* Function: tun_txavail
* Name: tun_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -731,7 +731,7 @@ static int tun_txavail(struct net_driver_s *dev)
}
/****************************************************************************
* Function: tun_addmac
* Name: tun_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -758,7 +758,7 @@ static int tun_addmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: tun_rmmac
* Name: tun_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -785,7 +785,7 @@ static int tun_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: tun_ipv6multicast
* Name: tun_ipv6multicast
*
* Description:
* Configure the IPv6 multicast MAC address.
@ -807,7 +807,7 @@ static void tun_ipv6multicast(FAR struct tun_device_s *priv)
#endif /* CONFIG_NET_ICMPv6 */
/****************************************************************************
* Function: tun_dev_init
* Name: tun_dev_init
*
* Description:
* Initialize the TUN device
@ -1228,7 +1228,7 @@ static int tun_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
****************************************************************************/
/****************************************************************************
* Function: tun_initialize
* Name: tun_initialize
*
* Description:
* Instantiate a SLIP network interface.

View file

@ -672,7 +672,7 @@ static const struct ovr2640_reg_s g_ov2640_jpeg_uxga_resolution[] =
****************************************************************************/
/****************************************************************************
* Function: ov2640_putreg
* Name: ov2640_putreg
*
* Description:
* Set one OV2640 register
@ -723,7 +723,7 @@ static int ov2640_putreg(FAR struct i2c_master_s *i2c, uint8_t regaddr,
}
/****************************************************************************
* Function: ov2640_getreg
* Name: ov2640_getreg
*
* Description:
* Set one OV2640 register
@ -779,7 +779,7 @@ static uint8_t ov2640_getreg(FAR struct i2c_master_s *i2c, uint8_t regaddr)
}
/****************************************************************************
* Function: ov2640_putreglist
* Name: ov2640_putreglist
*
* Description:
* Set a list of OV2640 register values.
@ -816,7 +816,7 @@ static int ov2640_putreglist(FAR struct i2c_master_s *i2c,
}
/****************************************************************************
* Function: ovr2640_chipid
* Name: ovr2640_chipid
*
* Description:
* Read and verify the CHIP ID
@ -869,7 +869,7 @@ static int ovr2640_chipid(FAR struct i2c_master_s *i2c)
}
/****************************************************************************
* Function: ov2640_reset
* Name: ov2640_reset
*
* Description:
* Reset the OV2640.
@ -904,7 +904,7 @@ static int ov2640_reset(FAR struct i2c_master_s *i2c)
* Public Functions
****************************************************************************/
/****************************************************************************
* Function: ov2640_initialize
* Name: ov2640_initialize
*
* Description:
* Initialize the OV2640 camera.

View file

@ -231,7 +231,7 @@ static inline void cc3000_devgive(FAR struct cc3000_dev_s *priv)
}
/****************************************************************************
* Function: cc3000_configspi
* Name: cc3000_configspi
*
* Description:
* Configure the SPI for use with the CC3000. This function should be
@ -260,7 +260,7 @@ static inline void cc3000_configspi(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: cc3000_lock
* Name: cc3000_lock
*
* Description:
* Lock the SPI bus and re-configure as necessary. This function must be
@ -293,7 +293,7 @@ static void cc3000_lock_and_select(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: cc3000_unlock
* Name: cc3000_unlock
*
* Description:
* Un-lock the SPI bus after each transfer, possibly losing the current
@ -321,7 +321,7 @@ static void cc3000_deselect_and_unlock(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: cc3000_wait
* Name: cc3000_wait
*
* Description:
* Helper function to wait on the semaphore signaled by the
@ -363,7 +363,7 @@ static int cc3000_wait(FAR struct cc3000_dev_s *priv, sem_t *psem)
}
/****************************************************************************
* Function: cc3000_wait_irq
* Name: cc3000_wait_irq
*
* Description:
* Helper function to wait on the irqsem signaled by the interrupt
@ -385,7 +385,7 @@ static inline int cc3000_wait_irq(FAR struct cc3000_dev_s *priv)
}
/****************************************************************************
* Function: cc3000_wait_ready
* Name: cc3000_wait_ready
*
* Description:
* Helper function to wait on the readysem signaled by the interrupt

View file

@ -290,7 +290,7 @@ static void nrf24l01_lock(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: nrf24l01_unlock
* Name: nrf24l01_unlock
*
* Description:
* Un-lock the SPI bus after each transfer, possibly losing the current
@ -314,7 +314,7 @@ static void nrf24l01_unlock(FAR struct spi_dev_s *spi)
}
/****************************************************************************
* Function: nrf24l01_configspi
* Name: nrf24l01_configspi
*
* Description:
* Configure the SPI for use with the NRF24L01.

View file

@ -245,7 +245,7 @@ static inline int poll_teardown(FAR struct pollfd *fds, nfds_t nfds, int *count,
****************************************************************************/
/****************************************************************************
* Function: file_poll
* Name: file_poll
*
* Description:
* Low-level poll operation based on struc file. This is used both to (1)
@ -288,7 +288,7 @@ int file_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
#endif
/****************************************************************************
* Function: fdesc_poll
* Name: fdesc_poll
*
* Description:
* The standard poll() operation redirects operations on file descriptors

View file

@ -651,7 +651,7 @@ int up_fbinitialize(int display)
}
/****************************************************************************
* Function: vnc_fbinitialize
* Name: vnc_fbinitialize
*
* Description:
* Initialize the VNC frame buffer driver. The VNC frame buffer driver

View file

@ -630,7 +630,7 @@ void vnc_key_map(FAR struct vnc_session_s *session, uint16_t keysym,
}
/****************************************************************************
* Function: vnc_kbdout
* Name: vnc_kbdout
*
* Description:
* This is the default keyboard callout function. This is simply wrappers around nx_kdbout(), respectively. When configured using vnc_fbinitialize(), the 'arg' must be the correct NXHANDLE value.

View file

@ -497,7 +497,7 @@ int vnc_client_encodings(FAR struct vnc_session_s *session,
}
/****************************************************************************
* Function: vnc_mouse
* Name: vnc_mouse
*
* Description:
* This is the default keyboard/mouse callout function. This is simply a

View file

@ -84,7 +84,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: net_addroute
* Name: net_addroute
*
* Description:
* Add a new route to the routing table. This is just a convenience
@ -107,7 +107,7 @@ int addroute(int sockfd, FAR struct sockaddr_storage *target,
FAR struct sockaddr_storage *router);
/****************************************************************************
* Function: net_delroute
* Name: net_delroute
*
* Description:
* Add a new route to the routing table. This is just a convenience

View file

@ -92,7 +92,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: vs1053_initialize
* Name: vs1053_initialize
*
* Description:
* Initialize the VS1053 driver. This will perform a chip reset of the

View file

@ -239,7 +239,7 @@ EXTERN volatile systime_t g_system_timer;
****************************************************************************/
/****************************************************************************
* Function: clock_synchronize
* Name: clock_synchronize
*
* Description:
* Synchronize the system timer to a hardware RTC. This operation is
@ -302,7 +302,7 @@ void clock_resynchronize(FAR struct timespec *rtc_diff);
#endif
/****************************************************************************
* Function: clock_systimer
* Name: clock_systimer
*
* Description:
* Return the current value of the 32/64-bit system timer counter.
@ -347,7 +347,7 @@ systime_t clock_systimer(void);
int clock_systimespec(FAR struct timespec *ts);
/****************************************************************************
* Function: clock_cpuload
* Name: clock_cpuload
*
* Description:
* Return load measurement data for the select PID.

View file

@ -406,7 +406,7 @@ FAR struct iob_s *iob_pack(FAR struct iob_s *iob);
int iob_contig(FAR struct iob_s *iob, unsigned int len);
/****************************************************************************
* Function: iob_dump
* Name: iob_dump
*
* Description:
* Dump the contents of a I/O buffer chain

View file

@ -975,7 +975,7 @@ int file_vfcntl(FAR struct file *filep, int cmd, va_list ap);
#endif
/****************************************************************************
* Function: file_poll
* Name: file_poll
*
* Description:
* Low-level poll operation based on struc file. This is used both to (1)
@ -998,7 +998,7 @@ int file_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup);
#endif
/****************************************************************************
* Function: fdesc_poll
* Name: fdesc_poll
*
* Description:
* The standard poll() operation redirects operations on file descriptors

View file

@ -108,7 +108,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: cs89x0_initialize
* Name: cs89x0_initialize
*
* Description:
* Initialize the Ethernet driver

View file

@ -108,7 +108,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: enc_initialize
* Name: enc_initialize
*
* Description:
* Initialize the Ethernet driver. The ENC28J60 device is assumed to be

View file

@ -108,7 +108,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: enc_initialize
* Name: enc_initialize
*
* Description:
* Initialize the Ethernet driver. The ENCX24J600 device is assumed to be

View file

@ -217,7 +217,7 @@ struct ftmac100_rxdes_s
****************************************************************************/
/****************************************************************************
* Function: ftmac100_initialize
* Name: ftmac100_initialize
*
* Description:
* Initialize the Ethernet controller and driver

View file

@ -91,7 +91,7 @@ EXTERN const net_ipv6addr_t g_lo_ipv6addr;
****************************************************************************/
/****************************************************************************
* Function: localhost_initialize
* Name: localhost_initialize
*
* Description:
* Initialize the Ethernet controller and driver

View file

@ -215,7 +215,7 @@ void net_initialize(void);
****************************************************************************/
/****************************************************************************
* Function: net_lock
* Name: net_lock
*
* Description:
* Take the lock
@ -225,7 +225,7 @@ void net_initialize(void);
void net_lock(void);
/****************************************************************************
* Function: net_unlock
* Name: net_unlock
*
* Description:
* Release the lock.
@ -235,7 +235,7 @@ void net_lock(void);
void net_unlock(void);
/****************************************************************************
* Function: net_timedwait
* Name: net_timedwait
*
* Description:
* Atomically wait for sem (or a timeout( while temporarily releasing
@ -256,7 +256,7 @@ struct timespec;
int net_timedwait(sem_t *sem, FAR const struct timespec *abstime);
/****************************************************************************
* Function: net_lockedwait
* Name: net_lockedwait
*
* Description:
* Atomically wait for sem while temporarily releasing lock on the network.
@ -274,7 +274,7 @@ int net_timedwait(sem_t *sem, FAR const struct timespec *abstime);
int net_lockedwait(sem_t *sem);
/****************************************************************************
* Function: net_setipid
* Name: net_setipid
*
* Description:
* This function may be used at boot time to set the initial ip_id.
@ -349,7 +349,7 @@ void net_releaselist(FAR struct socketlist *list);
FAR struct socket *sockfd_socket(int sockfd);
/****************************************************************************
* Function: psock_socket
* Name: psock_socket
*
* Description:
* socket() creates an endpoint for communication and returns a socket
@ -389,7 +389,7 @@ FAR struct socket *sockfd_socket(int sockfd);
int psock_socket(int domain, int type, int protocol, FAR struct socket *psock);
/****************************************************************************
* Function: net_close
* Name: net_close
*
* Description:
* Performs the close operation on socket descriptors
@ -407,7 +407,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock);
int net_close(int sockfd);
/****************************************************************************
* Function: psock_close
* Name: psock_close
*
* Description:
* Performs the close operation on a socket instance
@ -425,7 +425,7 @@ int net_close(int sockfd);
int psock_close(FAR struct socket *psock);
/****************************************************************************
* Function: psock_bind
* Name: psock_bind
*
* Description:
* bind() gives the socket 'psock' the local address 'addr'. 'addr' is
@ -459,7 +459,7 @@ int psock_bind(FAR struct socket *psock, FAR const struct sockaddr *addr,
socklen_t addrlen);
/****************************************************************************
* Function: psock_listen
* Name: psock_listen
*
* Description:
* To accept connections, a socket is first created with psock_socket(), a
@ -490,7 +490,7 @@ int psock_bind(FAR struct socket *psock, FAR const struct sockaddr *addr,
int psock_listen(FAR struct socket *psock, int backlog);
/****************************************************************************
* Function: psock_accept
* Name: psock_accept
*
* Description:
* The psock_accept function is used with connection-based socket types
@ -631,7 +631,7 @@ int psock_connect(FAR struct socket *psock, FAR const struct sockaddr *addr,
socklen_t addrlen);
/****************************************************************************
* Function: psock_send
* Name: psock_send
*
* Description:
* The send() call may be used only when the socket is in a connected state
@ -698,7 +698,7 @@ ssize_t psock_send(FAR struct socket *psock, const void *buf, size_t len,
int flags);
/****************************************************************************
* Function: psock_sendto
* Name: psock_sendto
*
* Description:
* If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET)
@ -767,7 +767,7 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf,
socklen_t tolen);
/****************************************************************************
* Function: psock_recvfrom
* Name: psock_recvfrom
*
* Description:
* recvfrom() receives messages from a socket, and may be used to receive
@ -830,7 +830,7 @@ ssize_t psock_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
psock_recvfrom(psock,buf,len,flags,NULL,0)
/****************************************************************************
* Function: psock_getsockopt
* Name: psock_getsockopt
*
* Description:
* getsockopt() retrieve thse value for the option specified by the
@ -874,7 +874,7 @@ int psock_getsockopt(FAR struct socket *psock, int level, int option,
FAR void *value, FAR socklen_t *value_len);
/****************************************************************************
* Function: psock_setsockopt
* Name: psock_setsockopt
*
* Description:
* psock_setsockopt() sets the option specified by the 'option' argument,
@ -989,7 +989,7 @@ int psock_ioctl(FAR struct socket *psock, int cmd, unsigned long arg);
int netdev_ioctl(int sockfd, int cmd, unsigned long arg);
/****************************************************************************
* Function: psock_poll
* Name: psock_poll
*
* Description:
* The standard poll() operation redirects operations on socket descriptors
@ -1012,7 +1012,7 @@ int psock_poll(FAR struct socket *psock, struct pollfd *fds, bool setup);
#endif
/****************************************************************************
* Function: net_poll
* Name: net_poll
*
* Description:
* The standard poll() operation redirects operations on socket descriptors
@ -1035,7 +1035,7 @@ int net_poll(int sockfd, struct pollfd *fds, bool setup);
#endif
/****************************************************************************
* Function: net_dupsd
* Name: net_dupsd
*
* Description:
* Clone a socket descriptor to an arbitray descriptor number. If file
@ -1048,7 +1048,7 @@ int net_poll(int sockfd, struct pollfd *fds, bool setup);
int net_dupsd(int sockfd, int minsd);
/****************************************************************************
* Function: net_dupsd2
* Name: net_dupsd2
*
* Description:
* Clone a socket descriptor to an arbitray descriptor number. If file
@ -1061,7 +1061,7 @@ int net_dupsd(int sockfd, int minsd);
int net_dupsd2(int sockfd1, int sockfd2);
/****************************************************************************
* Function: net_clone
* Name: net_clone
*
* Description:
* Performs the low level, common portion of net_dupsd() and net_dupsd2()
@ -1071,7 +1071,7 @@ int net_dupsd2(int sockfd1, int sockfd2);
int net_clone(FAR struct socket *psock1, FAR struct socket *psock2);
/****************************************************************************
* Function: net_sendfile
* Name: net_sendfile
*
* Description:
* The send() call may be used only when the socket is in a connected state
@ -1159,7 +1159,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset, size_t count
int net_vfcntl(int sockfd, int cmd, va_list ap);
/****************************************************************************
* Function: netdev_register
* Name: netdev_register
*
* Description:
* Register a network device driver and assign a name to it so that it can
@ -1180,7 +1180,7 @@ int net_vfcntl(int sockfd, int cmd, va_list ap);
int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype);
/****************************************************************************
* Function: netdev_unregister
* Name: netdev_unregister
*
* Description:
* Unregister a network device driver.
@ -1200,7 +1200,7 @@ int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype);
int netdev_unregister(FAR struct net_driver_s *dev);
/****************************************************************************
* Function: netdev_foreach
* Name: netdev_foreach
*
* Description:
* Enumerate each registered network device.

View file

@ -616,7 +616,7 @@ uint16_t ipv6_chksum(FAR struct net_driver_s *dev);
#endif
/****************************************************************************
* Function: netdev_ipv4_hdrlen
* Name: netdev_ipv4_hdrlen
*
* Description:
* Provide header length for interface based on device
@ -637,7 +637,7 @@ uint16_t ipv6_chksum(FAR struct net_driver_s *dev);
#endif /* CONFIG_NET_IPv4 */
/****************************************************************************
* Function: netdev_ipv6_hdrlen
* Name: netdev_ipv6_hdrlen
*
* Description:
* Provide header length for interface based on device

View file

@ -86,7 +86,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: phy_notify_subscribe
* Name: phy_notify_subscribe
*
* Description:
* Setup up to deliver signals to the task identified by 'pid' when
@ -117,7 +117,7 @@ int phy_notify_subscribe(FAR const char *intf, pid_t pid, int signo,
#endif
/****************************************************************************
* Function: phy_notify_unsubscribe
* Name: phy_notify_unsubscribe
*
* Description:
* Stop the deliver of signals for events from the PHY associated with

View file

@ -93,7 +93,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: slip_initialize
* Name: slip_initialize
*
* Description:
* Instantiate a SLIP network interface.

View file

@ -82,7 +82,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: tun_initialize
* Name: tun_initialize
*
* Description:
* Instantiate a SLIP network interface.

View file

@ -110,7 +110,7 @@ extern struct entropy_pool_s board_entropy_pool;
#ifdef CONFIG_CRYPTO_RANDOM_POOL
/****************************************************************************
* Function: up_rngaddint
* Name: up_rngaddint
*
* Description:
* Add one integer to entropy pool, contributing a specific kind
@ -128,7 +128,7 @@ extern struct entropy_pool_s board_entropy_pool;
void up_rngaddint(enum rnd_source_t kindof, int val);
/****************************************************************************
* Function: up_rngaddentropy
* Name: up_rngaddentropy
*
* Description:
* Add buffer of integers to entropy pool.
@ -147,7 +147,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf,
size_t n);
/****************************************************************************
* Function: up_rngreseed
* Name: up_rngreseed
*
* Description:
* Force reseeding random number generator from entropy pool
@ -157,7 +157,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf,
void up_rngreseed(void);
/****************************************************************************
* Function: up_randompool_initialize
* Name: up_randompool_initialize
*
* Description:
* Initialize entropy pool and random number generator

View file

@ -143,7 +143,7 @@ int sem_tickwait(FAR sem_t *sem, systime_t start, uint32_t delay);
int sem_reset(FAR sem_t *sem, int16_t count);
/****************************************************************************
* Function: sem_getprotocol
* Name: sem_getprotocol
*
* Description:
* Return the value of the semaphore protocol attribute.
@ -163,7 +163,7 @@ int sem_reset(FAR sem_t *sem, int16_t count);
int sem_getprotocol(FAR sem_t *sem, FAR int *protocol);
/****************************************************************************
* Function: sem_setprotocol
* Name: sem_setprotocol
*
* Description:
* Set semaphore protocol attribute.

View file

@ -81,7 +81,7 @@ extern "C"
#endif
/****************************************************************************
* Function: clock_isleapyear
* Name: clock_isleapyear
*
* Description:
* Return true if the specified year is a leap year
@ -91,7 +91,7 @@ extern "C"
int clock_isleapyear(int year);
/****************************************************************************
* Function: clock_daysbeforemonth
* Name: clock_daysbeforemonth
*
* Description:
* Get the number of days that occurred before the beginning of the month.
@ -101,7 +101,7 @@ int clock_isleapyear(int year);
int clock_daysbeforemonth(int month, bool leapyear);
/****************************************************************************
* Function: clock_dayoftheweek
* Name: clock_dayoftheweek
*
* Description:
* Get the day of the week
@ -121,7 +121,7 @@ int clock_dayoftheweek(int mday, int month, int year);
#endif
/****************************************************************************
* Function: clock_calendar2utc
* Name: clock_calendar2utc
*
* Description:
* Calendar/UTC conversion based on algorithms from p. 604

View file

@ -63,7 +63,7 @@ extern "C"
#endif
/****************************************************************************
* Function: ov2640_initialize
* Name: ov2640_initialize
*
* Description:
* Initialize the OV2640 camera.

View file

@ -74,7 +74,7 @@ extern "C"
#endif
/****************************************************************************
* Function: vnc_fbinitialize
* Name: vnc_fbinitialize
*
* Description:
* Initialize the VNC frame buffer driver. The VNC frame buffer driver
@ -132,7 +132,7 @@ int vnc_fbinitialize(int display, vnc_kbdout_t kbdout,
vnc_mouseout_t mouseout, FAR void *arg);
/****************************************************************************
* Function: vnc_mouse and vnc_kbdout
* Name: vnc_mouse and vnc_kbdout
*
* Description:
* These are the default keyboard/mouse callout functions. They are
@ -162,7 +162,7 @@ void vnc_mouseout(FAR void *arg, nxgl_coord_t x, nxgl_coord_t y,
#endif
/****************************************************************************
* Function: vnc_default_fbinitialize
* Name: vnc_default_fbinitialize
*
* Description:
* This is just a wrapper around vnc_fbinitialize() that will establish

View file

@ -59,7 +59,7 @@ extern "C"
****************************************************************************/
/************************************************************************************
* Function: bcmf_board_initialize
* Name: bcmf_board_initialize
*
* Description:
* Board specific function called from Broadcom FullMAC driver
@ -73,7 +73,7 @@ extern "C"
void bcmf_board_initialize(int minor);
/************************************************************************************
* Function: bcmf_board_power
* Name: bcmf_board_power
*
* Description:
* Board specific function called from Broadcom FullMAC driver
@ -88,7 +88,7 @@ void bcmf_board_initialize(int minor);
void bcmf_board_power(int minor, bool power);
/************************************************************************************
* Function: bcmf_board_reset
* Name: bcmf_board_reset
*
* Description:
* Board specific function called from Broadcom FullMAC driver

View file

@ -59,7 +59,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: bcmf_sdio_initialize
* Name: bcmf_sdio_initialize
*
* Description:
* Initialize Broadcom FullMAC driver.

View file

@ -52,7 +52,7 @@
****************************************************************************/
/****************************************************************************
* Function: ieee8021514_loopback
* Name: ieee8021514_loopback
*
* Description:
* Initialize and register the Ieee802.15.4 MAC loopback network driver.

View file

@ -79,7 +79,7 @@ extern "C"
****************************************************************************/
/****************************************************************************
* Function: mrf24j40_init
* Name: mrf24j40_init
*
* Description:
* Initialize the IEEE802.15.4 driver. The MRF24J40 device is assumed to be

View file

@ -51,7 +51,7 @@
#ifdef CONFIG_CRYPTO_RANDOM_POOL
/****************************************************************************
* Function: getrandom
* Name: getrandom
*
* Description:
* Fill a buffer of arbitrary length with randomness. This is the

View file

@ -53,7 +53,7 @@ static char g_retchar[2];
****************************************************************************/
/****************************************************************************
* Function: basename
* Name: basename
*
* Description:
* basename() extracts the filename component from a null-terminated

View file

@ -53,7 +53,7 @@ static char g_retchar[2];
****************************************************************************/
/****************************************************************************
* Function: dirname
* Name: dirname
*
* Description:
* dirname() extracts the directory component from a null-terminated

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_addroute
* Name: net_addroute
*
* Description:
* Add a new route to the routing table. This is just a convenience

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_delroute
* Name: net_delroute
*
* Description:
* Add a new route to the routing table. This is just a convenience

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_destroy
* Name: pthread_attr_destroy
*
* Description:
* An attributes object can be deleted when it is no longer needed.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getaffinity
* Name: pthread_attr_getaffinity
*
* Description:
*

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getinheritsched
* Name: pthread_attr_getinheritsched
*
* Description:
* Report whether the scheduling info in the pthread

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getschedparam
* Name: pthread_attr_getschedparam
*
* Description:
*

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getschedpolicy
* Name: pthread_attr_getschedpolicy
*
* Description:
* Obtain the scheduling algorithm attribute.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getstacksize
* Name: pthread_attr_getstacksize
*
* Description:
*

View file

@ -66,7 +66,7 @@ const pthread_attr_t g_default_pthread_attr = PTHREAD_ATTR_INITIALIZER;
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_init
* Name: pthread_attr_init
*
* Description:
* Initializes a thread attributes object (attr) with

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setaffinity
* Name: pthread_attr_setaffinity
*
* Description:
*

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setinheritsched
* Name: pthread_attr_setinheritsched
*
* Description:
* Indicate whether the scheduling info in the pthread

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setschedparam
* Name: pthread_attr_setschedparam
*
* Description:
*

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setschedpolicy
* Name: pthread_attr_setschedpolicy
*
* Description:
* Set the scheduling algorithm attribute.

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setstacksize
* Name: pthread_attr_setstacksize
*
* Description:
*

View file

@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_destroy
* Name: pthread_barrierattr_destroy
*
* Description:
* The pthread_barrierattr_destroy() function will destroy a barrier attributes

View file

@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_getpshared
* Name: pthread_barrierattr_getpshared
*
* Description:
* The pthread_barrierattr_getpshared() function will obtain the value of the

View file

@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_init
* Name: pthread_barrierattr_init
*
* Description:
* The pthread_barrierattr_init() function will initialize a barrier attribute

View file

@ -68,7 +68,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_setpshared
* Name: pthread_barrierattr_setpshared
*
* Description:
* The process-shared attribute is set to PTHREAD_PROCESS_SHARED to permit a

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_condattr_destroy
* Name: pthread_condattr_destroy
*
* Description:
* Operations on condition variable attributes

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_condattr_init
* Name: pthread_condattr_init
*
* Description:
* Operations on condition variable attributes

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_destroy
* Name: pthread_mutexattr_destroy
*
* Description:
* Destroy mutex attributes.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getprotocol
* Name: pthread_mutexattr_getprotocol
*
* Description:
* Return the value of the mutex protocol attribute.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getpshared
* Name: pthread_mutexattr_getpshared
*
* Description:
* Get pshared mutex attribute.

View file

@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getrobust
* Name: pthread_mutexattr_getrobust
*
* Description:
* Return the mutex robustneess from the mutex attributes.

View file

@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_gettype
* Name: pthread_mutexattr_gettype
*
* Description:
* Return the mutex type from the mutex attributes.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_init
* Name: pthread_mutexattr_init
*
* Description:
* Create mutex attributes.

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setprotocol
* Name: pthread_mutexattr_setprotocol
*
* Description:
* Set mutex protocol attribute.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setpshared
* Name: pthread_mutexattr_setpshared
*
* Description:
* Set pshared mutex attribute.

View file

@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setrobust
* Name: pthread_mutexattr_setrobust
*
* Description:
* Set the mutex robustness in the mutex attributes.

View file

@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_settype
* Name: pthread_mutexattr_settype
*
* Description:
* Set the mutex type in the mutex attributes.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_getprotocol
* Name: sem_getprotocol
*
* Description:
* Return the value of the semaphore protocol attribute.

View file

@ -68,7 +68,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_getvalue
* Name: sem_getvalue
*
* Description:
* This function updates the location referenced by 'sval' argument to

View file

@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_init
* Name: sem_init
*
* Description:
* This function initializes the UNAMED semaphore sem. Following a

View file

@ -51,7 +51,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_setprotocol
* Name: sem_setprotocol
*
* Description:
* Set semaphore protocol attribute.

View file

@ -45,7 +45,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigaddset
* Name: sigaddset
*
* Description:
* This function adds the signal specified by signo to the signal set

View file

@ -45,7 +45,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigdelset
* Name: sigdelset
*
* Description:
* This function deletes the signal specified by signo from the signal

View file

@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigemptyset
* Name: sigemptyset
*
* Description:
* This function initializes the signal set specified by set such that all

View file

@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigfillset
* Name: sigfillset
*
* Description:
* This function initializes the signal set specified by set such that all

View file

@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigismember
* Name: sigismember
*
* Description:
* This function tests whether the signal specified by signo is a member

View file

@ -81,7 +81,7 @@ static const char spaces[] = " \t\n\r\f\v";
****************************************************************************/
/****************************************************************************
* Function: findwidth
* Name: findwidth
*
* Description:
* Try to figure out the width of the input data.
@ -139,7 +139,7 @@ static int findwidth(FAR const char *buf, FAR const char *fmt)
}
/****************************************************************************
* Function: findscanset
* Name: findscanset
*
* Description:
* Fill in the given table from the scanset at the given format.
@ -265,7 +265,7 @@ doexit:
#endif
/****************************************************************************
* Function: scansetwidth
* Name: scansetwidth
****************************************************************************/
#ifdef CONFIG_LIBC_SCANSET
@ -295,7 +295,7 @@ static int scansetwidth(FAR const char *buf,
****************************************************************************/
/****************************************************************************
* Function: sscanf
* Name: sscanf
*
* Description:
* ANSI standard sscanf implementation.
@ -314,7 +314,7 @@ int sscanf(FAR const char *buf, FAR const char *fmt, ...)
}
/****************************************************************************
* Function: vsscanf
* Name: vsscanf
*
* Description:
* ANSI standard vsscanf implementation.

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: asctime
* Name: asctime
*
* Description:
* asctime and asctime_r convert the time provided in a struct tm to a

View file

@ -67,7 +67,7 @@ static const char * const g_mon_name[12] =
****************************************************************************/
/****************************************************************************
* Function: asctime_r
* Name: asctime_r
*
* Description:
* asctime and asctime_r convert the time provided in a struct tm to a

View file

@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: clock_gregorian2utc, clock_julian2utc
* Name: clock_gregorian2utc, clock_julian2utc
*
* Description:
* UTC conversion routines. These conversions are based
@ -90,7 +90,7 @@ static time_t clock_julian2utc(int year, int month, int day)
****************************************************************************/
/****************************************************************************
* Function: clock_calendar2utc
* Name: clock_calendar2utc
*
* Description:
* Calendar/UTC conversion based on algorithms from p. 604

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: ctime
* Name: ctime
*
* Description:
* ctime and ctime_r convert the time provided in seconds since the

View file

@ -52,7 +52,7 @@
****************************************************************************/
/****************************************************************************
* Function: ctime_r
* Name: ctime_r
*
* Description:
* ctime and ctime_r convert the time provided in seconds since the

View file

@ -80,7 +80,7 @@
****************************************************************************/
/****************************************************************************
* Function: clock_dayoftheweek
* Name: clock_dayoftheweek
*
* Description:
* Get the day of the week

View file

@ -58,7 +58,7 @@ static const uint16_t g_daysbeforemonth[13] =
****************************************************************************/
/****************************************************************************
* Function: clock_daysbeforemonth
* Name: clock_daysbeforemonth
*
* Description:
* Get the number of days that occurred before the beginning of the

View file

@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: difftime
* Name: difftime
*
* Description:
* The difftime() function returns the number of seconds elapsed

View file

@ -78,7 +78,7 @@
****************************************************************************/
/****************************************************************************
* Function: gmtime
* Name: gmtime
*
* Description:
* Similar to gmtime_r, but not thread-safe

View file

@ -86,7 +86,7 @@ static void clock_utc2julian(time_t jdn, int *year, int *month, int *day);
****************************************************************************/
/****************************************************************************
* Function: clock_utc2calendar, clock_utc2gregorian, and clock_utc2julian
* Name: clock_utc2calendar, clock_utc2gregorian, and clock_utc2julian
*
* Description:
* Calendar to UTC conversion routines. These conversions
@ -291,7 +291,7 @@ static void clock_utc2calendar(time_t days, FAR int *year, FAR int *month,
****************************************************************************/
/****************************************************************************
* Function: gmtime_r
* Name: gmtime_r
*
* Description:
* Time conversion (based on the POSIX API)

Some files were not shown because too many files have changed in this diff Show more