Home
last modified time | relevance | path

Searched refs:event_offsets (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/sound/firewire/motu/
Dmotu-stream.c156 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()
Damdtp-motu.c306 unsigned int *event_offsets = cache->event_offsets; in cache_event_offsets() local
321 event_offsets[cache_tail] = tick - base_tick; in cache_event_offsets()
376 unsigned int *event_offsets = cache->event_offsets; in write_sph() local
383 unsigned int tick = (base_tick + event_offsets[cache_head]) % TICKS_PER_SECOND; in write_sph()
Dmotu.h43 unsigned int *event_offsets; member
/Linux-v6.6/arch/x86/events/amd/
Dcore.c276 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; variable
294 offset = event_offsets[index]; in amd_pmu_addr_offset()
307 event_offsets[index] = offset; in amd_pmu_addr_offset()