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

/linux-4.4.14/drivers/ide/
H A Dpmac.c504 unsigned accessTicks, recTicks; pmac_ide_set_pio_mode() local
534 accessTicks = SYSCLK_TICKS_66(accessTime); pmac_ide_set_pio_mode()
535 accessTicks = min(accessTicks, 0x1fU); pmac_ide_set_pio_mode()
539 (accessTicks << TR_66_PIO_ACCESS_SHIFT) | pmac_ide_set_pio_mode()
549 accessTicks = SYSCLK_TICKS(accessTime); pmac_ide_set_pio_mode()
550 accessTicks = min(accessTicks, 0x1fU); pmac_ide_set_pio_mode()
551 accessTicks = max(accessTicks, 4U); pmac_ide_set_pio_mode()
560 (accessTicks << TR_33_PIO_ACCESS_SHIFT) | pmac_ide_set_pio_mode()
650 unsigned accessTicks, recTicks; set_timings_mdma() local
721 accessTicks = SYSCLK_TICKS_66(accessTime); set_timings_mdma()
722 accessTicks = min(accessTicks, 0x1fU); set_timings_mdma()
723 accessTicks = max(accessTicks, 0x1U); set_timings_mdma()
729 (accessTicks << TR_66_MDMA_ACCESS_SHIFT) | set_timings_mdma()
734 accessTicks = SYSCLK_TICKS(accessTime); set_timings_mdma()
735 accessTicks = max(accessTicks, 1U); set_timings_mdma()
736 accessTicks = min(accessTicks, 0x1fU); set_timings_mdma()
737 accessTime = accessTicks * IDE_SYSCLK_NS; set_timings_mdma()
742 (accessTicks << TR_33_MDMA_ACCESS_SHIFT) | set_timings_mdma()
751 accessTicks = SYSCLK_TICKS(accessTime); set_timings_mdma()
752 accessTicks = max(accessTicks, 1U); set_timings_mdma()
753 accessTicks = min(accessTicks, 0x1fU); set_timings_mdma()
754 accessTime = accessTicks * IDE_SYSCLK_NS; set_timings_mdma()
759 if ((accessTicks > 1) && set_timings_mdma()
763 accessTicks--; set_timings_mdma()
766 (accessTicks << TR_33_MDMA_ACCESS_SHIFT) | set_timings_mdma()

Completed in 64 milliseconds