Home
last modified time | relevance | path

Searched refs:clockrate (Results 1 – 15 of 15) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dhw.c43 unsigned int clockrate; in ath9k_hw_set_clockrate() local
47 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 …]
Dlink.c513 unsigned int div = common->clockrate * 1000; in ath_update_survey_stats()
/drivers/scsi/arm/
Dfas216.c214 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()
Dfas216.h269 unsigned char clockrate; /* clock rate of FAS device (MHz) */ member
Darxescsi.c289 info->info.ifcfg.clockrate = 24; /* MHz */ in arxescsi_probe()
Dpowertec.c338 info->info.ifcfg.clockrate = 40; /* MHz */ in powertecscsi_probe()
Dcumana_2.c415 info->info.ifcfg.clockrate = 40; /* MHz */ in cumanascsi2_probe()
Deesox.c532 info->info.ifcfg.clockrate = 40; /* MHz */ in eesoxscsi_probe()
/drivers/net/wireless/ath/
Dhw.c184 (common->clockrate * 1000); in ath_hw_get_listen_time()
Dath.h171 unsigned int clockrate; member
/drivers/net/wireless/ath/ath5k/
Dreset.c104 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()
Dmac80211-ops.c654 unsigned int div = common->clockrate * 1000; in ath5k_get_survey()
Dbase.c2639 common->clockrate = 40; in ath5k_init_ah()
/drivers/usb/serial/
Df81232.c131 static int calc_baud_divisor(speed_t baudrate, speed_t clockrate) in calc_baud_divisor() argument
133 return DIV_ROUND_CLOSEST(clockrate, baudrate); in calc_baud_divisor()
Df81534.c537 static u32 f81534_calc_baud_divisor(u32 baudrate, u32 clockrate) in f81534_calc_baud_divisor() argument
540 return DIV_ROUND_CLOSEST(clockrate, baudrate); in f81534_calc_baud_divisor()