Searched refs:event_offsets (Results 1 – 4 of 4) sorted by relevance
156 kfree(motu->cache.event_offsets); in snd_motu_stream_reserve_duplex()157 motu->cache.event_offsets = NULL; in snd_motu_stream_reserve_duplex()189 motu->cache.event_offsets = kcalloc(motu->cache.size, sizeof(*motu->cache.event_offsets), in snd_motu_stream_reserve_duplex()191 if (!motu->cache.event_offsets) { in snd_motu_stream_reserve_duplex()327 kfree(motu->cache.event_offsets); in snd_motu_stream_stop_duplex()328 motu->cache.event_offsets = NULL; in snd_motu_stream_stop_duplex()
306 unsigned int *event_offsets = cache->event_offsets; in cache_event_offsets() local321 event_offsets[cache_tail] = tick - base_tick; in cache_event_offsets()376 unsigned int *event_offsets = cache->event_offsets; in write_sph() local383 unsigned int tick = (base_tick + event_offsets[cache_head]) % TICKS_PER_SECOND; in write_sph()
43 unsigned int *event_offsets; member
305 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; variable323 offset = event_offsets[index]; in amd_pmu_addr_offset()336 event_offsets[index] = offset; in amd_pmu_addr_offset()