Home
last modified time | relevance | path

Searched refs:TICKS_PER_CYCLE (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/sound/firewire/motu/
H A 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()
379 unsigned int base_tick = cache->rx_cycle_count * TICKS_PER_CYCLE; in write_sph()
384 u32 sph = ((tick / TICKS_PER_CYCLE) << CIP_SPH_CYCLE_SHIFT) | (tick % TICKS_PER_CYCLE); in write_sph()
/kernel/linux/linux-5.10/sound/firewire/
H A Damdtp-stream.c19 #define TICKS_PER_CYCLE 3072 macro
21 #define TICKS_PER_SECOND (TICKS_PER_CYCLE * CYCLES_PER_SECOND)
292 TRANSFER_DELAY_TICKS - TICKS_PER_CYCLE; in amdtp_stream_set_parameters()
392 if (*last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt_offset()
399 * Modulo TICKS_PER_CYCLE, the difference between successive in calculate_syt_offset()
417 syt_offset = *last_syt_offset - TICKS_PER_CYCLE; in calculate_syt_offset()
420 if (syt_offset >= TICKS_PER_CYCLE) in calculate_syt_offset()
755 syt = ((cycle + syt_offset / TICKS_PER_CYCLE) << 12) | in compute_syt()
756 (syt_offset % TICKS_PER_CYCLE); in compute_syt()
1441 d->last_syt_offset = TICKS_PER_CYCLE; in amdtp_domain_start()
[all...]
/kernel/linux/linux-6.6/sound/firewire/
H A Damdtp-stream.c19 #define TICKS_PER_CYCLE 3072 macro
21 #define TICKS_PER_SECOND (TICKS_PER_CYCLE * CYCLES_PER_SECOND)
297 s->transfer_delay = TRANSFER_DELAY_TICKS - TICKS_PER_CYCLE; in amdtp_stream_set_parameters()
423 if (*last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt_offset()
430 * Modulo TICKS_PER_CYCLE, the difference between successive in calculate_syt_offset()
448 syt_offset = *last_syt_offset - TICKS_PER_CYCLE; in calculate_syt_offset()
451 if (syt_offset >= TICKS_PER_CYCLE) in calculate_syt_offset()
491 syt_offset = syt_cycle_lo * TICKS_PER_CYCLE + (syt & 0x0fff); in compute_syt_offset()
493 syt_offset += CIP_SYT_CYCLE_MODULUS * TICKS_PER_CYCLE; in compute_syt_offset()
996 syt = ((cycle + syt_offset / TICKS_PER_CYCLE) << 1 in compute_syt()
[all...]

Completed in 6 milliseconds