Searched refs:clockrate (Results 1 – 16 of 16) sorted by relevance
184 (common->clockrate * 1000); in ath_hw_get_listen_time()
169 unsigned int clockrate; member
43 unsigned int clockrate; in ath9k_hw_set_clockrate() local47 clockrate = 117; in ath9k_hw_set_clockrate()49 clockrate = ATH9K_CLOCK_RATE_CCK; in ath9k_hw_set_clockrate()51 clockrate = ATH9K_CLOCK_RATE_2GHZ_OFDM; in ath9k_hw_set_clockrate()53 clockrate = ATH9K_CLOCK_FAST_RATE_5GHZ_OFDM; in ath9k_hw_set_clockrate()55 clockrate = ATH9K_CLOCK_RATE_5GHZ_OFDM; in ath9k_hw_set_clockrate()59 clockrate *= 2; in ath9k_hw_set_clockrate()61 clockrate /= 2; in ath9k_hw_set_clockrate()63 clockrate /= 4; in ath9k_hw_set_clockrate()66 common->clockrate = clockrate; in ath9k_hw_set_clockrate()[all …]
513 unsigned int div = common->clockrate * 1000; in ath_update_survey_stats()
214 info->ifcfg.clockrate, info->ifcfg.select_timeout, in fas216_dumpinfo()449 int value = (info->ifcfg.clockrate * ns) / 1000; in fas216_syncperiod()560 if (msg[3] < 1000 / info->ifcfg.clockrate) in fas216_handlesync()561 msg[3] = 1000 / info->ifcfg.clockrate; in fas216_handlesync()585 msg[3] >= 1000 / info->ifcfg.clockrate) { in fas216_handlesync()1812 1000 / info->ifcfg.clockrate, in fas216_start_command()2641 unsigned int clock = ((info->ifcfg.clockrate - 1) / 5 + 1) & 7; in fas216_init_chip()2891 if (info->ifcfg.clockrate <= 10 || info->ifcfg.clockrate > 40) { in fas216_add()2893 info->ifcfg.clockrate); in fas216_add()
269 unsigned char clockrate; /* clock rate of FAS device (MHz) */ member
289 info->info.ifcfg.clockrate = 24; /* MHz */ in arxescsi_probe()
338 info->info.ifcfg.clockrate = 40; /* MHz */ in powertecscsi_probe()
415 info->info.ifcfg.clockrate = 40; /* MHz */ in cumanascsi2_probe()
532 info->info.ifcfg.clockrate = 40; /* MHz */ in eesoxscsi_probe()
104 return usec * common->clockrate; in ath5k_hw_htoclock()121 return clock / common->clockrate; in ath5k_hw_clocktoh()170 common->clockrate = clock; in ath5k_hw_init_core_clock()
655 unsigned int div = common->clockrate * 1000; in ath5k_get_survey()
2639 common->clockrate = 40; in ath5k_init_ah()
131 static int calc_baud_divisor(speed_t baudrate, speed_t clockrate) in calc_baud_divisor() argument133 return DIV_ROUND_CLOSEST(clockrate, baudrate); in calc_baud_divisor()
537 static u32 f81534_calc_baud_divisor(u32 baudrate, u32 clockrate) in f81534_calc_baud_divisor() argument540 return DIV_ROUND_CLOSEST(clockrate, baudrate); in f81534_calc_baud_divisor()
1278 int clockrate = bits_per_frame * 8; in reset_chi() local1279 int divisor = 12288 / clockrate; in reset_chi()1281 if (divisor > 255 || divisor * clockrate != 12288) in reset_chi()