Home
last modified time | relevance | path

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

/linux-6.12.1/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()
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()
/linux-6.12.1/sound/firewire/
Damdtp-stream.c19 #define TICKS_PER_CYCLE 3072 macro
21 #define TICKS_PER_SECOND (TICKS_PER_CYCLE * CYCLES_PER_SECOND)
303 s->transfer_delay = TRANSFER_DELAY_TICKS - TICKS_PER_CYCLE; in amdtp_stream_set_parameters()
430 if (*last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt_offset()
455 syt_offset = *last_syt_offset - TICKS_PER_CYCLE; in calculate_syt_offset()
458 if (syt_offset >= TICKS_PER_CYCLE) in calculate_syt_offset()
498 syt_offset = syt_cycle_lo * TICKS_PER_CYCLE + (syt & 0x0fff); in compute_syt_offset()
500 syt_offset += CIP_SYT_CYCLE_MODULUS * TICKS_PER_CYCLE; in compute_syt_offset()
1025 syt = ((cycle + syt_offset / TICKS_PER_CYCLE) << 12) | in compute_syt()
1026 (syt_offset % TICKS_PER_CYCLE); in compute_syt()
[all …]