Searched refs:EM_TICKS_TO_USECS (Results 1 – 2 of 2) sorted by relevance
282 #define EM_TICKS_TO_USECS(ticks) ((1024 * (ticks) + 500) / 1000) macro288 static int lem_tx_int_delay_dflt = EM_TICKS_TO_USECS(EM_TIDV);289 static int lem_rx_int_delay_dflt = EM_TICKS_TO_USECS(EM_RDTR);290 static int lem_tx_abs_int_delay_dflt = EM_TICKS_TO_USECS(EM_TADV);291 static int lem_rx_abs_int_delay_dflt = EM_TICKS_TO_USECS(EM_RADV);4600 if (usecs < 0 || usecs > EM_TICKS_TO_USECS(65535)) in lem_sysctl_int_delay()
339 #define EM_TICKS_TO_USECS(ticks) ((1024 * (ticks) + 500) / 1000) macro353 static int em_tx_int_delay_dflt = EM_TICKS_TO_USECS(EM_TIDV);354 static int em_rx_int_delay_dflt = EM_TICKS_TO_USECS(EM_RDTR);362 static int em_tx_abs_int_delay_dflt = EM_TICKS_TO_USECS(EM_TADV);363 static int em_rx_abs_int_delay_dflt = EM_TICKS_TO_USECS(EM_RADV);5632 if (usecs < 0 || usecs > EM_TICKS_TO_USECS(65535)) in em_sysctl_int_delay()