Searched refs:modem_usage (Results 1 – 1 of 1) sorted by relevance
39 atomic_t modem_usage; member72 return atomic_cas(&data->modem_usage, STATE_FREE, STATE_BUSY); in modem_acquire()89 if (!atomic_cas(&data->modem_usage, STATE_BUSY, STATE_CLEANUP)) { in modem_release()96 atomic_clear(&data->modem_usage); in modem_release()120 if (!atomic_cas(&dev_data.modem_usage, STATE_BUSY, STATE_CLEANUP)) { in sx12xx_ev_rx_done()151 atomic_clear(&dev_data.modem_usage); in sx12xx_ev_rx_done()384 atomic_set(&dev_data.modem_usage, 0); in sx12xx_init()