Searched refs:clks (Results 1 – 2 of 2) sorted by relevance
7309 struct stmf_svc_clocks clks = { 0 }; in stmf_svc() local7316 stmf_svc_timeout(&clks); in stmf_svc()7371 stmf_svc_timeout(struct stmf_svc_clocks *clks) in stmf_svc_timeout() argument7383 ((!clks->timing_next) || (ddi_get_lbolt() >= clks->timing_next))) { in stmf_svc_timeout()7388 clks->timing_start = ddi_get_lbolt(); in stmf_svc_timeout()7394 clks->timing_next = in stmf_svc_timeout()7395 clks->timing_start + drv_usectohz(5*1000*1000); in stmf_svc_timeout()7398 clks->timing_next = in stmf_svc_timeout()7408 ((!clks->drain_next) || (ddi_get_lbolt() >= clks->drain_next))) { in stmf_svc_timeout()7413 clks->drain_start = ddi_get_lbolt(); in stmf_svc_timeout()[all …]
61 ath9k_hw_mac_usec(struct ath_hal *ah, uint32_t clks) in ath9k_hw_mac_usec() argument64 return (clks / in ath9k_hw_mac_usec()67 return (clks / CLOCK_RATE[ATH9K_MODE_11B]); in ath9k_hw_mac_usec()71 ath9k_hw_mac_to_usec(struct ath_hal *ah, uint32_t clks) in ath9k_hw_mac_to_usec() argument76 return (ath9k_hw_mac_usec(ah, clks) / 2); in ath9k_hw_mac_to_usec()78 return (ath9k_hw_mac_usec(ah, clks)); in ath9k_hw_mac_to_usec()