Searched refs:ENETC_CLK (Results 1 – 2 of 2) sorted by relevance
960 #define ENETC_CLK 400000000ULL macro963 return (u32)div_u64(cycles * 1000000ULL, ENETC_CLK); in enetc_cycles_to_usecs()968 return (u32)div_u64(usecs * ENETC_CLK, 1000000ULL); in enetc_usecs_to_cycles()
339 hi_credit_reg = (u32)div_u64((ENETC_CLK * 100ULL) * hi_credit_bit, in enetc_setup_tc_cbs()