static void csrhci_reset(struct csrhci_s *s)

{

    s->out_len = 0;

    s->out_size = FIFO_LEN;

    s->in_len = 0;

    s->baud_delay = NANOSECONDS_PER_SECOND;

    s->enable = 0;

    s->in_hdr = INT_MAX;

    s->in_data = INT_MAX;



    s->modem_state = 0;

    /* After a while... (but sooner than 10ms) */

    s->modem_state |= CHR_TIOCM_CTS;



    memset(&s->bd_addr, 0, sizeof(bdaddr_t));

}

static void csrhci_reset(struct csrhci_s *s)

{

    s->out_len = 0;

    s->out_size = FIFO_LEN;

    s->in_len = 0;

    s->baud_delay = NANOSECONDS_PER_SECOND;

    s->enable = 0;

    s->in_hdr = INT_MAX;

    s->in_data = INT_MAX;



    s->modem_state = 0;

    

    s->modem_state |= CHR_TIOCM_CTS;



    memset(&s->bd_addr, 0, sizeof(bdaddr_t));

}

    s->in_len = 0;     s->in_hdr = INT_MAX;     s->in_data = INT_MAX;
static void FUNC_0(struct csrhci_s *VAR_0)

{

    VAR_0->out_len = 0;

    VAR_0->out_size = FIFO_LEN;

    VAR_0->in_len = 0;

    VAR_0->baud_delay = NANOSECONDS_PER_SECOND;

    VAR_0->enable = 0;

    VAR_0->in_hdr = INT_MAX;

    VAR_0->in_data = INT_MAX;



    VAR_0->modem_state = 0;

    

    VAR_0->modem_state |= CHR_TIOCM_CTS;



    memset(&VAR_0->bd_addr, 0, sizeof(bdaddr_t));

}

static void FUNC_0(struct csrhci_s *VAR_0)
{ VAR_0->out_len = 0; VAR_0->out_size = FIFO_LEN; VAR_0->in_len = 0; VAR_0->baud_delay = NANOSECONDS_PER_SECOND; VAR_0->enable = 0; VAR_0->in_hdr = INT_MAX; VAR_0->in_data = INT_MAX; VAR_0->modem_state = 0; VAR_0->modem_state |= CHR_TIOCM_CTS; memset(&VAR_0->bd_addr, 0, sizeof(bdaddr_t)); }