Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/x86/events/amd/
Dcore.c305 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; variable
323 offset = event_offsets[index]; in amd_pmu_addr_offset()
336 event_offsets[index] = offset; in amd_pmu_addr_offset()