Lines Matching full:usec
91 * ath5k_hw_htoclock() - Translate usec to hw clock units
93 * @usec: value in microseconds
101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock() argument
104 return usec * common->clockrate; in ath5k_hw_htoclock()
108 * ath5k_hw_clocktoh() - Translate hw clock units to usec
128 * Initialize core clock parameters (usec, usec32, latencies etc),
136 u32 usec_reg, txlat, rxlat, usec, clock, sclock, txf2txs; in ath5k_hw_init_core_clock() local
173 * Set USEC parameters in ath5k_hw_init_core_clock()
175 /* Set USEC counter on PCU*/ in ath5k_hw_init_core_clock()
176 usec = clock - 1; in ath5k_hw_init_core_clock()
177 usec = AR5K_REG_SM(usec, AR5K_USEC_1); in ath5k_hw_init_core_clock()
179 /* Set usec duration on DCU */ in ath5k_hw_init_core_clock()
185 /* Set 32MHz USEC counter */ in ath5k_hw_init_core_clock()
210 * 5210 initvals don't include usec settings in ath5k_hw_init_core_clock()
256 usec_reg = (usec | sclock | txlat | rxlat); in ath5k_hw_init_core_clock()
292 /* 1 usec/cycle */ in ath5k_hw_set_sleep_clock()