Searched refs:nerr (Results 1 – 2 of 2) sorted by relevance
237 nrfx_err_t nerr; in qdec_nrfx_init() local241 nerr = nrfx_qdec_init(&config->qdec, &config->config, qdec_nrfx_event_handler, (void *)dev); in qdec_nrfx_init()242 if (nerr != NRFX_SUCCESS) { in qdec_nrfx_init()243 return (nerr == NRFX_ERROR_INVALID_STATE) ? -EBUSY : -EFAULT; in qdec_nrfx_init()
833 nrfx_err_t nerr; in uarte_nrfx_init() local871 nerr = nrfx_uarte_init(nrfx_dev, &cfg->nrfx_config, in uarte_nrfx_init()874 if (nerr == NRFX_SUCCESS && !IS_ASYNC_API(dev) && !(cfg->flags & UARTE_CFG_FLAG_NO_RX)) { in uarte_nrfx_init()878 switch (nerr) { in uarte_nrfx_init()