Home
last modified time | relevance | path

Searched refs:TICKS_PER_CYCLE (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/sound/firewire/motu/
Damdtp-motu.c19 #define TICKS_PER_CYCLE 3072 macro
21 #define TICKS_PER_SECOND (TICKS_PER_CYCLE * CYCLES_PER_SECOND)
309 unsigned int base_tick = cache->tx_cycle_count * TICKS_PER_CYCLE; in cache_event_offsets()
316 tick = ((sph & CIP_SPH_CYCLE_MASK) >> CIP_SPH_CYCLE_SHIFT) * TICKS_PER_CYCLE + in cache_event_offsets()
383 unsigned int base_tick = cache->rx_cycle_count * TICKS_PER_CYCLE; in write_sph()
388 u32 sph = ((tick / TICKS_PER_CYCLE) << CIP_SPH_CYCLE_SHIFT) | (tick % TICKS_PER_CYCLE); in write_sph()
/linux-5.19.10/sound/firewire/
Damdtp-stream.c19 #define TICKS_PER_CYCLE 3072 macro
21 #define TICKS_PER_SECOND (TICKS_PER_CYCLE * CYCLES_PER_SECOND)
295 s->transfer_delay = TRANSFER_DELAY_TICKS - TICKS_PER_CYCLE; in amdtp_stream_set_parameters()
417 if (*last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt_offset()
442 syt_offset = *last_syt_offset - TICKS_PER_CYCLE; in calculate_syt_offset()
445 if (syt_offset >= TICKS_PER_CYCLE) in calculate_syt_offset()
486 syt_offset = syt_cycle_lo * TICKS_PER_CYCLE + (syt & 0x0fff); in compute_syt_offset()
488 syt_offset += CIP_SYT_CYCLE_MODULUS * TICKS_PER_CYCLE; in compute_syt_offset()
978 syt = ((cycle + syt_offset / TICKS_PER_CYCLE) << 12) | in compute_syt()
979 (syt_offset % TICKS_PER_CYCLE); in compute_syt()
[all …]