Searched refs:_dmac_host (Results 1 – 1 of 1) sorted by relevance
28 static struct dmac_host _dmac_host; variable36 _dmac_host.channel_used[i] = 0; in dmalock_init()37 _dmac_host.channel_name[i] = NULL; in dmalock_init()52 if (_dmac_host.channel_used[i] == 0) in _dmalock_sync_take()54 _dmac_host.channel_used[i] = 1; in _dmalock_sync_take()55 _dmac_host.channel_name[i] = name; in _dmalock_sync_take()60 rt_mutex_release(&_dmac_host.mutex); in _dmalock_sync_take()69 _dmac_host.channel_name[chn] = NULL; in dmalock_release()70 _dmac_host.channel_used[chn] = 0; in dmalock_release()71 rt_sem_release(&_dmac_host.sem); in dmalock_release()[all …]
Completed in 6 milliseconds