software/drivers/sd8887/src/bluetooth/bt/bt_main.c
/**
 *  @brief This function shows debug info for timeout of command sending.
 *
 *  @param adapter  A pointer to bt_private
 *  @param cmd      Timeout command id
 *
 *  @return         N/A
 */
@brief This function shows debug info for timeout of command sending.
@param adapter  A pointer to bt_private
@param cmd      Timeout command id

@return         N/A
@brief This function shows debug info for timeout of command sending . @param adapter A pointer to bt_private @param cmd Timeout command id @return N / A
static void
bt_cmd_timeout_func(bt_private *priv, u16 cmd)
{
	bt_adapter *adapter = priv->adapter;
	ENTER();
	adapter->num_cmd_timeout++;
	PRINTM(ERROR, "Version = %s\n", adapter->drv_ver);
	PRINTM(ERROR, "Timeout Command id = 0x%x\n", cmd);
	PRINTM(ERROR, "Number of command timeout = %d\n",
	       adapter->num_cmd_timeout);
	PRINTM(ERROR, "Interrupt counter = %d\n", adapter->IntCounter);
	PRINTM(ERROR, "Power Save mode = %d\n", adapter->psmode);
	PRINTM(ERROR, "Power Save state = %d\n", adapter->ps_state);
	PRINTM(ERROR, "Host Sleep state = %d\n", adapter->hs_state);
	PRINTM(ERROR, "hs skip count = %d\n", adapter->hs_skip);
	PRINTM(ERROR, "suspend_fail flag = %d\n", adapter->suspend_fail);
	PRINTM(ERROR, "suspended flag = %d\n", adapter->is_suspended);
	PRINTM(ERROR, "Number of wakeup tries = %d\n", adapter->WakeupTries);
	PRINTM(ERROR, "Host Cmd complet state = %d\n", adapter->cmd_complete);
	PRINTM(ERROR, "Last irq recv = %d\n", adapter->irq_recv);
	PRINTM(ERROR, "Last irq processed = %d\n", adapter->irq_done);
	PRINTM(ERROR, "tx pending = %d\n", adapter->skb_pending);
	PRINTM(ERROR, "sdio int status = %d\n", adapter->sd_ireg);
	bt_dump_sdio_regs(priv);
	LEAVE();
}
static void bt_cmd_timeout_func ( bt_private * priv , u16 cmd ) { bt_adapter * adapter = priv -> adapter ; ENTER ( ) ; adapter -> num_cmd_timeout ++ ; PRINTM ( ERROR , " \n " , adapter -> drv_ver ) ; PRINTM ( ERROR , " \n " , cmd ) ; PRINTM ( ERROR , " \n " , adapter -> num_cmd_timeout ) ; PRINTM ( ERROR , " \n " , adapter -> IntCounter ) ; PRINTM ( ERROR , " \n " , adapter -> psmode ) ; PRINTM ( ERROR , " \n " , adapter -> ps_state ) ; PRINTM ( ERROR , " \n " , adapter -> hs_state ) ; PRINTM ( ERROR , " \n " , adapter -> hs_skip ) ; PRINTM ( ERROR , " \n " , adapter -> suspend_fail ) ; PRINTM ( ERROR , " \n " , adapter -> is_suspended ) ; PRINTM ( ERROR , " \n " , adapter -> WakeupTries ) ; PRINTM ( ERROR , " \n " , adapter -> cmd_complete ) ; PRINTM ( ERROR , " \n " , adapter -> irq_recv ) ; PRINTM ( ERROR , " \n " , adapter -> irq_done ) ; PRINTM ( ERROR , " \n " , adapter -> skb_pending ) ; PRINTM ( ERROR , " \n " , adapter -> sd_ireg ) ; bt_dump_sdio_regs ( priv ) ; LEAVE ( ) ; }
@brief This function shows debug info for timeout of command sending.
@brief This function shows debug info for timeout of command sending .