Home
last modified time | relevance | path

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

/openbmc/linux/sound/firewire/motu/
H A 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()
H A 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()
H A Dmotu.h43 unsigned int *event_offsets; member
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c290 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; variable
308 offset = event_offsets[index]; in amd_pmu_addr_offset()
321 event_offsets[index] = offset; in amd_pmu_addr_offset()