Searched refs:ns_period (Results 1 – 4 of 4) sorted by relevance
16 u64 ns_period; member
600 cycles = cfg->ns_period * cpts->refclk_freq; in am65_cpts_estf_enable()638 u64 ns_period, ns_start, cycles; in am65_cpts_perout_enable_hw() local645 ns_period = timespec64_to_ns(&ts); in am65_cpts_perout_enable_hw()647 cycles = (ns_period * cpts->refclk_freq) / NSEC_PER_SEC; in am65_cpts_perout_enable_hw()
749 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
417 u64 ns_period; in prueth_perout_enable() local425 ns_period = timespec64_to_ns(&ts); in prueth_perout_enable()428 if (ns_period < IEP_DEFAULT_CYCLE_TIME_NS) in prueth_perout_enable()431 reduction_factor = ns_period / IEP_DEFAULT_CYCLE_TIME_NS; in prueth_perout_enable()432 offset = ns_period % IEP_DEFAULT_CYCLE_TIME_NS; in prueth_perout_enable()