Restore some debug output that lost its low-level marking
This commit is contained in:
parent
219098c5ac
commit
dbd70a5864
@ -252,7 +252,7 @@ static bool spi_checkreg(struct sam_spidev_s *priv, bool wr, uint32_t value,
|
||||
{
|
||||
/* Yes... show how many times we did it */
|
||||
|
||||
spiinfo("...[Repeats %d times]...\n", priv->ntimes);
|
||||
spillinfo("...[Repeats %d times]...\n", priv->ntimes);
|
||||
}
|
||||
|
||||
/* Save information about the new access */
|
||||
@ -285,7 +285,7 @@ static uint32_t spi_getreg(struct sam_spidev_s *priv, unsigned int offset)
|
||||
#ifdef CONFIG_SAMV7_SPI_REGDEBUG
|
||||
if (spi_checkreg(priv, false, value, address))
|
||||
{
|
||||
spiinfo("%08x->%08x\n", address, value);
|
||||
spillinfo("%08x->%08x\n", address, value);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -308,7 +308,7 @@ static void spi_putreg(struct sam_spidev_s *priv, uint32_t value,
|
||||
#ifdef CONFIG_SAMV7_SPI_REGDEBUG
|
||||
if (spi_checkreg(priv, true, value, address))
|
||||
{
|
||||
spiinfo("%08x<-%08x\n", address, value);
|
||||
spillinfo("%08x<-%08x\n", address, value);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -678,7 +678,7 @@ static bool ssc_checkreg(struct sam_ssc_s *priv, bool wr, uint32_t regval,
|
||||
{
|
||||
/* Yes... show how many times we did it */
|
||||
|
||||
i2sinfo("...[Repeats %d times]...\n", priv->count);
|
||||
i2sllinfo("...[Repeats %d times]...\n", priv->count);
|
||||
}
|
||||
|
||||
/* Save information about the new access */
|
||||
@ -712,7 +712,7 @@ static inline uint32_t ssc_getreg(struct sam_ssc_s *priv,
|
||||
#ifdef CONFIG_SAMV7_SSC_REGDEBUG
|
||||
if (ssc_checkreg(priv, false, regval, regaddr))
|
||||
{
|
||||
i2sinfo("%08x->%08x\n", regaddr, regval);
|
||||
i2sllinfo("%08x->%08x\n", regaddr, regval);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -735,7 +735,7 @@ static inline void ssc_putreg(struct sam_ssc_s *priv, unsigned int offset,
|
||||
#ifdef CONFIG_SAMV7_SSC_REGDEBUG
|
||||
if (ssc_checkreg(priv, true, regval, regaddr))
|
||||
{
|
||||
i2sinfo("%08x<-%08x\n", regaddr, regval);
|
||||
i2sllinfo("%08x<-%08x\n", regaddr, regval);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1064,7 +1064,7 @@ static void ssc_dma_sampleinit(struct sam_ssc_s *priv,
|
||||
#if defined(CONFIG_SAMV7_SSC_DMADEBUG) && defined(SSC_HAVE_RX)
|
||||
static void ssc_rxdma_sampledone(struct sam_ssc_s *priv, int result)
|
||||
{
|
||||
i2sinfo("result: %d\n", result);
|
||||
i2llsinfo("result: %d\n", result);
|
||||
|
||||
/* Sample the final registers */
|
||||
|
||||
@ -1129,7 +1129,7 @@ static void ssc_rxdma_sampledone(struct sam_ssc_s *priv, int result)
|
||||
#if defined(CONFIG_SAMV7_SSC_DMADEBUG) && defined(SSC_HAVE_TX)
|
||||
static void ssc_txdma_sampledone(struct sam_ssc_s *priv, int result)
|
||||
{
|
||||
i2sinfo("result: %d\n", result);
|
||||
i2sllinfo("result: %d\n", result);
|
||||
|
||||
/* Sample the final registers */
|
||||
|
||||
|
@ -353,7 +353,7 @@ static bool twi_checkreg(struct twi_dev_s *priv, bool wr, uint32_t value,
|
||||
{
|
||||
/* Yes... show how many times we did it */
|
||||
|
||||
i2cinfo("...[Repeats %d times]...\n", priv->ntimes);
|
||||
i2cllinfo("...[Repeats %d times]...\n", priv->ntimes);
|
||||
}
|
||||
|
||||
/* Save information about the new access */
|
||||
@ -385,7 +385,7 @@ static uint32_t twi_getabs(struct twi_dev_s *priv, uintptr_t address)
|
||||
|
||||
if (twi_checkreg(priv, false, value, address))
|
||||
{
|
||||
i2cinfo("%08x->%08x\n", address, value);
|
||||
i2cllinfo("%08x->%08x\n", address, value);
|
||||
}
|
||||
|
||||
return value;
|
||||
@ -406,7 +406,7 @@ static void twi_putabs(struct twi_dev_s *priv, uintptr_t address,
|
||||
{
|
||||
if (twi_checkreg(priv, true, value, address))
|
||||
{
|
||||
i2cinfo("%08x<-%08x\n", address, value);
|
||||
i2cllinfo("%08x<-%08x\n", address, value);
|
||||
}
|
||||
|
||||
putreg32(value, address);
|
||||
|
@ -736,7 +736,7 @@ const struct trace_msg_t g_usb_trace_strings_intdecode[] =
|
||||
#ifdef CONFIG_SAMV7_USBHS_REGDEBUG
|
||||
static void sam_printreg(uintptr_t regaddr, uint32_t regval, bool iswrite)
|
||||
{
|
||||
uinfo("%p%s%08x\n", regaddr, iswrite ? "<-" : "->", regval);
|
||||
ullinfo("%p%s%08x\n", regaddr, iswrite ? "<-" : "->", regval);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -787,7 +787,7 @@ static void sam_checkreg(uintptr_t regaddr, uint32_t regval, bool iswrite)
|
||||
{
|
||||
/* No.. More than one. */
|
||||
|
||||
uinfo("[repeats %d more times]\n", count);
|
||||
ullinfo("[repeats %d more times]\n", count);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,7 +190,7 @@ static uint32_t sam_getreg(uintptr_t regaddr)
|
||||
{
|
||||
if (count == 4)
|
||||
{
|
||||
wdinfo("...\n");
|
||||
wdllinfo("...\n");
|
||||
}
|
||||
|
||||
return regval;
|
||||
@ -207,7 +207,7 @@ static uint32_t sam_getreg(uintptr_t regaddr)
|
||||
{
|
||||
/* Yes.. then show how many times the value repeated */
|
||||
|
||||
wdinfo("[repeats %d more times]\n", count-3);
|
||||
wdllinfo("[repeats %d more times]\n", count-3);
|
||||
}
|
||||
|
||||
/* Save the new address, value, and count */
|
||||
@ -219,7 +219,7 @@ static uint32_t sam_getreg(uintptr_t regaddr)
|
||||
|
||||
/* Show the register value read */
|
||||
|
||||
wdinfo("%08x->%048\n", regaddr, regval);
|
||||
wdllinfo("%08x->%048\n", regaddr, regval);
|
||||
return regval;
|
||||
}
|
||||
#endif
|
||||
@ -237,7 +237,7 @@ static void sam_putreg(uint32_t regval, uintptr_t regaddr)
|
||||
{
|
||||
/* Show the register value being written */
|
||||
|
||||
wdinfo("%08x<-%08x\n", regaddr, regval);
|
||||
wdllinfo("%08x<-%08x\n", regaddr, regval);
|
||||
|
||||
/* Write the value */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user