freq             1228 arch/alpha/kernel/osf_sys.c 	long freq;		/* frequency offset (scaled ppm) */
freq               36 arch/alpha/oprofile/op_impl.h 	unsigned long freq;
freq               73 arch/alpha/oprofile/op_model_ev4.c 	reg->freq = 0;
freq              110 arch/alpha/oprofile/op_model_ev5.c 	reg->freq = ctl;
freq              140 arch/alpha/oprofile/op_model_ev5.c 	wrperfmon(4, reg->freq);
freq              622 arch/arc/kernel/setup.c 	unsigned long freq = 0;
freq              640 arch/arc/kernel/setup.c 		freq = clk_get_rate(cpu_clk);
freq              642 arch/arc/kernel/setup.c 	if (freq)
freq              644 arch/arc/kernel/setup.c 			   freq / 1000000, (freq / 10000) % 100);
freq              315 arch/arc/plat-axs10x/axs10x.c 		u32 freq;
freq              321 arch/arc/plat-axs10x/axs10x.c 		freq = be32_to_cpu(*(u32 *)(prop->data));
freq              324 arch/arc/plat-axs10x/axs10x.c 		if (freq != AXS103_QUAD_CORE_CPU_FREQ_HZ) {
freq              325 arch/arc/plat-axs10x/axs10x.c 			freq = cpu_to_be32(AXS103_QUAD_CORE_CPU_FREQ_HZ);
freq              327 arch/arc/plat-axs10x/axs10x.c 					    "assigned-clock-rates", &freq, sizeof(freq));
freq               48 arch/arm/include/asm/delay.h 	unsigned long freq;
freq               27 arch/arm/kernel/arch_timer.c 	arch_delay_timer.freq = arch_timer_get_rate();
freq              760 arch/arm/kernel/smp.c 	struct cpufreq_freqs *freq = data;
freq              761 arch/arm/kernel/smp.c 	struct cpumask *cpus = freq->policy->cpus;
freq              765 arch/arm/kernel/smp.c 	if (freq->flags & CPUFREQ_CONST_LOOPS)
freq              772 arch/arm/kernel/smp.c 			per_cpu(l_p_j_ref_freq, cpu) = freq->old;
freq              777 arch/arm/kernel/smp.c 			global_l_p_j_ref_freq = freq->old;
freq              781 arch/arm/kernel/smp.c 	if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
freq              782 arch/arm/kernel/smp.c 	    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
freq              785 arch/arm/kernel/smp.c 						freq->new);
freq              788 arch/arm/kernel/smp.c 				    per_cpu(l_p_j_ref_freq, first), freq->new);
freq               70 arch/arm/lib/delay.c 	clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq,
freq               83 arch/arm/lib/delay.c 		lpj_fine			= timer->freq / HZ;
freq              358 arch/arm/mach-davinci/da850.c 	unsigned int	freq;	/* in KHz */
freq              367 arch/arm/mach-davinci/da850.c 	.freq		= 456000,
freq              376 arch/arm/mach-davinci/da850.c 	.freq		= 408000,
freq              385 arch/arm/mach-davinci/da850.c 	.freq		= 372000,
freq              394 arch/arm/mach-davinci/da850.c 	.freq		= 300000,
freq              403 arch/arm/mach-davinci/da850.c 	.freq		= 200000,
freq              412 arch/arm/mach-davinci/da850.c 	.freq		= 96000,
freq              420 arch/arm/mach-davinci/da850.c #define OPP(freq) 		\
freq              422 arch/arm/mach-davinci/da850.c 		.driver_data = (unsigned int) &da850_opp_##freq,	\
freq              423 arch/arm/mach-davinci/da850.c 		.frequency = freq * 1000, \
freq               53 arch/arm/mach-omap2/omap_opp_data.h 	unsigned long freq;
freq               66 arch/arm/mach-omap2/omap_opp_data.h 	.freq		= _freq,				\
freq              889 arch/arm/mach-pxa/viper.c 	struct cpufreq_freqs *freq = data;
freq              895 arch/arm/mach-pxa/viper.c 		if (freq->old < freq->new) {
freq              898 arch/arm/mach-pxa/viper.c 			viper_set_core_cpu_voltage(freq->new, 0);
freq              902 arch/arm/mach-pxa/viper.c 		if (freq->old > freq->new) {
freq              905 arch/arm/mach-pxa/viper.c 			viper_set_core_cpu_voltage(freq->new, 0);
freq               42 arch/arm/mach-s3c24xx/cpufreq-utils.c 	refresh = (cfg->freq.hclk / 100) * (board->refresh / 10);
freq              216 arch/arm/mach-s3c24xx/iotiming-s3c2410.c 	unsigned long hclk = cfg->freq.hclk_tns;
freq              295 arch/arm/mach-s3c24xx/iotiming-s3c2410.c 	unsigned long hclk = cfg->freq.hclk_tns;
freq              316 arch/arm/mach-s3c24xx/iotiming-s3c2410.c 	unsigned long hclk = cfg->freq.hclk_tns;
freq               94 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	unsigned int hclk = cfg->freq.hclk_tns;
freq              205 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	unsigned long clk = cfg->freq.hclk_tns;  /* ssmc clock??? */
freq              271 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	refresh = (cfg->freq.hclk / 100) * (board->refresh / 10);
freq               58 arch/arm/mach-s3c64xx/common.c void __init s3c64xx_set_xtal_freq(unsigned long freq)
freq               60 arch/arm/mach-s3c64xx/common.c 	xtal_f = freq;
freq               63 arch/arm/mach-s3c64xx/common.c void __init s3c64xx_set_xusbxti_freq(unsigned long freq)
freq               65 arch/arm/mach-s3c64xx/common.c 	xusbxti_f = freq;
freq               27 arch/arm/mach-s3c64xx/common.h void s3c64xx_set_xtal_freq(unsigned long freq);
freq               28 arch/arm/mach-s3c64xx/common.h void s3c64xx_set_xusbxti_freq(unsigned long freq);
freq               40 arch/arm/mach-shmobile/setup-rcar-gen2.c 	u32 freq = 20000000;
freq               45 arch/arm/mach-shmobile/setup-rcar-gen2.c 		return freq;
freq               52 arch/arm/mach-shmobile/setup-rcar-gen2.c 		return freq;
freq               54 arch/arm/mach-shmobile/setup-rcar-gen2.c 	of_property_read_u32(extal, "clock-frequency", &freq);
freq               56 arch/arm/mach-shmobile/setup-rcar-gen2.c 	return freq;
freq               66 arch/arm/mach-shmobile/setup-rcar-gen2.c 	u32 freq;
freq               88 arch/arm/mach-shmobile/setup-rcar-gen2.c 		freq = 260000000 / 8;	/* ZS / 8 */
freq               96 arch/arm/mach-shmobile/setup-rcar-gen2.c 		freq = get_extal_freq() / 2;
freq              110 arch/arm/mach-shmobile/setup-rcar-gen2.c 	    ioread32(base + CNTFID0) != freq) {
freq              112 arch/arm/mach-shmobile/setup-rcar-gen2.c 		iowrite32(freq, base + CNTFID0);
freq              113 arch/arm/mach-shmobile/setup-rcar-gen2.c 		asm volatile("mcr p15, 0, %0, c14, c0, 0" : : "r" (freq));
freq               21 arch/arm/mach-shmobile/timer.c 		u32 freq;
freq               23 arch/arm/mach-shmobile/timer.c 		if (!of_property_read_u32(np, "clock-frequency", &freq))
freq               24 arch/arm/mach-shmobile/timer.c 			max_freq = max(max_freq, freq);
freq               98 arch/arm/mach-vexpress/spc.c 	unsigned long freq;
freq              258 arch/arm/mach-vexpress/spc.c static int ve_spc_get_performance(int cluster, u32 *freq)
freq              271 arch/arm/mach-vexpress/spc.c 	*freq = opps->freq;
freq              277 arch/arm/mach-vexpress/spc.c static int ve_spc_round_performance(int cluster, u32 freq)
freq              283 arch/arm/mach-vexpress/spc.c 	freq /= 1000; /* OPP entries in kHz */
freq              285 arch/arm/mach-vexpress/spc.c 		ftmp = opps->freq;
freq              286 arch/arm/mach-vexpress/spc.c 		if (ftmp >= freq) {
freq              300 arch/arm/mach-vexpress/spc.c static int ve_spc_find_performance_index(int cluster, u32 freq)
freq              306 arch/arm/mach-vexpress/spc.c 		if (opps->freq == freq)
freq              322 arch/arm/mach-vexpress/spc.c static int ve_spc_set_performance(int cluster, u32 freq)
freq              335 arch/arm/mach-vexpress/spc.c 	perf = ve_spc_find_performance_index(cluster, freq);
freq              416 arch/arm/mach-vexpress/spc.c 			opps->freq = (data & FREQ_MASK) * MULT_FACTOR;
freq              440 arch/arm/mach-vexpress/spc.c 		ret = dev_pm_opp_add(cpu_dev, opps->freq * 1000, opps->u_volt);
freq              443 arch/arm/mach-vexpress/spc.c 				 opps->freq, opps->u_volt);
freq              500 arch/arm/mach-vexpress/spc.c 	u32 freq;
freq              502 arch/arm/mach-vexpress/spc.c 	if (ve_spc_get_performance(spc->cluster, &freq))
freq              505 arch/arm/mach-vexpress/spc.c 	return freq * 1000;
freq              215 arch/arm/plat-orion/time.c 	orion_delay_timer.freq = tclk;
freq              116 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 	struct s3c_freq		freq;
freq              270 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 				      unsigned int freq)
freq              280 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 			     __func__, index, freq);
freq              283 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 		table[index].frequency = freq;
freq               92 arch/arm/plat-samsung/include/plat/cpu-freq.h 	unsigned long		freq;
freq             1203 arch/arm64/kernel/perf_event.c 	u32 freq;
freq             1210 arch/arm64/kernel/perf_event.c 	freq = arch_timer_get_rate();
freq             1213 arch/arm64/kernel/perf_event.c 	clocks_calc_mult_shift(&userpg->time_mult, &shift, freq,
freq               49 arch/h8300/kernel/setup.c static unsigned long freq;
freq              139 arch/h8300/kernel/setup.c 		   freq/1000, freq%1000,
freq              206 arch/h8300/kernel/setup.c 	int freq;
freq              209 arch/h8300/kernel/setup.c 	of_property_read_s32(cpu, "clock-frequency", &freq);
freq              210 arch/h8300/kernel/setup.c 	loops_per_jiffy = freq / HZ / (access_timing() * 2);
freq              164 arch/m68k/mac/macboing.c void mac_mksound( unsigned int freq, unsigned int length )
freq              166 arch/m68k/mac/macboing.c 	__u32 cfreq = ( freq << 5 ) / 468;
freq              181 arch/m68k/mac/macboing.c 		mac_special_bell( freq, length, 128 );
freq              185 arch/m68k/mac/macboing.c 	if ( freq < 20 || freq > 20000 || length == 0 )
freq              227 arch/m68k/mac/macboing.c static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume )
freq              240 arch/m68k/mac/macboing.c 	mac_bell_phasepersample = ( freq * sizeof( mac_asc_wave_tab ) ) / mac_asc_samplespersec;
freq              308 arch/m68k/mac/macboing.c static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume )
freq              101 arch/mips/ar7/clock.c 	int i, j, k, freq, res = target;
freq              105 arch/mips/ar7/clock.c 				freq = abs(base / j * i / k - target);
freq              106 arch/mips/ar7/clock.c 				if (freq < res) {
freq              107 arch/mips/ar7/clock.c 					res = freq;
freq              100 arch/mips/ath79/clock.c 	u32 freq;
freq              108 arch/mips/ath79/clock.c 	freq = div * ref_rate;
freq              111 arch/mips/ath79/clock.c 	cpu_rate = freq / div;
freq              114 arch/mips/ath79/clock.c 	ddr_rate = freq / div;
freq              144 arch/mips/bmips/setup.c 	u32 freq;
freq              149 arch/mips/bmips/setup.c 	if (of_property_read_u32(np, "mips-hpt-frequency", &freq) < 0)
freq              153 arch/mips/bmips/setup.c 	mips_hpt_frequency = freq;
freq              184 arch/mips/generic/board-sead3.c 	unsigned int freq, orig, tick = 0;
freq              206 arch/mips/generic/board-sead3.c 	freq = read_c0_count();
freq              210 arch/mips/generic/board-sead3.c 	return freq;
freq               35 arch/mips/kernel/csrc-ioasic.c 	unsigned int freq;
freq               51 arch/mips/kernel/csrc-ioasic.c 	freq = (end - start) * 8;
freq               54 arch/mips/kernel/csrc-ioasic.c 	if (!freq)
freq               57 arch/mips/kernel/csrc-ioasic.c 	printk(KERN_INFO "I/O ASIC clock frequency %dHz\n", freq);
freq               59 arch/mips/kernel/csrc-ioasic.c 	clocksource_dec.rating = 200 + freq / 10000000;
freq               60 arch/mips/kernel/csrc-ioasic.c 	clocksource_register_hz(&clocksource_dec, freq);
freq               62 arch/mips/kernel/csrc-ioasic.c 	sched_clock_register(dec_ioasic_read_sched_clock, 32, freq);
freq              141 arch/mips/lantiq/falcon/sysctrl.c 	unsigned int freq;
freq              149 arch/mips/lantiq/falcon/sysctrl.c 	freq = (status_r32(STATUS_CONFIG) &
freq              152 arch/mips/lantiq/falcon/sysctrl.c 	if (freq == 0)
freq              153 arch/mips/lantiq/falcon/sysctrl.c 		freq = 1; /* use 625MHz on unfused chip */
freq              157 arch/mips/lantiq/falcon/sysctrl.c 		freq << (GPPC_OFFSET + 2) , SYS1_INFRAC);
freq               51 arch/mips/mti-malta/malta-time.c static unsigned int freqround(unsigned int freq, unsigned int amount)
freq               53 arch/mips/mti-malta/malta-time.c 	freq += amount;
freq               54 arch/mips/mti-malta/malta-time.c 	freq -= freq % (amount*2);
freq               55 arch/mips/mti-malta/malta-time.c 	return freq;
freq              186 arch/mips/mti-malta/malta-time.c 	unsigned char freq, ctrl;
freq              189 arch/mips/mti-malta/malta-time.c 	freq = CMOS_READ(RTC_FREQ_SELECT);
freq              190 arch/mips/mti-malta/malta-time.c 	if ((freq & RTC_DIV_CTL) != RTC_REF_CLCK_32KHZ)
freq              229 arch/mips/mti-malta/malta-time.c 	unsigned int freq;
freq              234 arch/mips/mti-malta/malta-time.c 	freq = mips_hpt_frequency;
freq              237 arch/mips/mti-malta/malta-time.c 		freq *= 2;
freq              238 arch/mips/mti-malta/malta-time.c 	freq = freqround(freq, 5000);
freq              239 arch/mips/mti-malta/malta-time.c 	printk("CPU frequency %d.%02d MHz\n", freq/1000000,
freq              240 arch/mips/mti-malta/malta-time.c 	       (freq%1000000)*100/1000000);
freq              248 arch/mips/mti-malta/malta-time.c 		freq = freqround(gic_frequency, 5000);
freq              249 arch/mips/mti-malta/malta-time.c 		printk("GIC frequency %d.%02d MHz\n", freq/1000000,
freq              250 arch/mips/mti-malta/malta-time.c 		       (freq%1000000)*100/1000000);
freq              295 arch/mips/pnx833x/common/interrupts.c 		static const unsigned long int freq[4] = {240, 160, 120, 80};
freq              296 arch/mips/pnx833x/common/interrupts.c 		mips_hpt_frequency = freq[PNX833X_FIELD(reg, CLOCK_CPUCP_CTL, DIV_CLOCK)];
freq               38 arch/nios2/kernel/time.c 	unsigned long freq;
freq              186 arch/nios2/kernel/time.c 	period = DIV_ROUND_UP(timer->freq, HZ);
freq              213 arch/nios2/kernel/time.c 				void __iomem **base, u32 *freq)
freq              221 arch/nios2/kernel/time.c 	if (of_property_read_u32(np, "clock-frequency", freq)) {
freq              246 arch/nios2/kernel/time.c 	u32 freq;
freq              249 arch/nios2/kernel/time.c 	ret = nios2_timer_get_base_and_freq(timer, &iobase, &freq);
freq              260 arch/nios2/kernel/time.c 	nios2_ce.timer.freq = freq;
freq              276 arch/nios2/kernel/time.c 	clockevents_config_and_register(&nios2_ce.ced, freq, 1, ULONG_MAX);
freq              285 arch/nios2/kernel/time.c 	u32 freq;
freq              288 arch/nios2/kernel/time.c 	ret = nios2_timer_get_base_and_freq(timer, &iobase, &freq);
freq              293 arch/nios2/kernel/time.c 	nios2_cs.timer.freq = freq;
freq              295 arch/nios2/kernel/time.c 	ret = clocksource_register_hz(&nios2_cs.cs, freq);
freq              307 arch/nios2/kernel/time.c 	lpj_fine = freq / HZ;
freq               77 arch/powerpc/boot/devtree.c void dt_fixup_clock(const char *path, u32 freq)
freq               82 arch/powerpc/boot/devtree.c 		printf("%s: clock-frequency <- %x (%dMHz)\n\r", path, freq, MHZ(freq));
freq               83 arch/powerpc/boot/devtree.c 		setprop_val(devp, "clock-frequency", freq);
freq              196 arch/powerpc/boot/ops.h void dt_fixup_clock(const char *path, u32 freq);
freq              710 arch/powerpc/kernel/rtas-proc.c 	u64 freq;
freq              711 arch/powerpc/kernel/rtas-proc.c 	int error = parse_number(buf, count, &freq);
freq              715 arch/powerpc/kernel/rtas-proc.c 	rtas_tone_frequency = freq; /* save it for later */
freq              717 arch/powerpc/kernel/rtas-proc.c 			TONE_FREQUENCY, 0, freq);
freq              558 arch/powerpc/perf/core-book3s.c 		if (event->attr.freq ||
freq              709 arch/powerpc/platforms/512x/clock-commonclk.c 	int freq;
freq              903 arch/powerpc/platforms/512x/clock-commonclk.c 	freq = get_freq_from_dt("psc_mclk_in");
freq              904 arch/powerpc/platforms/512x/clock-commonclk.c 	if (!freq)
freq              905 arch/powerpc/platforms/512x/clock-commonclk.c 		freq = 25000000;
freq              906 arch/powerpc/platforms/512x/clock-commonclk.c 	clks[MPC512x_CLK_PSC_MCLK_IN] = mpc512x_clk_fixed("psc_mclk_in", freq);
freq              908 arch/powerpc/platforms/512x/clock-commonclk.c 		freq = get_freq_from_dt("can_clk_in");
freq              910 arch/powerpc/platforms/512x/clock-commonclk.c 				"can_clk_in", freq);
freq              912 arch/powerpc/platforms/512x/clock-commonclk.c 		freq = get_freq_from_dt("spdif_tx_in");
freq              914 arch/powerpc/platforms/512x/clock-commonclk.c 				"spdif_tx_in", freq);
freq              915 arch/powerpc/platforms/512x/clock-commonclk.c 		freq = get_freq_from_dt("spdif_rx_in");
freq              917 arch/powerpc/platforms/512x/clock-commonclk.c 				"spdif_rx_in", freq);
freq              217 arch/powerpc/platforms/52xx/mpc52xx_common.c 	unsigned int freq;
freq              222 arch/powerpc/platforms/52xx/mpc52xx_common.c 	freq = mpc5xxx_get_bus_frequency(node);
freq              223 arch/powerpc/platforms/52xx/mpc52xx_common.c 	if (!freq)
freq              227 arch/powerpc/platforms/52xx/mpc52xx_common.c 		freq *= 2;
freq              231 arch/powerpc/platforms/52xx/mpc52xx_common.c 		freq *= 8;
freq              233 arch/powerpc/platforms/52xx/mpc52xx_common.c 		freq *= 4;
freq              235 arch/powerpc/platforms/52xx/mpc52xx_common.c 		freq /= 12;
freq              237 arch/powerpc/platforms/52xx/mpc52xx_common.c 		freq /= 16;
freq              239 arch/powerpc/platforms/52xx/mpc52xx_common.c 	return freq;
freq              376 arch/powerpc/platforms/85xx/p1022_ds.c 	unsigned long freq;
freq              397 arch/powerpc/platforms/85xx/p1022_ds.c 	freq = temp;
freq              404 arch/powerpc/platforms/85xx/p1022_ds.c 	pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq);
freq               46 arch/powerpc/platforms/85xx/p1022_rdk.c 	unsigned long freq;
freq               67 arch/powerpc/platforms/85xx/p1022_rdk.c 	freq = temp;
freq               74 arch/powerpc/platforms/85xx/p1022_rdk.c 	pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq);
freq               80 arch/powerpc/platforms/85xx/t1042rdb_diu.c 	unsigned long freq;
freq              102 arch/powerpc/platforms/85xx/t1042rdb_diu.c 	freq = temp;
freq              109 arch/powerpc/platforms/85xx/t1042rdb_diu.c 	pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq);
freq              228 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	unsigned long freq;
freq              249 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	freq = temp;
freq              256 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq) - 1;
freq             2903 arch/powerpc/platforms/powermac/feature.c 	int	freq = (frq >> 8) & 0xf;
freq             2905 arch/powerpc/platforms/powermac/feature.c 	if (freqs[freq] == 0)
freq             2906 arch/powerpc/platforms/powermac/feature.c 		printk("%s: Unknown HT link frequency %x\n", name, freq);
freq             2909 arch/powerpc/platforms/powermac/feature.c 		       name, freqs[freq],
freq             2915 arch/powerpc/platforms/powermac/feature.c 	u32	ufreq, freq, ucfg, cfg;
freq             2922 arch/powerpc/platforms/powermac/feature.c 	ufreq = freq = in_be32(u3_ht_base + U3_HT_LINK_FREQ);
freq             2923 arch/powerpc/platforms/powermac/feature.c 	dump_HT_speeds("U3 HyperTransport", cfg, freq);
freq             2940 arch/powerpc/platforms/powermac/feature.c 	early_read_config_dword(px_hose, px_bus, px_devfn, 0xcc, &freq);
freq             2941 arch/powerpc/platforms/powermac/feature.c 	dump_HT_speeds("PCI-X HT Uplink", cfg, freq);
freq             2943 arch/powerpc/platforms/powermac/feature.c 	early_read_config_dword(px_hose, px_bus, px_devfn, 0xd0, &freq);
freq             2944 arch/powerpc/platforms/powermac/feature.c 	dump_HT_speeds("PCI-X HT Downlink", cfg, freq);
freq              596 arch/powerpc/platforms/pseries/lpar.c 	int rc, freq;
freq              606 arch/powerpc/platforms/pseries/lpar.c 	rc = kstrtoint(buf, 0, &freq);
freq              607 arch/powerpc/platforms/pseries/lpar.c 	if (rc || freq < 1 || freq > HZ) {
freq              613 arch/powerpc/platforms/pseries/lpar.c 	vcpudispatch_stats_freq = freq;
freq              246 arch/powerpc/sysdev/fsl_gtm.c 	int freq = 1000000;
freq              251 arch/powerpc/sysdev/fsl_gtm.c 		freq >>= bit - 15;
freq              255 arch/powerpc/sysdev/fsl_gtm.c 	if (!freq)
freq              258 arch/powerpc/sysdev/fsl_gtm.c 	return gtm_set_ref_timer16(tmr, freq, usec, reload);
freq              282 arch/powerpc/sysdev/fsl_gtm.c 	const int freq = 1000000;
freq              291 arch/powerpc/sysdev/fsl_gtm.c 	return gtm_set_ref_timer16(tmr, freq, usec, reload);
freq              279 arch/s390/include/asm/cpu_mf.h 						unsigned long freq)
freq              281 arch/s390/include/asm/cpu_mf.h 	return (USEC_PER_SEC / freq) * qsi->cpu_speed;
freq              373 arch/s390/kernel/perf_cpum_sf.c 	unsigned long n_sdb, freq, factor;
freq              401 arch/s390/kernel/perf_cpum_sf.c 	freq = sample_rate_to_freq(&cpuhw->qsi, SAMPL_RATE(hwc));
freq              403 arch/s390/kernel/perf_cpum_sf.c 	n_sdb = DIV_ROUND_UP(freq, factor * ((PAGE_SIZE-64) / sample_size));
freq              422 arch/s390/kernel/perf_cpum_sf.c 			    SAMPL_RATE(hwc), freq, n_sdb, sfb_max_limit(hwc),
freq              689 arch/s390/kernel/perf_cpum_sf.c static unsigned long getrate(bool freq, unsigned long sample,
freq              694 arch/s390/kernel/perf_cpum_sf.c 	if (freq) {
freq              745 arch/s390/kernel/perf_cpum_sf.c 	if (attr->freq) {
freq              748 arch/s390/kernel/perf_cpum_sf.c 		rate = getrate(attr->freq, attr->sample_freq, si);
freq              749 arch/s390/kernel/perf_cpum_sf.c 		attr->freq = 0;		/* Don't call  perf_adjust_period() */
freq              752 arch/s390/kernel/perf_cpum_sf.c 		rate = getrate(attr->freq, attr->sample_period, si);
freq              761 arch/s390/kernel/perf_cpum_sf.c 			    event->attr.sample_period, event->attr.freq,
freq              169 arch/sparc/kernel/time_64.c 	unsigned long freq = 0;
freq              173 arch/sparc/kernel/time_64.c 		return freq;
freq              181 arch/sparc/kernel/time_64.c 		freq = prom_getintdefault(node, "clock-frequency", 0);
freq              182 arch/sparc/kernel/time_64.c 	if (!freq)
freq              183 arch/sparc/kernel/time_64.c 		freq = cpuid_to_freq(prom_getchild(node), cpuid);
freq              184 arch/sparc/kernel/time_64.c 	if (!freq)
freq              185 arch/sparc/kernel/time_64.c 		freq = cpuid_to_freq(prom_getsibling(node), cpuid);
freq              187 arch/sparc/kernel/time_64.c 	return freq;
freq              655 arch/sparc/kernel/time_64.c 	struct cpufreq_freqs *freq = data;
freq              659 arch/sparc/kernel/time_64.c 	for_each_cpu(cpu, freq->policy->cpus) {
freq              663 arch/sparc/kernel/time_64.c 			ft->ref_freq = freq->old;
freq              667 arch/sparc/kernel/time_64.c 		if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
freq              668 arch/sparc/kernel/time_64.c 		    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
freq              671 arch/sparc/kernel/time_64.c 					      freq->new);
freq              821 arch/sparc/kernel/time_64.c 	unsigned long freq, quotient, tick;
freq              823 arch/sparc/kernel/time_64.c 	freq = ops->get_frequency();
freq              824 arch/sparc/kernel/time_64.c 	quotient = clocksource_hz2mult(freq, SPARC64_NSEC_PER_CYC_SHIFT);
freq              829 arch/sparc/kernel/time_64.c 	ops->frequency = freq;
freq              852 arch/sparc/kernel/time_64.c 	unsigned long freq;
freq              854 arch/sparc/kernel/time_64.c 	freq = tick_operations.frequency;
freq              855 arch/sparc/kernel/time_64.c 	tb_ticks_per_usec = freq / USEC_PER_SEC;
freq              860 arch/sparc/kernel/time_64.c 	clocksource_register_hz(&clocksource_tick, freq);
freq              865 arch/sparc/kernel/time_64.c 	clockevents_calc_mult_shift(&sparc64_clockevent, freq, 4);
freq             3272 arch/x86/events/intel/core.c 		if (!(event->attr.freq || (event->attr.wakeup_events && !event->attr.watermark))) {
freq              930 arch/x86/events/perf_event.h 	if (event->attr.freq)
freq              119 arch/x86/hyperv/hv_init.c 	u64 freq;
freq              126 arch/x86/hyperv/hv_init.c 	rdmsrl(HV_X64_MSR_TSC_FREQUENCY, freq);
freq              127 arch/x86/hyperv/hv_init.c 	tsc_khz = div64_u64(freq, 1000);
freq               97 arch/x86/include/asm/hpet.h extern int hpet_set_periodic_freq(unsigned long freq);
freq              195 arch/x86/kernel/cpu/mshyperv.c 	unsigned long freq;
freq              197 arch/x86/kernel/cpu/mshyperv.c 	rdmsrl(HV_X64_MSR_TSC_FREQUENCY, freq);
freq              199 arch/x86/kernel/cpu/mshyperv.c 	return freq / 1000;
freq               83 arch/x86/kernel/cpu/proc.c 		unsigned int freq = aperfmperf_get_khz(cpu);
freq               85 arch/x86/kernel/cpu/proc.c 		if (!freq)
freq               86 arch/x86/kernel/cpu/proc.c 			freq = cpufreq_quick_get(cpu);
freq               87 arch/x86/kernel/cpu/proc.c 		if (!freq)
freq               88 arch/x86/kernel/cpu/proc.c 			freq = cpu_khz;
freq               90 arch/x86/kernel/cpu/proc.c 			   freq / 1000, (freq % 1000));
freq              817 arch/x86/kernel/hpet.c 	u64 freq;
freq              838 arch/x86/kernel/hpet.c 	freq = FSEC_PER_SEC;
freq              839 arch/x86/kernel/hpet.c 	do_div(freq, hpet_period);
freq              840 arch/x86/kernel/hpet.c 	hpet_freq = freq;
freq             1179 arch/x86/kernel/hpet.c int hpet_set_periodic_freq(unsigned long freq)
freq             1186 arch/x86/kernel/hpet.c 	if (freq <= DEFAULT_RTC_INT_FREQ) {
freq             1187 arch/x86/kernel/hpet.c 		hpet_pie_limit = DEFAULT_RTC_INT_FREQ / freq;
freq             1192 arch/x86/kernel/hpet.c 		do_div(clc, freq);
freq              978 arch/x86/kernel/tsc.c 	struct cpufreq_freqs *freq = data;
freq              986 arch/x86/kernel/tsc.c 		ref_freq = freq->old;
freq              991 arch/x86/kernel/tsc.c 	if ((val == CPUFREQ_PRECHANGE  && freq->old < freq->new) ||
freq              992 arch/x86/kernel/tsc.c 	    (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
freq              994 arch/x86/kernel/tsc.c 			cpufreq_scale(loops_per_jiffy_ref, ref_freq, freq->new);
freq              996 arch/x86/kernel/tsc.c 		tsc_khz = cpufreq_scale(tsc_khz_ref, ref_freq, freq->new);
freq              997 arch/x86/kernel/tsc.c 		if (!(freq->flags & CPUFREQ_CONST_LOOPS))
freq             1000 arch/x86/kernel/tsc.c 		set_cyc2ns_scale(tsc_khz, freq->policy->cpu, rdtsc());
freq             1295 arch/x86/kernel/tsc.c 	unsigned long freq;
freq             1332 arch/x86/kernel/tsc.c 		freq = calc_hpet_ref(delta, ref_start, ref_stop);
freq             1334 arch/x86/kernel/tsc.c 		freq = calc_pmtimer_ref(delta, ref_start, ref_stop);
freq             1337 arch/x86/kernel/tsc.c 	if (abs(tsc_khz - freq) > tsc_khz/100)
freq             1340 arch/x86/kernel/tsc.c 	tsc_khz = freq;
freq              162 arch/x86/kernel/tsc_msr.c 	u32 lo, hi, ratio, freq, tscref;
freq              193 arch/x86/kernel/tsc_msr.c 		freq = DIV_ROUND_CLOSEST(tscref, md->divider);
freq              200 arch/x86/kernel/tsc_msr.c 		freq = freq_desc->freqs[index];
freq              201 arch/x86/kernel/tsc_msr.c 		res = freq * ratio;
freq              204 arch/x86/kernel/tsc_msr.c 	if (freq == 0)
freq              208 arch/x86/kernel/tsc_msr.c 	lapic_timer_period = (freq * 1000) / HZ;
freq             6977 arch/x86/kvm/x86.c 	struct cpufreq_freqs *freq = data;
freq             6981 arch/x86/kvm/x86.c 		khz = freq->new;
freq             7026 arch/x86/kvm/x86.c static void __kvmclock_cpufreq_notifier(struct cpufreq_freqs *freq, int cpu)
freq             7071 arch/x86/kvm/x86.c 	smp_call_function_single(cpu, tsc_khz_changed, freq, 1);
freq             7085 arch/x86/kvm/x86.c 	if (freq->old < freq->new && send_ipi) {
freq             7098 arch/x86/kvm/x86.c 		smp_call_function_single(cpu, tsc_khz_changed, freq, 1);
freq             7105 arch/x86/kvm/x86.c 	struct cpufreq_freqs *freq = data;
freq             7108 arch/x86/kvm/x86.c 	if (val == CPUFREQ_PRECHANGE && freq->old > freq->new)
freq             7110 arch/x86/kvm/x86.c 	if (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)
freq             7113 arch/x86/kvm/x86.c 	for_each_cpu(cpu, freq->policy->cpus)
freq             7114 arch/x86/kvm/x86.c 		__kvmclock_cpufreq_notifier(freq, cpu);
freq               90 arch/xtensa/platforms/xtfpga/setup.c 	u32 freq;
freq               97 arch/xtensa/platforms/xtfpga/setup.c 	freq = __raw_readl(base);
freq               99 arch/xtensa/platforms/xtfpga/setup.c 	clk = clk_register_fixed_rate(NULL, np->name, NULL, 0, freq);
freq               38 drivers/accessibility/braille/braille_console.c static void beep(unsigned int freq)
freq               41 drivers/accessibility/braille/braille_console.c 		kd_mksound(freq, HZ/10);
freq              655 drivers/ata/pata_hpt37x.c static int hpt37x_clock_slot(unsigned int freq, unsigned int base)
freq              657 drivers/ata/pata_hpt37x.c 	unsigned int f = (base * freq) / 192;	/* Mhz */
freq              704 drivers/ata/pata_hpt37x.c 	u32 freq;
freq              715 drivers/ata/pata_hpt37x.c 		freq = inl(io_base + 0x90);
freq              718 drivers/ata/pata_hpt37x.c 		freq = inl(io_base + 0x90);
freq              719 drivers/ata/pata_hpt37x.c 	return freq;
freq              826 drivers/ata/pata_hpt37x.c 	u32 freq;
freq              943 drivers/ata/pata_hpt37x.c 		freq = hpt374_read_freq(dev);
freq              944 drivers/ata/pata_hpt37x.c 		if (freq == 0)
freq              947 drivers/ata/pata_hpt37x.c 		freq = inl(iobase + 0x90);
freq              949 drivers/ata/pata_hpt37x.c 	if ((freq >> 12) != 0xABCDE) {
freq              962 drivers/ata/pata_hpt37x.c 		freq = total / 128;
freq              964 drivers/ata/pata_hpt37x.c 	freq &= 0x1FF;
freq              971 drivers/ata/pata_hpt37x.c 	clock_slot = hpt37x_clock_slot(freq, chip_table->base);
freq              413 drivers/ata/pata_hpt3x2n.c 	unsigned long freq;
freq              435 drivers/ata/pata_hpt3x2n.c 	freq = (fcnt * 77) / 192;
freq              438 drivers/ata/pata_hpt3x2n.c 	if (freq < 40)
freq              440 drivers/ata/pata_hpt3x2n.c 	if (freq < 45)
freq              442 drivers/ata/pata_hpt3x2n.c 	if (freq < 55)
freq             1066 drivers/char/rtc.c 	unsigned long freq;
freq             1083 drivers/char/rtc.c 	freq = rtc_freq;
freq             1088 drivers/char/rtc.c 			   freq);
freq             1108 drivers/char/rtc.c 	unsigned long freq;
freq             1113 drivers/char/rtc.c 	freq = rtc_freq;
freq             1169 drivers/char/rtc.c 		   freq,
freq              160 drivers/clk/berlin/berlin2-avpll.c 	u64 freq = parent_rate;
freq              167 drivers/clk/berlin/berlin2-avpll.c 	freq *= fbdiv;
freq              168 drivers/clk/berlin/berlin2-avpll.c 	do_div(freq, refdiv);
freq              170 drivers/clk/berlin/berlin2-avpll.c 	return (unsigned long)freq;
freq              256 drivers/clk/berlin/berlin2-avpll.c 	u64 freq = parent_rate;
freq              274 drivers/clk/berlin/berlin2-avpll.c 	freq *= reg & VCO_SYNC2_MASK;
freq              333 drivers/clk/berlin/berlin2-avpll.c 		freq *= 2;
freq              336 drivers/clk/berlin/berlin2-avpll.c 	do_div(freq, divider);
freq              337 drivers/clk/berlin/berlin2-avpll.c 	return (unsigned long)freq;
freq              629 drivers/clk/clk-aspeed.c 	u32 val, freq, div;
freq              634 drivers/clk/clk-aspeed.c 		freq = 25000000;
freq              636 drivers/clk/clk-aspeed.c 		freq = 24000000;
freq              637 drivers/clk/clk-aspeed.c 	hw = clk_hw_register_fixed_rate(NULL, "clkin", NULL, 0, freq);
freq              638 drivers/clk/clk-aspeed.c 	pr_debug("clkin @%u MHz\n", freq / 1000000);
freq               23 drivers/clk/clk-fixed-mmio.c 	u32 freq;
freq               32 drivers/clk/clk-fixed-mmio.c 	freq = readl(base);
freq               36 drivers/clk/clk-fixed-mmio.c 	clk = clk_hw_register_fixed_rate(NULL, clk_name, NULL, 0, freq);
freq              396 drivers/clk/clk-gemini.c 	unsigned long freq;
freq              437 drivers/clk/clk-gemini.c 		freq = 30000000;
freq              439 drivers/clk/clk-gemini.c 		freq = 60000000;
freq              440 drivers/clk/clk-gemini.c 	hw = clk_hw_register_fixed_rate(NULL, "xtal", NULL, 0, freq);
freq              441 drivers/clk/clk-gemini.c 	pr_debug("main crystal @%lu MHz\n", freq / 1000000);
freq               70 drivers/clk/clk-scpi.c 		ftmp = opp->freq;
freq               93 drivers/clk/clk-scpi.c 	return opp->freq;
freq              110 drivers/clk/clk-scpi.c 		if (opp->freq == rate)
freq              428 drivers/clk/clk-vt8500.c 	u32 freq = (parent_rate / 1000000) / (divisor1 + 1);
freq              430 drivers/clk/clk-vt8500.c 	if ((freq < 10) || (freq > 200))
freq              432 drivers/clk/clk-vt8500.c 				__func__, freq);
freq              434 drivers/clk/clk-vt8500.c 	if (freq >= 166)
freq              436 drivers/clk/clk-vt8500.c 	else if (freq >= 104)
freq              438 drivers/clk/clk-vt8500.c 	else if (freq >= 65)
freq              440 drivers/clk/clk-vt8500.c 	else if (freq >= 42)
freq              442 drivers/clk/clk-vt8500.c 	else if (freq >= 26)
freq              444 drivers/clk/clk-vt8500.c 	else if (freq >= 16)
freq              446 drivers/clk/clk-vt8500.c 	else if (freq >= 10)
freq               69 drivers/clk/hisilicon/clk-hi6220-stub.c 	unsigned int freq;
freq               71 drivers/clk/hisilicon/clk-hi6220-stub.c 	regmap_read(stub_clk->dfs_map, ACPU_DFS_CUR_FREQ, &freq);
freq               72 drivers/clk/hisilicon/clk-hi6220-stub.c 	return freq;
freq               76 drivers/clk/hisilicon/clk-hi6220-stub.c 				unsigned int freq)
freq               81 drivers/clk/hisilicon/clk-hi6220-stub.c 	regmap_write(stub_clk->dfs_map, ACPU_DFS_FREQ_REQ, freq);
freq               94 drivers/clk/hisilicon/clk-hi6220-stub.c 				  unsigned int freq)
freq              110 drivers/clk/hisilicon/clk-hi6220-stub.c 	if (WARN_ON(freq > max_freq))
freq              111 drivers/clk/hisilicon/clk-hi6220-stub.c 		freq = max_freq;
freq              113 drivers/clk/hisilicon/clk-hi6220-stub.c 	return freq;
freq              146 drivers/clk/keystone/sci-clk.c 	u64 freq;
freq              150 drivers/clk/keystone/sci-clk.c 					   clk->clk_id, &freq);
freq              158 drivers/clk/keystone/sci-clk.c 	return freq;
freq             1198 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 0, .freq = MT2712_PLL_FMAX },
freq             1199 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 1, .freq = 1202500000 },
freq             1200 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 2, .freq = 500500000 },
freq             1201 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 3, .freq = 315250000 },
freq             1202 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 4, .freq = 157625000 },
freq             1207 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 0, .freq = MT2712_PLL_FMAX },
freq             1208 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 1, .freq = 994500000 },
freq             1209 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 2, .freq = 520000000 },
freq             1210 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 3, .freq = 315250000 },
freq             1211 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 4, .freq = 157625000 },
freq             1216 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 0, .freq = MT2712_PLL_FMAX },
freq             1217 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 1, .freq = 1001000000 },
freq             1218 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 2, .freq = 601250000 },
freq             1219 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 3, .freq = 250250000 },
freq             1220 drivers/clk/mediatek/clk-mt2712.c 	{ .div = 4, .freq = 125125000 },
freq             1053 drivers/clk/mediatek/clk-mt8173.c 	{ .div = 0, .freq = MT8173_PLL_FMAX },
freq             1054 drivers/clk/mediatek/clk-mt8173.c 	{ .div = 1, .freq = 1000000000 },
freq             1055 drivers/clk/mediatek/clk-mt8173.c 	{ .div = 2, .freq = 702000000 },
freq             1056 drivers/clk/mediatek/clk-mt8173.c 	{ .div = 3, .freq = 253500000 },
freq             1057 drivers/clk/mediatek/clk-mt8173.c 	{ .div = 4, .freq = 126750000 },
freq             1106 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 0, .freq = MT8183_PLL_FMAX },
freq             1107 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 1, .freq = 1500 * MHZ },
freq             1108 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 2, .freq = 750 * MHZ },
freq             1109 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 3, .freq = 375 * MHZ },
freq             1110 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 4, .freq = 187500000 },
freq             1115 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 0, .freq = MT8183_PLL_FMAX },
freq             1116 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 1, .freq = 1600 * MHZ },
freq             1117 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 2, .freq = 800 * MHZ },
freq             1118 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 3, .freq = 400 * MHZ },
freq             1119 drivers/clk/mediatek/clk-mt8183.c 	{ .div = 4, .freq = 200 * MHZ },
freq              764 drivers/clk/mediatek/clk-mt8516.c 	{ .div = 0, .freq = MT8516_PLL_FMAX },
freq              765 drivers/clk/mediatek/clk-mt8516.c 	{ .div = 1, .freq = 1000000000 },
freq              766 drivers/clk/mediatek/clk-mt8516.c 	{ .div = 2, .freq = 604500000 },
freq              767 drivers/clk/mediatek/clk-mt8516.c 	{ .div = 3, .freq = 253500000 },
freq              768 drivers/clk/mediatek/clk-mt8516.c 	{ .div = 4, .freq = 126750000 },
freq              210 drivers/clk/mediatek/clk-mtk.h 	unsigned long freq;
freq              160 drivers/clk/mediatek/clk-pll.c 		u32 freq, u32 fin)
freq              168 drivers/clk/mediatek/clk-pll.c 	if (freq > pll->data->fmax)
freq              169 drivers/clk/mediatek/clk-pll.c 		freq = pll->data->fmax;
freq              172 drivers/clk/mediatek/clk-pll.c 		if (freq > div_table[0].freq)
freq              173 drivers/clk/mediatek/clk-pll.c 			freq = div_table[0].freq;
freq              175 drivers/clk/mediatek/clk-pll.c 		for (val = 0; div_table[val + 1].freq != 0; val++) {
freq              176 drivers/clk/mediatek/clk-pll.c 			if (freq > div_table[val + 1].freq)
freq              183 drivers/clk/mediatek/clk-pll.c 			if ((u64)freq * *postdiv >= fmin)
freq              190 drivers/clk/mediatek/clk-pll.c 	_pcw = ((u64)freq << val) << (pll->data->pcwbits - ibits);
freq              152 drivers/clk/pxa/clk-pxa.c void pxa2xx_cpll_change(struct pxa2xx_freq *freq,
freq              156 drivers/clk/pxa/clk-pxa.c 	unsigned int clkcfg = freq->clkcfg;
freq              167 drivers/clk/pxa/clk-pxa.c 	if ((preset_mdrefr & MDREFR_DRI_MASK) > mdrefr_dri(freq->membus_khz)) {
freq              169 drivers/clk/pxa/clk-pxa.c 		preset_mdrefr |= mdrefr_dri(freq->membus_khz);
freq              173 drivers/clk/pxa/clk-pxa.c 		mdrefr_dri(freq->membus_khz);
freq              179 drivers/clk/pxa/clk-pxa.c 	if (freq->div2) {
freq              187 drivers/clk/pxa/clk-pxa.c 	writel(freq->cccr, cccr);
freq              153 drivers/clk/pxa/clk-pxa.h void pxa2xx_cpll_change(struct pxa2xx_freq *freq,
freq              118 drivers/clk/qcom/clk-pll.c 	for (; f->freq; f++)
freq              119 drivers/clk/qcom/clk-pll.c 		if (rate <= f->freq)
freq              135 drivers/clk/qcom/clk-pll.c 		req->rate = f->freq;
freq               20 drivers/clk/qcom/clk-pll.h 	unsigned long freq;
freq              430 drivers/clk/qcom/clk-rcg.c 	req->rate = f->freq;
freq               13 drivers/clk/qcom/clk-rcg.h 	unsigned long freq;
freq              224 drivers/clk/qcom/clk-rcg2.c 		rate = f->freq;
freq              243 drivers/clk/qcom/clk-rcg2.c 	req->rate = f->freq;
freq              997 drivers/clk/qcom/clk-rcg2.c 	f->freq = calc_rate(prate, f->m, f->n, mode, f->pre_div);
freq             1047 drivers/clk/qcom/clk-rcg2.c 		return rcg->freq_tbl[level].freq;
freq               32 drivers/clk/qcom/common.c 	if (!f->freq)
freq               35 drivers/clk/qcom/common.c 	for (; f->freq; f++)
freq               36 drivers/clk/qcom/common.c 		if (rate <= f->freq)
freq               49 drivers/clk/qcom/common.c 	for ( ; f->freq; f++) {
freq               50 drivers/clk/qcom/common.c 		if (rate >= f->freq)
freq             1265 drivers/clk/qcom/gcc-ipq4019.c 	return f->freq;
freq              216 drivers/clk/qcom/gcc-ipq806x.c 		.freq = f,  \
freq               42 drivers/clk/qcom/mmcc-msm8960.c #define F_MN(f, s, _m, _n) { .freq = f, .src = s, .m = _m, .n = _n }
freq              262 drivers/clk/samsung/clk.c 	u32 freq;
freq              265 drivers/clk/samsung/clk.c 		if (of_property_read_u32(clk_np, "clock-frequency", &freq))
freq              267 drivers/clk/samsung/clk.c 		fixed_rate_clk[(unsigned long)match->data].fixed_rate = freq;
freq               67 drivers/clk/tegra/cvb.c 		if (!entry->freq || (entry->freq > max_freq))
freq               76 drivers/clk/tegra/cvb.c 		ret = dev_pm_opp_add(dev, entry->freq, dfll_mv * 1000);
freq              136 drivers/clk/tegra/cvb.c 		if (!entry->freq || (entry->freq > max_freq))
freq              139 drivers/clk/tegra/cvb.c 		dev_pm_opp_remove(dev, entry->freq);
freq               27 drivers/clk/tegra/cvb.h 	unsigned long freq;
freq               80 drivers/clk/ti/fapll.c 	void __iomem *freq;
freq              339 drivers/clk/ti/fapll.c 	if (synth->freq) {
freq              342 drivers/clk/ti/fapll.c 		v = readl_relaxed(synth->freq);
freq              399 drivers/clk/ti/fapll.c 	v = readl_relaxed(synth->freq);
freq              404 drivers/clk/ti/fapll.c 	writel_relaxed(v, synth->freq);
freq              420 drivers/clk/ti/fapll.c 	if (!synth->freq) {
freq              457 drivers/clk/ti/fapll.c 		if (!synth->freq)
freq              463 drivers/clk/ti/fapll.c 		if (!synth->freq && !post_rate)
freq              468 drivers/clk/ti/fapll.c 	if ((post_rate != rate) && synth->freq)
freq              492 drivers/clk/ti/fapll.c 						void __iomem *freq,
freq              517 drivers/clk/ti/fapll.c 	synth->freq = freq;
freq              607 drivers/clk/ti/fapll.c 		void __iomem *freq, *div;
freq              620 drivers/clk/ti/fapll.c 		freq = fd->base + (output_instance * 8);
freq              621 drivers/clk/ti/fapll.c 		div = freq + 4;
freq              624 drivers/clk/ti/fapll.c 		if (is_audio_pll_clk1(freq)) {
freq              625 drivers/clk/ti/fapll.c 			freq = NULL;
freq              629 drivers/clk/ti/fapll.c 			v = readl_relaxed(freq);
freq              631 drivers/clk/ti/fapll.c 				freq = NULL;
freq              633 drivers/clk/ti/fapll.c 		synth_clk = ti_fapll_synth_setup(fd, freq, div, output_instance,
freq               47 drivers/clk/versatile/icst.c icst_hz_to_vco(const struct icst_params *p, unsigned long freq)
freq               58 drivers/clk/versatile/icst.c 		f = freq * p->s2div[p->idx2s[i]];
freq               31 drivers/clk/versatile/icst.h struct icst_vco icst_hz_to_vco(const struct icst_params *p, unsigned long freq);
freq              293 drivers/clk/x86/clk-pmc-atom.c 						    clks[i].freq);
freq              237 drivers/clocksource/arm_global_timer.c 	gt_delay_timer.freq = gt_clk_rate;
freq               73 drivers/clocksource/bcm2835_timer.c 	u32 freq;
freq               83 drivers/clocksource/bcm2835_timer.c 	ret = of_property_read_u32(node, "clock-frequency", &freq);
freq               90 drivers/clocksource/bcm2835_timer.c 	sched_clock_register(bcm2835_sched_read, 32, freq);
freq               93 drivers/clocksource/bcm2835_timer.c 		freq, 300, 32, clocksource_mmio_readl_up);
freq              127 drivers/clocksource/bcm2835_timer.c 	clockevents_config_and_register(&timer->evt, freq, 0xf, 0xffffffff);
freq              171 drivers/clocksource/bcm_kona_timer.c 	u32 freq;
freq              179 drivers/clocksource/bcm_kona_timer.c 	} else if (!of_property_read_u32(node, "clock-frequency", &freq)) {
freq              180 drivers/clocksource/bcm_kona_timer.c 		arch_timer_rate = freq;
freq              170 drivers/clocksource/dw_apb_timer.c 	unsigned long period = DIV_ROUND_UP(dw_ced->timer.freq, HZ);
freq              241 drivers/clocksource/dw_apb_timer.c 		       void __iomem *base, int irq, unsigned long freq)
freq              252 drivers/clocksource/dw_apb_timer.c 	dw_ced->timer.freq = freq;
freq              254 drivers/clocksource/dw_apb_timer.c 	clockevents_calc_mult_shift(&dw_ced->ced, freq, APBT_MIN_PERIOD);
freq              384 drivers/clocksource/dw_apb_timer.c 			unsigned long freq)
freq              392 drivers/clocksource/dw_apb_timer.c 	dw_cs->timer.freq = freq;
freq              410 drivers/clocksource/dw_apb_timer.c 	clocksource_register_hz(&dw_cs->cs, dw_cs->timer.freq);
freq              159 drivers/clocksource/dw_apb_timer_of.c 		dw_apb_delay_timer.freq = sched_rate;
freq              238 drivers/clocksource/exynos_mct.c 	exynos4_delay_timer.freq = clk_rate;
freq              111 drivers/clocksource/jcore-pit.c 	unsigned buspd, freq;
freq              116 drivers/clocksource/jcore-pit.c 	freq = DIV_ROUND_CLOSEST(NSEC_PER_SEC, buspd);
freq              119 drivers/clocksource/jcore-pit.c 	clockevents_config_and_register(&pit->ced, freq, 1, ULONG_MAX);
freq              241 drivers/clocksource/nomadik-mtu.c 	mtu_delay_timer.freq = rate;
freq               59 drivers/clocksource/scx200_hrt.c 	u32 freq;
freq               76 drivers/clocksource/scx200_hrt.c 	freq = (HRT_FREQ + ppm);
freq               78 drivers/clocksource/scx200_hrt.c 		freq *= 27;
freq               82 drivers/clocksource/scx200_hrt.c 	return clocksource_register_hz(&cs_hrt, freq);
freq              289 drivers/clocksource/timer-armada-370-xp.c 	armada_370_delay_timer.freq = timer_clk;
freq              476 drivers/clocksource/timer-atmel-tcb.c 	tc_delay_timer.freq = divided_rate;
freq               73 drivers/clocksource/timer-cadence-ttc.c 	unsigned long freq;
freq              208 drivers/clocksource/timer-cadence-ttc.c 			 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ));
freq              336 drivers/clocksource/timer-cadence-ttc.c 	ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk);
freq              365 drivers/clocksource/timer-cadence-ttc.c 	err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE);
freq              373 drivers/clocksource/timer-cadence-ttc.c 			     ttccs->ttc.freq / PRESCALE);
freq              389 drivers/clocksource/timer-cadence-ttc.c 		ttc->freq = ndata->new_rate;
freq              430 drivers/clocksource/timer-cadence-ttc.c 	ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk);
freq              462 drivers/clocksource/timer-cadence-ttc.c 			ttcce->ttc.freq / PRESCALE, 1, 0xfffe);
freq              186 drivers/clocksource/timer-fsl-ftm.c static int __init ftm_clockevent_init(unsigned long freq, int irq)
freq              205 drivers/clocksource/timer-fsl-ftm.c 					freq / (1 << priv->ps),
freq              213 drivers/clocksource/timer-fsl-ftm.c static int __init ftm_clocksource_init(unsigned long freq)
freq              222 drivers/clocksource/timer-fsl-ftm.c 	sched_clock_register(ftm_read_sched_clock, 16, freq / (1 << priv->ps));
freq              224 drivers/clocksource/timer-fsl-ftm.c 				    freq / (1 << priv->ps), 300, 16,
freq              269 drivers/clocksource/timer-fsl-ftm.c 	long freq;
freq              271 drivers/clocksource/timer-fsl-ftm.c 	freq = __ftm_clk_init(np, "ftm-evt-counter-en", "ftm-evt");
freq              272 drivers/clocksource/timer-fsl-ftm.c 	if (freq <= 0)
freq              275 drivers/clocksource/timer-fsl-ftm.c 	freq = __ftm_clk_init(np, "ftm-src-counter-en", "ftm-src");
freq              276 drivers/clocksource/timer-fsl-ftm.c 	if (freq <= 0)
freq              279 drivers/clocksource/timer-fsl-ftm.c 	return freq;
freq              282 drivers/clocksource/timer-fsl-ftm.c static int __init ftm_calc_closest_round_cyc(unsigned long freq)
freq              291 drivers/clocksource/timer-fsl-ftm.c 		priv->periodic_cyc = DIV_ROUND_CLOSEST(freq,
freq              306 drivers/clocksource/timer-fsl-ftm.c 	unsigned long freq;
freq              335 drivers/clocksource/timer-fsl-ftm.c 	freq = ftm_clk_init(np);
freq              336 drivers/clocksource/timer-fsl-ftm.c 	if (!freq)
freq              339 drivers/clocksource/timer-fsl-ftm.c 	ret = ftm_calc_closest_round_cyc(freq);
freq              343 drivers/clocksource/timer-fsl-ftm.c 	ret = ftm_clocksource_init(freq);
freq              347 drivers/clocksource/timer-fsl-ftm.c 	ret = ftm_clockevent_init(freq, irq);
freq              391 drivers/clocksource/timer-fttmr010.c 	fttmr010->delay_timer.freq = fttmr010->tick_rate;
freq              160 drivers/clocksource/timer-imx-gpt.c 	imx_delay_timer.freq = c;
freq              150 drivers/clocksource/timer-imx-tpm.c 	tpm_delay_timer.freq = timer_of_rate(&to_tpm) >> 3;
freq              235 drivers/clocksource/timer-ixp4xx.c 	tmr->delay_timer.freq = timer_freq;
freq              205 drivers/clocksource/timer-lpc32xx.c 	lpc32xx_delay_timer.freq = rate;
freq               66 drivers/clocksource/timer-meson6.c 	.freq = 1000 * 1000,
freq               51 drivers/clocksource/timer-orion.c 	orion_delay_timer.freq = rate;
freq              191 drivers/clocksource/timer-qcom.c 	msm_delay_timer.freq = dgt_hz;
freq              199 drivers/clocksource/timer-qcom.c 	u32 freq;
freq              235 drivers/clocksource/timer-qcom.c 	if (of_property_read_u32(np, "clock-frequency", &freq)) {
freq              243 drivers/clocksource/timer-qcom.c 	freq /= 4;
freq              246 drivers/clocksource/timer-qcom.c 	return msm_timer_init(freq, 32, irq, !!percpu_offset);
freq               38 drivers/clocksource/timer-rockchip.c 	u32 freq;
freq              102 drivers/clocksource/timer-rockchip.c 	rk_timer_update_counter(timer->freq / HZ - 1, timer);
freq              174 drivers/clocksource/timer-rockchip.c 	timer->freq = clk_get_rate(timer_clk);
freq              240 drivers/clocksource/timer-rockchip.c 					rk_clkevt->timer.freq, 1, UINT_MAX);
freq              271 drivers/clocksource/timer-rockchip.c 		TIMER_NAME, rk_clksrc->freq, 250, 32,
freq              278 drivers/clocksource/timer-rockchip.c 	sched_clock_register(rk_timer_sched_read, 32, rk_clksrc->freq);
freq              258 drivers/clocksource/timer-stm32.c 		stm32_timer_delay.freq = timer_of_rate(to);
freq               41 drivers/clocksource/timer-tango-xtal.c 	delay_timer.freq = xtal_freq;
freq              180 drivers/clocksource/timer-tegra.c 	.freq = TIMER_1MHz,
freq              400 drivers/clocksource/timer-u300.c 	u300_delay_timer.freq = rate;
freq              361 drivers/cpufreq/acpi-cpufreq.c 	unsigned int freq;
freq              375 drivers/cpufreq/acpi-cpufreq.c 	freq = extract_freq(policy, get_cur_val(cpumask_of(cpu), data));
freq              376 drivers/cpufreq/acpi-cpufreq.c 	if (freq != cached_freq) {
freq              384 drivers/cpufreq/acpi-cpufreq.c 	pr_debug("cur freq = %u\n", freq);
freq              386 drivers/cpufreq/acpi-cpufreq.c 	return freq;
freq              390 drivers/cpufreq/acpi-cpufreq.c 				const struct cpumask *mask, unsigned int freq)
freq              398 drivers/cpufreq/acpi-cpufreq.c 		if (cur_freq == freq)
freq              498 drivers/cpufreq/acpi-cpufreq.c 		unsigned long freq;
freq              502 drivers/cpufreq/acpi-cpufreq.c 			freq = freqn;
freq              504 drivers/cpufreq/acpi-cpufreq.c 			if ((2 * cpu_khz) > (freqn + freq)) {
freq              506 drivers/cpufreq/acpi-cpufreq.c 				return freq;
freq               56 drivers/cpufreq/arm_big_little.c #define ACTUAL_FREQ(cluster, freq)  ((cluster == A7_CLUSTER) ? freq << 1 : freq)
freq               57 drivers/cpufreq/arm_big_little.c #define VIRT_FREQ(cluster, freq)    ((cluster == A7_CLUSTER) ? freq >> 1 : freq)
freq              105 drivers/cpufreq/armada-37xx-cpufreq.c static struct armada_37xx_dvfs *armada_37xx_cpu_freq_info_get(u32 freq)
freq              110 drivers/cpufreq/armada-37xx-cpufreq.c 		if (freq == armada_37xx_dvfs[i].cpu_freq_max)
freq              114 drivers/cpufreq/armada-37xx-cpufreq.c 	pr_err("Unsupported CPU frequency %d MHz\n", freq/1000000);
freq              359 drivers/cpufreq/armada-37xx-cpufreq.c 	unsigned long freq;
freq              448 drivers/cpufreq/armada-37xx-cpufreq.c 		freq = base_frequency / dvfs->divider[load_lvl];
freq              449 drivers/cpufreq/armada-37xx-cpufreq.c 		ret = dev_pm_opp_add(cpu_dev, freq, u_volt);
freq              475 drivers/cpufreq/armada-37xx-cpufreq.c 		freq = cur_frequency / dvfs->divider[load_lvl];
freq              476 drivers/cpufreq/armada-37xx-cpufreq.c 		dev_pm_opp_remove(cpu_dev, freq);
freq               34 drivers/cpufreq/armada-8k-cpufreq.c 	unsigned int freq[ARRAY_SIZE(opps_div)];
freq               70 drivers/cpufreq/armada-8k-cpufreq.c 	unsigned int freq;
freq               83 drivers/cpufreq/armada-8k-cpufreq.c 		freq = cur_frequency / opps_div[i];
freq               85 drivers/cpufreq/armada-8k-cpufreq.c 		ret = dev_pm_opp_add(cpu_dev, freq, 0);
freq               89 drivers/cpufreq/armada-8k-cpufreq.c 		freq_tables[opps_index].freq[i] = freq;
freq              112 drivers/cpufreq/armada-8k-cpufreq.c 			if (freq_tables[opps_index].freq[i] == 0)
freq              116 drivers/cpufreq/armada-8k-cpufreq.c 					  freq_tables[opps_index].freq[i]);
freq              165 drivers/cpufreq/cppc_cpufreq.c 					unsigned int freq)
freq              172 drivers/cpufreq/cppc_cpufreq.c 		if (freq >= caps->nominal_freq) {
freq              186 drivers/cpufreq/cppc_cpufreq.c 	return (u64)freq * mul / div;
freq               42 drivers/cpufreq/cpufreq-dt.c 	unsigned long freq = policy->freq_table[index].frequency;
freq               45 drivers/cpufreq/cpufreq-dt.c 	ret = dev_pm_opp_set_rate(priv->cpu_dev, freq * 1000);
freq               48 drivers/cpufreq/cpufreq-dt.c 		arch_set_freq_scale(policy->related_cpus, freq,
freq              691 drivers/cpufreq/cpufreq.c 	unsigned int freq;
freq              693 drivers/cpufreq/cpufreq.c 	freq = arch_freq_get_on_cpu(policy->cpu);
freq              694 drivers/cpufreq/cpufreq.c 	if (freq)
freq              695 drivers/cpufreq/cpufreq.c 		ret = sprintf(buf, "%u\n", freq);
freq              861 drivers/cpufreq/cpufreq.c 	unsigned int freq = 0;
freq              867 drivers/cpufreq/cpufreq.c 	ret = sscanf(buf, "%u", &freq);
freq              871 drivers/cpufreq/cpufreq.c 	policy->governor->store_setspeed(policy, freq);
freq             1134 drivers/cpufreq/cpufreq.c static int cpufreq_notifier_min(struct notifier_block *nb, unsigned long freq,
freq             1143 drivers/cpufreq/cpufreq.c static int cpufreq_notifier_max(struct notifier_block *nb, unsigned long freq,
freq              113 drivers/cpufreq/cpufreq_ondemand.c static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq)
freq              120 drivers/cpufreq/cpufreq_ondemand.c 		freq = od_ops.powersave_bias_target(policy, freq,
freq              125 drivers/cpufreq/cpufreq_ondemand.c 	__cpufreq_driver_target(policy, freq, od_tuners->powersave_bias ?
freq              144 drivers/cpufreq/cpufreq_stats.c static int freq_table_get_index(struct cpufreq_stats *stats, unsigned int freq)
freq              148 drivers/cpufreq/cpufreq_stats.c 		if (stats->freq_table[index] == freq)
freq               28 drivers/cpufreq/cpufreq_userspace.c static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq)
freq               33 drivers/cpufreq/cpufreq_userspace.c 	pr_debug("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq);
freq               39 drivers/cpufreq/cpufreq_userspace.c 	*setspeed = freq;
freq               41 drivers/cpufreq/cpufreq_userspace.c 	ret = __cpufreq_driver_target(policy, freq, CPUFREQ_RELATION_L);
freq               38 drivers/cpufreq/freq_table.c 	unsigned int freq;
freq               41 drivers/cpufreq/freq_table.c 		freq = pos->frequency;
freq               47 drivers/cpufreq/freq_table.c 		pr_debug("table entry %u: %u kHz\n", (int)(pos - table), freq);
freq               48 drivers/cpufreq/freq_table.c 		if (freq < min_freq)
freq               49 drivers/cpufreq/freq_table.c 			min_freq = freq;
freq               50 drivers/cpufreq/freq_table.c 		if (freq > max_freq)
freq               51 drivers/cpufreq/freq_table.c 			max_freq = freq;
freq               67 drivers/cpufreq/freq_table.c 	unsigned int freq, next_larger = ~0;
freq               76 drivers/cpufreq/freq_table.c 		freq = pos->frequency;
freq               78 drivers/cpufreq/freq_table.c 		if ((freq >= policy->min) && (freq <= policy->max)) {
freq               83 drivers/cpufreq/freq_table.c 		if ((next_larger > freq) && (freq > policy->max))
freq               84 drivers/cpufreq/freq_table.c 			next_larger = freq;
freq              126 drivers/cpufreq/freq_table.c 	unsigned int freq, diff, i = 0;
freq              143 drivers/cpufreq/freq_table.c 		freq = pos->frequency;
freq              145 drivers/cpufreq/freq_table.c 		if ((freq < policy->min) || (freq > policy->max))
freq              147 drivers/cpufreq/freq_table.c 		if (freq == target_freq) {
freq              153 drivers/cpufreq/freq_table.c 			if (freq < target_freq) {
freq              154 drivers/cpufreq/freq_table.c 				if (freq >= optimal.frequency) {
freq              155 drivers/cpufreq/freq_table.c 					optimal.frequency = freq;
freq              159 drivers/cpufreq/freq_table.c 				if (freq <= suboptimal.frequency) {
freq              160 drivers/cpufreq/freq_table.c 					suboptimal.frequency = freq;
freq              166 drivers/cpufreq/freq_table.c 			if (freq > target_freq) {
freq              167 drivers/cpufreq/freq_table.c 				if (freq <= optimal.frequency) {
freq              168 drivers/cpufreq/freq_table.c 					optimal.frequency = freq;
freq              172 drivers/cpufreq/freq_table.c 				if (freq >= suboptimal.frequency) {
freq              173 drivers/cpufreq/freq_table.c 					suboptimal.frequency = freq;
freq              179 drivers/cpufreq/freq_table.c 			diff = abs(freq - target_freq);
freq              182 drivers/cpufreq/freq_table.c 			     freq > table[optimal.driver_data].frequency)) {
freq              206 drivers/cpufreq/freq_table.c 		unsigned int freq)
freq              217 drivers/cpufreq/freq_table.c 		if (pos->frequency == freq)
freq               26 drivers/cpufreq/highbank-cpufreq.c static int hb_voltage_change(unsigned int freq)
freq               28 drivers/cpufreq/highbank-cpufreq.c 	u32 msg[HB_CPUFREQ_IPC_LEN] = {HB_CPUFREQ_CHANGE_NOTE, freq / 1000000};
freq              438 drivers/cpufreq/imx6q-cpufreq.c 			unsigned long freq = be32_to_cpup(val++);
freq              440 drivers/cpufreq/imx6q-cpufreq.c 			if (freq_table[j].frequency == freq) {
freq             1091 drivers/cpufreq/intel_pstate.c 	int max_state, turbo_max, freq, i, perf_pct;
freq             1120 drivers/cpufreq/intel_pstate.c 		freq = DIV_ROUND_UP(turbo_max * perf_pct, 100);
freq             1121 drivers/cpufreq/intel_pstate.c 		freq *= cpu->pstate.scaling;
freq             1123 drivers/cpufreq/intel_pstate.c 		if (freq_qos_update_request(req, freq) < 0)
freq               83 drivers/cpufreq/loongson1-cpufreq.c 	unsigned int pll_freq, freq;
freq               94 drivers/cpufreq/loongson1-cpufreq.c 		freq = pll_freq / (i + 1);
freq               95 drivers/cpufreq/loongson1-cpufreq.c 		if ((freq < cpufreq->min_freq) || (freq > cpufreq->max_freq))
freq               98 drivers/cpufreq/loongson1-cpufreq.c 			freq_tbl[i].frequency = freq;
freq               54 drivers/cpufreq/loongson2_cpufreq.c 	unsigned int freq;
freq               56 drivers/cpufreq/loongson2_cpufreq.c 	freq =
freq               61 drivers/cpufreq/loongson2_cpufreq.c 	clk_set_rate(policy->clk, freq * 1000);
freq               46 drivers/cpufreq/omap-cpufreq.c 	unsigned long freq, volt = 0, volt_old = 0, tol = 0;
freq               52 drivers/cpufreq/omap-cpufreq.c 	freq = new_freq * 1000;
freq               53 drivers/cpufreq/omap-cpufreq.c 	ret = clk_round_rate(policy->clk, freq);
freq               57 drivers/cpufreq/omap-cpufreq.c 			 freq);
freq               60 drivers/cpufreq/omap-cpufreq.c 	freq = ret;
freq               63 drivers/cpufreq/omap-cpufreq.c 		opp = dev_pm_opp_find_freq_ceil(mpu_dev, &freq);
freq               55 drivers/cpufreq/powernow-k6.c 	unsigned freq;
freq              165 drivers/cpufreq/powernow-k6.c 		if (khz >= usual_frequency_table[i].freq - FREQ_RANGE &&
freq              166 drivers/cpufreq/powernow-k6.c 		    khz <= usual_frequency_table[i].freq + FREQ_RANGE) {
freq              167 drivers/cpufreq/powernow-k6.c 			khz = usual_frequency_table[i].freq;
freq              593 drivers/cpufreq/powernow-k8.c 		int freq;
freq              596 drivers/cpufreq/powernow-k8.c 		freq = find_khz_freq_from_fid(pst[j].fid);
freq              597 drivers/cpufreq/powernow-k8.c 		powernow_table[j].frequency = freq;
freq              806 drivers/cpufreq/powernow-k8.c 		u32 freq, index;
freq              824 drivers/cpufreq/powernow-k8.c 		freq = find_khz_freq_from_fid(fid);
freq              825 drivers/cpufreq/powernow-k8.c 		powernow_table[i].frequency = freq;
freq              828 drivers/cpufreq/powernow-k8.c 		if ((freq > (MAX_FREQ * 1000)) || (freq < (MIN_FREQ * 1000))) {
freq              829 drivers/cpufreq/powernow-k8.c 			pr_debug("invalid freq %u kHz, ignoring\n", freq);
freq              842 drivers/cpufreq/powernow-k8.c 		if (freq != (data->acpi_data.states[i].core_frequency * 1000)) {
freq              844 drivers/cpufreq/powernow-k8.c 				freq, (unsigned int)
freq              313 drivers/cpufreq/powernv-cpufreq.c 		u32 freq = be32_to_cpu(pstate_freqs[i]);
freq              317 drivers/cpufreq/powernv-cpufreq.c 		pr_debug("PState id %d freq %d MHz\n", id, freq);
freq              318 drivers/cpufreq/powernv-cpufreq.c 		powernv_freqs[i].frequency = freq * 1000; /* kHz */
freq              469 drivers/cpufreq/powernv-cpufreq.c 	unsigned int freq;
freq              492 drivers/cpufreq/powernv-cpufreq.c 	freq_data->freq = pstate_id_to_freq(freq_data->pstate_id);
freq              496 drivers/cpufreq/powernv-cpufreq.c 		 freq_data->freq);
freq              511 drivers/cpufreq/powernv-cpufreq.c 	return freq_data.freq;
freq              231 drivers/cpufreq/pxa2xx-cpufreq.c 	unsigned int freq;
freq              263 drivers/cpufreq/pxa2xx-cpufreq.c 		freq = pxa27x_freqs[i].khz;
freq              264 drivers/cpufreq/pxa2xx-cpufreq.c 		if (freq > pxa27x_maxfreq)
freq              266 drivers/cpufreq/pxa2xx-cpufreq.c 		pxa27x_freq_table[i].frequency = freq;
freq               38 drivers/cpufreq/qcom-cpufreq-hw.c 	unsigned long freq = policy->freq_table[index].frequency;
freq               42 drivers/cpufreq/qcom-cpufreq-hw.c 	arch_set_freq_scale(policy->related_cpus, freq,
freq               70 drivers/cpufreq/qcom-cpufreq-hw.c 	unsigned long freq;
freq               78 drivers/cpufreq/qcom-cpufreq-hw.c 	freq = policy->freq_table[index].frequency;
freq               79 drivers/cpufreq/qcom-cpufreq-hw.c 	arch_set_freq_scale(policy->related_cpus, freq,
freq               82 drivers/cpufreq/qcom-cpufreq-hw.c 	return freq;
freq               89 drivers/cpufreq/qcom-cpufreq-hw.c 	u32 data, src, lval, i, core_count, prev_freq = 0, freq;
freq              109 drivers/cpufreq/qcom-cpufreq-hw.c 			freq = xo_rate * lval / 1000;
freq              111 drivers/cpufreq/qcom-cpufreq-hw.c 			freq = cpu_hw_rate / 1000;
freq              113 drivers/cpufreq/qcom-cpufreq-hw.c 		if (freq != prev_freq && core_count != LUT_TURBO_IND) {
freq              114 drivers/cpufreq/qcom-cpufreq-hw.c 			table[i].frequency = freq;
freq              115 drivers/cpufreq/qcom-cpufreq-hw.c 			dev_pm_opp_add(cpu_dev, freq * 1000, volt);
freq              117 drivers/cpufreq/qcom-cpufreq-hw.c 				freq, core_count);
freq              126 drivers/cpufreq/qcom-cpufreq-hw.c 		if (i > 0 && prev_freq == freq) {
freq              142 drivers/cpufreq/qcom-cpufreq-hw.c 		prev_freq = freq;
freq              133 drivers/cpufreq/qoriq-cpufreq.c 	unsigned int freq, max_freq;
freq              140 drivers/cpufreq/qoriq-cpufreq.c 			freq = freq_table[j].frequency;
freq              141 drivers/cpufreq/qoriq-cpufreq.c 			if (freq == CPUFREQ_ENTRY_INVALID ||
freq              142 drivers/cpufreq/qoriq-cpufreq.c 					freq <= max_freq)
freq              145 drivers/cpufreq/qoriq-cpufreq.c 			max_freq = freq;
freq              164 drivers/cpufreq/qoriq-cpufreq.c 	u32 freq;
freq              200 drivers/cpufreq/qoriq-cpufreq.c 		freq = clk_get_rate(clk);
freq              201 drivers/cpufreq/qoriq-cpufreq.c 		table[i].frequency = freq / 1000;
freq               49 drivers/cpufreq/s3c2410-cpufreq.c 	fclk = cfg->freq.fclk;
freq               52 drivers/cpufreq/s3c2410-cpufreq.c 	cfg->freq.armclk = fclk;
freq               46 drivers/cpufreq/s3c2412-cpufreq.c 	fclk = cfg->freq.fclk;
freq               47 drivers/cpufreq/s3c2412-cpufreq.c 	armclk = cfg->freq.armclk;
freq               59 drivers/cpufreq/s3c2412-cpufreq.c 		     __func__, cfg->freq.fclk, cfg->freq.armclk,
freq               60 drivers/cpufreq/s3c2412-cpufreq.c 		     cfg->freq.hclk, cfg->freq.pclk);
freq               76 drivers/cpufreq/s3c2412-cpufreq.c 	cfg->freq.hclk = hclk = armdiv_clk / hdiv;
freq               82 drivers/cpufreq/s3c2412-cpufreq.c 	cfg->freq.armclk = dvs ? hclk : armdiv_clk;
freq               95 drivers/cpufreq/s3c2412-cpufreq.c 	cfg->freq.pclk = hclk / pdiv;
freq              148 drivers/cpufreq/s3c2412-cpufreq.c 		     board->refresh, cfg->freq.hclk);
freq              156 drivers/cpufreq/s3c2412-cpufreq.c 	refresh *= (cfg->freq.hclk / 100);
freq              102 drivers/cpufreq/s3c2416-cpufreq.c 				      unsigned int freq)
freq              106 drivers/cpufreq/s3c2416-cpufreq.c 	if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) {
freq              107 drivers/cpufreq/s3c2416-cpufreq.c 		ret = clk_set_rate(s3c_freq->armdiv, freq * 1000);
freq              110 drivers/cpufreq/s3c2416-cpufreq.c 			       freq, ret);
freq               60 drivers/cpufreq/s3c2440-cpufreq.c 	fclk = cfg->freq.fclk;
freq               61 drivers/cpufreq/s3c2440-cpufreq.c 	armclk = cfg->freq.armclk;
freq              116 drivers/cpufreq/s3c2440-cpufreq.c 	cfg->freq.armclk = armclk;
freq              201 drivers/cpufreq/s3c2440-cpufreq.c 	unsigned long freq;
freq              206 drivers/cpufreq/s3c2440-cpufreq.c 		freq = fclk / div;
freq              208 drivers/cpufreq/s3c2440-cpufreq.c 		if (freq > max_hclk && div != 1)
freq              211 drivers/cpufreq/s3c2440-cpufreq.c 		freq /= 1000; /* table is in kHz */
freq              212 drivers/cpufreq/s3c2440-cpufreq.c 		index = s3c_cpufreq_addfreq(table, index, table_size, freq);
freq               75 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	seq_printf(seq, "  FCLK %ld Hz\n", cfg->freq.fclk);
freq               77 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 		   cfg->freq.hclk, print_ns(cfg->freq.hclk_tns));
freq               78 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	seq_printf(seq, "  PCLK %ld Hz\n", cfg->freq.hclk);
freq               79 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	seq_printf(seq, "ARMCLK %ld Hz\n", cfg->freq.armclk);
freq              122 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	seq_printf(seq, "hclk period is %lu.%lu ns\n", print_ns(cfg->freq.hclk_tns));
freq               66 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.fclk = fclk = clk_get_rate(clk_fclk);
freq               67 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.hclk = hclk = clk_get_rate(clk_hclk);
freq               68 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.pclk = pclk = clk_get_rate(clk_pclk);
freq               69 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.armclk = armclk = clk_get_rate(clk_arm);
freq               74 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10);
freq               84 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.fclk = pll;
freq               85 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.hclk = pll / cfg->divs.h_divisor;
freq               86 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.pclk = pll / cfg->divs.p_divisor;
freq               89 drivers/cpufreq/s3c24xx-cpufreq.c 	cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10);
freq              104 drivers/cpufreq/s3c24xx-cpufreq.c 		     pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk,
freq              105 drivers/cpufreq/s3c24xx-cpufreq.c 		     cfg->freq.hclk, cfg->divs.h_divisor,
freq              106 drivers/cpufreq/s3c24xx-cpufreq.c 		     cfg->freq.pclk, cfg->divs.p_divisor);
freq              147 drivers/cpufreq/s3c24xx-cpufreq.c 					 unsigned int freq)
freq              149 drivers/cpufreq/s3c24xx-cpufreq.c 	clk_set_rate(clk, freq);
freq              173 drivers/cpufreq/s3c24xx-cpufreq.c 	cpu_new.freq.armclk = target_freq;
freq              174 drivers/cpufreq/s3c24xx-cpufreq.c 	cpu_new.freq.fclk = cpu_new.pll.frequency;
freq              187 drivers/cpufreq/s3c24xx-cpufreq.c 	if (cpu_new.freq.hclk != cpu_cur.freq.hclk) {
freq              198 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.old = cpu_cur.freq;
freq              199 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.new = cpu_new.freq;
freq              201 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.freqs.old = cpu_cur.freq.armclk / 1000;
freq              202 drivers/cpufreq/s3c24xx-cpufreq.c 	freqs.freqs.new = cpu_new.freq.armclk / 1000;
freq              209 drivers/cpufreq/s3c24xx-cpufreq.c 	s3c_cpufreq_updateclk(clk_fclk, cpu_new.freq.fclk);
freq              210 drivers/cpufreq/s3c24xx-cpufreq.c 	s3c_cpufreq_updateclk(clk_hclk, cpu_new.freq.hclk);
freq              211 drivers/cpufreq/s3c24xx-cpufreq.c 	s3c_cpufreq_updateclk(clk_pclk, cpu_new.freq.pclk);
freq              223 drivers/cpufreq/s3c24xx-cpufreq.c 	if (cpu_new.freq.hclk < cpu_cur.freq.hclk) {
freq              228 drivers/cpufreq/s3c24xx-cpufreq.c 	if (cpu_new.freq.fclk == cpu_cur.freq.fclk) {
freq              233 drivers/cpufreq/s3c24xx-cpufreq.c 		if (cpu_new.freq.fclk < cpu_cur.freq.fclk) {
freq              247 drivers/cpufreq/s3c24xx-cpufreq.c 	if (cpu_new.freq.hclk > cpu_cur.freq.hclk) {
freq              525 drivers/cpufreq/s3c24xx-cpufreq.c static inline u32 calc_locktime(u32 freq, u32 time_us)
freq              529 drivers/cpufreq/s3c24xx-cpufreq.c 	result = freq * time_us;
freq              110 drivers/cpufreq/s3c64xx-cpufreq.c 	struct cpufreq_frequency_table *freq;
freq              121 drivers/cpufreq/s3c64xx-cpufreq.c 	cpufreq_for_each_valid_entry(freq, s3c64xx_freq_table) {
freq              122 drivers/cpufreq/s3c64xx-cpufreq.c 		dvfs = &s3c64xx_dvfs_table[freq->driver_data];
freq              133 drivers/cpufreq/s3c64xx-cpufreq.c 				 freq->frequency);
freq              134 drivers/cpufreq/s3c64xx-cpufreq.c 			freq->frequency = CPUFREQ_ENTRY_INVALID;
freq              147 drivers/cpufreq/s3c64xx-cpufreq.c 	struct cpufreq_frequency_table *freq;
freq              175 drivers/cpufreq/s3c64xx-cpufreq.c 	cpufreq_for_each_entry(freq, s3c64xx_freq_table) {
freq              179 drivers/cpufreq/s3c64xx-cpufreq.c 		r = clk_round_rate(policy->clk, freq->frequency * 1000);
freq              181 drivers/cpufreq/s3c64xx-cpufreq.c 		if (r != freq->frequency) {
freq              183 drivers/cpufreq/s3c64xx-cpufreq.c 				 freq->frequency);
freq              184 drivers/cpufreq/s3c64xx-cpufreq.c 			freq->frequency = CPUFREQ_ENTRY_INVALID;
freq              189 drivers/cpufreq/s3c64xx-cpufreq.c 		if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000)
freq              190 drivers/cpufreq/s3c64xx-cpufreq.c 			freq->frequency = CPUFREQ_ENTRY_INVALID;
freq              102 drivers/cpufreq/s5pv210-cpufreq.c 	unsigned long freq;	/* HZ */
freq              197 drivers/cpufreq/s5pv210-cpufreq.c static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
freq              212 drivers/cpufreq/s5pv210-cpufreq.c 	tmp = s5pv210_dram_conf[ch].freq;
freq              214 drivers/cpufreq/s5pv210-cpufreq.c 	tmp /= freq;
freq              538 drivers/cpufreq/s5pv210-cpufreq.c 	s5pv210_dram_conf[0].freq = clk_get_rate(dmc0_clk);
freq              541 drivers/cpufreq/s5pv210-cpufreq.c 	s5pv210_dram_conf[1].freq = clk_get_rate(dmc1_clk);
freq               54 drivers/cpufreq/scmi-cpufreq.c 	u64 freq = policy->freq_table[index].frequency;
freq               56 drivers/cpufreq/scmi-cpufreq.c 	ret = perf_ops->freq_set(handle, priv->domain_id, freq * 1000, false);
freq               58 drivers/cpufreq/scmi-cpufreq.c 		arch_set_freq_scale(policy->related_cpus, freq,
freq               52 drivers/cpufreq/scpi-cpufreq.c 	unsigned long freq = policy->freq_table[index].frequency;
freq               54 drivers/cpufreq/scpi-cpufreq.c 	u64 rate = freq * 1000;
freq               65 drivers/cpufreq/scpi-cpufreq.c 	arch_set_freq_scale(policy->related_cpus, freq,
freq               35 drivers/cpufreq/sh-cpufreq.c 	unsigned int		freq;
freq               51 drivers/cpufreq/sh-cpufreq.c 	long freq;
freq               59 drivers/cpufreq/sh-cpufreq.c 	freq = clk_round_rate(cpuclk, target->freq * 1000);
freq               61 drivers/cpufreq/sh-cpufreq.c 	if (freq < (policy->min * 1000) || freq > (policy->max * 1000))
freq               64 drivers/cpufreq/sh-cpufreq.c 	dev_dbg(dev, "requested frequency %u Hz\n", target->freq * 1000);
freq               67 drivers/cpufreq/sh-cpufreq.c 	freqs.new	= (freq + 500) / 1000;
freq               71 drivers/cpufreq/sh-cpufreq.c 	clk_set_rate(cpuclk, freq);
freq               74 drivers/cpufreq/sh-cpufreq.c 	dev_dbg(dev, "set frequency %lu Hz\n", freq);
freq               85 drivers/cpufreq/sh-cpufreq.c 	struct cpufreq_target data = { .policy = policy, .freq = target_freq };
freq               25 drivers/crypto/cavium/nitrox/nitrox_debugfs.c 	seq_printf(s, "  Frequency: %d MHz\n", ndev->hw.freq);
freq               83 drivers/crypto/cavium/nitrox/nitrox_dev.h 	int freq;
freq              619 drivers/crypto/cavium/nitrox/nitrox_hal.c 	ndev->hw.freq = (rst_boot.pnr_mul + 3) * PLL_REF_CLK;
freq              644 drivers/crypto/cavium/nitrox/nitrox_hal.c 		 ndev->hw.freq,
freq              645 drivers/crypto/cavium/nitrox/nitrox_hal.c 		 get_feature_option(ndev->hw.zip_cores, ndev->hw.freq),
freq              922 drivers/crypto/hifn_795x.c 	unsigned int freq, m;
freq              933 drivers/crypto/hifn_795x.c 		freq = simple_strtoul(hifn_pll_ref + 3, NULL, 10);
freq              935 drivers/crypto/hifn_795x.c 		freq = 66;
freq              937 drivers/crypto/hifn_795x.c 			 freq, hifn_pll_ref);
freq              940 drivers/crypto/hifn_795x.c 	m = HIFN_PLL_FCK_MAX / freq;
freq              969 drivers/crypto/hifn_795x.c 	dev->pk_clk_freq = 1000000 * (freq + 1) * m / 2;
freq             2641 drivers/crypto/hifn_795x.c 	unsigned int freq;
freq             2659 drivers/crypto/hifn_795x.c 		freq = simple_strtoul(hifn_pll_ref + 3, NULL, 10);
freq             2660 drivers/crypto/hifn_795x.c 		if (freq < 20 || freq > 100) {
freq              106 drivers/devfreq/devfreq.c static int devfreq_get_freq_level(struct devfreq *devfreq, unsigned long freq)
freq              111 drivers/devfreq/devfreq.c 		if (freq == devfreq->profile->freq_table[lev])
freq              121 drivers/devfreq/devfreq.c 	unsigned long freq;
freq              139 drivers/devfreq/devfreq.c 	for (i = 0, freq = 0; i < profile->max_state; i++, freq++) {
freq              140 drivers/devfreq/devfreq.c 		opp = dev_pm_opp_find_freq_ceil(devfreq->dev.parent, &freq);
freq              147 drivers/devfreq/devfreq.c 		profile->freq_table[i] = freq;
freq              158 drivers/devfreq/devfreq.c int devfreq_update_status(struct devfreq *devfreq, unsigned long freq)
freq              179 drivers/devfreq/devfreq.c 	lev = devfreq_get_freq_level(devfreq, freq);
freq              338 drivers/devfreq/devfreq.c 	unsigned long freq, min_freq, max_freq;
freq              351 drivers/devfreq/devfreq.c 	err = devfreq->governor->get_target_freq(devfreq, &freq);
freq              365 drivers/devfreq/devfreq.c 	if (freq < min_freq) {
freq              366 drivers/devfreq/devfreq.c 		freq = min_freq;
freq              369 drivers/devfreq/devfreq.c 	if (freq > max_freq) {
freq              370 drivers/devfreq/devfreq.c 		freq = max_freq;
freq              374 drivers/devfreq/devfreq.c 	return devfreq_set_target(devfreq, freq, flags);
freq              471 drivers/devfreq/devfreq.c 	unsigned long freq;
freq              486 drivers/devfreq/devfreq.c 		!devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq))
freq              487 drivers/devfreq/devfreq.c 		devfreq->previous_freq = freq;
freq             1242 drivers/devfreq/devfreq.c 	unsigned long freq;
freq             1246 drivers/devfreq/devfreq.c 		!devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq))
freq             1247 drivers/devfreq/devfreq.c 		return sprintf(buf, "%lu\n", freq);
freq             1503 drivers/devfreq/devfreq.c 					   unsigned long *freq,
freq             1510 drivers/devfreq/devfreq.c 		opp = dev_pm_opp_find_freq_floor(dev, freq);
freq             1514 drivers/devfreq/devfreq.c 			opp = dev_pm_opp_find_freq_ceil(dev, freq);
freq             1517 drivers/devfreq/devfreq.c 		opp = dev_pm_opp_find_freq_ceil(dev, freq);
freq             1521 drivers/devfreq/devfreq.c 			opp = dev_pm_opp_find_freq_floor(dev, freq);
freq               93 drivers/devfreq/exynos-bus.c static int exynos_bus_target(struct device *dev, unsigned long *freq, u32 flags)
freq              100 drivers/devfreq/exynos-bus.c 	new_opp = devfreq_recommended_opp(dev, freq, flags);
freq              110 drivers/devfreq/exynos-bus.c 	ret = dev_pm_opp_set_rate(dev, *freq);
freq              112 drivers/devfreq/exynos-bus.c 		bus->curr_freq = *freq;
freq               52 drivers/devfreq/governor.h 	int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
freq               67 drivers/devfreq/governor.h extern int devfreq_update_status(struct devfreq *devfreq, unsigned long freq);
freq               16 drivers/devfreq/governor_passive.c 					unsigned long *freq)
freq               31 drivers/devfreq/governor_passive.c 		ret = p_data->get_target_freq(devfreq, freq);
freq               59 drivers/devfreq/governor_passive.c 	opp = devfreq_recommended_opp(parent_devfreq->dev.parent, freq, 0);
freq               72 drivers/devfreq/governor_passive.c 		if (parent_devfreq->profile->freq_table[i] == *freq)
freq               89 drivers/devfreq/governor_passive.c 	*freq = child_freq;
freq               95 drivers/devfreq/governor_passive.c static int update_devfreq_passive(struct devfreq *devfreq, unsigned long freq)
freq              104 drivers/devfreq/governor_passive.c 	ret = devfreq->governor->get_target_freq(devfreq, &freq);
freq              108 drivers/devfreq/governor_passive.c 	ret = devfreq->profile->target(devfreq->dev.parent, &freq, 0);
freq              113 drivers/devfreq/governor_passive.c 		&& (devfreq_update_status(devfreq, freq)))
freq              117 drivers/devfreq/governor_passive.c 	devfreq->previous_freq = freq;
freq              133 drivers/devfreq/governor_passive.c 	unsigned long freq = freqs->new;
freq              137 drivers/devfreq/governor_passive.c 		if (parent->previous_freq > freq)
freq              138 drivers/devfreq/governor_passive.c 			update_devfreq_passive(devfreq, freq);
freq              141 drivers/devfreq/governor_passive.c 		if (parent->previous_freq < freq)
freq              142 drivers/devfreq/governor_passive.c 			update_devfreq_passive(devfreq, freq);
freq               14 drivers/devfreq/governor_performance.c 				    unsigned long *freq)
freq               20 drivers/devfreq/governor_performance.c 	*freq = DEVFREQ_MAX_FREQ;
freq               14 drivers/devfreq/governor_powersave.c 				  unsigned long *freq)
freq               20 drivers/devfreq/governor_powersave.c 	*freq = DEVFREQ_MIN_FREQ;
freq               19 drivers/devfreq/governor_simpleondemand.c 					unsigned long *freq)
freq               46 drivers/devfreq/governor_simpleondemand.c 		*freq = DEVFREQ_MAX_FREQ;
freq               59 drivers/devfreq/governor_simpleondemand.c 		*freq = DEVFREQ_MAX_FREQ;
freq               65 drivers/devfreq/governor_simpleondemand.c 		*freq = DEVFREQ_MAX_FREQ;
freq               72 drivers/devfreq/governor_simpleondemand.c 		*freq = stat->current_frequency;
freq               82 drivers/devfreq/governor_simpleondemand.c 	*freq = (unsigned long) b;
freq               22 drivers/devfreq/governor_userspace.c static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq)
freq               27 drivers/devfreq/governor_userspace.c 		*freq = data->user_frequency;
freq               29 drivers/devfreq/governor_userspace.c 		*freq = df->previous_freq; /* No user freq specified yet */
freq               74 drivers/devfreq/rk3399_dmc.c static int rk3399_dmcfreq_target(struct device *dev, unsigned long *freq,
freq               85 drivers/devfreq/rk3399_dmc.c 	opp = devfreq_recommended_opp(dev, freq, flags);
freq              181 drivers/devfreq/rk3399_dmc.c static int rk3399_dmcfreq_get_cur_freq(struct device *dev, unsigned long *freq)
freq              185 drivers/devfreq/rk3399_dmc.c 	*freq = dmcfreq->rate;
freq               37 drivers/devfreq/tegra20-devfreq.c static int tegra_devfreq_target(struct device *dev, unsigned long *freq,
freq               46 drivers/devfreq/tegra20-devfreq.c 	opp = devfreq_recommended_opp(dev, freq, flags);
freq              449 drivers/devfreq/tegra30-devfreq.c static int tegra_devfreq_target(struct device *dev, unsigned long *freq,
freq              458 drivers/devfreq/tegra30-devfreq.c 	opp = devfreq_recommended_opp(dev, freq, flags);
freq              460 drivers/devfreq/tegra30-devfreq.c 		dev_err(dev, "Failed to find opp for %lu Hz\n", *freq);
freq              520 drivers/devfreq/tegra30-devfreq.c 				     unsigned long *freq)
freq              545 drivers/devfreq/tegra30-devfreq.c 	*freq = target_freq * KHZ;
freq              599 drivers/firmware/arm_scmi/perf.c 	unsigned long freq;
freq              611 drivers/firmware/arm_scmi/perf.c 		freq = opp->perf * dom->mult_factor;
freq              613 drivers/firmware/arm_scmi/perf.c 		ret = dev_pm_opp_add(dev, freq, 0);
freq              615 drivers/firmware/arm_scmi/perf.c 			dev_warn(dev, "failed to add opp %luHz\n", freq);
freq              618 drivers/firmware/arm_scmi/perf.c 				freq = (--opp)->perf * dom->mult_factor;
freq              619 drivers/firmware/arm_scmi/perf.c 				dev_pm_opp_remove(dev, freq);
freq              643 drivers/firmware/arm_scmi/perf.c 			      unsigned long freq, bool poll)
freq              648 drivers/firmware/arm_scmi/perf.c 	return scmi_perf_level_set(handle, domain, freq / dom->mult_factor,
freq              653 drivers/firmware/arm_scmi/perf.c 			      unsigned long *freq, bool poll)
freq              662 drivers/firmware/arm_scmi/perf.c 		*freq = level * dom->mult_factor;
freq              668 drivers/firmware/arm_scmi/perf.c 				   unsigned long *freq, unsigned long *power)
freq              682 drivers/firmware/arm_scmi/perf.c 		if (opp_freq < *freq)
freq              685 drivers/firmware/arm_scmi/perf.c 		*freq = opp_freq;
freq              305 drivers/firmware/arm_scpi.c 		__le32 freq;
freq              607 drivers/firmware/arm_scpi.c 	return t1->freq - t2->freq;
freq              642 drivers/firmware/arm_scpi.c 		opp->freq = le32_to_cpu(buf.opps[i].freq);
freq              696 drivers/firmware/arm_scpi.c 		ret = dev_pm_opp_add(dev, opp->freq, opp->m_volt * 1000);
freq              699 drivers/firmware/arm_scpi.c 				 opp->freq, opp->m_volt);
freq              701 drivers/firmware/arm_scpi.c 				dev_pm_opp_remove(dev, (--opp)->freq);
freq             1614 drivers/firmware/ti_sci.c 				   u32 dev_id, u32 clk_id, u64 *freq)
freq             1625 drivers/firmware/ti_sci.c 	if (!handle || !freq)
freq             1659 drivers/firmware/ti_sci.c 		*freq = resp->freq_hz;
freq               51 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c static void amdgpu_afmt_calc_cts(uint32_t clock, int *CTS, int *N, int freq)
freq               57 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c 	n = 128 * freq;
freq               70 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c 	mul = ((128*freq/1000) + (n-1))/n;
freq               76 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c 	if (n < (128*freq/1500))
freq               78 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c 	if (n > (128*freq/300))
freq               85 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c 		  *N, *CTS, freq);
freq              115 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 			u32 freq,
freq              123 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		freq : freq / 10;
freq              249 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		      freq, *dot_clock_p * 10, *fb_div_p, *frac_fb_div_p,
freq               28 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.h 			 u32 freq,
freq              527 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 				       u32 freq, u8 clk_type, u8 clk_src)
freq              545 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 			args.v2_1.asParam.ulDCEClkFreq = cpu_to_le32(freq); /* 10kHz units */
freq               41 drivers/gpu/drm/amd/amdgpu/atombios_crtc.h 				       u32 freq, u8 clk_type, u8 clk_src);
freq             1377 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 							    SUPPORTED_FREQUENCIES, sad->freq);
freq             1382 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 					stereo_freqs |= sad->freq;
freq             1403 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 							    SUPPORTED_FREQUENCIES, sad->freq);
freq             1408 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 					stereo_freqs |= sad->freq;
freq             1281 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 							SUPPORTED_FREQUENCIES, sad->freq);
freq             1286 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 					stereo_freqs |= sad->freq;
freq             1329 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 					        (sad->freq <<
freq             1335 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 					stereo_freqs |= sad->freq;
freq             2993 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		spll_table->freq[i] = cpu_to_be32(tmp);
freq              350 drivers/gpu/drm/amd/amdgpu/sislands_smc.h     uint32_t    freq[256];
freq              112 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 		edid_caps->audio_modes[i].sample_rate = sad->freq;
freq              700 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	uint32_t freq;
freq              706 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq              710 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(PPCLK_GFXCLK << 16) | (freq & 0xffff));
freq              721 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq              725 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(PPCLK_UCLK << 16) | (freq & 0xffff));
freq              736 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq              740 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(PPCLK_SOCCLK << 16) | (freq & 0xffff));
freq             1192 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		uint32_t freq)
freq             1198 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			((AVFS_CURVE << 24) | (OD8_HOTCURVE_TEMPERATURE << 16) | freq));
freq              815 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	uint32_t level_count = 0, freq = 0;
freq              829 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 			ret = smu_get_dpm_freq_by_index(smu, clk_type, i, &freq);
freq              833 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 			clocks->data[i].clocks_in_khz = freq * 1000;
freq               33 drivers/gpu/drm/amd/powerplay/renoir_ppt.h #define GET_DPM_CUR_FREQ(table, clk_type, dpm_level, freq)		\
freq               37 drivers/gpu/drm/amd/powerplay/renoir_ppt.h 			freq = table->SocClocks[dpm_level].Freq;	\
freq               40 drivers/gpu/drm/amd/powerplay/renoir_ppt.h 			freq = table->FClocks[dpm_level].Freq;	\
freq               43 drivers/gpu/drm/amd/powerplay/renoir_ppt.h 			freq = table->DcfClocks[dpm_level].Freq;	\
freq               46 drivers/gpu/drm/amd/powerplay/renoir_ppt.h 			freq = table->FClocks[dpm_level].Freq;		\
freq             1103 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	uint32_t freq = 0;
freq             1115 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 		ret =  smu_get_current_clk_freq_by_table(smu, clk_id, &freq);
freq             1122 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 		ret = smu_read_smc_arg(smu, &freq);
freq             1127 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	freq *= 100;
freq             1128 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	*value = freq;
freq             1188 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	uint32_t freq;
freq             1196 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq             1200 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(PPCLK_GFXCLK << 16) | (freq & 0xffff));
freq             1211 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq             1215 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(PPCLK_UCLK << 16) | (freq & 0xffff));
freq             1226 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq             1230 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(PPCLK_SOCCLK << 16) | (freq & 0xffff));
freq             1241 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
freq             1245 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(PPCLK_FCLK << 16) | (freq & 0xffff));
freq             1256 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = single_dpm_table->dpm_state.hard_min_level;
freq             1260 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 				(PPCLK_DCEFCLK << 16) | (freq & 0xffff));
freq             1483 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 						     uint32_t freq)
freq             1489 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			((AVFS_CURVE << 24) | (OD8_HOTCURVE_TEMPERATURE << 16) | freq));
freq              480 drivers/gpu/drm/bridge/sii902x.c 	u32 freq;
freq              483 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 32000,	.val = SII902X_TPI_AUDIO_FREQ_32KHZ },
freq              484 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 44000,	.val = SII902X_TPI_AUDIO_FREQ_44KHZ },
freq              485 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 48000,	.val = SII902X_TPI_AUDIO_FREQ_48KHZ },
freq              486 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 88000,	.val = SII902X_TPI_AUDIO_FREQ_88KHZ },
freq              487 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 96000,	.val = SII902X_TPI_AUDIO_FREQ_96KHZ },
freq              488 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 176000,	.val = SII902X_TPI_AUDIO_FREQ_176KHZ },
freq              489 drivers/gpu/drm/bridge/sii902x.c 	{ .freq = 192000,	.val = SII902X_TPI_AUDIO_FREQ_192KHZ },
freq              561 drivers/gpu/drm/bridge/sii902x.c 		if (params->sample_rate == sii902x_sample_freq[i].freq) {
freq              537 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c static unsigned int hdmi_compute_n(unsigned int freq, unsigned long pixel_clk)
freq              539 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	unsigned int n = (128 * freq) / 1000;
freq              542 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	while (freq > 48000) {
freq              544 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		freq /= 2;
freq              547 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	switch (freq) {
freq             4219 drivers/gpu/drm/drm_edid.c 				(*sads)[j].freq = sad[1] & 0x7F;
freq              595 drivers/gpu/drm/exynos/exynos_drm_dsi.c 					unsigned long freq)
freq              605 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	fout = exynos_dsi_pll_find_pms(dsi, fin, freq, &p, &m, &s);
freq             1032 drivers/gpu/drm/exynos/exynos_hdmi.c static void hdmi_reg_acr(struct hdmi_context *hdata, u32 freq)
freq             1036 drivers/gpu/drm/exynos/exynos_hdmi.c 	cts = (freq % 9) ? 27000 : 30000;
freq             1037 drivers/gpu/drm/exynos/exynos_hdmi.c 	n = 128 * freq / (27000000 / cts);
freq              252 drivers/gpu/drm/gma500/intel_bios.h 	u16 freq;
freq               71 drivers/gpu/drm/gma500/psb_device.c 	bl_max_freq = dev_priv->lvds_bl->freq;
freq              263 drivers/gpu/drm/i2c/ch7006_mode.c 	int freq, best_freq = 0;
freq              267 drivers/gpu/drm/i2c/ch7006_mode.c 			freq = CH7006_FREQ0*(n+2)/(m+2);
freq              269 drivers/gpu/drm/i2c/ch7006_mode.c 			if (abs(freq - mode->mode.clock) <
freq              271 drivers/gpu/drm/i2c/ch7006_mode.c 				best_freq = freq;
freq              410 drivers/gpu/drm/i915/display/intel_cdclk.c 	u32 freq = lcpll & LCPLL_CLK_FREQ_MASK;
freq              416 drivers/gpu/drm/i915/display/intel_cdclk.c 	else if (freq == LCPLL_CLK_FREQ_450)
freq              690 drivers/gpu/drm/i915/display/intel_cdclk.c 	u32 freq = lcpll & LCPLL_CLK_FREQ_MASK;
freq              696 drivers/gpu/drm/i915/display/intel_cdclk.c 	else if (freq == LCPLL_CLK_FREQ_450)
freq              698 drivers/gpu/drm/i915/display/intel_cdclk.c 	else if (freq == LCPLL_CLK_FREQ_54O_BDW)
freq              700 drivers/gpu/drm/i915/display/intel_cdclk.c 	else if (freq == LCPLL_CLK_FREQ_337_5_BDW)
freq              114 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	int freq, fxp, fxp_min, fxp_max, fxp_actual, f = 1;
freq              121 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	freq = dev_priv->vbt.backlight.pwm_freq_hz;
freq              122 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	DRM_DEBUG_KMS("VBT defined backlight frequency %u Hz\n", freq);
freq              123 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	if (!freq) {
freq              128 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	fxp = DIV_ROUND_CLOSEST(KHz(DP_EDP_BACKLIGHT_FREQ_BASE_KHZ), freq);
freq              976 drivers/gpu/drm/i915/display/intel_panel.c 	u32 ctl, freq;
freq              984 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
freq              986 drivers/gpu/drm/i915/display/intel_panel.c 		freq /= 0xff;
freq              988 drivers/gpu/drm/i915/display/intel_panel.c 	ctl = freq << 17;
freq             1016 drivers/gpu/drm/i915/display/intel_panel.c 	u32 ctl, ctl2, freq;
freq             1025 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
freq             1027 drivers/gpu/drm/i915/display/intel_panel.c 		freq /= 0xff;
freq             1029 drivers/gpu/drm/i915/display/intel_panel.c 	ctl = freq << 16;
freq              265 drivers/gpu/drm/i915/i915_sysfs.c 	u32 freq;
freq              271 drivers/gpu/drm/i915/i915_sysfs.c 		freq = vlv_punit_read(dev_priv, PUNIT_REG_GPU_FREQ_STS);
freq              274 drivers/gpu/drm/i915/i915_sysfs.c 		freq = (freq >> 8) & 0xff;
freq              276 drivers/gpu/drm/i915/i915_sysfs.c 		freq = intel_get_cagf(dev_priv, I915_READ(GEN6_RPSTAT1));
freq              281 drivers/gpu/drm/i915/i915_sysfs.c 	return snprintf(buf, PAGE_SIZE, "%d\n", intel_gpu_freq(dev_priv, freq));
freq              896 drivers/gpu/drm/i915/i915_trace.h 	    TP_PROTO(u32 freq),
freq              897 drivers/gpu/drm/i915/i915_trace.h 	    TP_ARGS(freq),
freq              900 drivers/gpu/drm/i915/i915_trace.h 			     __field(u32, freq)
freq              904 drivers/gpu/drm/i915/i915_trace.h 			   __entry->freq = freq;
freq              907 drivers/gpu/drm/i915/i915_trace.h 	    TP_printk("new_freq=%u", __entry->freq)
freq              703 drivers/gpu/drm/i915/intel_device_info.c 		u32 freq = 0;
freq              706 drivers/gpu/drm/i915/intel_device_info.c 			freq = read_reference_ts_freq(dev_priv);
freq              708 drivers/gpu/drm/i915/intel_device_info.c 			freq = IS_GEN9_LP(dev_priv) ? f19_2_mhz : f24_mhz;
freq              714 drivers/gpu/drm/i915/intel_device_info.c 			freq >>= 3 - ((ctc_reg & CTC_SHIFT_PARAMETER_MASK) >>
freq              718 drivers/gpu/drm/i915/intel_device_info.c 		return freq;
freq              721 drivers/gpu/drm/i915/intel_device_info.c 		u32 freq = 0;
freq              729 drivers/gpu/drm/i915/intel_device_info.c 			freq = read_reference_ts_freq(dev_priv);
freq              734 drivers/gpu/drm/i915/intel_device_info.c 				freq = gen10_get_crystal_clock_freq(dev_priv,
freq              737 drivers/gpu/drm/i915/intel_device_info.c 				freq = gen11_get_crystal_clock_freq(dev_priv,
freq              744 drivers/gpu/drm/i915/intel_device_info.c 			freq >>= 3 - ((rpm_config_reg &
freq              749 drivers/gpu/drm/i915/intel_device_info.c 		return freq;
freq             6823 drivers/gpu/drm/i915/intel_pm.c 		u8 freq;
freq             6835 drivers/gpu/drm/i915/intel_pm.c 		freq = max(rps->cur_freq,
freq             6839 drivers/gpu/drm/i915/intel_pm.c 				  clamp(freq,
freq             7114 drivers/gpu/drm/i915/intel_pm.c 	u8 freq = rps->cur_freq;
freq             7120 drivers/gpu/drm/i915/intel_pm.c 	if (set(dev_priv, freq))
freq             8078 drivers/gpu/drm/i915/intel_pm.c 	unsigned long freq;
freq             8086 drivers/gpu/drm/i915/intel_pm.c 	freq = ((div * 133333) / ((1<<post) * pre));
freq             8088 drivers/gpu/drm/i915/intel_pm.c 	return freq;
freq             8509 drivers/gpu/drm/i915/intel_pm.c 		unsigned long freq = intel_pxfreq(pxvidfreq);
freq             8515 drivers/gpu/drm/i915/intel_pm.c 		val *= (freq / 1000);
freq              669 drivers/gpu/drm/mediatek/mtk_hdmi.c static unsigned int hdmi_recommended_n(unsigned int freq, unsigned int clock)
freq              680 drivers/gpu/drm/mediatek/mtk_hdmi.c 	switch (freq) {
freq              696 drivers/gpu/drm/mediatek/mtk_hdmi.c 		return (128 * freq) / 1000;
freq              659 drivers/gpu/drm/meson/meson_vclk.c 				       unsigned int freq,
freq              666 drivers/gpu/drm/meson/meson_vclk.c 		*m = meson_hdmi_pll_get_m(priv, freq * *od);
freq              669 drivers/gpu/drm/meson/meson_vclk.c 		*frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od);
freq              672 drivers/gpu/drm/meson/meson_vclk.c 				 freq, *m, *frac, *od);
freq              683 drivers/gpu/drm/meson/meson_vclk.c meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq)
freq              688 drivers/gpu/drm/meson/meson_vclk.c 	freq *= 10;
freq              690 drivers/gpu/drm/meson/meson_vclk.c 	if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od))
freq              726 drivers/gpu/drm/meson/meson_vclk.c meson_vclk_vic_supported_freq(unsigned int freq)
freq              730 drivers/gpu/drm/meson/meson_vclk.c 	DRM_DEBUG_DRIVER("freq = %d\n", freq);
freq              737 drivers/gpu/drm/meson/meson_vclk.c 		if (freq == params[i].pixel_freq)
freq              740 drivers/gpu/drm/meson/meson_vclk.c 		if (freq == FREQ_1000_1001(params[i].pixel_freq))
freq              972 drivers/gpu/drm/meson/meson_vclk.c 	unsigned int freq;
freq             1010 drivers/gpu/drm/meson/meson_vclk.c 	for (freq = 0 ; params[freq].pixel_freq ; ++freq) {
freq             1011 drivers/gpu/drm/meson/meson_vclk.c 		if (vclk_freq == params[freq].pixel_freq ||
freq             1012 drivers/gpu/drm/meson/meson_vclk.c 		    vclk_freq == FREQ_1000_1001(params[freq].pixel_freq)) {
freq             1013 drivers/gpu/drm/meson/meson_vclk.c 			if (vclk_freq != params[freq].pixel_freq)
freq             1018 drivers/gpu/drm/meson/meson_vclk.c 			if (freq == MESON_VCLK_HDMI_ENCI_54000 &&
freq             1022 drivers/gpu/drm/meson/meson_vclk.c 			if (freq == MESON_VCLK_HDMI_DDR_54000 &&
freq             1026 drivers/gpu/drm/meson/meson_vclk.c 			if (freq == MESON_VCLK_HDMI_DDR_148500 &&
freq             1030 drivers/gpu/drm/meson/meson_vclk.c 			if (freq == MESON_VCLK_HDMI_148500 &&
freq             1037 drivers/gpu/drm/meson/meson_vclk.c 	if (!params[freq].pixel_freq) {
freq             1042 drivers/gpu/drm/meson/meson_vclk.c 	meson_vclk_set(priv, params[freq].pll_base_freq,
freq             1043 drivers/gpu/drm/meson/meson_vclk.c 		       params[freq].pll_od1, params[freq].pll_od2,
freq             1044 drivers/gpu/drm/meson/meson_vclk.c 		       params[freq].pll_od3, params[freq].vid_pll_div,
freq             1045 drivers/gpu/drm/meson/meson_vclk.c 		       params[freq].vclk_div, hdmi_tx_div, venc_div,
freq               26 drivers/gpu/drm/meson/meson_vclk.h meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq);
freq               28 drivers/gpu/drm/meson/meson_vclk.h meson_vclk_vic_supported_freq(unsigned int freq);
freq              103 drivers/gpu/drm/msm/adreno/a5xx_power.c static inline uint32_t _get_mvolts(struct msm_gpu *gpu, uint32_t freq)
freq              111 drivers/gpu/drm/msm/adreno/a5xx_power.c 	opp = dev_pm_opp_find_freq_exact(&pdev->dev, freq, true);
freq              129 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	gmu->freq = gmu->gpu_freqs[index];
freq              138 drivers/gpu/drm/msm/adreno/a6xx_gmu.c void a6xx_gmu_set_freq(struct msm_gpu *gpu, unsigned long freq)
freq              145 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	if (freq == gmu->freq)
freq              149 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 		if (freq == gmu->gpu_freqs[perf_index])
freq              161 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	return  gmu->freq;
freq              994 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 					   unsigned long freq)
freq              999 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	if (!freq)
freq             1002 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	opp = dev_pm_opp_find_freq_exact(dev, freq, true);
freq             1115 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	unsigned long freq = 1;
freq             1130 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 		opp = dev_pm_opp_find_freq_ceil(dev, &freq);
freq             1135 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 		freqs[index++] = freq++;
freq               74 drivers/gpu/drm/msm/adreno/a6xx_gmu.h 	unsigned long freq;
freq               59 drivers/gpu/drm/msm/adreno/a6xx_gpu.h void a6xx_gmu_set_freq(struct msm_gpu *gpu, unsigned long freq);
freq              207 drivers/gpu/drm/msm/adreno/a6xx_hfi.c 		msg.gx_votes[i].freq = gmu->gpu_freqs[i] / 1000;
freq              212 drivers/gpu/drm/msm/adreno/a6xx_hfi.c 		msg.cx_votes[i].freq = gmu->gmu_freqs[i] / 1000;
freq               94 drivers/gpu/drm/msm/adreno/a6xx_hfi.h 	u32 freq;
freq              855 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	unsigned long freq = ULONG_MAX;
freq              872 drivers/gpu/drm/msm/adreno/adreno_gpu.c 		opp = dev_pm_opp_find_freq_floor(dev, &freq);
freq              874 drivers/gpu/drm/msm/adreno/adreno_gpu.c 			gpu->fast_rate = freq;
freq               25 drivers/gpu/drm/msm/msm_gpu.c static int msm_devfreq_target(struct device *dev, unsigned long *freq,
freq               31 drivers/gpu/drm/msm/msm_gpu.c 	opp = devfreq_recommended_opp(dev, freq, flags);
freq               37 drivers/gpu/drm/msm/msm_gpu.c 		gpu->funcs->gpu_set_freq(gpu, (u64)*freq);
freq               39 drivers/gpu/drm/msm/msm_gpu.c 		clk_set_rate(gpu->core_clk, *freq);
freq               66 drivers/gpu/drm/msm/msm_gpu.c static int msm_devfreq_get_cur_freq(struct device *dev, unsigned long *freq)
freq               71 drivers/gpu/drm/msm/msm_gpu.c 		*freq = gpu->funcs->gpu_get_freq(gpu);
freq               73 drivers/gpu/drm/msm/msm_gpu.c 		*freq = clk_get_rate(gpu->core_clk);
freq               66 drivers/gpu/drm/msm/msm_gpu.h 	void (*gpu_set_freq)(struct msm_gpu *gpu, unsigned long freq);
freq                5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h 	u16 freq;
freq               19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h 	u32 freq;
freq               29 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h 			u32 freq;
freq               94 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h 	u32 freq;
freq              132 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h 	u32 freq;
freq              156 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h 	int (*calc)(struct nvkm_ram *, u32 freq);
freq               61 drivers/gpu/drm/nouveau/nouveau_led.c 	u32 freq = 100; /* this is what nvidia uses and it should be good-enough */
freq               64 drivers/gpu/drm/nouveau/nouveau_led.c 	div = input_clk / freq;
freq               66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c 		info->freq = nvbios_rd16(bios, data + 0x06);
freq              116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c 		info->freq    = nvbios_rd16(bios, data + 0x00) * 1000;
freq              344 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_prog_pll(struct nvbios_init *init, u32 id, u32 freq)
freq              348 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		int ret = nvkm_devinit_pll_set(devinit, id, freq);
freq              350 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			warn("failed to prog pll 0x%08x to %dkHz\n", id, freq);
freq              703 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		u32 freq = nvbios_rd16(bios, init->offset) * 10;
freq              706 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("\t%dkHz *\n", freq);
freq              708 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 				freq *= 2;
freq              709 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			init_prog_pll(init, reg, freq);
freq              711 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("\t%dkHz\n", freq);
freq              968 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		u32 freq = nvbios_rd32(bios, init->offset);
freq              970 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("\t%dkHz *\n", freq);
freq              971 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			init_prog_pll(init, reg, freq);
freq              973 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("\t%dkHz\n", freq);
freq              989 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u32 freq = nvbios_rd32(bios, init->offset + 5);
freq              991 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("PLL2\tR[0x%06x] =PLL= %dkHz\n", reg, freq);
freq              994 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	init_prog_pll(init, reg, freq);
freq             1311 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u32 freq = (u32)nvbios_rd16(bios, addr) * 1000;
freq             1314 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	      reg, addr, freq);
freq             1317 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	init_prog_pll(init, reg, freq);
freq             1879 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u32 freq = nvbios_rd16(bios, init->offset + 5) * 10;
freq             1881 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("PLL\tR[0x%06x] =PLL= %dkHz\n", reg, freq);
freq             1884 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	init_prog_pll(init, reg, freq);
freq             1924 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		u32 freq = nvbios_rd32(bios, init->offset);
freq             1927 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("%dkHz *\n", freq);
freq             1928 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			init_prog_pll(init, type, freq);
freq             1930 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("%dkHz\n", freq);
freq              193 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		info->v40.freq = (nvbios_rd16(bios, data + 0x00) & 0x3fff) * 1000;
freq               88 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			u32 freq = cstate->domain[domain->name];
freq               91 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 				if (clk->base_khz && freq > clk->base_khz)
freq               95 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 				if (clk->boost_khz && freq > clk->boost_khz)
freq              250 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			u32 freq = nvkm_clk_adjust(clk, true, pstate->pstate,
freq              251 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 						   domain->bios, cstepX.freq);
freq              252 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			cstate->domain[domain->name] = freq;
freq              365 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			u32 freq = cstate->domain[clock->name];
freq              366 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			lo = min(lo, freq);
freq              367 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			hi = max(hi, freq);
freq              368 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_debug(subdev, "%10d KHz\n", freq);
freq              445 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			perfS.v40.freq = nvkm_clk_adjust(clk, false,
freq              448 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 							 perfS.v40.freq);
freq              451 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 		cstate->domain[domain->name] = perfS.v40.freq;
freq               33 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	u32 freq;
freq              210 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c calc_div(struct gf100_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv)
freq              212 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	u32 div = min((ref * 2) / freq, (u32)65);
freq              221 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c calc_src(struct gf100_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv)
freq              227 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	switch (freq) {
freq              231 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		if (freq == 108000)
freq              233 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		return freq;
freq              236 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		return freq;
freq              245 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		sclk = calc_div(clk, idx, sclk, freq, ddiv);
freq              250 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef)
freq              265 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
freq              277 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	u32 freq = cstate->domain[dom];
freq              282 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	if (!freq)
freq              286 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	clk0 = calc_src(clk, idx, freq, &src0, &div0);
freq              287 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	clk0 = calc_div(clk, idx, clk0, freq, &div1D);
freq              290 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	if (clk0 != freq && (0x00004387 & (1 << idx))) {
freq              292 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 			clk1 = calc_pll(clk, idx, freq, &info->coef);
freq              295 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		clk1 = calc_div(clk, idx, clk1, freq, &div1P);
freq              299 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	if (abs((int)freq - clk0) <= abs((int)freq - clk1)) {
freq              311 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		info->freq = clk0;
freq              318 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		info->freq = clk1;
freq              432 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 			if (!clk->eng[j].freq)
freq               33 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	u32 freq;
freq              223 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c calc_div(struct gk104_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv)
freq              225 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	u32 div = min((ref * 2) / freq, (u32)65);
freq              234 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv)
freq              240 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	switch (freq) {
freq              244 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		if (freq == 108000)
freq              246 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		return freq;
freq              249 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		return freq;
freq              258 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		sclk = calc_div(clk, idx, sclk, freq, ddiv);
freq              263 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef)
freq              278 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
freq              291 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	u32 freq = cstate->domain[dom];
freq              296 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	if (!freq)
freq              300 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	clk0 = calc_src(clk, idx, freq, &src0, &div0);
freq              301 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	clk0 = calc_div(clk, idx, clk0, freq, &div1D);
freq              304 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	if (clk0 != freq && (0x0000ff87 & (1 << idx))) {
freq              306 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 			clk1 = calc_pll(clk, idx, freq, &info->coef);
freq              309 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		clk1 = calc_div(clk, idx, clk1, freq, &div1P);
freq              313 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	if (abs((int)freq - clk0) <= abs((int)freq - clk1)) {
freq              324 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		info->freq = clk0;
freq              332 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		info->freq = clk1;
freq              469 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 			if (!clk->eng[j].freq)
freq              165 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	u32 freq = 0;
freq              179 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		freq = ref * N1 / M1;
freq              182 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 				freq = freq * N2 / M2;
freq              184 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 				freq = 0;
freq              188 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	return freq;
freq              381 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	int freq, out;
freq              399 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		freq = calc_div(core, vdec, &P1);
freq              409 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		if (abs(vdec - freq) <= abs(vdec - out)) {
freq              432 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 			freq = nvkm_clk_read(&clk->base, nv_clk_src_hclk) * 3;
freq              433 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 			calc_div(freq, dom6, &P1);
freq              459 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	freq = calc_pll(clk, 0x4028, core, &N, &M, &P1);
freq              460 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	if (freq == 0)
freq              477 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		freq = calc_pll(clk, 0x4020, shader, &N, &M, &P1);
freq              478 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		if (freq == 0)
freq                8 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pll.h int nv04_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
freq               10 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pll.h int gt215_pll_calc(struct nvkm_subdev *, struct nvbios_pll *, u32 freq,
freq               31 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 	       u32 freq, int *pN, int *pfN, int *pM, int *P)
freq               36 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 	*P = info->vco1.max_freq / freq;
freq               49 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 		u32 tmp = freq * *P * M;
freq               67 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 		err = abs(freq - (info->refclk * N / M / *P));
freq               77 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 			return freq;
freq              227 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c nv04_pll_calc(struct nvkm_subdev *subdev, struct nvbios_pll *info, u32 freq,
freq              233 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 		ret = getMNP_single(subdev, info, freq, N1, M1, P);
freq              239 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 		ret = getMNP_double(subdev, info, freq, N1, M1, N2, M2, P);
freq               32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c gf100_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq)
freq               44 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
freq               58 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
freq               32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c gt215_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq)
freq               44 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
freq               57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
freq               29 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c gv100_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq)
freq               42 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
freq               57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
freq              356 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nv04_devinit_pll_set(struct nvkm_devinit *devinit, u32 type, u32 freq)
freq              370 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P);
freq               35 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nv50_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq)
freq               50 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P);
freq               14 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/priv.h 	int  (*pll_set)(struct nvkm_devinit *, u32 type, u32 freq);
freq               29 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c tu102_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq)
freq               42 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
freq               60 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
freq               39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.c 	int rq = ram->freq < 1000000; /* XXX */
freq              127 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_calc(struct nvkm_ram *base, u32 freq)
freq              147 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	rammap.data = nvbios_rammapEm(bios, freq / 1000, &ver, &rammap.size,
freq              192 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	div = max(min((ref * 2) / freq, (u32)65), (u32)2) - 2;
freq              194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	mode = freq != out;
freq              230 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		ret = gt215_pll_calc(subdev, &ram->mempll, freq,
freq              252 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_calc_gddr5(struct gk104_ram *ram, u32 freq)
freq              700 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_calc_sddr3(struct gk104_ram *ram, u32 freq)
freq              972 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			data->freq = khz;
freq             1052 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	ram->mode = (next->freq > fuc->refpll.vco1.max_freq) ? 2 : 1;
freq             1063 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	refclk = next->freq;
freq             1065 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal,
freq             1074 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 				" (refclock: %i kHz)\n", next->freq, ret);
freq             1090 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	ram->base.freq = next->freq;
freq             1096 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			ret = gk104_ram_calc_sddr3(ram, next->freq);
freq             1101 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			ret = gk104_ram_calc_gddr5(ram, next->freq);
freq             1112 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_calc(struct nvkm_ram *base, u32 freq)
freq             1127 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gk104_ram_calc_data(ram, freq, &ram->base.target);
freq             1131 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		if (ram->base.target.freq < ram->base.former.freq) {
freq             1155 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_prog_0(struct gk104_ram *ram, u32 freq)
freq             1159 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	u32 mhz = freq / 1000;
freq             1245 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	gk104_ram_prog_0(ram, next->freq);
freq              182 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	if (M0205T.freq == 0) {
freq              194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000);
freq              492 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c gt215_ram_calc(struct nvkm_ram *base, u32 freq)
freq              512 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	next->freq = freq;
freq              519 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	data = nvbios_rammapEm(bios, freq / 1000, &ver, &hdr, &cnt, &len,
freq              551 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	ret = gt215_pll_info(device->clk, 0x12, 0x4000, freq, &mclk);
freq              587 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	if (freq <= 750000) {
freq              657 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	if (device->chipset == 0xa3 && freq <= 500000)
freq              732 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	if (device->chipset == 0xa3 && freq > 500000) {
freq               34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c nv40_ram_calc(struct nvkm_ram *base, u32 freq)
freq               49 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	ret = nv04_pll_calc(subdev, &pll, freq, &N1, &M1, &N2, &M2, &log2P);
freq              219 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c nv50_ram_calc(struct nvkm_ram *base, u32 freq)
freq              236 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	next->freq = freq;
freq              249 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	} while (perfE.memory < freq);
freq              331 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		ret = nv04_pll_calc(subdev, &mpll, freq,
freq              341 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	if (freq <= 750000) {
freq               18 drivers/gpu/drm/panfrost/panfrost_devfreq.c static int panfrost_devfreq_target(struct device *dev, unsigned long *freq,
freq               27 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	opp = devfreq_recommended_opp(dev, freq, flags);
freq              120 drivers/gpu/drm/panfrost/panfrost_devfreq.c static int panfrost_devfreq_get_cur_freq(struct device *dev, unsigned long *freq)
freq              124 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	*freq = pfdev->devfreq.cur_freq;
freq               99 drivers/gpu/drm/radeon/dce3_1_afmt.c 						SUPPORTED_FREQUENCIES(sad->freq);
freq              104 drivers/gpu/drm/radeon/dce3_1_afmt.c 					stereo_freqs |= sad->freq;
freq              240 drivers/gpu/drm/radeon/dce6_afmt.c 						SUPPORTED_FREQUENCIES(sad->freq);
freq              245 drivers/gpu/drm/radeon/dce6_afmt.c 					stereo_freqs |= sad->freq;
freq              188 drivers/gpu/drm/radeon/evergreen_hdmi.c 						SUPPORTED_FREQUENCIES(sad->freq);
freq              193 drivers/gpu/drm/radeon/evergreen_hdmi.c 					stereo_freqs |= sad->freq;
freq             2142 drivers/gpu/drm/radeon/ni_dpm.c 		spll_table->freq[i] = cpu_to_be32(tmp);
freq              299 drivers/gpu/drm/radeon/nislands_smc.h     uint32_t    freq[256];
freq             1362 drivers/gpu/drm/radeon/radeon_atombios.c 			tmds->tmds_pll[i].freq =
freq             1377 drivers/gpu/drm/radeon/radeon_atombios.c 				  tmds->tmds_pll[i].freq,
freq             1380 drivers/gpu/drm/radeon/radeon_atombios.c 			if (maxfreq == tmds->tmds_pll[i].freq) {
freq             1381 drivers/gpu/drm/radeon/radeon_atombios.c 				tmds->tmds_pll[i].freq = 0xffffffff;
freq              549 drivers/gpu/drm/radeon/radeon_audio.c static void radeon_audio_calc_cts(unsigned int clock, int *CTS, int *N, int freq)
freq              555 drivers/gpu/drm/radeon/radeon_audio.c 	n = 128 * freq;
freq              568 drivers/gpu/drm/radeon/radeon_audio.c 	mul = ((128*freq/1000) + (n-1))/n;
freq              574 drivers/gpu/drm/radeon/radeon_audio.c 	if (n < (128*freq/1500))
freq              576 drivers/gpu/drm/radeon/radeon_audio.c 	if (n > (128*freq/300))
freq              583 drivers/gpu/drm/radeon/radeon_audio.c 		*N, *CTS, freq);
freq             1327 drivers/gpu/drm/radeon/radeon_combios.c 		tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq;
freq             1354 drivers/gpu/drm/radeon/radeon_combios.c 				tmds->tmds_pll[i].freq =
freq             1357 drivers/gpu/drm/radeon/radeon_combios.c 					  tmds->tmds_pll[i].freq,
freq             1368 drivers/gpu/drm/radeon/radeon_combios.c 				tmds->tmds_pll[i].freq =
freq             1375 drivers/gpu/drm/radeon/radeon_combios.c 					  tmds->tmds_pll[i].freq,
freq              956 drivers/gpu/drm/radeon/radeon_display.c 			      u32 freq,
freq              964 drivers/gpu/drm/radeon/radeon_display.c 		freq : freq / 10;
freq             1093 drivers/gpu/drm/radeon/radeon_display.c 		      freq, *dot_clock_p * 10, *fb_div_p, *frac_fb_div_p,
freq             1109 drivers/gpu/drm/radeon/radeon_display.c 			       uint64_t freq,
freq             1133 drivers/gpu/drm/radeon/radeon_display.c 	DRM_DEBUG_KMS("PLL freq %llu %u %u\n", freq, pll->min_ref_div, pll->max_ref_div);
freq             1134 drivers/gpu/drm/radeon/radeon_display.c 	freq = freq * 1000;
freq             1225 drivers/gpu/drm/radeon/radeon_display.c 						if (freq < current_freq)
freq             1228 drivers/gpu/drm/radeon/radeon_display.c 							error = freq - current_freq;
freq             1230 drivers/gpu/drm/radeon/radeon_display.c 						error = abs(current_freq - freq);
freq             1244 drivers/gpu/drm/radeon/radeon_display.c 					} else if (current_freq == freq) {
freq             1268 drivers/gpu/drm/radeon/radeon_display.c 					if (current_freq < freq)
freq             1273 drivers/gpu/drm/radeon/radeon_display.c 				if (current_freq < freq)
freq             1287 drivers/gpu/drm/radeon/radeon_display.c 		      (long long)freq,
freq              743 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 	uint32_t freq = 0;
freq              819 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 					  &freq, &feedback_div, &frac_fb_div,
freq              831 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 			  (unsigned)freq,
freq              806 drivers/gpu/drm/radeon/radeon_legacy_encoders.c 			if (tmds->tmds_pll[i].freq == 0)
freq              808 drivers/gpu/drm/radeon/radeon_legacy_encoders.c 			if ((uint32_t)(mode->clock / 10) < tmds->tmds_pll[i].freq) {
freq              142 drivers/gpu/drm/radeon/radeon_mode.h     uint32_t freq;
freq              816 drivers/gpu/drm/radeon/radeon_mode.h 				      uint64_t freq,
freq              824 drivers/gpu/drm/radeon/radeon_mode.h 				     u32 freq,
freq             2895 drivers/gpu/drm/radeon/si_dpm.c 		spll_table->freq[i] = cpu_to_be32(tmp);
freq              350 drivers/gpu/drm/radeon/sislands_smc.h     uint32_t    freq[256];
freq               48 drivers/gpu/drm/rcar-du/rcar_lvds.c 	void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq);
freq              149 drivers/gpu/drm/rcar-du/rcar_lvds.c static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq)
freq              153 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (freq < 39000000)
freq              155 drivers/gpu/drm/rcar-du/rcar_lvds.c 	else if (freq < 61000000)
freq              157 drivers/gpu/drm/rcar-du/rcar_lvds.c 	else if (freq < 121000000)
freq              165 drivers/gpu/drm/rcar-du/rcar_lvds.c static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq)
freq              169 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (freq < 42000000)
freq              171 drivers/gpu/drm/rcar-du/rcar_lvds.c 	else if (freq < 85000000)
freq              173 drivers/gpu/drm/rcar-du/rcar_lvds.c 	else if (freq < 128000000)
freq              322 drivers/gpu/drm/rcar-du/rcar_lvds.c 					unsigned int freq, bool dot_clock_only)
freq              327 drivers/gpu/drm/rcar-du/rcar_lvds.c 	rcar_lvds_d3_e3_pll_calc(lvds, lvds->clocks.dotclkin[0], freq, &pll,
freq              329 drivers/gpu/drm/rcar-du/rcar_lvds.c 	rcar_lvds_d3_e3_pll_calc(lvds, lvds->clocks.dotclkin[1], freq, &pll,
freq              331 drivers/gpu/drm/rcar-du/rcar_lvds.c 	rcar_lvds_d3_e3_pll_calc(lvds, lvds->clocks.extal, freq, &pll,
freq              357 drivers/gpu/drm/rcar-du/rcar_lvds.c static void rcar_lvds_pll_setup_d3_e3(struct rcar_lvds *lvds, unsigned int freq)
freq              359 drivers/gpu/drm/rcar-du/rcar_lvds.c 	__rcar_lvds_pll_setup_d3_e3(lvds, freq, false);
freq              366 drivers/gpu/drm/rcar-du/rcar_lvds.c int rcar_lvds_clk_enable(struct drm_bridge *bridge, unsigned long freq)
freq              374 drivers/gpu/drm/rcar-du/rcar_lvds.c 	dev_dbg(lvds->dev, "enabling LVDS PLL, freq=%luHz\n", freq);
freq              380 drivers/gpu/drm/rcar-du/rcar_lvds.c 	__rcar_lvds_pll_setup_d3_e3(lvds, freq, true);
freq               16 drivers/gpu/drm/rcar-du/rcar_lvds.h int rcar_lvds_clk_enable(struct drm_bridge *bridge, unsigned long freq);
freq               21 drivers/gpu/drm/rcar-du/rcar_lvds.h 				       unsigned long freq)
freq              730 drivers/hwmon/adt7470.c 	long freq;
freq              735 drivers/hwmon/adt7470.c 	if (kstrtol(buf, 10, &freq))
freq              739 drivers/hwmon/adt7470.c 	index = find_closest(freq, adt7470_freq_map,
freq             1162 drivers/hwmon/it87.c 	unsigned int freq;
freq             1170 drivers/hwmon/it87.c 	freq = pwm_freq[index] / (has_newer_autopwm(data) ? 256 : 128);
freq             1172 drivers/hwmon/it87.c 	return sprintf(buf, "%u\n", freq);
freq              201 drivers/hwmon/lm85.c 		       unsigned int map_size, unsigned long freq)
freq              203 drivers/hwmon/lm85.c 	return find_closest(freq, map, map_size);
freq              782 drivers/hwmon/lm85.c 	int freq;
freq              785 drivers/hwmon/lm85.c 		freq = 22500;
freq              787 drivers/hwmon/lm85.c 		freq = FREQ_FROM_REG(data->freq_map, data->freq_map_size,
freq              790 drivers/hwmon/lm85.c 	return sprintf(buf, "%d\n", freq);
freq              576 drivers/hwmon/lm93.c static int LM93_PWM_FROM_REG(u8 reg, enum pwm_freq freq)
freq              578 drivers/hwmon/lm93.c 	return lm93_pwm_map[freq][reg & 0x0f];
freq              582 drivers/hwmon/lm93.c static u8 LM93_PWM_TO_REG(int pwm, enum pwm_freq freq)
freq              586 drivers/hwmon/lm93.c 		if (pwm <= lm93_pwm_map[freq][i])
freq              632 drivers/hwmon/lm93.c static u8 LM93_PWM_FREQ_TO_REG(int freq)
freq              636 drivers/hwmon/lm93.c 		if (freq <= lm93_pwm_freq_map[i])
freq              315 drivers/hwmon/occ/common.c 	struct freq_sensor_1 *freq;
freq              324 drivers/hwmon/occ/common.c 	freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index;
freq              328 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&freq->sensor_id);
freq              331 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&freq->value);
freq              345 drivers/hwmon/occ/common.c 	struct freq_sensor_2 *freq;
freq              354 drivers/hwmon/occ/common.c 	freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index;
freq              358 drivers/hwmon/occ/common.c 		val = get_unaligned_be32(&freq->sensor_id);
freq              361 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&freq->value);
freq              752 drivers/hwmon/occ/common.c 	switch (sensors->freq.version) {
freq              757 drivers/hwmon/occ/common.c 		num_attrs += (sensors->freq.num_sensors * 2);
freq              760 drivers/hwmon/occ/common.c 		sensors->freq.num_sensors = 0;
freq              850 drivers/hwmon/occ/common.c 	for (i = 0; i < sensors->freq.num_sensors; ++i) {
freq             1052 drivers/hwmon/occ/common.c 			sensor = &sensors->freq;
freq               76 drivers/hwmon/occ/common.h 	struct occ_sensor freq;
freq              286 drivers/hwmon/w83627hf.c 	unsigned long freq;
freq              287 drivers/hwmon/w83627hf.c 	freq = W83627HF_BASE_PWM_FREQ >> reg;
freq              288 drivers/hwmon/w83627hf.c 	return freq;
freq               88 drivers/hwtracing/intel_th/gth.c 			    unsigned int freq)
freq               96 drivers/hwtracing/intel_th/gth.c 	val |= freq << shift;
freq              101 drivers/i2c/busses/i2c-cpm.c 	int freq;
freq              502 drivers/i2c/busses/i2c-cpm.c 		cpm->freq = *data;
freq              504 drivers/i2c/busses/i2c-cpm.c 		cpm->freq = 60000; /* use 60kHz i2c clock by default */
freq              549 drivers/i2c/busses/i2c-cpm.c 		cpm->i2c_ram, cpm->i2c_addr, cpm->freq);
freq              566 drivers/i2c/busses/i2c-cpm.c 	brg = get_brgfreq() / (32 * 2 * cpm->freq) - 3;
freq               93 drivers/i2c/busses/i2c-hix5hd2.c 	unsigned int freq;
freq              131 drivers/i2c/busses/i2c-hix5hd2.c 	rate = priv->freq;
freq              394 drivers/i2c/busses/i2c-hix5hd2.c 	unsigned int freq;
freq              401 drivers/i2c/busses/i2c-hix5hd2.c 	if (of_property_read_u32(np, "clock-frequency", &freq)) {
freq              403 drivers/i2c/busses/i2c-hix5hd2.c 		priv->freq = 100000;
freq              405 drivers/i2c/busses/i2c-hix5hd2.c 		if (freq > HIX5I2C_MAX_FREQ) {
freq              406 drivers/i2c/busses/i2c-hix5hd2.c 			priv->freq = HIX5I2C_MAX_FREQ;
freq              410 drivers/i2c/busses/i2c-hix5hd2.c 			priv->freq = freq;
freq              693 drivers/i2c/busses/i2c-ibm_iic.c 	const u32 *freq;
freq              721 drivers/i2c/busses/i2c-ibm_iic.c 	freq = of_get_property(np, "clock-frequency", NULL);
freq              722 drivers/i2c/busses/i2c-ibm_iic.c 	if (freq == NULL) {
freq              723 drivers/i2c/busses/i2c-ibm_iic.c 		freq = of_get_property(np->parent, "clock-frequency", NULL);
freq              724 drivers/i2c/busses/i2c-ibm_iic.c 		if (freq == NULL) {
freq              731 drivers/i2c/busses/i2c-ibm_iic.c 	dev->clckdiv = iic_clckdiv(*freq);
freq              130 drivers/i2c/busses/i2c-meson.c static void meson_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq)
freq              135 drivers/i2c/busses/i2c-meson.c 	div = DIV_ROUND_UP(clk_rate, freq * i2c->data->div_factor);
freq              150 drivers/i2c/busses/i2c-meson.c 		clk_rate, freq, div);
freq              773 drivers/i2c/busses/i2c-mv64xxx.c 	int freq, delta, best_delta = INT_MAX;
freq              778 drivers/i2c/busses/i2c-mv64xxx.c 			freq = mv64xxx_calc_freq(drv_data, tclk, n, m);
freq              779 drivers/i2c/busses/i2c-mv64xxx.c 			delta = req_freq - freq;
freq             1385 drivers/i2c/busses/i2c-omap.c 		u32 freq = 100000; /* default to 100000 Hz */
freq             1390 drivers/i2c/busses/i2c-omap.c 		of_property_read_u32(node, "clock-frequency", &freq);
freq             1392 drivers/i2c/busses/i2c-omap.c 		omap->speed = freq / 1000;
freq              645 drivers/i2c/busses/i2c-pnx.c 	unsigned long freq;
freq              695 drivers/i2c/busses/i2c-pnx.c 	freq = clk_get_rate(alg_data->clk);
freq              708 drivers/i2c/busses/i2c-pnx.c 	tmp = (freq / speed) / 2 - 2;
freq               69 drivers/i2c/busses/i2c-qcom-geni.c #define KHZ(freq)		(1000 * freq)
freq              835 drivers/i2c/busses/i2c-s3c2410.c 	int freq;
freq              846 drivers/i2c/busses/i2c-s3c2410.c 	freq = s3c24xx_i2c_calcdivisor(clkin, target_frequency, &div1, &divs);
freq              848 drivers/i2c/busses/i2c-s3c2410.c 	if (freq > target_frequency) {
freq              851 drivers/i2c/busses/i2c-s3c2410.c 			" Lowest achievable %dKHz\n", target_frequency, freq);
freq              855 drivers/i2c/busses/i2c-s3c2410.c 	*got = freq;
freq              980 drivers/i2c/busses/i2c-s3c2410.c 	unsigned int freq;
freq              997 drivers/i2c/busses/i2c-s3c2410.c 	if (s3c24xx_i2c_clockrate(i2c, &freq) != 0) {
freq             1004 drivers/i2c/busses/i2c-s3c2410.c 	dev_info(i2c->dev, "bus frequency set to %d KHz\n", freq);
freq              316 drivers/i2c/busses/i2c-sprd.c static void sprd_i2c_set_clk(struct sprd_i2c *i2c_dev, u32 freq)
freq              323 drivers/i2c/busses/i2c-sprd.c 	u32 i2c_dvd = apb_clk / (4 * freq) - 1;
freq              340 drivers/i2c/busses/i2c-sprd.c 	if (freq == 400000)
freq              342 drivers/i2c/busses/i2c-sprd.c 	else if (freq == 100000)
freq              153 drivers/i2c/busses/i2c-stm32f4.c 	u32 freq;
freq              157 drivers/i2c/busses/i2c-stm32f4.c 	freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ);
freq              165 drivers/i2c/busses/i2c-stm32f4.c 		if (freq < STM32F4_I2C_MIN_STANDARD_FREQ ||
freq              166 drivers/i2c/busses/i2c-stm32f4.c 		    freq > STM32F4_I2C_MAX_FREQ) {
freq              177 drivers/i2c/busses/i2c-stm32f4.c 		if (freq < STM32F4_I2C_MIN_FAST_FREQ ||
freq              178 drivers/i2c/busses/i2c-stm32f4.c 		    freq > STM32F4_I2C_MAX_FREQ) {
freq              185 drivers/i2c/busses/i2c-stm32f4.c 	cr2 |= STM32F4_I2C_CR2_FREQ(freq);
freq              193 drivers/i2c/busses/i2c-stm32f4.c 	u32 freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ);
freq              217 drivers/i2c/busses/i2c-stm32f4.c 		trise = freq + 1;
freq              219 drivers/i2c/busses/i2c-stm32f4.c 		trise = freq * 3 / 10 + 1;
freq              465 drivers/i2c/busses/i2c-xlp9xx.c 	u32 freq;
freq              477 drivers/i2c/busses/i2c-xlp9xx.c 	err = device_property_read_u32(&pdev->dev, "clock-frequency", &freq);
freq              479 drivers/i2c/busses/i2c-xlp9xx.c 		freq = XLP9XX_I2C_DEFAULT_FREQ;
freq              480 drivers/i2c/busses/i2c-xlp9xx.c 		dev_dbg(&pdev->dev, "using default frequency %u\n", freq);
freq              481 drivers/i2c/busses/i2c-xlp9xx.c 	} else if (freq == 0 || freq > XLP9XX_I2C_HIGH_FREQ) {
freq              483 drivers/i2c/busses/i2c-xlp9xx.c 			 freq);
freq              484 drivers/i2c/busses/i2c-xlp9xx.c 		freq = XLP9XX_I2C_DEFAULT_FREQ;
freq              486 drivers/i2c/busses/i2c-xlp9xx.c 	priv->clk_hz = freq;
freq              695 drivers/iio/accel/mma9551_core.c void mma9551_sleep(int freq)
freq              697 drivers/iio/accel/mma9551_core.c 	int sleep_val = 1000 / freq;
freq               66 drivers/iio/accel/mma9551_core.h void mma9551_sleep(int freq);
freq              293 drivers/iio/adc/ad7768-1.c 			   unsigned int freq)
freq              301 drivers/iio/adc/ad7768-1.c 	res = DIV_ROUND_CLOSEST(st->mclk_freq, freq);
freq              338 drivers/iio/adc/ad7768-1.c 	unsigned int freq;
freq              342 drivers/iio/adc/ad7768-1.c 		freq = DIV_ROUND_CLOSEST(st->mclk_freq,
freq              344 drivers/iio/adc/ad7768-1.c 		len += scnprintf(buf + len, PAGE_SIZE - len, "%d ", freq);
freq             1157 drivers/iio/adc/at91-sama5d2_adc.c static void at91_adc_setup_samp_freq(struct at91_adc_state *st, unsigned freq)
freq             1163 drivers/iio/adc/at91-sama5d2_adc.c 	prescal = (f_per / (2 * freq)) - 1;
freq             1166 drivers/iio/adc/at91-sama5d2_adc.c 					freq / 1000);
freq             1175 drivers/iio/adc/at91-sama5d2_adc.c 		freq, startup, prescal);
freq             1176 drivers/iio/adc/at91-sama5d2_adc.c 	st->current_sample_rate = freq;
freq              421 drivers/iio/frequency/ad9523.c 			      unsigned int ch, unsigned long freq)
freq              429 drivers/iio/frequency/ad9523.c 		use_alt_clk_src = (freq == st->vco_out_freq[AD9523_VCXO]);
freq              432 drivers/iio/frequency/ad9523.c 		tmp1 = st->vco_out_freq[AD9523_VCO1] / freq;
freq              433 drivers/iio/frequency/ad9523.c 		tmp2 = st->vco_out_freq[AD9523_VCO2] / freq;
freq              434 drivers/iio/frequency/ad9523.c 		tmp1 *= freq;
freq              435 drivers/iio/frequency/ad9523.c 		tmp2 *= freq;
freq              436 drivers/iio/frequency/ad9523.c 		use_alt_clk_src = (abs(tmp1 - freq) > abs(tmp2 - freq));
freq              129 drivers/iio/frequency/adf4350.c static int adf4350_set_freq(struct adf4350_state *st, unsigned long long freq)
freq              137 drivers/iio/frequency/adf4350.c 	if (freq > ADF4350_MAX_OUT_FREQ || freq < st->min_out_freq)
freq              140 drivers/iio/frequency/adf4350.c 	if (freq > ADF4350_MAX_FREQ_45_PRESC) {
freq              150 drivers/iio/frequency/adf4350.c 	while (freq < ADF4350_MIN_VCO_FREQ) {
freq              151 drivers/iio/frequency/adf4350.c 		freq <<= 1;
freq              177 drivers/iio/frequency/adf4350.c 		tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1);
freq              197 drivers/iio/frequency/adf4350.c 		freq, st->fpfd, r_cnt, st->r0_int, st->r0_fract, st->r1_mod,
freq              239 drivers/iio/frequency/adf4350.c 	st->freq_req = freq;
freq               78 drivers/iio/frequency/adf4371.c #define ADF4371_CHECK_RANGE(freq, range) \
freq               79 drivers/iio/frequency/adf4371.c 	((freq > ADF4371_MAX_ ## range) || (freq < ADF4371_MIN_ ## range))
freq              236 drivers/iio/frequency/adf4371.c static int adf4371_set_freq(struct adf4371_state *st, unsigned long long freq,
freq              246 drivers/iio/frequency/adf4371.c 		if (ADF4371_CHECK_RANGE(freq, OUT_RF8_FREQ))
freq              251 drivers/iio/frequency/adf4371.c 		while (freq < ADF4371_MIN_VCO_FREQ) {
freq              252 drivers/iio/frequency/adf4371.c 			freq <<= 1;
freq              258 drivers/iio/frequency/adf4371.c 		if (ADF4371_CHECK_RANGE(freq, OUT_RF16_FREQ))
freq              261 drivers/iio/frequency/adf4371.c 		freq >>= 1;
freq              265 drivers/iio/frequency/adf4371.c 		if (ADF4371_CHECK_RANGE(freq, OUT_RF32_FREQ))
freq              268 drivers/iio/frequency/adf4371.c 		freq >>= 2;
freq              274 drivers/iio/frequency/adf4371.c 	adf4371_pll_fract_n_compute(freq, st->fpfd, &st->integer, &st->fract1,
freq              373 drivers/iio/frequency/adf4371.c 	unsigned long long freq;
freq              381 drivers/iio/frequency/adf4371.c 		ret = kstrtoull(buf, 10, &freq);
freq              385 drivers/iio/frequency/adf4371.c 		ret = adf4371_set_freq(st, freq, chan->channel);
freq              173 drivers/iio/gyro/adis16136.c static int adis16136_set_freq(struct adis16136 *adis16136, unsigned int freq)
freq              177 drivers/iio/gyro/adis16136.c 	t = 32768 / freq;
freq              188 drivers/iio/gyro/adis16136.c static int adis16136_get_freq(struct adis16136 *adis16136, unsigned int *freq)
freq              197 drivers/iio/gyro/adis16136.c 	*freq = 32768 / (t + 1);
freq              227 drivers/iio/gyro/adis16136.c 	unsigned int freq;
freq              230 drivers/iio/gyro/adis16136.c 	ret = adis16136_get_freq(adis16136, &freq);
freq              234 drivers/iio/gyro/adis16136.c 	return sprintf(buf, "%d\n", freq);
freq              255 drivers/iio/gyro/adis16136.c 	unsigned int freq;
freq              258 drivers/iio/gyro/adis16136.c 	ret = adis16136_get_freq(adis16136, &freq);
freq              263 drivers/iio/gyro/adis16136.c 		if (freq / adis16136_3db_divisors[i] >= val)
freq              273 drivers/iio/gyro/adis16136.c 	unsigned int freq;
freq              283 drivers/iio/gyro/adis16136.c 	ret = adis16136_get_freq(adis16136, &freq);
freq              287 drivers/iio/gyro/adis16136.c 	*val = freq / adis16136_3db_divisors[val16 & 0x07];
freq              180 drivers/iio/gyro/mpu3050-core.c 	unsigned int freq;
freq              183 drivers/iio/gyro/mpu3050-core.c 		freq = 8000;
freq              185 drivers/iio/gyro/mpu3050-core.c 		freq = 1000;
freq              186 drivers/iio/gyro/mpu3050-core.c 	freq /= (mpu3050->divisor + 1);
freq              188 drivers/iio/gyro/mpu3050-core.c 	return freq;
freq              165 drivers/iio/imu/adis16400.c 	int (*set_freq)(struct adis16400_state *st, unsigned int freq);
freq              338 drivers/iio/imu/adis16400.c static int adis16334_set_freq(struct adis16400_state *st, unsigned int freq)
freq              342 drivers/iio/imu/adis16400.c 	if (freq < 819200)
freq              343 drivers/iio/imu/adis16400.c 		t = ilog2(819200 / freq);
freq              371 drivers/iio/imu/adis16400.c static int adis16400_set_freq(struct adis16400_state *st, unsigned int freq)
freq              376 drivers/iio/imu/adis16400.c 	t = 1638404 / freq;
freq              379 drivers/iio/imu/adis16400.c 		t = 52851 / freq;
freq              176 drivers/iio/imu/adis16460.c 	unsigned int freq;
freq              182 drivers/iio/imu/adis16460.c 	freq = 2048000 / (t + 1);
freq              183 drivers/iio/imu/adis16460.c 	*val = freq / 1000;
freq              184 drivers/iio/imu/adis16460.c 	*val2 = (freq % 1000) * 1000;
freq              356 drivers/iio/imu/adis16480.c 	unsigned freq;
freq              376 drivers/iio/imu/adis16480.c 		freq = st->clk_freq * t;
freq              378 drivers/iio/imu/adis16480.c 		freq = st->clk_freq / (t + 1);
freq              380 drivers/iio/imu/adis16480.c 	*val = freq / 1000;
freq              381 drivers/iio/imu/adis16480.c 	*val2 = (freq % 1000) * 1000;
freq              531 drivers/iio/imu/adis16480.c 	const struct iio_chan_spec *chan, int *freq)
freq              547 drivers/iio/imu/adis16480.c 		*freq = 0;
freq              549 drivers/iio/imu/adis16480.c 		*freq = st->chip_info->filter_freqs[(val >> offset) & 0x3];
freq              555 drivers/iio/imu/adis16480.c 	const struct iio_chan_spec *chan, unsigned int freq)
freq              572 drivers/iio/imu/adis16480.c 	if (freq == 0) {
freq              578 drivers/iio/imu/adis16480.c 			if (st->chip_info->filter_freqs[i] >= freq) {
freq              579 drivers/iio/imu/adis16480.c 				diff = st->chip_info->filter_freqs[i] - freq;
freq              183 drivers/iio/light/ltr501.c 	int i, freq;
freq              185 drivers/iio/light/ltr501.c 	freq = val * 1000000 + val2;
freq              188 drivers/iio/light/ltr501.c 		if (tab[i].freq_val == freq)
freq              148 drivers/iio/magnetometer/bmc150_magn.c 	int freq;
freq              294 drivers/iio/magnetometer/bmc150_magn.c 			*val = bmc150_magn_samp_freq_table[i].freq;
freq              307 drivers/iio/magnetometer/bmc150_magn.c 		if (bmc150_magn_samp_freq_table[i].freq == val) {
freq              597 drivers/iio/magnetometer/bmc150_magn.c 		if (bmc150_magn_samp_freq_table[i].freq > data->max_odr)
freq              600 drivers/iio/magnetometer/bmc150_magn.c 				 bmc150_magn_samp_freq_table[i].freq);
freq              229 drivers/iio/pressure/dps310.c static int dps310_set_pres_samp_freq(struct dps310_data *data, int freq)
freq              233 drivers/iio/pressure/dps310.c 	if (freq < 0 || freq > 128)
freq              236 drivers/iio/pressure/dps310.c 	val = ilog2(freq) << 4;
freq              243 drivers/iio/pressure/dps310.c static int dps310_set_temp_samp_freq(struct dps310_data *data, int freq)
freq              247 drivers/iio/pressure/dps310.c 	if (freq < 0 || freq > 128)
freq              250 drivers/iio/pressure/dps310.c 	val = ilog2(freq) << 4;
freq              406 drivers/iio/pressure/zpa2326.c 	const struct zpa2326_frequency *freq = zpa2326_highest_frequency();
freq              410 drivers/iio/pressure/zpa2326.c 	err = regmap_write(regs, ZPA2326_CTRL_REG3_REG, freq->odr);
freq              426 drivers/iio/pressure/zpa2326.c 	zpa2326_dbg(indio_dev, "one shot mode setup @%dHz", freq->hz);
freq             1442 drivers/iio/pressure/zpa2326.c 	int                     freq;
freq             1446 drivers/iio/pressure/zpa2326.c 	for (freq = 0; freq < ARRAY_SIZE(zpa2326_sampling_frequencies); freq++)
freq             1447 drivers/iio/pressure/zpa2326.c 		if (zpa2326_sampling_frequencies[freq].hz == hz)
freq             1449 drivers/iio/pressure/zpa2326.c 	if (freq == ARRAY_SIZE(zpa2326_sampling_frequencies))
freq             1457 drivers/iio/pressure/zpa2326.c 	priv->frequency = &zpa2326_sampling_frequencies[freq];
freq              755 drivers/iio/proximity/isl29501.c 	unsigned long long freq;
freq              763 drivers/iio/proximity/isl29501.c 	freq = 1000000ULL * 1000000ULL;
freq              765 drivers/iio/proximity/isl29501.c 	do_div(freq, 450 * (sample_time + 1));
freq              767 drivers/iio/proximity/isl29501.c 	temp = do_div(freq, 1000000);
freq              768 drivers/iio/proximity/isl29501.c 	*val = freq;
freq              867 drivers/iio/proximity/isl29501.c 	int freq;
freq              871 drivers/iio/proximity/isl29501.c 	freq = val * 1000000 + val2 % 1000000;
freq              873 drivers/iio/proximity/isl29501.c 	do_div(sample_time, freq);
freq              199 drivers/iio/trigger/stm32-timer-trigger.c 	unsigned int freq;
freq              202 drivers/iio/trigger/stm32-timer-trigger.c 	ret = kstrtouint(buf, 10, &freq);
freq              206 drivers/iio/trigger/stm32-timer-trigger.c 	if (freq == 0) {
freq              209 drivers/iio/trigger/stm32-timer-trigger.c 		ret = stm32_timer_start(priv, trig, freq);
freq              223 drivers/iio/trigger/stm32-timer-trigger.c 	unsigned long long freq = 0;
freq              230 drivers/iio/trigger/stm32-timer-trigger.c 		freq = (unsigned long long)clk_get_rate(priv->clk);
freq              231 drivers/iio/trigger/stm32-timer-trigger.c 		do_div(freq, psc + 1);
freq              232 drivers/iio/trigger/stm32-timer-trigger.c 		do_div(freq, arr + 1);
freq              235 drivers/iio/trigger/stm32-timer-trigger.c 	return sprintf(buf, "%d\n", (unsigned int)freq);
freq              692 drivers/infiniband/hw/qib/qib_driver.c 	int timeoff, freq;
freq              699 drivers/infiniband/hw/qib/qib_driver.c 	freq = (val & LED_OVER_FREQ_MASK) >> LED_OVER_FREQ_SHIFT;
freq              701 drivers/infiniband/hw/qib/qib_driver.c 	if (freq) {
freq              705 drivers/infiniband/hw/qib/qib_driver.c 		timeoff = (HZ << 4)/freq;
freq              130 drivers/input/misc/drv2667.c 	int freq;
freq              136 drivers/input/misc/drv2667.c 	freq = (haptics->frequency * 1000) / 78125;
freq              137 drivers/input/misc/drv2667.c 	if (freq <= 0) {
freq              139 drivers/input/misc/drv2667.c 			"ERROR: Frequency calculated to %i\n", freq);
freq              161 drivers/input/misc/drv2667.c 	error = regmap_write(haptics->regmap, DRV2667_RAM_FREQ,	freq);
freq               26 drivers/macintosh/windfarm_cpufreq_clamp.c 	unsigned int freq;
freq               29 drivers/macintosh/windfarm_cpufreq_clamp.c 		freq = min_freq;
freq               33 drivers/macintosh/windfarm_cpufreq_clamp.c 		freq = max_freq;
freq               38 drivers/macintosh/windfarm_cpufreq_clamp.c 	return freq_qos_update_request(&qos_req, freq);
freq               61 drivers/media/dvb-frontends/as102_fe.c 	tune_args.freq = c->frequency / 1000;
freq              114 drivers/media/dvb-frontends/as102_fe_types.h 	uint32_t freq;
freq               88 drivers/media/dvb-frontends/atbm8830.c static int set_osc_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
freq               94 drivers/media/dvb-frontends/atbm8830.c 	t = (u64)0x100000 * freq;
freq              105 drivers/media/dvb-frontends/atbm8830.c static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
freq              113 drivers/media/dvb-frontends/atbm8830.c 	if (freq != 0) {
freq              115 drivers/media/dvb-frontends/atbm8830.c 		t = (u64) 2 * 31416 * (freq - fs);
freq              452 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_set_freq(struct bcm3510_state* st,u32 freq)
freq              458 drivers/media/dvb-frontends/bcm3510.c 	freq /= 1000;
freq              460 drivers/media/dvb-frontends/bcm3510.c 	deb_info("%dkHz:",freq);
freq              462 drivers/media/dvb-frontends/bcm3510.c 	if (freq <= 168000)
freq              464 drivers/media/dvb-frontends/bcm3510.c 	else if (freq <= 378000)
freq              469 drivers/media/dvb-frontends/bcm3510.c 	if (freq >= 470000) {
freq              470 drivers/media/dvb-frontends/bcm3510.c 		freq -= 470001;
freq              472 drivers/media/dvb-frontends/bcm3510.c 	} else if (freq >= 90000) {
freq              473 drivers/media/dvb-frontends/bcm3510.c 		freq -= 90001;
freq              475 drivers/media/dvb-frontends/bcm3510.c 	} else if (freq >= 76000){
freq              476 drivers/media/dvb-frontends/bcm3510.c 		freq -= 76001;
freq              479 drivers/media/dvb-frontends/bcm3510.c 		freq -= 54001;
freq              483 drivers/media/dvb-frontends/bcm3510.c 	Tfvco1 = (((freq/6000)*60 + YIntercept)*4)/10;
freq             1560 drivers/media/dvb-frontends/cx24117.c 	unsigned int freq;
freq             1601 drivers/media/dvb-frontends/cx24117.c 	freq = (buf[0] << 16) | (buf[1] << 8) | buf[2];
freq             1603 drivers/media/dvb-frontends/cx24117.c 	c->frequency = freq + freq_os;
freq              353 drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h 	u32 freq;
freq              903 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	l1_post->freq = data[7] << 24;
freq              904 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	l1_post->freq |= data[8] << 16;
freq              905 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	l1_post->freq |= data[9] << 8;
freq              906 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	l1_post->freq |= data[10];
freq              330 drivers/media/dvb-frontends/dib0070.c 	u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz_vhf : state->cfg->freq_offset_khz_uhf);
freq              340 drivers/media/dvb-frontends/dib0070.c 				freq += 850;
freq              342 drivers/media/dvb-frontends/dib0070.c 	if (state->current_rf != freq) {
freq              357 drivers/media/dvb-frontends/dib0070.c 		while (freq > tune->max_freq) /* find the right one */
freq              359 drivers/media/dvb-frontends/dib0070.c 		while (freq > lna_match->max_freq) /* find the right one */
freq              367 drivers/media/dvb-frontends/dib0070.c 		dprintk("Tuning for Band: %hd (%d kHz)\n", band, freq);
freq              368 drivers/media/dvb-frontends/dib0070.c 		if (state->current_rf != freq) {
freq              373 drivers/media/dvb-frontends/dib0070.c 			state->current_rf = freq;
freq              380 drivers/media/dvb-frontends/dib0070.c 			VCOF_kHz = state->current_tune_table_index->vco_multi * freq * 2;
freq              406 drivers/media/dvb-frontends/dib0070.c 				FBDiv = (freq / (FREF / 2));
freq              407 drivers/media/dvb-frontends/dib0070.c 				Rest  = 2 * freq - FBDiv * FREF;
freq              450 drivers/media/dvb-frontends/dib0070.c 			dprintk("VCOF: ((%hd*%d) << 1))\n", state->current_tune_table_index->vco_multi, freq);
freq              464 drivers/media/dvb-frontends/dib0070.c 			while (freq/1000 > tmp->freq) /* find the right one */
freq              620 drivers/media/dvb-frontends/dib0070.c 	u32 freq = fe->dtv_property_cache.frequency/1000;
freq              623 drivers/media/dvb-frontends/dib0070.c 		while (freq/1000 > tmp->freq) /* find the right one */
freq               16 drivers/media/dvb-frontends/dib0070.h 	u16 freq;
freq             1158 drivers/media/dvb-frontends/dib9000.c 	u32 freq = state->fe[0]->dtv_property_cache.frequency / 1000;
freq             1160 drivers/media/dvb-frontends/dib9000.c 		freq += 101;
freq             1162 drivers/media/dvb-frontends/dib9000.c 	b[0] = (u8) ((freq >> 0) & 0xff);
freq             1163 drivers/media/dvb-frontends/dib9000.c 	b[1] = (u8) ((freq >> 8) & 0xff);
freq             1164 drivers/media/dvb-frontends/dib9000.c 	b[2] = (u8) ((freq >> 16) & 0xff);
freq             1165 drivers/media/dvb-frontends/dib9000.c 	b[3] = (u8) ((freq >> 24) & 0xff);
freq             9917 drivers/media/dvb-frontends/drx39xyj/drxj.c 	s32 freq = 0;	/* KHz */
freq             9973 drivers/media/dvb-frontends/drx39xyj/drxj.c 	freq = oob_param->frequency;
freq             9974 drivers/media/dvb-frontends/drx39xyj/drxj.c 	if ((freq < 70000) || (freq > 130000))
freq             9976 drivers/media/dvb-frontends/drx39xyj/drxj.c 	freq = (freq - 50000) / 50;
freq             9983 drivers/media/dvb-frontends/drx39xyj/drxj.c 		index = (u16) ((freq - 400) / 200);
freq             9984 drivers/media/dvb-frontends/drx39xyj/drxj.c 		remainder = (u16) ((freq - 400) % 200);
freq             10088 drivers/media/dvb-frontends/drx39xyj/drxj.c 	set_param_parameters[1] = (u16) (freq & 0xFFFF);
freq              135 drivers/media/dvb-frontends/gp8psk-fe.c 	u32 freq = c->frequency * 1000;
freq              139 drivers/media/dvb-frontends/gp8psk-fe.c 	cmd[4] = freq         & 0xff;
freq              140 drivers/media/dvb-frontends/gp8psk-fe.c 	cmd[5] = (freq >> 8)  & 0xff;
freq              141 drivers/media/dvb-frontends/gp8psk-fe.c 	cmd[6] = (freq >> 16) & 0xff;
freq              142 drivers/media/dvb-frontends/gp8psk-fe.c 	cmd[7] = (freq >> 24) & 0xff;
freq              195 drivers/media/dvb-frontends/itd1000.c 	u32 freq;
freq              239 drivers/media/dvb-frontends/itd1000.c 		if (freq_khz <= itd1000_fre_values[i].freq) {
freq              142 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_set_if_freq(struct lgs8gxx_state *priv, u32 freq /*in kHz*/)
freq              150 drivers/media/dvb-frontends/lgs8gxx.c 	val = freq;
freq              151 drivers/media/dvb-frontends/lgs8gxx.c 	if (freq != 0) {
freq              156 drivers/media/dvb-frontends/lgs8gxx.c 		dprintk("Set IF Freq to %dkHz\n", freq);
freq              694 drivers/media/dvb-frontends/mxl5xx.c 	u32 freq;
freq              708 drivers/media/dvb-frontends/mxl5xx.c 		(u8 *) &freq);
freq              713 drivers/media/dvb-frontends/mxl5xx.c 		freq * 1000, reg_data[DMD_STANDARD_ADDR],
freq              716 drivers/media/dvb-frontends/mxl5xx.c 	p->frequency = freq;
freq              817 drivers/media/dvb-frontends/mxl5xx.c static void cfg_dev_xtal(struct mxl *state, u32 freq, u32 cap, u32 enable)
freq              822 drivers/media/dvb-frontends/mxl5xx.c 	if (freq == 24000000)
freq              314 drivers/media/dvb-frontends/sp887x.c 	int freq;
freq              331 drivers/media/dvb-frontends/sp887x.c 		freq = ifreq - freq_offset;
freq              333 drivers/media/dvb-frontends/sp887x.c 		freq = ifreq + freq_offset;
freq              335 drivers/media/dvb-frontends/sp887x.c 	divide(freq / 333, sysclock, NULL, &frequency_shift);
freq              152 drivers/media/dvb-frontends/stb0899_algo.c 	internal->freq = params->freq;
freq              444 drivers/media/dvb-frontends/stb0899_algo.c 	tp_freq = internal->freq - (internal->derot_freq * internal->mclk) / 1000;
freq              446 drivers/media/dvb-frontends/stb0899_algo.c 	if ((tp_freq >= params->freq - range_offst) && (tp_freq <= params->freq + range_offst)) {
freq              480 drivers/media/dvb-frontends/stb0899_algo.c 	internal->freq = params->freq + (internal->sub_dir * internal->tuner_offst) / 1000;
freq              597 drivers/media/dvb-frontends/stb0899_algo.c 			state->config->tuner_set_frequency(&state->frontend, internal->freq);
freq              600 drivers/media/dvb-frontends/stb0899_algo.c 			state->config->tuner_get_frequency(&state->frontend, &internal->freq);
freq              638 drivers/media/dvb-frontends/stb0899_algo.c 						internal->freq = params->freq - ((internal->derot_freq * internal->mclk) / 1000);
freq              643 drivers/media/dvb-frontends/stb0899_algo.c 							params->freq, internal->freq);
freq             1344 drivers/media/dvb-frontends/stb0899_algo.c 		state->config->tuner_set_frequency(&state->frontend, internal->freq);
freq             1346 drivers/media/dvb-frontends/stb0899_algo.c 		state->config->tuner_get_frequency(&state->frontend, &internal->freq);
freq             1493 drivers/media/dvb-frontends/stb0899_algo.c 		internal->freq = internal->freq + offsetfreq;
freq             1425 drivers/media/dvb-frontends/stb0899_drv.c 	i_params->freq	= props->frequency;
freq             1431 drivers/media/dvb-frontends/stb0899_drv.c 	dprintk(state->verbose, FE_DEBUG, 1, "Frequency=%d, Srate=%d", i_params->freq, i_params->srate);
freq             1456 drivers/media/dvb-frontends/stb0899_drv.c 			internal->freq	= i_params->freq;
freq             1503 drivers/media/dvb-frontends/stb0899_drv.c 			internal->freq			= i_params->freq;
freq             1561 drivers/media/dvb-frontends/stb0899_drv.c 	p->frequency = internal->freq;
freq              145 drivers/media/dvb-frontends/stb0899_priv.h 	u32	freq;					/* Frequency	*/
freq              152 drivers/media/dvb-frontends/stb0899_priv.h 	u32			freq;			/* Demod internal Frequency		*/
freq               72 drivers/media/dvb-frontends/stb6100_cfg.h 	u32 freq = c->frequency;
freq               80 drivers/media/dvb-frontends/stb6100_cfg.h 		c->frequency = freq;
freq               92 drivers/media/dvb-frontends/stb6100_proc.h 	u32 freq = c->frequency;
freq              103 drivers/media/dvb-frontends/stb6100_proc.h 		c->frequency = freq;
freq              207 drivers/media/dvb-frontends/stv0297.c static void stv0297_set_initialdemodfreq(struct stv0297_state *state, long freq)
freq              211 drivers/media/dvb-frontends/stv0297.c 	if (freq > 10000)
freq              212 drivers/media/dvb-frontends/stv0297.c 		freq -= STV0297_CLOCK_KHZ;
freq              215 drivers/media/dvb-frontends/stv0297.c 	tmp = (freq * 1000) / tmp;
freq              356 drivers/media/dvb-frontends/stv0367.c 	u32 freq = 0;
freq              362 drivers/media/dvb-frontends/stv0367.c 		err = tuner_ops->get_frequency(fe, &freq);
freq              368 drivers/media/dvb-frontends/stv0367.c 		dprintk("%s: frequency=%d\n", __func__, freq);
freq              373 drivers/media/dvb-frontends/stv0367.c 	return freq;
freq              487 drivers/media/dvb-frontends/stv0367.c 	int i, j, k, freq;
freq              491 drivers/media/dvb-frontends/stv0367.c 	freq = stv0367ter_get_mclk(state, DemodXtal);
freq              493 drivers/media/dvb-frontends/stv0367.c 	if (freq == 53125000)
freq              495 drivers/media/dvb-frontends/stv0367.c 	else if (freq == 54000000)
freq              497 drivers/media/dvb-frontends/stv0367.c 	else if (freq == 52500000)
freq              552 drivers/media/dvb-frontends/stv0900_core.c 	u32 freq, round;
freq              558 drivers/media/dvb-frontends/stv0900_core.c 	freq = (stv0900_get_bits(intp, TUN_RFFREQ2) << 10) +
freq              562 drivers/media/dvb-frontends/stv0900_core.c 	freq = (freq * 1000) / 64;
freq              569 drivers/media/dvb-frontends/stv0900_core.c 	return freq + round;
freq              959 drivers/media/dvb-frontends/stv0900_core.c 	u32 freq;
freq              990 drivers/media/dvb-frontends/stv0900_core.c 			freq = 1000 << 16;
freq              991 drivers/media/dvb-frontends/stv0900_core.c 			freq /= (intp->mclk / 1000);
freq              992 drivers/media/dvb-frontends/stv0900_core.c 			freq_s16 = (s16)freq;
freq              994 drivers/media/dvb-frontends/stv0900_core.c 			freq = (intp->srch_range[demod] / 2000);
freq              996 drivers/media/dvb-frontends/stv0900_core.c 				freq += 80;
freq              998 drivers/media/dvb-frontends/stv0900_core.c 				freq += 600;
freq             1000 drivers/media/dvb-frontends/stv0900_core.c 			freq = freq << 16;
freq             1001 drivers/media/dvb-frontends/stv0900_core.c 			freq /= (intp->mclk / 1000);
freq             1002 drivers/media/dvb-frontends/stv0900_core.c 			freq_s16 = (s16)freq;
freq             1600 drivers/media/dvb-frontends/stv0900_core.c 	intp->freq[demod] = p_search.frequency;
freq              295 drivers/media/dvb-frontends/stv0900_priv.h 	s32	freq[2];
freq              518 drivers/media/dvb-frontends/stv0900_sw.c 		freq;
freq              582 drivers/media/dvb-frontends/stv0900_sw.c 		tuner_freq = intp->freq[d];
freq              608 drivers/media/dvb-frontends/stv0900_sw.c 			freq = (tuner_freq * 65536) / (intp->mclk / 1000);
freq              609 drivers/media/dvb-frontends/stv0900_sw.c 			stv0900_write_bits(intp, CFR_INIT1, MSB(freq));
freq              610 drivers/media/dvb-frontends/stv0900_sw.c 			stv0900_write_bits(intp, CFR_INIT0, LSB(freq));
freq              971 drivers/media/dvb-frontends/stv0900_sw.c 							intp->freq[demod],
freq             1154 drivers/media/dvb-frontends/stv0900_sw.c 	u32 freq = 0;
freq             1160 drivers/media/dvb-frontends/stv0900_sw.c 		if ((tuner_ops->get_frequency(fe, &freq)) < 0)
freq             1163 drivers/media/dvb-frontends/stv0900_sw.c 			dprintk("%s: Frequency=%d\n", __func__, freq);
freq             1167 drivers/media/dvb-frontends/stv0900_sw.c 	return freq;
freq             1242 drivers/media/dvb-frontends/stv0900_sw.c 		offsetFreq = result->frequency - intp->freq[d];
freq             1244 drivers/media/dvb-frontends/stv0900_sw.c 			intp->freq[d] = stv0900_get_freq_auto(intp, d);
freq             1246 drivers/media/dvb-frontends/stv0900_sw.c 			intp->freq[d] = stv0900_get_tuner_freq(fe);
freq             1453 drivers/media/dvb-frontends/stv0900_sw.c 	tuner_freq = intp->freq[demod];
freq             1890 drivers/media/dvb-frontends/stv0900_sw.c 		stv0900_set_tuner_auto(intp, intp->freq[demod],
freq             1893 drivers/media/dvb-frontends/stv0900_sw.c 		stv0900_set_tuner(fe, intp->freq[demod], intp->bw[demod]);
freq             1400 drivers/media/dvb-frontends/stv090x.c 	s16 freq;
freq             1453 drivers/media/dvb-frontends/stv090x.c 			freq      = (s16) freq_abs;
freq             1463 drivers/media/dvb-frontends/stv090x.c 			freq      = (s16) freq_abs;
freq             1466 drivers/media/dvb-frontends/stv090x.c 		if (STV090x_WRITE_DEMOD(state, CFRUP1, MSB(freq)) < 0)
freq             1468 drivers/media/dvb-frontends/stv090x.c 		if (STV090x_WRITE_DEMOD(state, CFRUP0, LSB(freq)) < 0)
freq             1471 drivers/media/dvb-frontends/stv090x.c 		freq *= -1;
freq             1473 drivers/media/dvb-frontends/stv090x.c 		if (STV090x_WRITE_DEMOD(state, CFRLOW1, MSB(freq)) < 0)
freq             1475 drivers/media/dvb-frontends/stv090x.c 		if (STV090x_WRITE_DEMOD(state, CFRLOW0, LSB(freq)) < 0)
freq             1683 drivers/media/dvb-frontends/stv090x.c 	s32 tmg_cpt = 0, dir = 1, steps, cur_step = 0, freq;
freq             1756 drivers/media/dvb-frontends/stv090x.c 	freq = state->frequency;
freq             1789 drivers/media/dvb-frontends/stv090x.c 				freq += cur_step * car_step;
freq             1791 drivers/media/dvb-frontends/stv090x.c 				freq -= cur_step * car_step;
freq             1798 drivers/media/dvb-frontends/stv090x.c 				if (state->config->tuner_set_frequency(fe, freq) < 0)
freq             2063 drivers/media/dvb-frontends/stv090x.c 	u8 freq, tmg_thh, tmg_thl;
freq             2066 drivers/media/dvb-frontends/stv090x.c 	freq = STV090x_READ_DEMOD(state, CARFREQ);
freq             2113 drivers/media/dvb-frontends/stv090x.c 	if (STV090x_WRITE_DEMOD(state, CARFREQ, freq) < 0)
freq             2132 drivers/media/dvb-frontends/stv090x.c 	s32 car_step, steps, cur_step, dir, freq, timeout_lock;
freq             2175 drivers/media/dvb-frontends/stv090x.c 	freq = state->frequency;
freq             2179 drivers/media/dvb-frontends/stv090x.c 			freq += cur_step * car_step;
freq             2181 drivers/media/dvb-frontends/stv090x.c 			freq -= cur_step * car_step;
freq             2188 drivers/media/dvb-frontends/stv090x.c 			if (state->config->tuner_set_frequency(fe, freq) < 0)
freq             1021 drivers/media/dvb-frontends/stv0910.c 	s32 freq;
freq             1107 drivers/media/dvb-frontends/stv0910.c 		freq = (state->search_range / 2000) + 80;
freq             1109 drivers/media/dvb-frontends/stv0910.c 		freq = (state->search_range / 2000) + 1600;
freq             1110 drivers/media/dvb-frontends/stv0910.c 	freq = (freq << 16) / (state->base->mclk / 1000);
freq             1113 drivers/media/dvb-frontends/stv0910.c 		  (freq >> 8) & 0xff);
freq             1114 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P2_CFRUP0 + state->regoff, (freq & 0xff));
freq             1116 drivers/media/dvb-frontends/stv0910.c 	freq = -freq;
freq             1118 drivers/media/dvb-frontends/stv0910.c 		  (freq >> 8) & 0xff);
freq             1119 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P2_CFRLOW0 + state->regoff, (freq & 0xff));
freq             1138 drivers/media/dvb-frontends/stv0910.c 	u8 freq = ((state->base->mclk + 11000 * 32) / (22000 * 32));
freq             1144 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P1_DISTXF22 + offs, freq);
freq              226 drivers/media/dvb-frontends/stv6110.c 	u32 nbsteps, divider, psd2, freq;
freq              239 drivers/media/dvb-frontends/stv6110.c 	freq = divider * (priv->mclk / 1000);
freq              240 drivers/media/dvb-frontends/stv6110.c 	freq /= (1 << (nbsteps + psd2));
freq              241 drivers/media/dvb-frontends/stv6110.c 	freq /= 4;
freq              243 drivers/media/dvb-frontends/stv6110.c 	*frequency = freq;
freq              523 drivers/media/dvb-frontends/stv6111.c 	u32 freq, cutoff;
freq              529 drivers/media/dvb-frontends/stv6111.c 	freq = p->frequency * 1000;
freq              535 drivers/media/dvb-frontends/stv6111.c 		set_lof(state, freq, cutoff);
freq              406 drivers/media/dvb-frontends/tda10086.c 	u32 freq = 0;
freq              422 drivers/media/dvb-frontends/tda10086.c 			fe->ops.tuner_ops.get_frequency(fe, &freq);
freq              428 drivers/media/dvb-frontends/tda10086.c 	freqoff = fe_params->frequency - freq;
freq              321 drivers/media/dvb-frontends/tda18271c2dd.c static int CalcMainPLL(struct tda_state *state, u32 freq)
freq              329 drivers/media/dvb-frontends/tda18271c2dd.c 	if (!SearchMap3(m_Main_PLL_Map, freq, &PostDiv, &Div))
freq              332 drivers/media/dvb-frontends/tda18271c2dd.c 	OscFreq = (u64) freq * (u64) Div;
freq              345 drivers/media/dvb-frontends/tda18271c2dd.c static int CalcCalPLL(struct tda_state *state, u32 freq)
freq              352 drivers/media/dvb-frontends/tda18271c2dd.c 	if (!SearchMap3(m_Cal_PLL_Map, freq, &PostDiv, &Div))
freq              355 drivers/media/dvb-frontends/tda18271c2dd.c 	OscFreq = (u64)freq * (u64)Div;
freq              370 drivers/media/dvb-frontends/tda18271c2dd.c 		       u8 RFBand, u32 freq, s32 *pCprog)
freq              394 drivers/media/dvb-frontends/tda18271c2dd.c 		if (!(SearchMap1(m_BP_Filter_Map, freq, &BP_Filter) &&
freq              395 drivers/media/dvb-frontends/tda18271c2dd.c 			SearchMap1(m_GainTaper_Map, freq, &GainTaper) &&
freq              396 drivers/media/dvb-frontends/tda18271c2dd.c 			SearchMap3(m_KM_Map, freq, &RFC_K, &RFC_M)))
freq              436 drivers/media/dvb-frontends/tda18271c2dd.c 		status = CalcCalPLL(state, freq);
freq              439 drivers/media/dvb-frontends/tda18271c2dd.c 		status = CalcMainPLL(state, freq + 1000000);
freq               95 drivers/media/i2c/ad9389b.c static int ad9389b_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq               96 drivers/media/i2c/ad9389b.c static int ad9389b_s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq              705 drivers/media/i2c/ad9389b.c static int ad9389b_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              709 drivers/media/i2c/ad9389b.c 	switch (freq) {
freq              729 drivers/media/i2c/ad9389b.c static int ad9389b_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              733 drivers/media/i2c/ad9389b.c 	switch (freq) {
freq              130 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq              131 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq             1132 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq             1136 drivers/media/i2c/adv7511-v4l2.c 	switch (freq) {
freq             1156 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq             1160 drivers/media/i2c/adv7511-v4l2.c 	switch (freq) {
freq             1506 drivers/media/i2c/adv7604.c 	unsigned int freq;
freq             1513 drivers/media/i2c/adv7604.c 	freq =  a * 1000000 + ((b & 0x30) >> 4) * 250000;
freq             1519 drivers/media/i2c/adv7604.c 		freq = freq * 8 / bits_per_channel;
freq             1522 drivers/media/i2c/adv7604.c 	return freq;
freq             1560 drivers/media/i2c/adv7842.c 		u32 freq;
freq             1566 drivers/media/i2c/adv7842.c 		freq = ((hdmi_read(sd, 0x51) << 1) + (hdmi_read(sd, 0x52) >> 7)) * 1000000;
freq             1567 drivers/media/i2c/adv7842.c 		freq += ((hdmi_read(sd, 0x52) & 0x7f) * 7813);
freq             1570 drivers/media/i2c/adv7842.c 			freq = freq * 8 / (((hdmi_read(sd, 0x0b) & 0xc0) >> 6) * 2 + 8);
freq             1572 drivers/media/i2c/adv7842.c 		bt->pixelclock = freq;
freq             1603 drivers/media/i2c/adv7842.c 		    freq < bt->pixelclock) {
freq             1605 drivers/media/i2c/adv7842.c 			u32 delta_freq = abs(freq - reduced_freq);
freq               31 drivers/media/i2c/cx25840/cx25840-audio.c static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq)
freq               36 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              150 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              276 drivers/media/i2c/cx25840/cx25840-audio.c 	state->audclk_freq = freq;
freq              281 drivers/media/i2c/cx25840/cx25840-audio.c static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq)
freq              283 drivers/media/i2c/cx25840/cx25840-audio.c 	return cx25840_set_audclk_freq(client, freq);
freq              286 drivers/media/i2c/cx25840/cx25840-audio.c static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq)
freq              291 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              301 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              323 drivers/media/i2c/cx25840/cx25840-audio.c 	state->audclk_freq = freq;
freq              328 drivers/media/i2c/cx25840/cx25840-audio.c static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq)
freq              333 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              359 drivers/media/i2c/cx25840/cx25840-audio.c 		switch (freq) {
freq              399 drivers/media/i2c/cx25840/cx25840-audio.c 	state->audclk_freq = freq;
freq              404 drivers/media/i2c/cx25840/cx25840-audio.c static int set_audclk_freq(struct i2c_client *client, u32 freq)
freq              408 drivers/media/i2c/cx25840/cx25840-audio.c 	if (freq != 32000 && freq != 44100 && freq != 48000)
freq              412 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx231xx_set_audclk_freq(client, freq);
freq              415 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx23885_set_audclk_freq(client, freq);
freq              418 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx25836_set_audclk_freq(client, freq);
freq              420 drivers/media/i2c/cx25840/cx25840-audio.c 	return cx25840_set_audclk_freq(client, freq);
freq              504 drivers/media/i2c/cx25840/cx25840-audio.c int cx25840_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              516 drivers/media/i2c/cx25840/cx25840-audio.c 	retval = set_audclk_freq(client, freq);
freq             2528 drivers/media/i2c/cx25840/cx25840-core.c 			       const struct v4l2_frequency *freq)
freq              172 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq              152 drivers/media/i2c/cx25840/cx25840-ir.c static inline u16 carrier_freq_to_clock_divider(unsigned int freq)
freq              155 drivers/media/i2c/cx25840/cx25840-ir.c 			  DIV_ROUND_CLOSEST(CX25840_IR_REFCLK_FREQ, freq * 16));
freq              163 drivers/media/i2c/cx25840/cx25840-ir.c static inline u16 freq_to_clock_divider(unsigned int freq,
freq              167 drivers/media/i2c/cx25840/cx25840-ir.c 		   DIV_ROUND_CLOSEST(CX25840_IR_REFCLK_FREQ, freq * rollovers));
freq              412 drivers/media/i2c/cx25840/cx25840-ir.c 				       unsigned int freq,
freq              415 drivers/media/i2c/cx25840/cx25840-ir.c 	*divider = carrier_freq_to_clock_divider(freq);
freq              421 drivers/media/i2c/cx25840/cx25840-ir.c 				       unsigned int freq,
freq              424 drivers/media/i2c/cx25840/cx25840-ir.c 	*divider = carrier_freq_to_clock_divider(freq);
freq               36 drivers/media/i2c/max2175.c 	u32 freq;			/* Default freq in Hz */
freq              280 drivers/media/i2c/max2175.c 	u32 freq;			/* Tuned freq In Hz */
freq              406 drivers/media/i2c/max2175.c static int max2175_band_from_freq(u32 freq)
freq              408 drivers/media/i2c/max2175.c 	if (freq >= 144000 && freq <= 26100000)
freq              410 drivers/media/i2c/max2175.c 	else if (freq >= 65000000 && freq <= 108000000)
freq              664 drivers/media/i2c/max2175.c static int max2175_set_rf_freq_non_am_bands(struct max2175 *ctx, u64 freq,
freq              677 drivers/media/i2c/max2175.c 		return max2175_set_lo_freq(ctx, freq);
freq              680 drivers/media/i2c/max2175.c 		adj_freq = freq + low_if_freq;
freq              682 drivers/media/i2c/max2175.c 		adj_freq = freq - low_if_freq;
freq              691 drivers/media/i2c/max2175.c static int max2175_set_rf_freq(struct max2175 *ctx, u64 freq, u32 lo_pos)
freq              696 drivers/media/i2c/max2175.c 		ret = max2175_set_nco_freq(ctx, freq);
freq              698 drivers/media/i2c/max2175.c 		ret = max2175_set_rf_freq_non_am_bands(ctx, freq, lo_pos);
freq              700 drivers/media/i2c/max2175.c 	mxm_dbg(ctx, "set_rf_freq: ret %d freq %llu\n", ret, freq);
freq              705 drivers/media/i2c/max2175.c static int max2175_tune_rf_freq(struct max2175 *ctx, u64 freq, u32 hsls)
freq              709 drivers/media/i2c/max2175.c 	ret = max2175_set_rf_freq(ctx, freq, hsls);
freq              717 drivers/media/i2c/max2175.c 	mxm_dbg(ctx, "tune_rf_freq: old %u new %llu\n", ctx->freq, freq);
freq              718 drivers/media/i2c/max2175.c 	ctx->freq = freq;
freq              801 drivers/media/i2c/max2175.c static int max2175_rx_mode_from_freq(struct max2175 *ctx, u32 freq, u32 *mode)
freq              804 drivers/media/i2c/max2175.c 	int band = max2175_band_from_freq(freq);
freq              811 drivers/media/i2c/max2175.c 				freq, *mode);
freq              820 drivers/media/i2c/max2175.c 					 u32 mode, u32 freq)
freq              822 drivers/media/i2c/max2175.c 	int band = max2175_band_from_freq(freq);
freq             1008 drivers/media/i2c/max2175.c 	mxm_dbg(ctx, "s_ctrl_rx_mode: %u curr freq %u\n", rx_mode, ctx->freq);
freq             1011 drivers/media/i2c/max2175.c 	if (max2175_freq_rx_mode_valid(ctx, rx_mode, ctx->freq))
freq             1012 drivers/media/i2c/max2175.c 		max2175_tune_rf_freq(ctx, ctx->freq, ctx->hsls->cur.val);
freq             1015 drivers/media/i2c/max2175.c 		max2175_tune_rf_freq(ctx, ctx->rx_modes[rx_mode].freq,
freq             1074 drivers/media/i2c/max2175.c static int max2175_set_freq_and_mode(struct max2175 *ctx, u32 freq)
freq             1080 drivers/media/i2c/max2175.c 	ret = max2175_rx_mode_from_freq(ctx, freq, &rx_mode);
freq             1084 drivers/media/i2c/max2175.c 	mxm_dbg(ctx, "set_freq_and_mode: freq %u rx_mode %d\n", freq, rx_mode);
freq             1091 drivers/media/i2c/max2175.c 	return max2175_tune_rf_freq(ctx, freq, ctx->hsls->cur.val);
freq             1098 drivers/media/i2c/max2175.c 	u32 freq;
freq             1102 drivers/media/i2c/max2175.c 		vf->frequency, ctx->freq, ctx->mode_resolved);
freq             1107 drivers/media/i2c/max2175.c 	freq = clamp(vf->frequency, ctx->bands_rf->rangelow,
freq             1112 drivers/media/i2c/max2175.c 	    max2175_freq_rx_mode_valid(ctx, ctx->rx_mode->cur.val, freq))
freq             1113 drivers/media/i2c/max2175.c 		ret = max2175_tune_rf_freq(ctx, freq, ctx->hsls->cur.val);
freq             1116 drivers/media/i2c/max2175.c 		ret = max2175_set_freq_and_mode(ctx, freq);
freq             1119 drivers/media/i2c/max2175.c 		ret, ctx->freq, ctx->mode_resolved, ctx->rx_mode->cur.val);
freq             1135 drivers/media/i2c/max2175.c 	vf->frequency = ctx->freq;
freq             1379 drivers/media/i2c/max2175.c 	ctx->freq = ctx->bands_rf->rangelow;
freq              434 drivers/media/i2c/msp3400-driver.c static int msp_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq)
freq              539 drivers/media/i2c/msp3400-driver.c static int msp_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              544 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "Setting I2S speed to %d\n", freq);
freq              546 drivers/media/i2c/msp3400-driver.c 	switch (freq) {
freq               17 drivers/media/i2c/msp3400-driver.h #define MSP_CARRIER(freq) ((int)((float)(freq / 18.432) * (1 << 24)))
freq              646 drivers/media/i2c/mt9v032.c 	u32 freq;
freq              678 drivers/media/i2c/mt9v032.c 		freq = mt9v032->pdata->link_freqs[mt9v032->link_freq->val];
freq              679 drivers/media/i2c/mt9v032.c 		*mt9v032->pixel_rate->p_new.p_s64 = freq;
freq              680 drivers/media/i2c/mt9v032.c 		mt9v032->sysclk = freq;
freq              750 drivers/media/i2c/saa7115.c static int saa711x_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              763 drivers/media/i2c/saa7115.c 	v4l2_dbg(1, debug, sd, "set audio clock freq: %d\n", freq);
freq              766 drivers/media/i2c/saa7115.c 	if (freq < 32000 || freq > 48000)
freq              772 drivers/media/i2c/saa7115.c 	acpf = (25600 * freq) / hz;
freq              776 drivers/media/i2c/saa7115.c 	f = freq;
freq              807 drivers/media/i2c/saa7115.c 	state->audclk_freq = freq;
freq             1377 drivers/media/i2c/saa7115.c static int saa711x_s_crystal_freq(struct v4l2_subdev *sd, u32 freq, u32 flags)
freq             1381 drivers/media/i2c/saa7115.c 	if (freq != SAA7115_FREQ_32_11_MHZ && freq != SAA7115_FREQ_24_576_MHZ)
freq             1383 drivers/media/i2c/saa7115.c 	state->crystal_freq = freq;
freq             1532 drivers/media/i2c/tda1997x.c 		static const int freq[] = {
freq             1537 drivers/media/i2c/tda1997x.c 		state->audio_samplerate = freq[reg & 7];
freq               63 drivers/media/i2c/tlv320aic23b.c static int tlv320aic23b_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq               65 drivers/media/i2c/tlv320aic23b.c 	switch (freq) {
freq             1869 drivers/media/i2c/tvaudio.c static int tvaudio_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq)
freq              100 drivers/media/i2c/upd64031a.c static int upd64031a_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq)
freq              154 drivers/media/i2c/wm8775.c static int wm8775_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq)
freq             1834 drivers/media/pci/bt8xx/bttv-driver.c 			btv->tea.freq = btv->radio_freq;
freq              292 drivers/media/pci/bt8xx/bttv.h extern void tea5757_set_freq(struct bttv *btv, unsigned short freq);
freq              312 drivers/media/pci/bt8xx/dst.c static int dst_set_freq(struct dst_state *state, u32 freq)
freq              314 drivers/media/pci/bt8xx/dst.c 	state->frequency = freq;
freq              315 drivers/media/pci/bt8xx/dst.c 	dprintk(2, "set Frequency %u\n", freq);
freq              318 drivers/media/pci/bt8xx/dst.c 		freq = freq / 1000;
freq              319 drivers/media/pci/bt8xx/dst.c 		if (freq < 950 || freq > 2150)
freq              321 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[2] = (freq >> 8);
freq              322 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[3] = (u8) freq;
freq              326 drivers/media/pci/bt8xx/dst.c 			if (freq < 1531)
freq              330 drivers/media/pci/bt8xx/dst.c 		freq = freq / 1000;
freq              331 drivers/media/pci/bt8xx/dst.c 		if (freq < 137000 || freq > 858000)
freq              333 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[2] = (freq >> 16) & 0xff;
freq              334 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[3] = (freq >> 8) & 0xff;
freq              335 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[4] = (u8) freq;
freq              337 drivers/media/pci/bt8xx/dst.c 		freq = freq / 1000;
freq              338 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[2] = (freq >> 16) & 0xff;
freq              339 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[3] = (freq >> 8) & 0xff;
freq              340 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[4] = (u8) freq;
freq              342 drivers/media/pci/bt8xx/dst.c 		freq = freq / 1000;
freq              343 drivers/media/pci/bt8xx/dst.c 		if (freq < 51000 || freq > 858000)
freq              345 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[2] = (freq >> 16) & 0xff;
freq              346 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[3] = (freq >>  8) & 0xff;
freq              347 drivers/media/pci/bt8xx/dst.c 		state->tx_tuna[4] = (u8) freq;
freq              189 drivers/media/pci/bt8xx/dvb-bt8xx.c 	u32 freq = c->frequency;
freq              199 drivers/media/pci/bt8xx/dvb-bt8xx.c 	dprintk("cx24108 debug: entering SetTunerFreq, freq=%d\n", freq);
freq              203 drivers/media/pci/bt8xx/dvb-bt8xx.c 	if (freq<950000)
freq              204 drivers/media/pci/bt8xx/dvb-bt8xx.c 		freq = 950000; /* kHz */
freq              205 drivers/media/pci/bt8xx/dvb-bt8xx.c 	else if (freq>2150000)
freq              206 drivers/media/pci/bt8xx/dvb-bt8xx.c 		freq = 2150000; /* satellite IF is 950..2150MHz */
freq              209 drivers/media/pci/bt8xx/dvb-bt8xx.c 	for(i = 1; (i < ARRAY_SIZE(osci) - 1) && (osci[i] < freq); i++);
freq              210 drivers/media/pci/bt8xx/dvb-bt8xx.c 	dprintk("cx24108 debug: select vco #%d (f=%d)\n", i, freq);
freq              217 drivers/media/pci/bt8xx/dvb-bt8xx.c 	n=((i<=2?2:1)*freq*10L)/(XTAL/100);
freq              219 drivers/media/pci/bt8xx/dvb-bt8xx.c 	pump=(freq<(osci[i-1]+osci[i])/2);
freq               15 drivers/media/pci/cobalt/cobalt-cpld.h bool cobalt_cpld_set_freq(struct cobalt *cobalt, unsigned freq);
freq               13 drivers/media/pci/cx18/cx18-av-audio.c static int set_audclk_freq(struct cx18 *cx, u32 freq)
freq               17 drivers/media/pci/cx18/cx18-av-audio.c 	if (freq != 32000 && freq != 44100 && freq != 48000)
freq               57 drivers/media/pci/cx18/cx18-av-audio.c 		switch (freq) {
freq              164 drivers/media/pci/cx18/cx18-av-audio.c 		switch (freq) {
freq              284 drivers/media/pci/cx18/cx18-av-audio.c 	state->audclk_freq = freq;
freq              402 drivers/media/pci/cx18/cx18-av-audio.c int cx18_av_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              417 drivers/media/pci/cx18/cx18-av-audio.c 	retval = set_audclk_freq(cx, freq);
freq              562 drivers/media/pci/cx18/cx18-av-core.c 			       const struct v4l2_frequency *freq)
freq              364 drivers/media/pci/cx18/cx18-av-core.h int cx18_av_s_clock_freq(struct v4l2_subdev *sd, u32 freq);
freq             1304 drivers/media/pci/cx23885/cx23885-417.c 	f->frequency = dev->freq;
freq              921 drivers/media/pci/cx23885/cx23885-video.c 	f->frequency = dev->freq;
freq              938 drivers/media/pci/cx23885/cx23885-video.c 	dev->freq = f->frequency;
freq              975 drivers/media/pci/cx23885/cx23885-video.c 	dev->freq = f->frequency;
freq              418 drivers/media/pci/cx23885/cx23885.h 	u32                        freq;
freq              191 drivers/media/pci/cx23885/cx23888-ir.c static inline u16 carrier_freq_to_clock_divider(unsigned int freq)
freq              194 drivers/media/pci/cx23885/cx23888-ir.c 			  DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * 16));
freq              202 drivers/media/pci/cx23885/cx23888-ir.c static inline u16 freq_to_clock_divider(unsigned int freq,
freq              206 drivers/media/pci/cx23885/cx23888-ir.c 		   DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * rollovers));
freq              432 drivers/media/pci/cx23885/cx23888-ir.c 				       unsigned int freq,
freq              435 drivers/media/pci/cx23885/cx23888-ir.c 	*divider = carrier_freq_to_clock_divider(freq);
freq              441 drivers/media/pci/cx23885/cx23888-ir.c 				       unsigned int freq,
freq              444 drivers/media/pci/cx23885/cx23888-ir.c 	*divider = carrier_freq_to_clock_divider(freq);
freq              945 drivers/media/pci/cx88/cx88-blackbird.c 	f->frequency = core->freq;
freq               93 drivers/media/pci/cx88/cx88-dsp.c static u32 int_goertzel(s16 x[], u32 N, u32 freq)
freq              101 drivers/media/pci/cx88/cx88-dsp.c 	s32 coeff = 2 * int_cos(freq);
freq              127 drivers/media/pci/cx88/cx88-dsp.c static u32 freq_magnitude(s16 x[], u32 N, u32 freq)
freq              129 drivers/media/pci/cx88/cx88-dsp.c 	u32 sum = int_goertzel(x, N, freq);
freq              957 drivers/media/pci/cx88/cx88-video.c 	f->frequency = core->freq;
freq              977 drivers/media/pci/cx88/cx88-video.c 	core->freq = new_freq.frequency;
freq              397 drivers/media/pci/cx88/cx88.h 	u32                        freq;
freq              271 drivers/media/pci/intel/ipu3/ipu3-cio2.c static s32 cio2_rx_timing(s32 a, s32 b, s64 freq, int def)
freq              277 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	freq >>= LIMIT_SHIFT;
freq              279 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	if (WARN_ON(freq <= 0 || freq > S32_MAX))
freq              286 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	r = r / (s32)freq;
freq              300 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	s64 freq;
freq              323 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	freq = qm.value;
freq              327 drivers/media/pci/intel/ipu3/ipu3-cio2.c 					    freq,
freq              331 drivers/media/pci/intel/ipu3/ipu3-cio2.c 					    freq,
freq              335 drivers/media/pci/intel/ipu3/ipu3-cio2.c 					    freq,
freq              339 drivers/media/pci/intel/ipu3/ipu3-cio2.c 					    freq,
freq              146 drivers/media/pci/ivtv/ivtv-gpio.c static int subdev_s_clock_freq(struct v4l2_subdev *sd, u32 freq)
freq              152 drivers/media/pci/ivtv/ivtv-gpio.c 	switch (freq) {
freq               43 drivers/media/pci/saa7146/mxb.c static int freq = 4148;
freq               44 drivers/media/pci/saa7146/mxb.c module_param(freq, int, 0644);
freq               45 drivers/media/pci/saa7146/mxb.c MODULE_PARM_DESC(freq, "initial frequency the tuner will be tuned to while setup");
freq              364 drivers/media/pci/saa7146/mxb.c 	mxb->cur_freq.frequency = freq;
freq              343 drivers/media/pci/saa7164/saa7164-encoder.c 	f->frequency = port->freq;
freq              377 drivers/media/pci/saa7164/saa7164-encoder.c 	port->freq = clamp(f->frequency,
freq             1022 drivers/media/pci/saa7164/saa7164-encoder.c 	port->freq = SAA7164_TV_MIN_FREQ;
freq              376 drivers/media/pci/saa7164/saa7164.h 	u32 freq;
freq              147 drivers/media/pci/ttpci/av7110_v4l.c static int ves1820_set_tv_freq(struct saa7146_dev *dev, u32 freq)
freq              153 drivers/media/pci/ttpci/av7110_v4l.c 	dprintk(4, "freq: 0x%08x\n", freq);
freq              157 drivers/media/pci/ttpci/av7110_v4l.c 	div = freq + 614;
freq              163 drivers/media/pci/ttpci/av7110_v4l.c 	if (freq < (u32) (16 * 168.25))
freq              165 drivers/media/pci/ttpci/av7110_v4l.c 	else if (freq < (u32) (16 * 447.25))
freq              176 drivers/media/pci/ttpci/av7110_v4l.c static int stv0297_set_tv_freq(struct saa7146_dev *dev, u32 freq)
freq              182 drivers/media/pci/ttpci/av7110_v4l.c 	div = (freq + 38900000 + 31250) / 62500;
freq              188 drivers/media/pci/ttpci/av7110_v4l.c 	if (freq < 45000000)
freq              190 drivers/media/pci/ttpci/av7110_v4l.c 	else if (freq < 137000000)
freq              192 drivers/media/pci/ttpci/av7110_v4l.c 	else if (freq < 403000000)
freq              194 drivers/media/pci/ttpci/av7110_v4l.c 	else if (freq < 860000000)
freq                7 drivers/media/pci/ttpci/dvb_filter.c static u32 freq[4] = {480, 441, 320, 0};
freq               57 drivers/media/pci/ttpci/dvb_filter.c 	ai->frequency = freq[fr]*100;
freq              491 drivers/media/platform/qcom/camss/camss-csid.c 				if (min_rate < clock->freq[j])
freq              505 drivers/media/platform/qcom/camss/camss-csid.c 			rate = clk_round_rate(clock->clk, clock->freq[j]);
freq             1162 drivers/media/platform/qcom/camss/camss-csid.c 			clock->freq = NULL;
freq             1166 drivers/media/platform/qcom/camss/camss-csid.c 		clock->freq = devm_kcalloc(dev,
freq             1168 drivers/media/platform/qcom/camss/camss-csid.c 					   sizeof(*clock->freq),
freq             1170 drivers/media/platform/qcom/camss/camss-csid.c 		if (!clock->freq)
freq             1174 drivers/media/platform/qcom/camss/camss-csid.c 			clock->freq[j] = res->clock_rate[i][j];
freq              129 drivers/media/platform/qcom/camss/camss-csiphy.c 				if (min_rate < clock->freq[j])
freq              143 drivers/media/platform/qcom/camss/camss-csiphy.c 			round_rate = clk_round_rate(clock->clk, clock->freq[j]);
freq              627 drivers/media/platform/qcom/camss/camss-csiphy.c 			clock->freq = NULL;
freq              631 drivers/media/platform/qcom/camss/camss-csiphy.c 		clock->freq = devm_kcalloc(dev,
freq              633 drivers/media/platform/qcom/camss/camss-csiphy.c 					   sizeof(*clock->freq),
freq              635 drivers/media/platform/qcom/camss/camss-csiphy.c 		if (!clock->freq)
freq              639 drivers/media/platform/qcom/camss/camss-csiphy.c 			clock->freq[j] = res->clock_rate[i][j];
freq             1162 drivers/media/platform/qcom/camss/camss-ispif.c 		clock->freq = NULL;
freq             1184 drivers/media/platform/qcom/camss/camss-ispif.c 		clock->freq = NULL;
freq             1155 drivers/media/platform/qcom/camss/camss-vfe.c 				if (min_rate < clock->freq[j])
freq             1169 drivers/media/platform/qcom/camss/camss-vfe.c 			rate = clk_round_rate(clock->clk, clock->freq[j]);
freq             2056 drivers/media/platform/qcom/camss/camss-vfe.c 			clock->freq = NULL;
freq             2060 drivers/media/platform/qcom/camss/camss-vfe.c 		clock->freq = devm_kcalloc(dev,
freq             2062 drivers/media/platform/qcom/camss/camss-vfe.c 					   sizeof(*clock->freq),
freq             2064 drivers/media/platform/qcom/camss/camss-vfe.c 		if (!clock->freq)
freq             2068 drivers/media/platform/qcom/camss/camss-vfe.c 			clock->freq[j] = res->clock_rate[i][j];
freq              101 drivers/media/platform/qcom/camss/camss.h 	u32 *freq;
freq               21 drivers/media/platform/qcom/venus/core.h 	unsigned long freq;
freq              395 drivers/media/platform/qcom/venus/helpers.c 	unsigned long freq = table[0].freq;
freq              410 drivers/media/platform/qcom/venus/helpers.c 		freq = table[num_rows - 1].freq;
freq              417 drivers/media/platform/qcom/venus/helpers.c 		freq = table[i].freq;
freq              422 drivers/media/platform/qcom/venus/helpers.c 	ret = clk_set_rate(clk, freq);
freq              426 drivers/media/platform/qcom/venus/helpers.c 	ret = clk_set_rate(core->core0_clk, freq);
freq              430 drivers/media/platform/qcom/venus/helpers.c 	ret = clk_set_rate(core->core1_clk, freq);
freq              437 drivers/media/platform/qcom/venus/helpers.c 	dev_err(dev, "failed to set clock rate %lu (%d)\n", freq, ret);
freq              152 drivers/media/platform/vivid/vivid-radio-common.c 	unsigned freq;
freq              165 drivers/media/platform/vivid/vivid-radio-common.c 	freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow,
freq              167 drivers/media/platform/vivid/vivid-radio-common.c 	*pfreq = freq;
freq               23 drivers/media/platform/vivid/vivid-radio-common.h int vivid_radio_g_frequency(struct file *file, const unsigned *freq, struct v4l2_frequency *vf);
freq               24 drivers/media/platform/vivid/vivid-radio-common.h int vivid_radio_s_frequency(struct file *file, unsigned *freq, const struct v4l2_frequency *vf);
freq              152 drivers/media/platform/vivid/vivid-radio-rx.c 	unsigned freq;
freq              193 drivers/media/platform/vivid/vivid-radio-rx.c 	freq = clamp(dev->radio_rx_freq, low, high);
freq              196 drivers/media/platform/vivid/vivid-radio-rx.c 		freq = spacing * (freq / spacing) + spacing;
freq              197 drivers/media/platform/vivid/vivid-radio-rx.c 		if (freq > high) {
freq              200 drivers/media/platform/vivid/vivid-radio-rx.c 			freq = spacing * (low / spacing) + spacing;
freq              201 drivers/media/platform/vivid/vivid-radio-rx.c 			if (freq >= dev->radio_rx_freq)
freq              205 drivers/media/platform/vivid/vivid-radio-rx.c 		freq = spacing * ((freq + spacing - 1) / spacing) - spacing;
freq              206 drivers/media/platform/vivid/vivid-radio-rx.c 		if (freq < low) {
freq              209 drivers/media/platform/vivid/vivid-radio-rx.c 			freq = spacing * ((high + spacing - 1) / spacing) - spacing;
freq              210 drivers/media/platform/vivid/vivid-radio-rx.c 			if (freq <= dev->radio_rx_freq)
freq              129 drivers/media/platform/vivid/vivid-rds-gen.c void vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq,
freq              148 drivers/media/platform/vivid/vivid-rds-gen.c 		 freq / 16, ((freq & 0xf) * 10) / 16);
freq               38 drivers/media/platform/vivid/vivid-rds-gen.h void vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq,
freq              374 drivers/media/platform/vivid/vivid-sdr-cap.c 	unsigned freq = vf->frequency;
freq              381 drivers/media/platform/vivid/vivid-sdr-cap.c 		if (freq < BAND_ADC_0)
freq              383 drivers/media/platform/vivid/vivid-sdr-cap.c 		else if (freq < BAND_ADC_1)
freq              388 drivers/media/platform/vivid/vivid-sdr-cap.c 		freq = clamp_t(unsigned, freq,
freq              393 drivers/media/platform/vivid/vivid-sdr-cap.c 		    freq != dev->sdr_adc_freq) {
freq              397 drivers/media/platform/vivid/vivid-sdr-cap.c 		dev->sdr_adc_freq = freq;
freq              402 drivers/media/platform/vivid/vivid-sdr-cap.c 		dev->sdr_fm_freq = clamp_t(unsigned, freq,
freq               81 drivers/media/radio/dsbr100.c static int dsbr100_setfreq(struct dsbr100_device *radio, unsigned freq)
freq               83 drivers/media/radio/dsbr100.c 	unsigned f = (freq / 16 * 80) / 1000 + 856;
freq               98 drivers/media/radio/dsbr100.c 		radio->curfreq = freq;
freq               21 drivers/media/radio/lm7000.h static inline void lm7000_set_freq(u32 freq, void *handle,
freq               28 drivers/media/radio/lm7000.h 	freq += 171200;		/* Add 10.7 MHz IF */
freq               29 drivers/media/radio/lm7000.h 	freq /= 400;		/* Convert to 25 kHz units */
freq               30 drivers/media/radio/lm7000.h 	val = freq | LM7000_FM_25 | LM7000_BIT_FM;
freq              105 drivers/media/radio/radio-aimslab.c static int rtrack_s_frequency(struct radio_isa_card *isa, u32 freq)
freq              107 drivers/media/radio/radio-aimslab.c 	lm7000_set_freq(freq, isa, rtrack_set_pins);
freq               90 drivers/media/radio/radio-aztech.c static int aztech_s_frequency(struct radio_isa_card *isa, u32 freq)
freq               92 drivers/media/radio/radio-aztech.c 	lm7000_set_freq(freq, isa, aztech_set_pins);
freq              164 drivers/media/radio/radio-cadet.c 	unsigned freq = 0, test, fifo = 0;
freq              180 drivers/media/radio/radio-cadet.c 			freq += test;
freq              184 drivers/media/radio/radio-cadet.c 	freq -= 10700000;           /* IF frequency is 10.7 MHz */
freq              185 drivers/media/radio/radio-cadet.c 	freq = (freq * 16) / 1000;   /* Make it 1/16 kHz */
freq              186 drivers/media/radio/radio-cadet.c 	return freq;
freq              214 drivers/media/radio/radio-cadet.c static void cadet_setfreq(struct cadet *dev, unsigned freq)
freq              220 drivers/media/radio/radio-cadet.c 	freq = clamp(freq, bands[dev->is_fm_band].rangelow,
freq              222 drivers/media/radio/radio-cadet.c 	dev->curfreq = freq;
freq              229 drivers/media/radio/radio-cadet.c 		freq = freq / 16;       /* Make it kHz */
freq              230 drivers/media/radio/radio-cadet.c 		freq += 10700;               /* IF is 10700 kHz */
freq              233 drivers/media/radio/radio-cadet.c 			if (freq >= test) {
freq              235 drivers/media/radio/radio-cadet.c 				freq -= test;
freq              240 drivers/media/radio/radio-cadet.c 		fifo = (freq / 16) + 450;	/* Make it kHz */
freq              175 drivers/media/radio/radio-gemtek.c static unsigned long gemtek_convfreq(unsigned long freq)
freq              177 drivers/media/radio/radio-gemtek.c 	return ((freq << FSCALE) + IF_OFFSET + REF_FREQ / 2) / REF_FREQ;
freq              192 drivers/media/radio/radio-gemtek.c static int gemtek_s_frequency(struct radio_isa_card *isa, u32 freq)
freq              206 drivers/media/radio/radio-gemtek.c 	gemtek_bu2614_set(gt, BU2614_FREQ, gemtek_convfreq(freq));
freq              222 drivers/media/radio/radio-gemtek.c 			return gemtek_s_frequency(isa, isa->freq);
freq               92 drivers/media/radio/radio-isa.c 	u32 freq = f->frequency;
freq               97 drivers/media/radio/radio-isa.c 	freq = clamp(freq, FREQ_LOW, FREQ_HIGH);
freq               98 drivers/media/radio/radio-isa.c 	res = isa->drv->ops->s_frequency(isa, freq);
freq              100 drivers/media/radio/radio-isa.c 		isa->freq = freq;
freq              112 drivers/media/radio/radio-isa.c 	f->frequency = isa->freq;
freq              242 drivers/media/radio/radio-isa.c 	isa->freq = FREQ_LOW;
freq              250 drivers/media/radio/radio-isa.c 		res = ops->s_frequency(isa, isa->freq);
freq               40 drivers/media/radio/radio-isa.h 	u32 freq;
freq               55 drivers/media/radio/radio-isa.h 	int (*s_frequency)(struct radio_isa_card *isa, u32 freq);
freq               70 drivers/media/radio/radio-keene.c static int keene_cmd_main(struct keene_device *radio, unsigned freq, bool play)
freq               72 drivers/media/radio/radio-keene.c 	unsigned short freq_send = freq ? (freq - 76 * 16000) / 800 : 0;
freq               86 drivers/media/radio/radio-keene.c 							(freq ? 0x10 : 0);
freq               97 drivers/media/radio/radio-keene.c 	if (freq)
freq               98 drivers/media/radio/radio-keene.c 		radio->curfreq = freq;
freq              206 drivers/media/radio/radio-keene.c 	unsigned freq = f->frequency;
freq              210 drivers/media/radio/radio-keene.c 	freq = clamp(freq, FREQ_MIN * FREQ_MUL, FREQ_MAX * FREQ_MUL);
freq              211 drivers/media/radio/radio-keene.c 	return keene_cmd_main(radio, freq, true);
freq               93 drivers/media/radio/radio-ma901.c static int ma901radio_set_freq(struct ma901radio_device *radio, int freq)
freq               95 drivers/media/radio/radio-ma901.c 	unsigned int freq_send = 0x300 + (freq >> 5) / 25;
freq              113 drivers/media/radio/radio-ma901.c 	radio->curfreq = freq;
freq               74 drivers/media/radio/radio-miropcm20.c 	unsigned long freq;
freq               81 drivers/media/radio/radio-miropcm20.c 	.freq = 87 * 16000,
freq              182 drivers/media/radio/radio-miropcm20.c static int pcm20_setfreq(struct pcm20 *dev, unsigned long freq)
freq              188 drivers/media/radio/radio-miropcm20.c 	freq /= 160;
freq              190 drivers/media/radio/radio-miropcm20.c 		freq /= 10;  /* I don't know exactly which version
freq              192 drivers/media/radio/radio-miropcm20.c 	freql = freq & 0xff;
freq              193 drivers/media/radio/radio-miropcm20.c 	freqh = freq >> 8;
freq              278 drivers/media/radio/radio-miropcm20.c 	f->frequency = dev->freq;
freq              291 drivers/media/radio/radio-miropcm20.c 	dev->freq = clamp_t(u32, f->frequency, 87 * 16000U, 108 * 16000U);
freq              292 drivers/media/radio/radio-miropcm20.c 	pcm20_setfreq(dev, dev->freq);
freq              487 drivers/media/radio/radio-miropcm20.c 	pcm20_setfreq(dev, dev->freq);
freq              191 drivers/media/radio/radio-mr800.c static int amradio_set_freq(struct amradio_device *radio, int freq)
freq              198 drivers/media/radio/radio-mr800.c 	freq = clamp_t(unsigned, freq, FREQ_MIN * FREQ_MUL, FREQ_MAX * FREQ_MUL);
freq              199 drivers/media/radio/radio-mr800.c 	freq_send = 0x10 + (freq >> 3) / 25;
freq              209 drivers/media/radio/radio-mr800.c 	radio->curfreq = freq;
freq              122 drivers/media/radio/radio-raremono.c static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq)
freq              130 drivers/media/radio/radio-raremono.c 		freq /= 10;
freq              140 drivers/media/radio/radio-raremono.c 	radio->buffer[1] = freq >> 8;
freq              141 drivers/media/radio/radio-raremono.c 	radio->buffer[2] = freq & 0xff;
freq              153 drivers/media/radio/radio-raremono.c 	radio->curfreq = (band == BAND_FM) ? freq * 10 : freq;
freq              243 drivers/media/radio/radio-raremono.c 	u32 freq;
freq              256 drivers/media/radio/radio-raremono.c 	freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh);
freq              257 drivers/media/radio/radio-raremono.c 	return raremono_cmd_main(radio, band, freq / 16);
freq               67 drivers/media/radio/radio-rtrack2.c static int rtrack2_s_frequency(struct radio_isa_card *isa, u32 freq)
freq               71 drivers/media/radio/radio-rtrack2.c 	freq = freq / 200 + 856;
freq               81 drivers/media/radio/radio-rtrack2.c 		if (freq & (1 << i))
freq               72 drivers/media/radio/radio-si476x.c static inline bool si476x_radio_freq_is_inside_of_the_band(u32 freq, int band)
freq               74 drivers/media/radio/radio-si476x.c 	return freq >= si476x_bands[band].rangelow &&
freq               75 drivers/media/radio/radio-si476x.c 		freq <= si476x_bands[band].rangehigh;
freq              528 drivers/media/radio/radio-si476x.c 		args.freq = v4l2_to_si476x(radio->core,
freq              533 drivers/media/radio/radio-si476x.c 		args.freq = v4l2_to_si476x(radio->core,
freq              687 drivers/media/radio/radio-si476x.c 	u32 freq = f->frequency;
freq              693 drivers/media/radio/radio-si476x.c 	const int band = (freq > midrange) ?
freq              704 drivers/media/radio/radio-si476x.c 	freq = clamp(freq,
freq              708 drivers/media/radio/radio-si476x.c 	if (si476x_radio_freq_is_inside_of_the_band(freq,
freq              723 drivers/media/radio/radio-si476x.c 	args.freq		= v4l2_to_si476x(radio->core, freq);
freq              209 drivers/media/radio/radio-tea5764.c static void tea5764_set_freq(struct tea5764_device *radio, int freq)
freq              215 drivers/media/radio/radio-tea5764.c 		r->frqset = (freq + 225000) / 8192;
freq              217 drivers/media/radio/radio-tea5764.c 		r->frqset = (freq - 225000) / 8192;
freq              231 drivers/media/radio/radio-tea5764.c static void tea5764_tune(struct tea5764_device *radio, int freq)
freq              233 drivers/media/radio/radio-tea5764.c 	tea5764_set_freq(radio, freq);
freq              330 drivers/media/radio/radio-tea5764.c 	unsigned freq = f->frequency;
freq              334 drivers/media/radio/radio-tea5764.c 	if (freq == 0) {
freq              344 drivers/media/radio/radio-tea5764.c 	freq = clamp(freq, FREQ_MIN * FREQ_MUL, FREQ_MAX * FREQ_MUL);
freq              346 drivers/media/radio/radio-tea5764.c 	tea5764_tune(radio, (freq * 125) / 2);
freq              162 drivers/media/radio/radio-tea5777.c static u32 tea5777_freq_to_v4l2_freq(struct radio_tea5777 *tea, u32 freq)
freq              166 drivers/media/radio/radio-tea5777.c 		return (freq * TEA5777_FM_FREQ_STEP + TEA5777_FM_IF) * 16;
freq              168 drivers/media/radio/radio-tea5777.c 		return (freq * TEA5777_AM_FREQ_STEP + TEA5777_AM_IF) * 16;
freq              175 drivers/media/radio/radio-tea5777.c 	u32 freq;
freq              178 drivers/media/radio/radio-tea5777.c 	freq = clamp(tea->freq, bands[tea->band].rangelow,
freq              180 drivers/media/radio/radio-tea5777.c 	freq = (freq + 8) / 16; /* to kHz */
freq              185 drivers/media/radio/radio-tea5777.c 		freq = (freq - TEA5777_FM_IF) / TEA5777_FM_FREQ_STEP;
freq              187 drivers/media/radio/radio-tea5777.c 		tea->write_reg |= (u64)freq << TEA5777_W_FM_PLL_SHIFT;
freq              198 drivers/media/radio/radio-tea5777.c 		freq = (freq - TEA5777_AM_IF) / TEA5777_AM_FREQ_STEP;
freq              200 drivers/media/radio/radio-tea5777.c 		tea->write_reg |= (u64)freq << TEA5777_W_AM_PLL_SHIFT;
freq              219 drivers/media/radio/radio-tea5777.c 	tea->freq = tea5777_freq_to_v4l2_freq(tea, freq);
freq              348 drivers/media/radio/radio-tea5777.c 	f->frequency = tea->freq;
freq              365 drivers/media/radio/radio-tea5777.c 	tea->freq = f->frequency;
freq              397 drivers/media/radio/radio-tea5777.c 		if (tea->freq < rangelow || tea->freq > rangehigh) {
freq              398 drivers/media/radio/radio-tea5777.c 			tea->freq = clamp(tea->freq, rangelow,
freq              410 drivers/media/radio/radio-tea5777.c 	orig_freq = tea->freq;
freq              415 drivers/media/radio/radio-tea5777.c 		tea->freq = rangelow;
freq              423 drivers/media/radio/radio-tea5777.c 		tea->freq = rangehigh;
freq              434 drivers/media/radio/radio-tea5777.c 		tea->freq = orig_freq + spacing;
freq              437 drivers/media/radio/radio-tea5777.c 		tea->freq = orig_freq - spacing;
freq              459 drivers/media/radio/radio-tea5777.c 		tea->freq = (tea->read_reg & TEA5777_R_FM_PLL_MASK);
freq              460 drivers/media/radio/radio-tea5777.c 		tea->freq = tea5777_freq_to_v4l2_freq(tea, tea->freq);
freq              478 drivers/media/radio/radio-tea5777.c 	tea->freq = orig_freq;
freq              539 drivers/media/radio/radio-tea5777.c 	tea->freq = 90500 * 16;	/* 90.5Mhz default */
freq               58 drivers/media/radio/radio-tea5777.h 	u32 freq;			/* current frequency */
freq               82 drivers/media/radio/radio-terratec.c static int terratec_s_frequency(struct radio_isa_card *isa, u32 freq)
freq               90 drivers/media/radio/radio-terratec.c 	freq = freq / 160;			/* convert the freq. to a nice to handle value */
freq               93 drivers/media/radio/radio-terratec.c 	rest = freq * 10 + 10700;	/* I once had understood what is going on here */
freq              147 drivers/media/radio/radio-trust.c static int trust_s_frequency(struct radio_isa_card *isa, u32 freq)
freq              151 drivers/media/radio/radio-trust.c 	freq /= 160;	/* Convert to 10 kHz units	*/
freq              152 drivers/media/radio/radio-trust.c 	freq += 1070;	/* Add 10.7 MHz IF		*/
freq              153 drivers/media/radio/radio-trust.c 	write_i2c(tr, 5, TSA6060T_ADDR, (freq << 1) | 1,
freq              154 drivers/media/radio/radio-trust.c 			freq >> 7, 0x60 | ((freq >> 15) & 1), 0);
freq               83 drivers/media/radio/radio-typhoon.c static int typhoon_s_frequency(struct radio_isa_card *isa, u32 freq)
freq               99 drivers/media/radio/radio-typhoon.c 	x = freq / 160;
freq              128 drivers/media/radio/radio-typhoon.c 		return typhoon_s_frequency(isa, isa->freq);
freq              285 drivers/media/radio/radio-wl1273.c 		u16 freq;
freq              299 drivers/media/radio/radio-wl1273.c 			r = core->read(core, WL1273_FREQ_SET, &freq);
freq              305 drivers/media/radio/radio-wl1273.c 					freq * 50;
freq              308 drivers/media/radio/radio-wl1273.c 					freq * 50;
freq              318 drivers/media/radio/radio-wl1273.c 			r = core->read(core, WL1273_CHANL_SET, &freq);
freq              322 drivers/media/radio/radio-wl1273.c 			dev_dbg(radio->dev, "%dkHz\n", freq);
freq              334 drivers/media/radio/radio-wl1273.c static int wl1273_fm_set_tx_freq(struct wl1273_device *radio, unsigned int freq)
freq              340 drivers/media/radio/radio-wl1273.c 	if (freq < WL1273_BAND_TX_LOW) {
freq              342 drivers/media/radio/radio-wl1273.c 			"Frequency out of range: %d < %d\n", freq,
freq              347 drivers/media/radio/radio-wl1273.c 	if (freq > WL1273_BAND_TX_HIGH) {
freq              349 drivers/media/radio/radio-wl1273.c 			"Frequency out of range: %d > %d\n", freq,
freq              360 drivers/media/radio/radio-wl1273.c 	dev_dbg(radio->dev, "%s: freq: %d kHz\n", __func__, freq);
freq              363 drivers/media/radio/radio-wl1273.c 	r = core->write(core, WL1273_CHANL_SET, freq / 10);
freq              388 drivers/media/radio/radio-wl1273.c 	radio->tx_frequency = freq;
freq              394 drivers/media/radio/radio-wl1273.c static int wl1273_fm_set_rx_freq(struct wl1273_device *radio, unsigned int freq)
freq              400 drivers/media/radio/radio-wl1273.c 	if (freq < radio->rangelow) {
freq              402 drivers/media/radio/radio-wl1273.c 			"Frequency out of range: %d < %d\n", freq,
freq              408 drivers/media/radio/radio-wl1273.c 	if (freq > radio->rangehigh) {
freq              410 drivers/media/radio/radio-wl1273.c 			"Frequency out of range: %d > %d\n", freq,
freq              416 drivers/media/radio/radio-wl1273.c 	dev_dbg(radio->dev, "%s: %dkHz\n", __func__, freq);
freq              421 drivers/media/radio/radio-wl1273.c 		f = (freq - WL1273_BAND_JAPAN_LOW) / 50;
freq              423 drivers/media/radio/radio-wl1273.c 		f = (freq - WL1273_BAND_OTHER_LOW) / 50;
freq              447 drivers/media/radio/radio-wl1273.c 	radio->rx_frequency = freq;
freq              456 drivers/media/radio/radio-wl1273.c 	unsigned int freq;
freq              467 drivers/media/radio/radio-wl1273.c 			freq = WL1273_BAND_JAPAN_LOW + 50 * f;
freq              469 drivers/media/radio/radio-wl1273.c 			freq = WL1273_BAND_OTHER_LOW + 50 * f;
freq              475 drivers/media/radio/radio-wl1273.c 		freq = f * 10;
freq              478 drivers/media/radio/radio-wl1273.c 	return freq;
freq             1623 drivers/media/radio/radio-wl1273.c 					struct v4l2_frequency *freq)
freq             1633 drivers/media/radio/radio-wl1273.c 	freq->type = V4L2_TUNER_RADIO;
freq             1634 drivers/media/radio/radio-wl1273.c 	freq->frequency = WL1273_FREQ(wl1273_fm_get_freq(radio));
freq             1642 drivers/media/radio/radio-wl1273.c 					const struct v4l2_frequency *freq)
freq             1648 drivers/media/radio/radio-wl1273.c 	dev_dbg(radio->dev, "%s: %d\n", __func__, freq->frequency);
freq             1650 drivers/media/radio/radio-wl1273.c 	if (freq->type != V4L2_TUNER_RADIO) {
freq             1652 drivers/media/radio/radio-wl1273.c 			"freq->type != V4L2_TUNER_RADIO: %d\n", freq->type);
freq             1660 drivers/media/radio/radio-wl1273.c 		dev_dbg(radio->dev, "freq: %d\n", freq->frequency);
freq             1663 drivers/media/radio/radio-wl1273.c 					  WL1273_INV_FREQ(freq->frequency));
freq             1669 drivers/media/radio/radio-wl1273.c 					  WL1273_INV_FREQ(freq->frequency));
freq              107 drivers/media/radio/radio-zoltrix.c static int zoltrix_s_frequency(struct radio_isa_card *isa, u32 freq)
freq              115 drivers/media/radio/radio-zoltrix.c 	if (freq == 0) {
freq              120 drivers/media/radio/radio-zoltrix.c 	m = (freq / 160 - 8800) * 2;
freq              203 drivers/media/radio/radio-zoltrix.c 	return zoltrix_s_frequency(isa, isa->freq);
freq              259 drivers/media/radio/si470x/radio-si470x-common.c static int si470x_get_freq(struct si470x_device *radio, unsigned int *freq)
freq              268 drivers/media/radio/si470x/radio-si470x-common.c 	*freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow;
freq              277 drivers/media/radio/si470x/radio-si470x-common.c int si470x_set_freq(struct si470x_device *radio, unsigned int freq)
freq              281 drivers/media/radio/si470x/radio-si470x-common.c 	freq = clamp(freq, bands[radio->band].rangelow,
freq              284 drivers/media/radio/si470x/radio-si470x-common.c 	chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio);
freq              298 drivers/media/radio/si470x/radio-si470x-common.c 	unsigned int freq;
freq              315 drivers/media/radio/si470x/radio-si470x-common.c 		retval = si470x_get_freq(radio, &freq);
freq              321 drivers/media/radio/si470x/radio-si470x-common.c 		retval = si470x_set_freq(radio, freq);
freq              687 drivers/media/radio/si470x/radio-si470x-common.c 		struct v4l2_frequency *freq)
freq              691 drivers/media/radio/si470x/radio-si470x-common.c 	if (freq->tuner != 0)
freq              694 drivers/media/radio/si470x/radio-si470x-common.c 	freq->type = V4L2_TUNER_RADIO;
freq              695 drivers/media/radio/si470x/radio-si470x-common.c 	return si470x_get_freq(radio, &freq->frequency);
freq              703 drivers/media/radio/si470x/radio-si470x-common.c 		const struct v4l2_frequency *freq)
freq              708 drivers/media/radio/si470x/radio-si470x-common.c 	if (freq->tuner != 0)
freq              711 drivers/media/radio/si470x/radio-si470x-common.c 	if (freq->frequency < bands[radio->band].rangelow ||
freq              712 drivers/media/radio/si470x/radio-si470x-common.c 	    freq->frequency > bands[radio->band].rangehigh) {
freq              718 drivers/media/radio/si470x/radio-si470x-common.c 	return si470x_set_freq(radio, freq->frequency);
freq              218 drivers/media/radio/si470x/radio-si470x.h int si470x_set_freq(struct si470x_device *radio, unsigned int freq);
freq             1355 drivers/media/radio/si4713/si4713.c 		u16 freq;
freq             1358 drivers/media/radio/si4713/si4713.c 		rval = si4713_tx_tune_status(sdev, 0x00, &freq, &p, &a, &n);
freq             1362 drivers/media/radio/si4713/si4713.c 		sdev->frequency = freq;
freq              144 drivers/media/radio/tea575x.c 	u32 freq = val & TEA575X_BIT_FREQ_MASK;
freq              146 drivers/media/radio/tea575x.c 	if (freq == 0)
freq              147 drivers/media/radio/tea575x.c 		return freq;
freq              152 drivers/media/radio/tea575x.c 		freq *= 125;
freq              153 drivers/media/radio/tea575x.c 		freq /= 10;
freq              155 drivers/media/radio/tea575x.c 		freq -= TEA575X_FMIF;
freq              159 drivers/media/radio/tea575x.c 		freq *= 125;
freq              160 drivers/media/radio/tea575x.c 		freq /= 10;
freq              162 drivers/media/radio/tea575x.c 		freq += TEA575X_FMIF;
freq              166 drivers/media/radio/tea575x.c 		freq -= TEA575X_AMIF;
freq              170 drivers/media/radio/tea575x.c 	return clamp(freq * 16, bands[tea->band].rangelow,
freq              181 drivers/media/radio/tea575x.c 	u32 freq = tea->freq / 16;	/* to kHz */
freq              188 drivers/media/radio/tea575x.c 		freq += TEA575X_FMIF;
freq              190 drivers/media/radio/tea575x.c 		freq *= 10;
freq              191 drivers/media/radio/tea575x.c 		freq /= 125;
freq              196 drivers/media/radio/tea575x.c 		freq -= TEA575X_FMIF;
freq              198 drivers/media/radio/tea575x.c 		freq *= 10;
freq              199 drivers/media/radio/tea575x.c 		freq /= 125;
freq              204 drivers/media/radio/tea575x.c 		freq += TEA575X_AMIF;
freq              210 drivers/media/radio/tea575x.c 	tea->val |= freq & TEA575X_BIT_FREQ_MASK;
freq              212 drivers/media/radio/tea575x.c 	tea->freq = snd_tea575x_val_to_freq(tea, tea->val);
freq              331 drivers/media/radio/tea575x.c 	f->frequency = tea->freq;
freq              350 drivers/media/radio/tea575x.c 	tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow,
freq              384 drivers/media/radio/tea575x.c 			tea->freq = clamp(tea->freq, bands[i].rangelow,
freq              411 drivers/media/radio/tea575x.c 			u32 freq;
freq              416 drivers/media/radio/tea575x.c 				freq = snd_tea575x_get_freq(tea);
freq              417 drivers/media/radio/tea575x.c 				if (freq) /* available */
freq              420 drivers/media/radio/tea575x.c 			if (freq == 0) /* shouldn't happen */
freq              426 drivers/media/radio/tea575x.c 			if (abs(tea->freq - freq) < 16 * spacing ||
freq              427 drivers/media/radio/tea575x.c 					(a->seek_upward && freq < tea->freq) ||
freq              428 drivers/media/radio/tea575x.c 					(!a->seek_upward && freq > tea->freq)) {
freq              432 drivers/media/radio/tea575x.c 			tea->freq = freq;
freq              508 drivers/media/radio/tea575x.c 	tea->freq = 90500 * 16;		/* 90.5Mhz default */
freq               51 drivers/media/radio/tef6862.c 	unsigned long freq;
freq               95 drivers/media/radio/tef6862.c 	unsigned freq = f->frequency;
freq              103 drivers/media/radio/tef6862.c 	freq = clamp(freq, TEF6862_LO_FREQ, TEF6862_HI_FREQ);
freq              104 drivers/media/radio/tef6862.c 	pll = 1964 + ((freq - TEF6862_LO_FREQ) * 20) / FREQ_MUL;
freq              113 drivers/media/radio/tef6862.c 	state->freq = freq;
freq              124 drivers/media/radio/tef6862.c 	f->frequency = state->freq;
freq              160 drivers/media/radio/tef6862.c 	state->freq = TEF6862_LO_FREQ;
freq              139 drivers/media/radio/wl128x/fmdrv.h 	u32 freq;	/* Current RX frquency */
freq              628 drivers/media/radio/wl128x/fmdrv_common.c 	u32 freq;
freq              645 drivers/media/radio/wl128x/fmdrv_common.c 	freq = fmdev->rx.region.bot_freq + (af * 100);
freq              646 drivers/media/radio/wl128x/fmdrv_common.c 	if (freq == fmdev->rx.freq) {
freq              648 drivers/media/radio/wl128x/fmdrv_common.c 				fmdev->rx.freq, freq);
freq              653 drivers/media/radio/wl128x/fmdrv_common.c 		if (stat_info->af_cache[index] == freq)
freq              666 drivers/media/radio/wl128x/fmdrv_common.c 		fmdbg("Storing AF %d to cache index %d\n", freq, index);
freq              667 drivers/media/radio/wl128x/fmdrv_common.c 		stat_info->af_cache[index] = freq;
freq              848 drivers/media/radio/wl128x/fmdrv_common.c 	    (fmdev->rx.freq != FM_UNDEFINED_FREQ) &&
freq              856 drivers/media/radio/wl128x/fmdrv_common.c 		fmdev->rx.freq_before_jump = fmdev->rx.freq;
freq              984 drivers/media/radio/wl128x/fmdrv_common.c 		fmdev->rx.freq = curr_freq;
freq             1120 drivers/media/radio/wl128x/fmdrv_common.c 	if (fmdev->rx.freq == FM_UNDEFINED_FREQ) {
freq             1131 drivers/media/radio/wl128x/fmdrv_common.c 		*cur_tuned_frq = fmdev->rx.freq;
freq             1558 drivers/media/radio/wl128x/fmdrv_common.c 	fmdev->rx.freq = FM_UNDEFINED_FREQ;
freq             1595 drivers/media/radio/wl128x/fmdrv_common.c 	fmdev->rx.freq = 0;
freq               33 drivers/media/radio/wl128x/fmdrv_rx.c int fm_rx_set_freq(struct fmdev *fmdev, u32 freq)
freq               41 drivers/media/radio/wl128x/fmdrv_rx.c 	if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) {
freq               42 drivers/media/radio/wl128x/fmdrv_rx.c 		fmerr("Invalid frequency %d\n", freq);
freq               62 drivers/media/radio/wl128x/fmdrv_rx.c 	payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL;
freq              109 drivers/media/radio/wl128x/fmdrv_rx.c 	if (curr_frq_in_khz != freq) {
freq              111 drivers/media/radio/wl128x/fmdrv_rx.c 			curr_frq_in_khz, freq);
freq              115 drivers/media/radio/wl128x/fmdrv_rx.c 	fmdev->rx.freq = curr_frq_in_khz;
freq              256 drivers/media/radio/wl128x/fmdrv_rx.c 			fmdev->rx.freq = seek_upward ?
freq              260 drivers/media/radio/wl128x/fmdrv_rx.c 			fmdev->rx.freq = seek_upward ?
freq              264 drivers/media/radio/wl128x/fmdrv_rx.c 			next_frq = (fmdev->rx.freq -
freq              276 drivers/media/radio/wl128x/fmdrv_rx.c 		fmdev->rx.freq = (fmdev->rx.region.bot_freq +
freq              374 drivers/media/radio/wl128x/fmdrv_rx.c 	if (fmdev->rx.freq < fmdev->rx.region.bot_freq)
freq              376 drivers/media/radio/wl128x/fmdrv_rx.c 	else if (fmdev->rx.freq > fmdev->rx.region.top_freq)
freq              354 drivers/media/radio/wl128x/fmdrv_v4l2.c 		struct v4l2_frequency *freq)
freq              359 drivers/media/radio/wl128x/fmdrv_v4l2.c 	ret = fmc_get_freq(fmdev, &freq->frequency);
freq              366 drivers/media/radio/wl128x/fmdrv_v4l2.c 	freq->frequency = (u32) freq->frequency * 16;
freq              373 drivers/media/radio/wl128x/fmdrv_v4l2.c 		const struct v4l2_frequency *freq)
freq              381 drivers/media/radio/wl128x/fmdrv_v4l2.c 	return fmc_set_freq(fmdev, freq->frequency / 16);
freq               26 drivers/media/rc/ir-rx51.c 	unsigned int	freq;		/* carrier frequency */
freq               46 drivers/media/rc/ir-rx51.c 	int duty, period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, ir_rx51->freq);
freq              192 drivers/media/rc/ir-rx51.c 	ir_rx51->freq = carrier;
freq              244 drivers/media/rc/ir-rx51.c 	ir_rx51.freq = DIV_ROUND_CLOSEST(pwm_get_period(pwm), NSEC_PER_SEC);
freq               22 drivers/media/rc/ir-spi.c 	u32 freq;
freq               49 drivers/media/rc/ir-spi.c 		periods = DIV_ROUND_CLOSEST(buffer[i] * idata->freq, 1000000);
freq               66 drivers/media/rc/ir-spi.c 	xfer.speed_hz = idata->freq * 16;
freq               90 drivers/media/rc/ir-spi.c 	idata->freq = carrier;
freq              150 drivers/media/rc/ir-spi.c 	idata->freq = IR_SPI_DEFAULT_FREQUENCY;
freq               75 drivers/media/rc/ite-cir.c static inline bool ite_is_high_carrier_freq(unsigned int freq)
freq               77 drivers/media/rc/ite-cir.c 	return freq >= ITE_HCF_MIN_CARRIER_FREQ;
freq               82 drivers/media/rc/ite-cir.c static u8 ite_get_carrier_freq_bits(unsigned int freq)
freq               84 drivers/media/rc/ite-cir.c 	if (ite_is_high_carrier_freq(freq)) {
freq               85 drivers/media/rc/ite-cir.c 		if (freq < 425000)
freq               88 drivers/media/rc/ite-cir.c 		else if (freq < 465000)
freq               91 drivers/media/rc/ite-cir.c 		else if (freq < 490000)
freq               98 drivers/media/rc/ite-cir.c 		if (freq < ITE_LCF_MIN_CARRIER_FREQ)
freq               99 drivers/media/rc/ite-cir.c 			freq = ITE_LCF_MIN_CARRIER_FREQ;
freq              100 drivers/media/rc/ite-cir.c 		if (freq > ITE_LCF_MAX_CARRIER_FREQ)
freq              101 drivers/media/rc/ite-cir.c 			freq = ITE_LCF_MAX_CARRIER_FREQ;
freq              104 drivers/media/rc/ite-cir.c 		freq =
freq              105 drivers/media/rc/ite-cir.c 		    DIV_ROUND_CLOSEST(freq - ITE_LCF_MIN_CARRIER_FREQ,
freq              108 drivers/media/rc/ite-cir.c 		return (u8) freq;
freq              113 drivers/media/rc/ite-cir.c static u8 ite_get_pulse_width_bits(unsigned int freq, int duty_cycle)
freq              118 drivers/media/rc/ite-cir.c 	if (freq < ITE_LCF_MIN_CARRIER_FREQ)
freq              119 drivers/media/rc/ite-cir.c 		freq = ITE_LCF_MIN_CARRIER_FREQ;
freq              120 drivers/media/rc/ite-cir.c 	if (freq > ITE_HCF_MAX_CARRIER_FREQ)
freq              121 drivers/media/rc/ite-cir.c 		freq = ITE_HCF_MAX_CARRIER_FREQ;
freq              123 drivers/media/rc/ite-cir.c 	period_ns = 1000000000UL / freq;
freq              126 drivers/media/rc/ite-cir.c 	if (ite_is_high_carrier_freq(freq)) {
freq              213 drivers/media/rc/ite-cir.c 	unsigned int freq, low_freq, high_freq;
freq              222 drivers/media/rc/ite-cir.c 		freq = dev->params.tx_carrier_freq;
freq              231 drivers/media/rc/ite-cir.c 			freq =
freq              237 drivers/media/rc/ite-cir.c 			freq = (low_freq + high_freq) / 2;
freq              256 drivers/media/rc/ite-cir.c 	dev->params.set_carrier_params(dev, ite_is_high_carrier_freq(freq),
freq              257 drivers/media/rc/ite-cir.c 		 use_demodulator, ite_get_carrier_freq_bits(freq), allowance,
freq              258 drivers/media/rc/ite-cir.c 		 ite_get_pulse_width_bits(freq, dev->params.tx_duty_cycle));
freq              543 drivers/media/rc/winbond-cir.c 	u32 freq;
freq              545 drivers/media/rc/winbond-cir.c 	freq = DIV_ROUND_CLOSEST(carrier, 1000);
freq              546 drivers/media/rc/winbond-cir.c 	if (freq < 30 || freq > 60)
freq              549 drivers/media/rc/winbond-cir.c 	switch (freq) {
freq              553 drivers/media/rc/winbond-cir.c 		val = freq - 58;
freq              554 drivers/media/rc/winbond-cir.c 		freq *= 1000;
freq              557 drivers/media/rc/winbond-cir.c 		val = freq - 27;
freq              558 drivers/media/rc/winbond-cir.c 		freq = 56900;
freq              561 drivers/media/rc/winbond-cir.c 		val = freq - 27;
freq              562 drivers/media/rc/winbond-cir.c 		freq *= 1000;
freq              572 drivers/media/rc/winbond-cir.c 	if (data->txcarrier != freq) {
freq              575 drivers/media/rc/winbond-cir.c 		data->txcarrier = freq;
freq              131 drivers/media/tuners/e4000.c 		if (dev->f_frequency <= e4000_pll_lut[i].freq)
freq              162 drivers/media/tuners/e4000.c 		if (dev->f_frequency <= e400_lna_filter_lut[i].freq)
freq              176 drivers/media/tuners/e4000.c 		if (dev->f_bandwidth <= e4000_if_filter_lut[i].freq)
freq              193 drivers/media/tuners/e4000.c 		if (dev->f_frequency <= e4000_band_lut[i].freq)
freq               41 drivers/media/tuners/e4000_priv.h 	u32 freq;
freq               62 drivers/media/tuners/e4000_priv.h 	u32 freq;
freq              102 drivers/media/tuners/e4000_priv.h 	u32 freq;
freq              115 drivers/media/tuners/e4000_priv.h 	u32 freq;
freq              169 drivers/media/tuners/fc0011.c 	u32 freq = p->frequency / 1000;
freq              189 drivers/media/tuners/fc0011.c 	if (freq < 54000) {
freq              190 drivers/media/tuners/fc0011.c 		fvco = freq * 64;
freq              192 drivers/media/tuners/fc0011.c 	} else if (freq < 108000) {
freq              193 drivers/media/tuners/fc0011.c 		fvco = freq * 32;
freq              195 drivers/media/tuners/fc0011.c 	} else if (freq < 216000) {
freq              196 drivers/media/tuners/fc0011.c 		fvco = freq * 16;
freq              198 drivers/media/tuners/fc0011.c 	} else if (freq < 432000) {
freq              199 drivers/media/tuners/fc0011.c 		fvco = freq * 8;
freq              202 drivers/media/tuners/fc0011.c 		fvco = freq * 4;
freq              274 drivers/media/tuners/fc0011.c 	if (freq < 45000) {
freq              123 drivers/media/tuners/fc0012.c 	u32 freq = p->frequency / 1000;
freq              132 drivers/media/tuners/fc0012.c 			FC_FE_CALLBACK_VHF_ENABLE, (freq > 300000 ? 0 : 1));
freq              151 drivers/media/tuners/fc0012.c 	if (freq < 37084) {		/* freq * 96 < 3560000 */
freq              155 drivers/media/tuners/fc0012.c 	} else if (freq < 55625) {	/* freq * 64 < 3560000 */
freq              159 drivers/media/tuners/fc0012.c 	} else if (freq < 74167) {	/* freq * 48 < 3560000 */
freq              163 drivers/media/tuners/fc0012.c 	} else if (freq < 111250) {	/* freq * 32 < 3560000 */
freq              167 drivers/media/tuners/fc0012.c 	} else if (freq < 148334) {	/* freq * 24 < 3560000 */
freq              171 drivers/media/tuners/fc0012.c 	} else if (freq < 222500) {	/* freq * 16 < 3560000 */
freq              175 drivers/media/tuners/fc0012.c 	} else if (freq < 296667) {	/* freq * 12 < 3560000 */
freq              179 drivers/media/tuners/fc0012.c 	} else if (freq < 445000) {	/* freq * 8 < 3560000 */
freq              183 drivers/media/tuners/fc0012.c 	} else if (freq < 593334) {	/* freq * 6 < 3560000 */
freq              193 drivers/media/tuners/fc0012.c 	f_vco = freq * multi;
freq              200 drivers/media/tuners/fc0012.c 	if (freq >= 45000) {
freq              179 drivers/media/tuners/fc0013.c static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq)
freq              188 drivers/media/tuners/fc0013.c 	if (freq <= 177500) {		/* VHF Track: 7 */
freq              190 drivers/media/tuners/fc0013.c 	} else if (freq <= 184500) {	/* VHF Track: 6 */
freq              192 drivers/media/tuners/fc0013.c 	} else if (freq <= 191500) {	/* VHF Track: 5 */
freq              194 drivers/media/tuners/fc0013.c 	} else if (freq <= 198500) {	/* VHF Track: 4 */
freq              196 drivers/media/tuners/fc0013.c 	} else if (freq <= 205500) {	/* VHF Track: 3 */
freq              198 drivers/media/tuners/fc0013.c 	} else if (freq <= 219500) {	/* VHF Track: 2 */
freq              200 drivers/media/tuners/fc0013.c 	} else if (freq < 300000) {	/* VHF Track: 1 */
freq              214 drivers/media/tuners/fc0013.c 	u32 freq = p->frequency / 1000;
freq              223 drivers/media/tuners/fc0013.c 			FC_FE_CALLBACK_VHF_ENABLE, (freq > 300000 ? 0 : 1));
freq              245 drivers/media/tuners/fc0013.c 	ret = fc0013_set_vhf_track(priv, freq);
freq              249 drivers/media/tuners/fc0013.c 	if (freq < 300000) {
freq              265 drivers/media/tuners/fc0013.c 	} else if (freq <= 862000) {
freq              300 drivers/media/tuners/fc0013.c 	if (freq < 37084) {		/* freq * 96 < 3560000 */
freq              304 drivers/media/tuners/fc0013.c 	} else if (freq < 55625) {	/* freq * 64 < 3560000 */
freq              308 drivers/media/tuners/fc0013.c 	} else if (freq < 74167) {	/* freq * 48 < 3560000 */
freq              312 drivers/media/tuners/fc0013.c 	} else if (freq < 111250) {	/* freq * 32 < 3560000 */
freq              316 drivers/media/tuners/fc0013.c 	} else if (freq < 148334) {	/* freq * 24 < 3560000 */
freq              320 drivers/media/tuners/fc0013.c 	} else if (freq < 222500) {	/* freq * 16 < 3560000 */
freq              324 drivers/media/tuners/fc0013.c 	} else if (freq < 296667) {	/* freq * 12 < 3560000 */
freq              328 drivers/media/tuners/fc0013.c 	} else if (freq < 445000) {	/* freq * 8 < 3560000 */
freq              332 drivers/media/tuners/fc0013.c 	} else if (freq < 593334) {	/* freq * 6 < 3560000 */
freq              336 drivers/media/tuners/fc0013.c 	} else if (freq < 950000) {	/* freq * 4 < 3800000 */
freq              346 drivers/media/tuners/fc0013.c 	f_vco = freq * multi;
freq              353 drivers/media/tuners/fc0013.c 	if (freq >= 45000) {
freq               58 drivers/media/tuners/fc2580.c 		if (dev->f_frequency <= fc2580_pll_lut[i].freq)
freq              121 drivers/media/tuners/fc2580.c 		if (dev->f_frequency <= fc2580_freq_regs_lut[i].freq)
freq              227 drivers/media/tuners/fc2580.c 		if (dev->f_bandwidth <= fc2580_if_filter_lut[i].freq)
freq               42 drivers/media/tuners/fc2580_priv.h 	u32 freq;
freq               55 drivers/media/tuners/fc2580_priv.h 	u32 freq;
freq               68 drivers/media/tuners/fc2580_priv.h 	u32 freq;
freq              177 drivers/media/tuners/max2165.c static int max2165_set_rf(struct max2165_priv *priv, u32 freq)
freq              186 drivers/media/tuners/max2165.c 	ret = fixpt_div32(freq / 1000, priv->config->osc_clk * 1000,
freq              200 drivers/media/tuners/max2165.c 	tf_ntch = (freq < 725000000) ?
freq              206 drivers/media/tuners/max2165.c 		* (freq / 1000 - 470000) / (780000 - 470000);
freq              283 drivers/media/tuners/max2165.c static int max2165_get_frequency(struct dvb_frontend *fe, u32 *freq)
freq              287 drivers/media/tuners/max2165.c 	*freq = priv->frequency;
freq              205 drivers/media/tuners/mc44s803.c 	u32 r1, r2, n1, n2, lo1, lo2, freq, val;
freq              214 drivers/media/tuners/mc44s803.c 	freq = MC44S803_OSC / r1 * n1;
freq              216 drivers/media/tuners/mc44s803.c 	freq = freq - c->frequency;
freq              218 drivers/media/tuners/mc44s803.c 	n2 = (freq - MC44S803_IF2 + 50000) / 100000;
freq              104 drivers/media/tuners/msi001.c 		u32 freq;
freq              113 drivers/media/tuners/msi001.c 		u32 freq;
freq              164 drivers/media/tuners/msi001.c 		if (f_if == if_freq_lut[i].freq) {
freq              179 drivers/media/tuners/msi001.c 		if (bandwidth <= bandwidth_lut[i].freq) {
freq              189 drivers/media/tuners/msi001.c 	dev->bandwidth->val = bandwidth_lut[i].freq;
freq              191 drivers/media/tuners/msi001.c 	dev_dbg(&spi->dev, "bandwidth selected=%d\n", bandwidth_lut[i].freq);
freq              193 drivers/media/tuners/mt2060.c 	u32 freq;
freq              211 drivers/media/tuners/mt2060.c 	freq = c->frequency / 1000; /* Hz -> kHz */
freq              213 drivers/media/tuners/mt2060.c 	f_lo1 = freq + if1 * 1000;
freq              215 drivers/media/tuners/mt2060.c 	f_lo2 = f_lo1 - freq - IF2;
freq              236 drivers/media/tuners/mt2060.c 	if (freq <=  95000) lnaband = 0xB0; else
freq              237 drivers/media/tuners/mt2060.c 	if (freq <= 180000) lnaband = 0xA0; else
freq              238 drivers/media/tuners/mt2060.c 	if (freq <= 260000) lnaband = 0x90; else
freq              239 drivers/media/tuners/mt2060.c 	if (freq <= 335000) lnaband = 0x80; else
freq              240 drivers/media/tuners/mt2060.c 	if (freq <= 425000) lnaband = 0x70; else
freq              241 drivers/media/tuners/mt2060.c 	if (freq <= 480000) lnaband = 0x60; else
freq              242 drivers/media/tuners/mt2060.c 	if (freq <= 570000) lnaband = 0x50; else
freq              243 drivers/media/tuners/mt2060.c 	if (freq <= 645000) lnaband = 0x40; else
freq              244 drivers/media/tuners/mt2060.c 	if (freq <= 730000) lnaband = 0x30; else
freq              245 drivers/media/tuners/mt2060.c 	if (freq <= 810000) lnaband = 0x20; else lnaband = 0x10;
freq              255 drivers/media/tuners/mt2060.c 	dprintk("PLL freq=%dkHz  f_lo1=%dkHz  f_lo2=%dkHz",(int)freq,(int)f_lo1,(int)f_lo2);
freq             2159 drivers/media/tuners/mt2063.c static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq)
freq             2168 drivers/media/tuners/mt2063.c 	*freq = state->AS_Data.f_out;
freq             2170 drivers/media/tuners/mt2063.c 	dprintk(1, "IF frequency: %d\n", *freq);
freq              439 drivers/media/tuners/mt20xx.c static void mt2050_set_if_freq(struct dvb_frontend *fe,unsigned int freq, unsigned int if2)
freq              448 drivers/media/tuners/mt20xx.c 		  freq,if1,if2);
freq              450 drivers/media/tuners/mt20xx.c 	f_lo1=freq+if1;
freq              453 drivers/media/tuners/mt20xx.c 	f_lo2=f_lo1-freq-if2;
freq              481 drivers/media/tuners/mt20xx.c 	if(freq<275*1000*1000) buf[1] = buf[1]|0x80;
freq               86 drivers/media/tuners/mt2131.c 	u32 freq;
freq               95 drivers/media/tuners/mt2131.c 	freq = c->frequency / 1000;  /* Hz -> kHz */
freq               96 drivers/media/tuners/mt2131.c 	dprintk(1, "%s() freq=%d\n", __func__, freq);
freq               98 drivers/media/tuners/mt2131.c 	f_lo1 = freq + MT2131_IF1 * 1000;
freq              100 drivers/media/tuners/mt2131.c 	f_lo2 = f_lo1 - freq - MT2131_IF2;
freq              114 drivers/media/tuners/mt2131.c 	if (freq <=   82500) if_band_center = 0x00; else
freq              115 drivers/media/tuners/mt2131.c 	if (freq <=  137500) if_band_center = 0x01; else
freq              116 drivers/media/tuners/mt2131.c 	if (freq <=  192500) if_band_center = 0x02; else
freq              117 drivers/media/tuners/mt2131.c 	if (freq <=  247500) if_band_center = 0x03; else
freq              118 drivers/media/tuners/mt2131.c 	if (freq <=  302500) if_band_center = 0x04; else
freq              119 drivers/media/tuners/mt2131.c 	if (freq <=  357500) if_band_center = 0x05; else
freq              120 drivers/media/tuners/mt2131.c 	if (freq <=  412500) if_band_center = 0x06; else
freq              121 drivers/media/tuners/mt2131.c 	if (freq <=  467500) if_band_center = 0x07; else
freq              122 drivers/media/tuners/mt2131.c 	if (freq <=  522500) if_band_center = 0x08; else
freq              123 drivers/media/tuners/mt2131.c 	if (freq <=  577500) if_band_center = 0x09; else
freq              124 drivers/media/tuners/mt2131.c 	if (freq <=  632500) if_band_center = 0x0A; else
freq              125 drivers/media/tuners/mt2131.c 	if (freq <=  687500) if_band_center = 0x0B; else
freq              126 drivers/media/tuners/mt2131.c 	if (freq <=  742500) if_band_center = 0x0C; else
freq              127 drivers/media/tuners/mt2131.c 	if (freq <=  797500) if_band_center = 0x0D; else
freq              128 drivers/media/tuners/mt2131.c 	if (freq <=  852500) if_band_center = 0x0E; else
freq              129 drivers/media/tuners/mt2131.c 	if (freq <=  907500) if_band_center = 0x0F; else
freq              130 drivers/media/tuners/mt2131.c 	if (freq <=  962500) if_band_center = 0x10; else
freq              131 drivers/media/tuners/mt2131.c 	if (freq <= 1017500) if_band_center = 0x11; else
freq              132 drivers/media/tuners/mt2131.c 	if (freq <= 1072500) if_band_center = 0x12; else if_band_center = 0x13;
freq              143 drivers/media/tuners/mt2131.c 	dprintk(1, "PLL freq=%dkHz  band=%d\n", (int)freq, (int)if_band_center);
freq              121 drivers/media/tuners/mt2266.c 	u32 freq;
freq              130 drivers/media/tuners/mt2266.c 	freq = priv->frequency / 1000; /* Hz -> kHz */
freq              131 drivers/media/tuners/mt2266.c 	if (freq < 470000 && freq > 230000)
freq              135 drivers/media/tuners/mt2266.c 	tune = 2 * freq * (8192/16) / (FREF/16);
freq              136 drivers/media/tuners/mt2266.c 	band = (freq < 300000) ? MT2266_VHF : MT2266_UHF;
freq              170 drivers/media/tuners/mt2266.c 	if (freq <= 495000)
freq              172 drivers/media/tuners/mt2266.c 	else if (freq <= 525000)
freq              174 drivers/media/tuners/mt2266.c 	else if (freq <= 550000)
freq              176 drivers/media/tuners/mt2266.c 	else if (freq <= 580000)
freq              178 drivers/media/tuners/mt2266.c 	else if (freq <= 605000)
freq              180 drivers/media/tuners/mt2266.c 	else if (freq <= 630000)
freq              182 drivers/media/tuners/mt2266.c 	else if (freq <= 655000)
freq              184 drivers/media/tuners/mt2266.c 	else if (freq <= 685000)
freq              186 drivers/media/tuners/mt2266.c 	else if (freq <= 710000)
freq              188 drivers/media/tuners/mt2266.c 	else if (freq <= 735000)
freq              190 drivers/media/tuners/mt2266.c 	else if (freq <= 765000)
freq              192 drivers/media/tuners/mt2266.c 	else if (freq <= 802000)
freq              194 drivers/media/tuners/mt2266.c 	else if (freq <= 840000)
freq              111 drivers/media/tuners/mxl301rf.c 	u32	freq;		/* Channel center frequency */
freq              172 drivers/media/tuners/mxl301rf.c 	u32 freq;
freq              178 drivers/media/tuners/mxl301rf.c 	freq = fe->dtv_property_cache.frequency;
freq              182 drivers/media/tuners/mxl301rf.c 		if (freq >= (shf_tab[i].freq - shf_tab[i].ofst_th) * 1000 &&
freq              183 drivers/media/tuners/mxl301rf.c 		    freq <= (shf_tab[i].freq + shf_tab[i].ofst_th) * 1000) {
freq              195 drivers/media/tuners/mxl301rf.c 	f = freq / 1000000;
freq              196 drivers/media/tuners/mxl301rf.c 	tmp = freq % 1000000;
freq              607 drivers/media/tuners/mxl5007t.c 	u32 freq = c->frequency;
freq              649 drivers/media/tuners/mxl5007t.c 	ret = mxl5007t_tuner_rf_tune(state, freq, bw);
freq              653 drivers/media/tuners/mxl5007t.c 	state->frequency = freq;
freq              182 drivers/media/tuners/qm1d1c0042.c 	u32 freq;
freq              189 drivers/media/tuners/qm1d1c0042.c 	freq = fe->dtv_property_cache.frequency;
freq              200 drivers/media/tuners/qm1d1c0042.c 		if (freq < conv_table[i][0] && freq >= conv_table[i + 1][0]) {
freq              209 drivers/media/tuners/qm1d1c0042.c 	a = (freq + state->cfg.xtal_freq / 2) / state->cfg.xtal_freq;
freq              239 drivers/media/tuners/qm1d1c0042.c 	b = (s32)div64_s64(((s64) freq) << 20, state->cfg.xtal_freq)
freq               49 drivers/media/tuners/qt1010.c 	u32 freq, div, mod1, mod2;
freq              106 drivers/media/tuners/qt1010.c 	freq = c->frequency;
freq              107 drivers/media/tuners/qt1010.c 	div = (freq + QT1010_OFFSET) / QT1010_STEP;
freq              108 drivers/media/tuners/qt1010.c 	freq = (div * QT1010_STEP) - QT1010_OFFSET;
freq              109 drivers/media/tuners/qt1010.c 	mod1 = (freq + QT1010_OFFSET) % FREQ1;
freq              110 drivers/media/tuners/qt1010.c 	mod2 = (freq + QT1010_OFFSET) % FREQ2;
freq              111 drivers/media/tuners/qt1010.c 	priv->frequency = freq;
freq              117 drivers/media/tuners/qt1010.c 	if      (freq < 290000000) reg05 = 0x14; /* 290 MHz */
freq              118 drivers/media/tuners/qt1010.c 	else if (freq < 610000000) reg05 = 0x34; /* 610 MHz */
freq              119 drivers/media/tuners/qt1010.c 	else if (freq < 802000000) reg05 = 0x54; /* 802 MHz */
freq              126 drivers/media/tuners/qt1010.c 	rd[4].val = (freq + QT1010_OFFSET) / FREQ1;
freq              157 drivers/media/tuners/qt1010.c 	if      (freq < 450000000) rd[15].val = 0xd0; /* 450 MHz */
freq              158 drivers/media/tuners/qt1010.c 	else if (freq < 482000000) rd[15].val = 0xd1; /* 482 MHz */
freq              159 drivers/media/tuners/qt1010.c 	else if (freq < 514000000) rd[15].val = 0xd4; /* 514 MHz */
freq              160 drivers/media/tuners/qt1010.c 	else if (freq < 546000000) rd[15].val = 0xd7; /* 546 MHz */
freq              161 drivers/media/tuners/qt1010.c 	else if (freq < 610000000) rd[15].val = 0xda; /* 610 MHz */
freq              195 drivers/media/tuners/qt1010.c 			freq, rd[2].val, rd[4].val, rd[6].val, rd[7].val, \
freq               96 drivers/media/tuners/r820t.c 	u32	freq;
freq              130 drivers/media/tuners/r820t.c 		.freq = 0,
freq              139 drivers/media/tuners/r820t.c 		.freq = 50,		/* Start freq, in MHz */
freq              148 drivers/media/tuners/r820t.c 		.freq = 55,		/* Start freq, in MHz */
freq              157 drivers/media/tuners/r820t.c 		.freq = 60,		/* Start freq, in MHz */
freq              166 drivers/media/tuners/r820t.c 		.freq = 65,		/* Start freq, in MHz */
freq              175 drivers/media/tuners/r820t.c 		.freq = 70,		/* Start freq, in MHz */
freq              184 drivers/media/tuners/r820t.c 		.freq = 75,		/* Start freq, in MHz */
freq              193 drivers/media/tuners/r820t.c 		.freq = 80,		/* Start freq, in MHz */
freq              202 drivers/media/tuners/r820t.c 		.freq = 90,		/* Start freq, in MHz */
freq              211 drivers/media/tuners/r820t.c 		.freq = 100,		/* Start freq, in MHz */
freq              220 drivers/media/tuners/r820t.c 		.freq = 110,		/* Start freq, in MHz */
freq              229 drivers/media/tuners/r820t.c 		.freq = 120,		/* Start freq, in MHz */
freq              238 drivers/media/tuners/r820t.c 		.freq = 140,		/* Start freq, in MHz */
freq              247 drivers/media/tuners/r820t.c 		.freq = 180,		/* Start freq, in MHz */
freq              256 drivers/media/tuners/r820t.c 		.freq = 220,		/* Start freq, in MHz */
freq              265 drivers/media/tuners/r820t.c 		.freq = 250,		/* Start freq, in MHz */
freq              274 drivers/media/tuners/r820t.c 		.freq = 280,		/* Start freq, in MHz */
freq              283 drivers/media/tuners/r820t.c 		.freq = 310,		/* Start freq, in MHz */
freq              292 drivers/media/tuners/r820t.c 		.freq = 450,		/* Start freq, in MHz */
freq              301 drivers/media/tuners/r820t.c 		.freq = 588,		/* Start freq, in MHz */
freq              310 drivers/media/tuners/r820t.c 		.freq = 650,		/* Start freq, in MHz */
freq              450 drivers/media/tuners/r820t.c static int r820t_set_mux(struct r820t_priv *priv, u32 freq)
freq              457 drivers/media/tuners/r820t.c 	freq = freq / 1000000;
freq              459 drivers/media/tuners/r820t.c 		if (freq < freq_ranges[i + 1].freq)
freq              464 drivers/media/tuners/r820t.c 	tuner_dbg("set r820t range#%d for frequency %d MHz\n", i, freq);
freq              519 drivers/media/tuners/r820t.c 			 u32 freq)
freq              538 drivers/media/tuners/r820t.c 	freq = freq / 1000;
freq              576 drivers/media/tuners/r820t.c 		if (((freq * mix_div) >= vco_min) &&
freq              577 drivers/media/tuners/r820t.c 		   ((freq * mix_div) < vco_max)) {
freq              612 drivers/media/tuners/r820t.c 	vco_freq = freq * mix_div;
freq              657 drivers/media/tuners/r820t.c 		  freq, pll_ref, refdiv2 ? " / 2" : "", sdm);
freq              690 drivers/media/tuners/r820t.c 	tuner_dbg("tuner has lock at frequency %d kHz\n", freq);
freq              698 drivers/media/tuners/r820t.c static int r820t_sysfreq_sel(struct r820t_priv *priv, u32 freq,
freq              711 drivers/media/tuners/r820t.c 		if ((freq == 506000000) || (freq == 666000000) ||
freq              712 drivers/media/tuners/r820t.c 		   (freq == 818000000)) {
freq              789 drivers/media/tuners/r820t.c 		if (freq > DIP_FREQ)
freq             1286 drivers/media/tuners/r820t.c 			    u32 freq /* in HZ */,
freq             1296 drivers/media/tuners/r820t.c 		  freq / 1000, bw);
freq             1303 drivers/media/tuners/r820t.c 		lo_freq = freq - priv->int_freq;
freq             1305 drivers/media/tuners/r820t.c 		lo_freq = freq + priv->int_freq;
freq             1315 drivers/media/tuners/r820t.c 	rc = r820t_sysfreq_sel(priv, freq, type, std, delsys);
freq             1320 drivers/media/tuners/r820t.c 		  __func__, freq, r820t_read_gain(priv));
freq              550 drivers/media/tuners/tda18271-common.c int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq)
freq              558 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_pll_map(fe, MAIN_PLL, &freq, &pd, &d);
freq              564 drivers/media/tuners/tda18271-common.c 	div =  ((d * (freq / 1000)) << 7) / 125;
freq              573 drivers/media/tuners/tda18271-common.c int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq)
freq              581 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_pll_map(fe, CAL_PLL, &freq, &pd, &d);
freq              587 drivers/media/tuners/tda18271-common.c 	div =  ((d * (freq / 1000)) << 7) / 125;
freq              598 drivers/media/tuners/tda18271-common.c int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq)
freq              605 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, BP_FILTER, freq, &val);
freq              615 drivers/media/tuners/tda18271-common.c int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq)
freq              622 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, RF_CAL_KMCO, freq, &val);
freq              632 drivers/media/tuners/tda18271-common.c int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq)
freq              639 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, RF_BAND, freq, &val);
freq              649 drivers/media/tuners/tda18271-common.c int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq)
freq              656 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, GAIN_TAPER, freq, &val);
freq              666 drivers/media/tuners/tda18271-common.c int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq)
freq              673 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, IR_MEASURE, freq, &val);
freq              683 drivers/media/tuners/tda18271-common.c int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq)
freq              690 drivers/media/tuners/tda18271-common.c 	int ret = tda18271_lookup_map(fe, RF_CAL, freq, &val);
freq               75 drivers/media/tuners/tda18271-fe.c 					  u32 freq, u32 bw)
freq              121 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_ir_measure(fe, &freq);
freq              123 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_bp_filter(fe, &freq);
freq              125 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_band(fe, &freq);
freq              127 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_gain_taper(fe, &freq);
freq              154 drivers/media/tuners/tda18271-fe.c 	N = map->if_freq * 1000 + freq;
freq              243 drivers/media/tuners/tda18271-fe.c 						     u32 freq)
freq              262 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_cal(fe, &freq);
freq              265 drivers/media/tuners/tda18271-fe.c 	i = tda18271_lookup_rf_band(fe, &freq, NULL);
freq              269 drivers/media/tuners/tda18271-fe.c 	if ((0 == map[i].rf3) || (freq / 1000 < map[i].rf2)) {
freq              270 drivers/media/tuners/tda18271-fe.c 		approx = map[i].rf_a1 * (s32)(freq / 1000 - map[i].rf1) +
freq              273 drivers/media/tuners/tda18271-fe.c 		approx = map[i].rf_a2 * (s32)(freq / 1000 - map[i].rf2) +
freq              282 drivers/media/tuners/tda18271-fe.c 	tda18271_lookup_map(fe, RF_CAL_DC_OVER_DT, &freq, &dc_over_dt);
freq              326 drivers/media/tuners/tda18271-fe.c static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq)
freq              344 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_bp_filter(fe, &freq);
freq              345 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_gain_taper(fe, &freq);
freq              346 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_band(fe, &freq);
freq              347 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_km(fe, &freq);
freq              373 drivers/media/tuners/tda18271-fe.c 	N = freq;
freq              437 drivers/media/tuners/tda18271-fe.c 	u32 freq;
freq              439 drivers/media/tuners/tda18271-fe.c 	freq = *freq_in;
freq              441 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_band(fe, &freq);
freq              442 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_cal(fe, &freq);
freq              443 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_gain_taper(fe, &freq);
freq              444 drivers/media/tuners/tda18271-fe.c 	tda18271_lookup_cid_target(fe, &freq, &cid_target, &count_limit);
freq              450 drivers/media/tuners/tda18271-fe.c 	freq += 1000000;
freq              452 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_main_pll(fe, freq);
freq              479 drivers/media/tuners/tda18271-fe.c 		freq = *freq_in + (sgn * count) + 1000000;
freq              481 drivers/media/tuners/tda18271-fe.c 		tda18271_calc_main_pll(fe, freq);
freq              513 drivers/media/tuners/tda18271-fe.c 		*freq_out = freq - 1000000;
freq              518 drivers/media/tuners/tda18271-fe.c 		bcal, *freq_in, *freq_out, freq);
freq              559 drivers/media/tuners/tda18271-fe.c static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq)
freq              574 drivers/media/tuners/tda18271-fe.c 	i = tda18271_lookup_rf_band(fe, &freq, NULL);
freq              586 drivers/media/tuners/tda18271-fe.c 		tda_cal("freq = %d, rf = %d\n", freq, rf);
freq              694 drivers/media/tuners/tda18271-fe.c 						     u32 freq, u32 bw)
freq              702 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_bp_filter(fe, &freq);
freq              725 drivers/media/tuners/tda18271-fe.c 		N = freq - 1250000;
freq              728 drivers/media/tuners/tda18271-fe.c 		N = freq + bw / 2;
freq              738 drivers/media/tuners/tda18271-fe.c 		N = freq - 250000;
freq              741 drivers/media/tuners/tda18271-fe.c 		N = freq + bw / 2 + 1000000;
freq              754 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_km(fe, &freq);
freq              758 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_rf_band(fe, &freq);
freq              761 drivers/media/tuners/tda18271-fe.c 	tda18271_calc_gain_taper(fe, &freq);
freq              786 drivers/media/tuners/tda18271-fe.c 	if (0 == tda18271_calc_rf_cal(fe, &freq))
freq              885 drivers/media/tuners/tda18271-fe.c 			 struct tda18271_std_map_item *map, u32 freq, u32 bw)
freq              891 drivers/media/tuners/tda18271-fe.c 		freq, map->if_freq, bw, map->agc_mode, map->std);
freq              905 drivers/media/tuners/tda18271-fe.c 		tda18271c1_rf_tracking_filter_calibration(fe, freq, bw);
freq              908 drivers/media/tuners/tda18271-fe.c 		tda18271c2_rf_tracking_filters_correction(fe, freq);
freq              911 drivers/media/tuners/tda18271-fe.c 	ret = tda18271_channel_configuration(fe, map, freq, bw);
freq              925 drivers/media/tuners/tda18271-fe.c 	u32 freq = c->frequency;
freq              971 drivers/media/tuners/tda18271-fe.c 	ret = tda18271_tune(fe, map, freq, bw);
freq              977 drivers/media/tuners/tda18271-fe.c 	priv->frequency = freq;
freq              991 drivers/media/tuners/tda18271-fe.c 	u32 freq = params->frequency * 125 *
freq             1027 drivers/media/tuners/tda18271-fe.c 	ret = tda18271_tune(fe, map, freq, 0);
freq             1033 drivers/media/tuners/tda18271-fe.c 	priv->frequency = freq;
freq              967 drivers/media/tuners/tda18271-maps.c 			       u32 *freq, u8 *cid_target, u16 *count_limit)
freq              972 drivers/media/tuners/tda18271-maps.c 	while ((tda18271_cid_target[i].rfmax * 1000) < *freq) {
freq             1007 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_rf_band(struct dvb_frontend *fe, u32 *freq, u8 *rf_band)
freq             1013 drivers/media/tuners/tda18271-maps.c 	while ((map[i].rfmax * 1000) < *freq) {
freq             1016 drivers/media/tuners/tda18271-maps.c 				i, map[i].rfmax * 1000, *freq,
freq             1053 drivers/media/tuners/tda18271-maps.c 			    u32 *freq, u8 *post_div, u8 *div)
freq             1084 drivers/media/tuners/tda18271-maps.c 	while ((map[i].lomax * 1000) < *freq) {
freq             1087 drivers/media/tuners/tda18271-maps.c 				map_name, *freq);
freq             1104 drivers/media/tuners/tda18271-maps.c 			u32 *freq, u8 *val)
freq             1155 drivers/media/tuners/tda18271-maps.c 	while ((map[i].rfmax * 1000) < *freq) {
freq             1158 drivers/media/tuners/tda18271-maps.c 				map_name, *freq);
freq              180 drivers/media/tuners/tda18271-priv.h 				   u32 *freq, u8 *post_div, u8 *div);
freq              183 drivers/media/tuners/tda18271-priv.h 			       u32 *freq, u8 *val);
freq              188 drivers/media/tuners/tda18271-priv.h 				   u32 *freq, u8 *rf_band);
freq              191 drivers/media/tuners/tda18271-priv.h 				      u32 *freq, u8 *cid_target,
freq              208 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq);
freq              209 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq);
freq              211 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq);
freq              212 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq);
freq              213 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq);
freq              214 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq);
freq              215 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq);
freq              216 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq);
freq              246 drivers/media/tuners/tda827x.c 	unsigned int freq = params->frequency;
freq              251 drivers/media/tuners/tda827x.c 		freq = freq / 1000;
freq              253 drivers/media/tuners/tda827x.c 	N = freq + priv->sgIF;
freq              657 drivers/media/tuners/tda827x.c 	unsigned int freq = params->frequency;
freq              665 drivers/media/tuners/tda827x.c 		freq = freq / 1000;
freq              667 drivers/media/tuners/tda827x.c 	N = freq + priv->sgIF;
freq              137 drivers/media/tuners/tea5761.c 			    unsigned int freq,
freq              141 drivers/media/tuners/tea5761.c 	unsigned int frq = freq;
freq              673 drivers/media/tuners/tuner-simple.c 	unsigned int freq = params->frequency;
freq              687 drivers/media/tuners/tuner-simple.c 		freq += (unsigned int)(10.7*16000);
freq              690 drivers/media/tuners/tuner-simple.c 		freq += (unsigned int)(33.3*16000);
freq              693 drivers/media/tuners/tuner-simple.c 		freq += (unsigned int)(41.3*16000);
freq              710 drivers/media/tuners/tuner-simple.c 	div = (freq + 400) / 800;
freq              845 drivers/media/tuners/tuner-simple.c 				const u32 freq,
freq              855 drivers/media/tuners/tuner-simple.c 	u32 frequency = freq / 62500;
freq              878 drivers/media/tuners/tuner-simple.c 	simple_set_dvb(fe, buf, delsys, freq, bw);
freq              916 drivers/media/tuners/tuner-simple.c 	u32 freq = c->frequency;
freq              929 drivers/media/tuners/tuner-simple.c 	frequency = simple_dvb_configure(fe, buf+1, delsys, freq, bw);
freq             1008 drivers/media/tuners/tuner-xc2028.c static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
freq             1023 drivers/media/tuners/tuner-xc2028.c 	tuner_dbg("should set frequency %d kHz\n", freq / 1000);
freq             1114 drivers/media/tuners/tuner-xc2028.c 	div = (freq - offset + DIV / 2) / DIV;
freq             1144 drivers/media/tuners/tuner-xc2028.c 	priv->frequency = freq;
freq             1147 drivers/media/tuners/tuner-xc2028.c 	       freq / 1000000, (freq % 1000000) / 1000);
freq             1516 drivers/media/tuners/xc4000.c static int xc4000_get_frequency(struct dvb_frontend *fe, u32 *freq)
freq             1520 drivers/media/tuners/xc4000.c 	*freq = priv->freq_hz + priv->freq_offset;
freq             1530 drivers/media/tuners/xc4000.c 					__func__, *freq, snr);
freq              731 drivers/media/tuners/xc5000.c 	u32 freq = fe->dtv_property_cache.frequency;
freq              739 drivers/media/tuners/xc5000.c 	dprintk(1, "%s() frequency=%d (Hz)\n", __func__, freq);
freq              808 drivers/media/tuners/xc5000.c 	priv->freq_hz = freq - priv->freq_offset;
freq              812 drivers/media/tuners/xc5000.c 		__func__, freq, priv->freq_hz);
freq             1060 drivers/media/tuners/xc5000.c static int xc5000_get_frequency(struct dvb_frontend *fe, u32 *freq)
freq             1064 drivers/media/tuners/xc5000.c 	*freq = priv->freq_hz + priv->freq_offset;
freq             1068 drivers/media/tuners/xc5000.c static int xc5000_get_if_frequency(struct dvb_frontend *fe, u32 *freq)
freq             1072 drivers/media/tuners/xc5000.c 	*freq = priv->if_khz * 1000;
freq              115 drivers/media/usb/as102/as10x_cmd.c 	preq->body.set_tune.req.args.freq = (__force __u32)cpu_to_le32(ptune->freq);
freq             1538 drivers/media/usb/au0828/au0828-video.c 				struct v4l2_frequency *freq)
freq             1542 drivers/media/usb/au0828/au0828-video.c 	if (freq->tuner != 0)
freq             1546 drivers/media/usb/au0828/au0828-video.c 	freq->frequency = dev->ctrl_freq;
freq             1551 drivers/media/usb/au0828/au0828-video.c 				const struct v4l2_frequency *freq)
freq             1554 drivers/media/usb/au0828/au0828-video.c 	struct v4l2_frequency new_freq = *freq;
freq             1556 drivers/media/usb/au0828/au0828-video.c 	if (freq->tuner != 0)
freq             1565 drivers/media/usb/au0828/au0828-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, freq);
freq              400 drivers/media/usb/cx231xx/cx231xx-dvb.c int cx231xx_set_analog_freq(struct cx231xx *dev, u32 freq)
freq              409 drivers/media/usb/cx231xx/cx231xx-dvb.c 			params.frequency = freq;
freq              684 drivers/media/usb/cx231xx/cx231xx.h 	int (*cx231xx_set_analog_freq) (struct cx231xx *dev, u32 freq);
freq              722 drivers/media/usb/cx231xx/cx231xx.h 	u32                        freq;
freq              747 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_set_analog_freq(struct cx231xx *dev, u32 freq);
freq               78 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static struct mxl111sf_reg_ctrl_info *mxl111sf_calc_phy_tune_regs(u32 freq,
freq              106 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	freq /= 1000000;
freq              108 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	freq *= 64;
freq              111 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	freq += 0.5;
freq              117 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	mxl_phy_tune_rf[1].data = (freq & 0xff);
freq              118 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	mxl_phy_tune_rf[2].data = (freq >> 8) & 0xff;
freq              186 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl1x1sf_tune_rf(struct dvb_frontend *fe, u32 freq, u8 bw)
freq              193 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	mxl_dbg("(freq = %d, bw = 0x%x)", freq, bw);
freq              206 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	reg_ctrl_array = mxl111sf_calc_phy_tune_regs(freq, bw);
freq              236 drivers/media/usb/dvb-usb/cinergyT2-fe.c 	param->freq = cpu_to_le32(fep->frequency / 1000);
freq               55 drivers/media/usb/dvb-usb/cinergyT2.h 	uint32_t freq;
freq               71 drivers/media/usb/dvb-usb/cinergyT2.h 	__le32 freq;
freq             1304 drivers/media/usb/dvb-usb/cxusb-analog.c 				    struct v4l2_frequency *freq)
freq             1309 drivers/media/usb/dvb-usb/cxusb-analog.c 	if (freq->tuner != 0)
freq             1312 drivers/media/usb/dvb-usb/cxusb-analog.c 	return v4l2_subdev_call(cxdev->tuner, tuner, g_frequency, freq);
freq             1316 drivers/media/usb/dvb-usb/cxusb-analog.c 				    const struct v4l2_frequency *freq)
freq             1323 drivers/media/usb/dvb-usb/cxusb-analog.c 	if (freq->tuner != 0)
freq             1326 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tda9887, tuner, s_frequency, freq);
freq             1330 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tuner, tuner, s_frequency, freq);
freq             1343 drivers/media/usb/dvb-usb/cxusb-analog.c 	return v4l2_subdev_call(cxdev->cx25840, tuner, s_frequency, freq);
freq             2033 drivers/media/usb/dvb-usb/dib0700_devices.c 	u32 freq;			/* RF freq MHz */
freq              152 drivers/media/usb/dvb-usb/dtt200u-fe.c 	u16 freq = fep->frequency / 250000;
freq              176 drivers/media/usb/dvb-usb/dtt200u-fe.c 	state->data[1] = freq & 0xff;
freq              177 drivers/media/usb/dvb-usb/dtt200u-fe.c 	state->data[2] = (freq >> 8) & 0xff;
freq              140 drivers/media/usb/dvb-usb/vp702x-fe.c 	u32 freq = fep->frequency/1000;
freq              151 drivers/media/usb/dvb-usb/vp702x-fe.c 	cmd[0] = (freq >> 8) & 0x7f;
freq              152 drivers/media/usb/dvb-usb/vp702x-fe.c 	cmd[1] =  freq       & 0xff;
freq              162 drivers/media/usb/dvb-usb/vp702x-fe.c 			fep->frequency, freq, freq, fep->symbol_rate,
freq              108 drivers/media/usb/dvb-usb/vp7045-fe.c 	u32 freq = fep->frequency / 1000;
freq              110 drivers/media/usb/dvb-usb/vp7045-fe.c 	buf[0] = (freq >> 16) & 0xff;
freq              111 drivers/media/usb/dvb-usb/vp7045-fe.c 	buf[1] = (freq >>  8) & 0xff;
freq              112 drivers/media/usb/dvb-usb/vp7045-fe.c 	buf[2] =  freq        & 0xff;
freq              360 drivers/media/usb/gspca/cpia1.c 	struct v4l2_ctrl *freq;
freq             1836 drivers/media/usb/gspca/cpia1.c 	sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq              350 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	s32 freq   = (sd->vcur.AC50Hz > 0);
freq              353 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	if (freq != sd->vold.AC50Hz) {
freq              354 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		sd->vold.AC50Hz = freq;
freq              356 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		freq = 2 * (freq == 0);
freq              360 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		ctrl_out(gspca_dev, 0x40, 1, 0xba01 + freq, 0x00f1, 0, NULL);
freq              446 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	s32 freq   = (sd->vcur.AC50Hz  > 0);
freq              461 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	dat_freq2[2] = freq ? 0xc0 : 0x80;
freq              595 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	sd->vold.AC50Hz    = freq;
freq              634 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	s32 freq   = (sd->vcur.AC50Hz > 0);
freq              655 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	if (freq != sd->vold.AC50Hz) {
freq              656 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		sd->vold.AC50Hz = freq;
freq              658 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		dat_freq2[2] = freq ? 0xc0 : 0x80;
freq               49 drivers/media/usb/gspca/jeilinj.c 	struct v4l2_ctrl *freq;
freq              254 drivers/media/usb/gspca/jeilinj.c 	setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq));
freq              443 drivers/media/usb/gspca/jeilinj.c 	sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq               54 drivers/media/usb/gspca/ov519.c 	struct v4l2_ctrl *freq;
freq             4925 drivers/media/usb/gspca/ov519.c 			sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq             4930 drivers/media/usb/gspca/ov519.c 			sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq             1368 drivers/media/usb/gspca/ov534_9.c static void setlightfreq(struct gspca_dev *gspca_dev, s32 freq)
freq             1374 drivers/media/usb/gspca/ov534_9.c 	if (freq == 0) {
freq             1382 drivers/media/usb/gspca/ov534_9.c 	if (freq == 1)
freq               46 drivers/media/usb/gspca/se401.c 		struct v4l2_ctrl *freq;
freq              177 drivers/media/usb/gspca/se401.c static void setexposure(struct gspca_dev *gspca_dev, s32 val, s32 freq)
freq              190 drivers/media/usb/gspca/se401.c 	if (freq == V4L2_CID_POWER_LINE_FREQUENCY_50HZ)
freq              192 drivers/media/usb/gspca/se401.c 	if (freq == V4L2_CID_POWER_LINE_FREQUENCY_60HZ)
freq              634 drivers/media/usb/gspca/se401.c 		setexposure(gspca_dev, ctrl->val, sd->freq->val);
freq              659 drivers/media/usb/gspca/se401.c 	sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq               40 drivers/media/usb/gspca/sonixj.c 	struct v4l2_ctrl *freq;
freq             1674 drivers/media/usb/gspca/sonixj.c 		sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq             2078 drivers/media/usb/gspca/sonixj.c 		switch (sd->freq->val) {
freq             2106 drivers/media/usb/gspca/sonixj.c 		switch (sd->freq->val) {
freq               30 drivers/media/usb/gspca/t613.c 	struct v4l2_ctrl *freq;
freq              533 drivers/media/usb/gspca/t613.c 	u8 freq[4] = { 0x66, 0x00, 0xa8, 0xe8 };
freq              538 drivers/media/usb/gspca/t613.c 			freq[3] = 0xa8;
freq              550 drivers/media/usb/gspca/t613.c 		freq[3] = 0xf0;
freq              556 drivers/media/usb/gspca/t613.c 	freq[1] = reg66;
freq              558 drivers/media/usb/gspca/t613.c 	reg_w_buf(gspca_dev, freq, sizeof freq);
freq              786 drivers/media/usb/gspca/t613.c 	setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq));
freq              985 drivers/media/usb/gspca/t613.c 	sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
freq              417 drivers/media/usb/gspca/w996Xcf.c 		if (sd->freq->val == 1) {
freq              244 drivers/media/usb/hackrf/hackrf.c 		u32 freq;
freq              305 drivers/media/usb/hackrf/hackrf.c 			if (uitmp <= bandwidth_lut[i].freq) {
freq              306 drivers/media/usb/hackrf/hackrf.c 				uitmp = bandwidth_lut[i].freq;
freq              321 drivers/media/usb/hackrf/hackrf.c 			if (uitmp <= bandwidth_lut[i].freq) {
freq              322 drivers/media/usb/hackrf/hackrf.c 				uitmp = bandwidth_lut[i].freq;
freq              401 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	unsigned freq = 0;
freq              405 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		freq = hdw->freqTable[slotId-1];
freq              406 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		if (!freq) return 0;
freq              407 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		pvr2_hdw_set_cur_freq(hdw,freq);
freq             2893 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		struct v4l2_frequency freq;
freq             2897 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		memset(&freq, 0, sizeof(freq));
freq             2900 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			freq.frequency = (fv * 2) / 125;
freq             2902 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			freq.frequency = fv / 62500;
freq             2907 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			freq.type = V4L2_TUNER_RADIO;
freq             2909 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			freq.type = V4L2_TUNER_ANALOG_TV;
freq             2911 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		freq.tuner = 0;
freq             2913 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 				     s_frequency, &freq);
freq             1114 drivers/media/usb/tm6000/tm6000-cards.c 	dev->freq = f.frequency;
freq              326 drivers/media/usb/tm6000/tm6000-core.c 	f.frequency = dev->freq;
freq             1229 drivers/media/usb/tm6000/tm6000-video.c 	f->frequency = dev->freq;
freq             1247 drivers/media/usb/tm6000/tm6000-video.c 	dev->freq = f->frequency;
freq              221 drivers/media/usb/tm6000/tm6000.h 	int				freq;
freq              530 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static void ttusb_set_led_freq(struct ttusb *ttusb, u8 freq)
freq              532 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 	u8 b[] = { 0xaa, ++ttusb->c, 0x19, 1, freq };
freq               86 drivers/media/usb/ttusb-dec/ttusbdecfe.c 	__be32 freq = htonl(p->frequency / 1000);
freq               87 drivers/media/usb/ttusb-dec/ttusbdecfe.c 	memcpy(&b[4], &freq, sizeof (u32));
freq              118 drivers/media/usb/ttusb-dec/ttusbdecfe.c 	__be32 freq;
freq              123 drivers/media/usb/ttusb-dec/ttusbdecfe.c 	freq = htonl(p->frequency +
freq              125 drivers/media/usb/ttusb-dec/ttusbdecfe.c 	memcpy(&b[4], &freq, sizeof(u32));
freq              608 drivers/media/usb/usbvision/usbvision-video.c 				struct v4l2_frequency *freq)
freq              613 drivers/media/usb/usbvision/usbvision-video.c 	if (freq->tuner)
freq              615 drivers/media/usb/usbvision/usbvision-video.c 	if (freq->type == V4L2_TUNER_RADIO)
freq              616 drivers/media/usb/usbvision/usbvision-video.c 		freq->frequency = usbvision->radio_freq;
freq              618 drivers/media/usb/usbvision/usbvision-video.c 		freq->frequency = usbvision->tv_freq;
freq              624 drivers/media/usb/usbvision/usbvision-video.c 				const struct v4l2_frequency *freq)
freq              627 drivers/media/usb/usbvision/usbvision-video.c 	struct v4l2_frequency new_freq = *freq;
freq              630 drivers/media/usb/usbvision/usbvision-video.c 	if (freq->tuner)
freq              633 drivers/media/usb/usbvision/usbvision-video.c 	call_all(usbvision, tuner, s_frequency, freq);
freq              635 drivers/media/usb/usbvision/usbvision-video.c 	if (freq->type == V4L2_TUNER_RADIO)
freq              179 drivers/media/v4l2-core/tuner-core.c static void set_tv_freq(struct i2c_client *c, unsigned int freq);
freq              180 drivers/media/v4l2-core/tuner-core.c static void set_radio_freq(struct i2c_client *c, unsigned int freq);
freq              866 drivers/media/v4l2-core/tuner-core.c static void set_freq(struct tuner *t, unsigned int freq)
freq              871 drivers/media/v4l2-core/tuner-core.c 		if (!freq)
freq              872 drivers/media/v4l2-core/tuner-core.c 			freq = t->radio_freq;
freq              873 drivers/media/v4l2-core/tuner-core.c 		set_radio_freq(client, freq);
freq              875 drivers/media/v4l2-core/tuner-core.c 		if (!freq)
freq              876 drivers/media/v4l2-core/tuner-core.c 			freq = t->tv_freq;
freq              877 drivers/media/v4l2-core/tuner-core.c 		set_tv_freq(client, freq);
freq              891 drivers/media/v4l2-core/tuner-core.c static void set_tv_freq(struct i2c_client *c, unsigned int freq)
freq              910 drivers/media/v4l2-core/tuner-core.c 	if (freq < tv_range[0] * 16 || freq > tv_range[1] * 16) {
freq              912 drivers/media/v4l2-core/tuner-core.c 			   freq / 16, freq % 16 * 100 / 16, tv_range[0],
freq              916 drivers/media/v4l2-core/tuner-core.c 		if (freq < tv_range[0] * 16)
freq              917 drivers/media/v4l2-core/tuner-core.c 			freq = tv_range[0] * 16;
freq              919 drivers/media/v4l2-core/tuner-core.c 			freq = tv_range[1] * 16;
freq              921 drivers/media/v4l2-core/tuner-core.c 	params.frequency = freq;
freq              923 drivers/media/v4l2-core/tuner-core.c 			freq / 16, freq % 16 * 100 / 16);
freq              924 drivers/media/v4l2-core/tuner-core.c 	t->tv_freq = freq;
freq             1032 drivers/media/v4l2-core/tuner-core.c static void set_radio_freq(struct i2c_client *c, unsigned int freq)
freq             1051 drivers/media/v4l2-core/tuner-core.c 	if (freq < radio_range[0] * 16000 || freq > radio_range[1] * 16000) {
freq             1053 drivers/media/v4l2-core/tuner-core.c 			   freq / 16000, freq % 16000 * 100 / 16000,
freq             1057 drivers/media/v4l2-core/tuner-core.c 		if (freq < radio_range[0] * 16000)
freq             1058 drivers/media/v4l2-core/tuner-core.c 			freq = radio_range[0] * 16000;
freq             1060 drivers/media/v4l2-core/tuner-core.c 			freq = radio_range[1] * 16000;
freq             1062 drivers/media/v4l2-core/tuner-core.c 	params.frequency = freq;
freq             1064 drivers/media/v4l2-core/tuner-core.c 			freq / 16000, freq % 16000 * 100 / 16000);
freq             1065 drivers/media/v4l2-core/tuner-core.c 	t->radio_freq = freq;
freq             1090 drivers/media/v4l2-core/tuner-core.c 	unsigned long freq, freq_fraction;
freq             1108 drivers/media/v4l2-core/tuner-core.c 		freq = t->radio_freq / 16000;
freq             1111 drivers/media/v4l2-core/tuner-core.c 		freq = t->tv_freq / 16;
freq             1116 drivers/media/v4l2-core/tuner-core.c 	pr_info("Frequency:       %lu.%02lu MHz\n", freq, freq_fraction);
freq               86 drivers/memory/emif.c 		regs->freq/1000000);
freq              216 drivers/memory/emif.c static void set_ddr_clk_period(u32 freq)
freq              219 drivers/memory/emif.c 	t_ck = (u32)DIV_ROUND_UP_ULL(1000000000000ull, freq);
freq              378 drivers/memory/emif.c 		u32 freq)
freq              396 drivers/memory/emif.c 		if ((freq >= min) && (freq <= max) && (max < freq_nearest)) {
freq              404 drivers/memory/emif.c 			__func__, freq);
freq              407 drivers/memory/emif.c 		__func__, freq, freq_nearest);
freq              412 drivers/memory/emif.c static u32 get_sdram_ref_ctrl_shdw(u32 freq,
freq              418 drivers/memory/emif.c 	freq_khz = freq / 1000;
freq              673 drivers/memory/emif.c 	u32 freq, u8 RL)
freq              680 drivers/memory/emif.c 	if (freq <= 100000000)
freq              682 drivers/memory/emif.c 	else if (freq <= 200000000)
freq              692 drivers/memory/emif.c static u32 get_phy_ctrl_1_intelliphy_4d5(u32 freq, u8 cl)
freq              700 drivers/memory/emif.c 	if (freq >= 265000000 && freq < 267000000)
freq              745 drivers/memory/emif.c static u32 get_pwr_mgmt_ctrl(u32 freq, struct emif_data *emif, u32 ip_rev)
freq              765 drivers/memory/emif.c 	timeout = freq >= freq_threshold ? timeout_perf : timeout_pwr;
freq             1613 drivers/memory/emif.c static int get_emif_reg_values(struct emif_data *emif, u32 freq,
freq             1632 drivers/memory/emif.c 	timings		= get_timings_table(emif_for_calc, freq);
freq             1636 drivers/memory/emif.c 			__func__, freq);
freq             1649 drivers/memory/emif.c 	set_ddr_clk_period(freq);
freq             1651 drivers/memory/emif.c 	regs->ref_ctrl_shdw = get_sdram_ref_ctrl_shdw(freq, addressing);
freq             1663 drivers/memory/emif.c 			timings, freq, cl);
freq             1665 drivers/memory/emif.c 		regs->phy_ctrl_1_shdw = get_phy_ctrl_1_intelliphy_4d5(freq, cl);
freq             1675 drivers/memory/emif.c 		get_pwr_mgmt_ctrl(freq, emif_for_calc, ip_rev) &
freq             1693 drivers/memory/emif.c 		regs->ref_ctrl_shdw_derated = get_sdram_ref_ctrl_shdw(freq / 4,
freq             1705 drivers/memory/emif.c 	regs->freq = freq;
freq             1724 drivers/memory/emif.c static struct emif_regs *get_regs(struct emif_data *emif, u32 freq)
freq             1732 drivers/memory/emif.c 	if (emif->curr_regs && emif->curr_regs->freq == freq) {
freq             1733 drivers/memory/emif.c 		dev_dbg(dev, "%s: using curr_regs - %u Hz", __func__, freq);
freq             1743 drivers/memory/emif.c 		if (regs_cache[i]->freq == freq) {
freq             1747 drivers/memory/emif.c 				__func__, freq);
freq             1761 drivers/memory/emif.c 		if (get_emif_reg_values(emif, freq, regs)) {
freq              568 drivers/memory/emif.h 	u32 freq;
freq             1141 drivers/memory/omap-gpmc.c 						int freq, int latency)
freq             1151 drivers/memory/omap-gpmc.c 	switch (freq) {
freq             1218 drivers/memory/omap-gpmc.c int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq,
freq             1235 drivers/memory/omap-gpmc.c 	gpmc_omap_onenand_calc_sync_timings(&gpmc_t, &gpmc_s, freq, latency);
freq               52 drivers/mfd/ab3100-otp.c 	u32 freq;
freq               84 drivers/mfd/ab3100-otp.c 	otp->freq = (otpp & 0x40) ? 32768 : 34100;
freq              104 drivers/mfd/ab3100-otp.c 	seq_printf(s, "OTP clock switch startup is %uHz\n", otp->freq);
freq              158 drivers/mfd/ab3100-otp.c SHOW_AB3100_ATTR(freq)
freq              168 drivers/mfd/ab3100-otp.c 	__ATTR(freq, S_IRUGO, ab3100_otp_freq_show, NULL),
freq             1716 drivers/mfd/db8500-prcmu.c 	unsigned long freq = 0;
freq             1731 drivers/mfd/db8500-prcmu.c 		freq = freqs[i];
freq             1732 drivers/mfd/db8500-prcmu.c 		if (rate <= freq)
freq             1737 drivers/mfd/db8500-prcmu.c 	return freq;
freq             1874 drivers/mfd/db8500-prcmu.c 	unsigned long freq;
freq             1890 drivers/mfd/db8500-prcmu.c 		freq = freqs[i];
freq             1891 drivers/mfd/db8500-prcmu.c 		if (rate == freq)
freq             1895 drivers/mfd/db8500-prcmu.c 	if (rate != freq)
freq              136 drivers/mfd/lm3533-core.c 						enum lm3533_boost_freq freq)
freq              141 drivers/mfd/lm3533-core.c 					freq << LM3533_BOOST_FREQ_SHIFT,
freq             1079 drivers/mfd/si476x-cmd.c 		puargs->func << 4 | puargs->freq,
freq             1101 drivers/mfd/si476x-cmd.c 		puargs->func << 4 | puargs->freq,
freq             1139 drivers/mfd/si476x-cmd.c 	const int am_freq = tuneargs->freq;
freq             1155 drivers/mfd/si476x-cmd.c 	const int am_freq = tuneargs->freq;
freq             1345 drivers/mfd/si476x-cmd.c 		msb(tuneargs->freq),
freq             1346 drivers/mfd/si476x-cmd.c 		lsb(tuneargs->freq),
freq             1363 drivers/mfd/si476x-cmd.c 		msb(tuneargs->freq),
freq             1364 drivers/mfd/si476x-cmd.c 		lsb(tuneargs->freq),
freq              404 drivers/mfd/sm501.c static int sm501_calc_clock(unsigned long freq,
freq              422 drivers/mfd/sm501.c 			diff = DIV_ROUND_CLOSEST(mclk, divider << shift) - freq;
freq              448 drivers/mfd/sm501.c static unsigned long sm501_calc_pll(unsigned long freq,
freq              465 drivers/mfd/sm501.c 				if (sm501_calc_clock(freq, clock, max_div,
freq              486 drivers/mfd/sm501.c static unsigned long sm501_select_clock(unsigned long freq,
freq              495 drivers/mfd/sm501.c 		sm501_calc_clock(freq, clock, max_div, mclk, &best_diff);
freq              573 drivers/misc/habanalabs/device.c int hl_device_set_frequency(struct hl_device *hdev, enum hl_pll_frequency freq)
freq              576 drivers/misc/habanalabs/device.c 			(hdev->curr_pll_profile == freq))
freq              580 drivers/misc/habanalabs/device.c 		freq == PLL_HIGH ? "high" : "low");
freq              582 drivers/misc/habanalabs/device.c 	hdev->asic_funcs->set_pll_profile(hdev, freq);
freq              584 drivers/misc/habanalabs/device.c 	hdev->curr_pll_profile = freq;
freq              210 drivers/misc/habanalabs/goya/goyaP.h void goya_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq);
freq               10 drivers/misc/habanalabs/goya/goya_hwmgr.c void goya_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq)
freq               14 drivers/misc/habanalabs/goya/goya_hwmgr.c 	switch (freq) {
freq              560 drivers/misc/habanalabs/habanalabs.h 			enum hl_pll_frequency freq);
freq             1478 drivers/misc/habanalabs/habanalabs.h int hl_device_set_frequency(struct hl_device *hdev, enum hl_pll_frequency freq);
freq             1559 drivers/misc/habanalabs/habanalabs.h void hl_set_frequency(struct hl_device *hdev, u32 pll_index, u64 freq);
freq               44 drivers/misc/habanalabs/sysfs.c void hl_set_frequency(struct hl_device *hdev, u32 pll_index, u64 freq)
freq               54 drivers/misc/habanalabs/sysfs.c 	pkt.value = cpu_to_le64(freq);
freq              180 drivers/misc/ics932s401.c 	int m, n, freq;
freq              189 drivers/misc/ics932s401.c 	freq = BASE_CLOCK * (n + 8) / (m + 2);
freq              190 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_CPU_DIVISOR] >>
freq              193 drivers/misc/ics932s401.c 	return freq;
freq              210 drivers/misc/ics932s401.c 	int freq;
freq              213 drivers/misc/ics932s401.c 		freq = calculate_cpu_freq(data);
freq              218 drivers/misc/ics932s401.c 		freq = fs_speeds[fid];
freq              220 drivers/misc/ics932s401.c 			switch (freq) {
freq              222 drivers/misc/ics932s401.c 				freq = 160000;
freq              225 drivers/misc/ics932s401.c 				freq = 320000;
freq              231 drivers/misc/ics932s401.c 	return sprintf(buf, "%d\n", freq);
freq              237 drivers/misc/ics932s401.c 	int m, n, freq;
freq              246 drivers/misc/ics932s401.c 	freq = BASE_CLOCK * (n + 8) / (m + 2);
freq              247 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] &
freq              250 drivers/misc/ics932s401.c 	return freq;
freq              267 drivers/misc/ics932s401.c 	int freq;
freq              270 drivers/misc/ics932s401.c 		freq = calculate_src_freq(data);
freq              275 drivers/misc/ics932s401.c 			freq = 96000;
freq              277 drivers/misc/ics932s401.c 			freq = 100000;
freq              279 drivers/misc/ics932s401.c 	return sprintf(buf, "%d\n", freq);
freq              285 drivers/misc/ics932s401.c 	int m, n, freq;
freq              294 drivers/misc/ics932s401.c 	freq = BASE_CLOCK * (n + 8) / (m + 2);
freq              295 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] >>
freq              298 drivers/misc/ics932s401.c 	return freq;
freq              315 drivers/misc/ics932s401.c 	int freq;
freq              318 drivers/misc/ics932s401.c 		freq = calculate_pci_freq(data);
freq              320 drivers/misc/ics932s401.c 		freq = 33333;
freq              322 drivers/misc/ics932s401.c 	return sprintf(buf, "%d\n", freq);
freq             2166 drivers/mmc/core/core.c static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq)
freq             2168 drivers/mmc/core/core.c 	host->f_init = freq;
freq              126 drivers/mmc/host/renesas_sdhi_core.c 	unsigned int freq, diff, best_freq = 0, diff_min = ~0;
freq              140 drivers/mmc/host/renesas_sdhi_core.c 		freq = clk_round_rate(priv->clk, new_clock << i);
freq              141 drivers/mmc/host/renesas_sdhi_core.c 		if (freq > (new_clock << i)) {
freq              143 drivers/mmc/host/renesas_sdhi_core.c 			freq = clk_round_rate(priv->clk,
freq              145 drivers/mmc/host/renesas_sdhi_core.c 			if (freq > (new_clock << i))
freq              149 drivers/mmc/host/renesas_sdhi_core.c 		diff = new_clock - (freq >> i);
freq              151 drivers/mmc/host/renesas_sdhi_core.c 			best_freq = freq;
freq              879 drivers/mmc/host/sdhci.c 	unsigned int freq;
freq              888 drivers/mmc/host/sdhci.c 		freq = host->mmc->actual_clock ? : host->clock;
freq              890 drivers/mmc/host/sdhci.c 		do_div(transfer_time, freq);
freq              489 drivers/mmc/host/sh_mmcif.c 		unsigned int freq, best_freq, myclk, div, diff_min, diff;
freq              505 drivers/mmc/host/sh_mmcif.c 			freq = clk_round_rate(host->clk, clk * div);
freq              506 drivers/mmc/host/sh_mmcif.c 			myclk = freq / div;
freq              510 drivers/mmc/host/sh_mmcif.c 				best_freq = freq;
freq              463 drivers/mtd/nand/onenand/omap2.c 	int freq, latency, r;
freq              535 drivers/mtd/nand/onenand/omap2.c 	freq = omap2_onenand_get_freq(c->onenand.version_id);
freq              536 drivers/mtd/nand/onenand/omap2.c 	if (freq > 0) {
freq              537 drivers/mtd/nand/onenand/omap2.c 		switch (freq) {
freq              556 drivers/mtd/nand/onenand/omap2.c 						  freq, latency, &info);
freq              566 drivers/mtd/nand/onenand/omap2.c 			dev_info(dev, "optimized timings for %d MHz\n", freq);
freq              374 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 	u32 freq;
freq              403 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 		freq = 400000000 / 4;
freq              405 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 		freq = bcma_chipco_pll_read(b47n->cc, 4);
freq              406 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 		freq = (freq & 0xFFF) >> 3;
freq              408 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 		freq = (freq * 25000000 / 2) / 4;
freq              410 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 	clock = freq / 1000000;
freq              231 drivers/mtd/nand/raw/mxic_nand.c static int mxic_nfc_clk_setup(struct mxic_nand_ctlr *nfc, unsigned long freq)
freq              235 drivers/mtd/nand/raw/mxic_nand.c 	ret = clk_set_rate(nfc->send_clk, freq);
freq              239 drivers/mtd/nand/raw/mxic_nand.c 	ret = clk_set_rate(nfc->send_dly_clk, freq);
freq              257 drivers/mtd/nand/raw/mxic_nand.c 	ret = clk_set_phase(nfc->send_dly_clk, 9 * freq / 25000000);
freq              264 drivers/mtd/nand/raw/mxic_nand.c static int mxic_nfc_set_freq(struct mxic_nand_ctlr *nfc, unsigned long freq)
freq              268 drivers/mtd/nand/raw/mxic_nand.c 	if (freq > MXIC_NFC_MAX_CLK_HZ)
freq              269 drivers/mtd/nand/raw/mxic_nand.c 		freq = MXIC_NFC_MAX_CLK_HZ;
freq              272 drivers/mtd/nand/raw/mxic_nand.c 	ret = mxic_nfc_clk_setup(nfc, freq);
freq              456 drivers/mtd/nand/raw/mxic_nand.c 	unsigned long freq;
freq              466 drivers/mtd/nand/raw/mxic_nand.c 	freq = NSEC_PER_SEC / (sdr->tRC_min / 1000);
freq              468 drivers/mtd/nand/raw/mxic_nand.c 	ret =  mxic_nfc_set_freq(nfc, freq);
freq              470 drivers/mtd/nand/raw/mxic_nand.c 		dev_err(nfc->dev, "set freq:%ld failed\n", freq);
freq             1323 drivers/net/can/at91_can.c 	priv->can.clock.freq = clk_get_rate(clk);
freq               37 drivers/net/can/c_can/c_can_pci.c 	unsigned int freq;
freq              166 drivers/net/can/c_can/c_can_pci.c 	if (!c_can_pci_data->freq) {
freq              171 drivers/net/can/c_can/c_can_pci.c 		priv->can.clock.freq = c_can_pci_data->freq;
freq              257 drivers/net/can/c_can/c_can_pci.c 	.freq = 52000000, /* 52 Mhz */
freq              264 drivers/net/can/c_can/c_can_pci.c 	.freq = 50000000, /* 50 MHz */
freq              381 drivers/net/can/c_can/c_can_platform.c 	priv->can.clock.freq = clk_get_rate(clk);
freq              226 drivers/net/can/cc770/cc770_isa.c 	priv->can.clock.freq = clktmp;
freq              244 drivers/net/can/cc770/cc770_isa.c 		priv->can.clock.freq /= 2;
freq               84 drivers/net/can/cc770/cc770_platform.c 	priv->can.clock.freq = clkext;
freq               87 drivers/net/can/cc770/cc770_platform.c 	if (priv->can.clock.freq > 10000000) {
freq               89 drivers/net/can/cc770/cc770_platform.c 		priv->can.clock.freq /= 2;
freq               93 drivers/net/can/cc770/cc770_platform.c 	if (priv->can.clock.freq > 8000000)
freq              149 drivers/net/can/cc770/cc770_platform.c 	priv->can.clock.freq = pdata->osc_freq;
freq              151 drivers/net/can/cc770/cc770_platform.c 		priv->can.clock.freq /= 2;
freq              208 drivers/net/can/cc770/cc770_platform.c 		 priv->reg_base, dev->irq, priv->can.clock.freq,
freq              151 drivers/net/can/dev.c 		brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2;
freq              158 drivers/net/can/dev.c 		bitrate = priv->clock.freq / (brp * tsegall);
freq              204 drivers/net/can/dev.c 	do_div(v64, priv->clock.freq);
freq              225 drivers/net/can/dev.c 	bt->bitrate = priv->clock.freq /
freq              259 drivers/net/can/dev.c 	brp64 = (u64)priv->clock.freq * (u64)bt->tq;
freq              272 drivers/net/can/dev.c 	bt->bitrate = priv->clock.freq / (bt->brp * alltseg);
freq             1615 drivers/net/can/flexcan.c 	priv->can.clock.freq = clock_freq;
freq             1608 drivers/net/can/grcan.c 	priv->can.clock.freq = ambafreq;
freq             1633 drivers/net/can/grcan.c 		 priv->regs, dev->irq, priv->can.clock.freq);
freq              985 drivers/net/can/ifi_canfd/ifi_canfd.c 	priv->can.clock.freq = readl(addr + IFI_CANFD_CANCLOCK);
freq             1014 drivers/net/can/ifi_canfd/ifi_canfd.c 		 priv->base, ndev->irq, priv->can.clock.freq);
freq             1928 drivers/net/can/janz-ican3.c 	mod->can.clock.freq = ICAN3_CAN_CLOCK;
freq              273 drivers/net/can/kvaser_pciefd.c 	u32 freq;
freq              961 drivers/net/can/kvaser_pciefd.c 		can->can.clock.freq = pcie->freq;
freq             1126 drivers/net/can/kvaser_pciefd.c 	pcie->freq = ioread32(pcie->reg_base + KVASER_PCIEFD_SYSID_CANFREQ_REG);
freq             1127 drivers/net/can/kvaser_pciefd.c 	pcie->freq_to_ticks_div = pcie->freq / 1000000;
freq             1049 drivers/net/can/m_can/m_can.c 			tdco = (cdev->can.clock.freq / 1000) *
freq               92 drivers/net/can/m_can/m_can.h 	int freq;
freq              103 drivers/net/can/m_can/m_can_platform.c 	mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk);
freq              418 drivers/net/can/m_can/tcan4x5x.c 	int freq, ret;
freq              433 drivers/net/can/m_can/tcan4x5x.c 		freq = TCAN4X5X_EXT_CLK_DEF;
freq              435 drivers/net/can/m_can/tcan4x5x.c 		freq = clk_get_rate(mcan_class->cclk);
freq              439 drivers/net/can/m_can/tcan4x5x.c 	if (freq < 20000000 || freq > TCAN4X5X_EXT_CLK_DEF)
freq              448 drivers/net/can/m_can/tcan4x5x.c 	mcan_class->can.clock.freq = freq;
freq               46 drivers/net/can/mscan/mpc5xxx_can.c 	unsigned int freq;
freq               64 drivers/net/can/mscan/mpc5xxx_can.c 	freq = mpc5xxx_get_bus_frequency(ofdev->dev.of_node);
freq               65 drivers/net/can/mscan/mpc5xxx_can.c 	if (!freq)
freq               69 drivers/net/can/mscan/mpc5xxx_can.c 		return freq;
freq               85 drivers/net/can/mscan/mpc5xxx_can.c 		freq *= 2;
freq               88 drivers/net/can/mscan/mpc5xxx_can.c 	freq *= (val & (1 << 5)) ? 8 : 4;
freq               89 drivers/net/can/mscan/mpc5xxx_can.c 	freq /= (val & (1 << 6)) ? 12 : 16;
freq               94 drivers/net/can/mscan/mpc5xxx_can.c 	return freq;
freq              324 drivers/net/can/mscan/mpc5xxx_can.c 	priv->can.clock.freq = data->get_clock(ofdev, clock_name,
freq              326 drivers/net/can/mscan/mpc5xxx_can.c 	if (!priv->can.clock.freq) {
freq              339 drivers/net/can/mscan/mpc5xxx_can.c 		 priv->reg_base, dev->irq, priv->can.clock.freq);
freq             1219 drivers/net/can/pch_can.c 	priv->can.clock.freq = PCH_CAN_CLK; /* Hz */
freq              645 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 20 * 1000 * 1000;
freq              648 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 24 * 1000 * 1000;
freq              651 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 30 * 1000 * 1000;
freq              654 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 40 * 1000 * 1000;
freq              657 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 60 * 1000 * 1000;
freq              665 drivers/net/can/peak_canfd/peak_pciefd_main.c 		priv->ucan.can.clock.freq = 80 * 1000 * 1000;
freq              804 drivers/net/can/rcar/rcar_can.c 	priv->can.clock.freq = clk_get_rate(priv->can_clk);
freq             1577 drivers/net/can/rcar/rcar_canfd.c 	priv->can.clock.freq = fcan_freq;
freq             1578 drivers/net/can/rcar/rcar_canfd.c 	dev_info(&pdev->dev, "can_clk rate is %u\n", priv->can.clock.freq);
freq              310 drivers/net/can/sja1000/ems_pci.c 			priv->can.clock.freq = EMS_PCI_CAN_CLOCK;
freq              217 drivers/net/can/sja1000/ems_pcmcia.c 			priv->can.clock.freq = EMS_PCMCIA_CAN_CLOCK;
freq              165 drivers/net/can/sja1000/f81601.c 			priv->can.clock.freq = 24000000 / 2;
freq              167 drivers/net/can/sja1000/f81601.c 			priv->can.clock.freq = external_clk / 2;
freq              247 drivers/net/can/sja1000/kvaser_pci.c 	priv->can.clock.freq = KVASER_PCI_CAN_CLOCK;
freq              626 drivers/net/can/sja1000/peak_pci.c 		priv->can.clock.freq = PEAK_PCI_CAN_CLOCK;
freq              560 drivers/net/can/sja1000/peak_pcmcia.c 		priv->can.clock.freq = PCC_CAN_CLOCK;
freq              702 drivers/net/can/sja1000/plx_pci.c 			priv->can.clock.freq = ci->can_clock;
freq              177 drivers/net/can/sja1000/sja1000_isa.c 		priv->can.clock.freq = clk[idx] / 2;
freq              179 drivers/net/can/sja1000/sja1000_isa.c 		priv->can.clock.freq = clk[0] / 2;
freq              181 drivers/net/can/sja1000/sja1000_isa.c 		priv->can.clock.freq = CLK_DEFAULT / 2;
freq              114 drivers/net/can/sja1000/sja1000_platform.c 	priv->can.clock.freq = pdata->osc_freq / 2;
freq              161 drivers/net/can/sja1000/sja1000_platform.c 		priv->can.clock.freq = prop / 2;
freq              163 drivers/net/can/sja1000/sja1000_platform.c 		priv->can.clock.freq = SP_CAN_CLOCK; /* default */
freq              179 drivers/net/can/sja1000/sja1000_platform.c 		u32 divider = priv->can.clock.freq * 2 / prop;
freq              127 drivers/net/can/sja1000/tscan1.c 	priv->can.clock.freq = TSCAN1_SJA1000_XTAL / 2;
freq               71 drivers/net/can/softing/softing.h 		unsigned int freq; /* remote cpu's operating frequency */
freq               33 drivers/net/can/softing/softing_cs.c 	.freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4,
freq               45 drivers/net/can/softing/softing_cs.c 	.freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4,
freq               57 drivers/net/can/softing/softing_cs.c 	.freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4,
freq               69 drivers/net/can/softing/softing_cs.c 	.freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
freq               81 drivers/net/can/softing/softing_cs.c 	.freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4,
freq               93 drivers/net/can/softing/softing_cs.c 	.freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4,
freq              105 drivers/net/can/softing/softing_cs.c 	.freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
freq              117 drivers/net/can/softing/softing_cs.c 	.freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4,
freq              129 drivers/net/can/softing/softing_cs.c 	.freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
freq              380 drivers/net/can/softing/softing_fw.c 	do_div(ovf, card->pdat->freq ?: 16);
freq              397 drivers/net/can/softing/softing_fw.c 	do_div(rawl, card->pdat->freq ?: 16);
freq              644 drivers/net/can/softing/softing_main.c 	priv->can.clock.freq = 8000000;
freq              798 drivers/net/can/softing/softing_main.c 	card->id.freq = card->pdat->freq;
freq               23 drivers/net/can/softing/softing_platform.h 	unsigned int freq; /* operating frequency in Hz */
freq              836 drivers/net/can/spi/hi311x.c 	int freq, ret;
freq              843 drivers/net/can/spi/hi311x.c 	freq = clk_get_rate(clk);
freq              846 drivers/net/can/spi/hi311x.c 	if (freq > 40000000)
freq              867 drivers/net/can/spi/hi311x.c 	priv->can.clock.freq = freq / 2;
freq              993 drivers/net/can/spi/mcp251x.c 	int freq, ret;
freq              999 drivers/net/can/spi/mcp251x.c 	freq = clk_get_rate(clk);
freq             1000 drivers/net/can/spi/mcp251x.c 	if (freq == 0 && pdata)
freq             1001 drivers/net/can/spi/mcp251x.c 		freq = pdata->oscillator_frequency;
freq             1004 drivers/net/can/spi/mcp251x.c 	if (freq < 1000000 || freq > 25000000)
freq             1022 drivers/net/can/spi/mcp251x.c 	priv->can.clock.freq = freq / 2;
freq              814 drivers/net/can/sun4i_can.c 	priv->can.clock.freq = clk_get_rate(clk);
freq              934 drivers/net/can/ti_hecc.c 	priv->can.clock.freq = clk_get_rate(priv->clk);
freq              979 drivers/net/can/usb/ems_usb.c 	dev->can.clock.freq = EMS_USB_ARM7_CLOCK;
freq              995 drivers/net/can/usb/esd_usb2.c 		priv->can.clock.freq = ESD_USBM_CAN_CLOCK;
freq              997 drivers/net/can/usb/esd_usb2.c 		priv->can.clock.freq = ESD_USB2_CAN_CLOCK;
freq              857 drivers/net/can/usb/gs_usb.c 	dev->can.clock.freq = bt_const->fclk_can;
freq              668 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 	priv->can.clock.freq = dev->cfg->clock.freq;
freq             2015 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		.freq = 80000000,
freq             2024 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		.freq = 24000000,
freq             1354 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		.freq = CAN_USB_CLOCK,
freq              878 drivers/net/can/usb/peak_usb/pcan_usb.c 		.freq = PCAN_USB_CRYSTAL_HZ / 2 ,
freq              912 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		if (dev->adapter->clock.freq == pcan_usb_fd_clk_freq[i])
freq             1015 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		.freq = PCAN_UFD_CRYSTAL_HZ,
freq             1087 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		.freq = PCAN_UFD_CRYSTAL_HZ,
freq             1159 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		.freq = PCAN_UFD_CRYSTAL_HZ,
freq             1231 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		.freq = PCAN_UFD_CRYSTAL_HZ,
freq             1016 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 		.freq = PCAN_USBPRO_CRYSTAL_HZ,
freq              150 drivers/net/can/usb/ucan.c 	__le32 freq;         /* Clock Frequency for tq generation */
freq              452 drivers/net/can/usb/ucan.c 	up->can.clock.freq = le32_to_cpu(device_info->freq);
freq              925 drivers/net/can/usb/usb_8dev.c 	priv->can.clock.freq = USB_8DEV_ABP_CLOCK;
freq             1794 drivers/net/can/xilinx_can.c 	priv->can.clock.freq = clk_get_rate(priv->can_clk);
freq             1814 drivers/net/can/xilinx_can.c 		   priv->reg_base, ndev->irq, priv->can.clock.freq,
freq              151 drivers/net/ethernet/ibm/emac/emac.h #define EMAC4_MR1_OBCI(freq)		((freq) <= 50  ? EMAC4_MR1_OBCI_50 : \
freq              152 drivers/net/ethernet/ibm/emac/emac.h 					 (freq) <= 66  ? EMAC4_MR1_OBCI_66 : \
freq              153 drivers/net/ethernet/ibm/emac/emac.h 					 (freq) <= 83  ? EMAC4_MR1_OBCI_83 : \
freq              154 drivers/net/ethernet/ibm/emac/emac.h 					 (freq) <= 100 ? EMAC4_MR1_OBCI_100 : \
freq              235 drivers/net/ethernet/ibm/emac/emac.h #define EMAC_STACR_OPBC(freq)		((freq) <= 50 ? EMAC_STACR_OPBC_50 : \
freq              236 drivers/net/ethernet/ibm/emac/emac.h 					 (freq) <= 66 ? EMAC_STACR_OPBC_66 : \
freq              237 drivers/net/ethernet/ibm/emac/emac.h 					 (freq) <= 83 ? EMAC_STACR_OPBC_83 : EMAC_STACR_OPBC_100)
freq             2027 drivers/net/ethernet/intel/e1000e/ich8lan.c 	u32 freq = (strap & E1000_STRAP_SMT_FREQ_MASK) >>
freq             2043 drivers/net/ethernet/intel/e1000e/ich8lan.c 		if (freq--) {
freq             2045 drivers/net/ethernet/intel/e1000e/ich8lan.c 			phy_data |= (freq & BIT(0)) <<
freq             2047 drivers/net/ethernet/intel/e1000e/ich8lan.c 			phy_data |= (freq & BIT(1)) <<
freq              105 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	u64 adj, freq, diff;
freq              113 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	freq = I40E_PTP_40GB_INCVAL;
freq              114 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	freq *= ppb;
freq              115 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	diff = div_u64(freq, 1000000000ULL);
freq              444 drivers/net/ethernet/intel/igb/igb_ptp.c static void igb_pin_perout(struct igb_adapter *igb, int chan, int pin, int freq)
freq              492 drivers/net/ethernet/intel/igb/igb_ptp.c 	if (freq) {
freq              449 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	u64 freq, incval;
freq              461 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	freq = incval;
freq              462 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	freq *= ppb;
freq              463 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	diff = div_u64(freq, 1000000000ULL);
freq             2199 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	unsigned long freq = port->priv->tclk;
freq             2200 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	u32 val = mvpp2_usec_to_cycles(rxq->time_coal, freq);
freq             2204 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			mvpp2_cycles_to_usec(MVPP2_MAX_ISR_RX_THRESHOLD, freq);
freq             2207 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		val = mvpp2_usec_to_cycles(rxq->time_coal, freq);
freq             2215 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	unsigned long freq = port->priv->tclk;
freq             2216 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	u32 val = mvpp2_usec_to_cycles(port->tx_time_coal, freq);
freq             2220 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			mvpp2_cycles_to_usec(MVPP2_MAX_ISR_TX_THRESHOLD, freq);
freq             2223 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		val = mvpp2_usec_to_cycles(port->tx_time_coal, freq);
freq              251 drivers/net/ethernet/mellanox/mlx4/en_clock.c static u32 freq_to_shift(u16 freq)
freq              253 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	u32 freq_khz = freq * 1000;
freq              495 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	enum mlxsw_reg_mfcr_pwm_frequency freq;
freq              507 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	mlxsw_reg_mfcr_unpack(mfcr_pl, &freq, &tacho_active, &pwm_active);
freq              979 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	enum mlxsw_reg_mfcr_pwm_frequency freq;
freq             1000 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	mlxsw_reg_mfcr_unpack(mfcr_pl, &freq, &tacho_active, &pwm_active);
freq              306 drivers/net/ethernet/socionext/netsec.c 	u32 freq;
freq              345 drivers/net/ethernet/socionext/netsec.c static u32 netsec_clk_type(u32 freq)
freq              347 drivers/net/ethernet/socionext/netsec.c 	if (freq < MHZ(35))
freq              349 drivers/net/ethernet/socionext/netsec.c 	if (freq < MHZ(60))
freq              351 drivers/net/ethernet/socionext/netsec.c 	if (freq < MHZ(100))
freq              353 drivers/net/ethernet/socionext/netsec.c 	if (freq < MHZ(150))
freq              355 drivers/net/ethernet/socionext/netsec.c 	if (freq < MHZ(250))
freq              479 drivers/net/ethernet/socionext/netsec.c 			     (netsec_clk_type(priv->freq) <<
freq              507 drivers/net/ethernet/socionext/netsec.c 			     (netsec_clk_type(priv->freq) <<
freq             1434 drivers/net/ethernet/socionext/netsec.c 	netsec_write(priv, NETSEC_REG_DMA_TMR_CTRL, priv->freq / 1000000 - 1);
freq             1844 drivers/net/ethernet/socionext/netsec.c 	priv->freq = clk_get_rate(priv->clk);
freq             1866 drivers/net/ethernet/socionext/netsec.c 				       &priv->freq);
freq             2047 drivers/net/ethernet/socionext/netsec.c 	if (!priv->freq) {
freq              165 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 	u32 freq = 0;
freq              174 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_50MHZ;
freq              179 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_125MHZ;
freq              184 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 				freq = DWMAC_25MHZ;
freq              186 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 				freq = DWMAC_2_5MHZ;
freq              190 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 	if (src == TX_RETIME_SRC_CLKGEN && freq)
freq              191 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 		clk_set_rate(dwmac->clk, freq);
freq              201 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 	u32 freq = 0;
freq              209 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_50MHZ;
freq              214 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_125MHZ;
freq              216 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_25MHZ;
freq              218 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 			freq = DWMAC_2_5MHZ;
freq              221 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 	if (freq)
freq              222 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c 		clk_set_rate(dwmac->clk, freq);
freq              502 drivers/net/ethernet/ti/cpts.c 	u32 freq;
freq              504 drivers/net/ethernet/ti/cpts.c 	freq = clk_get_rate(cpts->refclk);
freq              510 drivers/net/ethernet/ti/cpts.c 	do_div(maxsec, freq);
freq              526 drivers/net/ethernet/ti/cpts.c 			       freq, NSEC_PER_SEC, maxsec);
freq              529 drivers/net/ethernet/ti/cpts.c 	ns = cyclecounter_cyc2ns(&cpts->cc, freq, cpts->cc.mask, &frac);
freq              533 drivers/net/ethernet/ti/cpts.c 		 freq, cpts->cc.mult, cpts->cc.shift, (ns - NSEC_PER_SEC));
freq              452 drivers/net/ethernet/ti/davinci_cpdma.c 	u32 min_send_cnt, freq;
freq              460 drivers/net/ethernet/ti/davinci_cpdma.c 	freq = ctlr->params.bus_freq_mhz * 1000 * 32;
freq              461 drivers/net/ethernet/ti/davinci_cpdma.c 	if (!freq) {
freq              466 drivers/net/ethernet/ti/davinci_cpdma.c 	min_send_cnt = freq - ch->rate;
freq              473 drivers/net/ethernet/ti/davinci_cpdma.c 		divident = freq * idle_cnt;
freq              495 drivers/net/ethernet/ti/davinci_cpdma.c 		divident = freq * idle_cnt;
freq              317 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 			range->freq[chs].i = i + 1;
freq              318 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 			range->freq[chs].m = channel_freq[i];
freq              319 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 			range->freq[chs].e = 6;
freq              591 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	iwe.u.freq.m = be16_to_cpu(scan->channel);
freq              592 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	iwe.u.freq.e = 0; /* table value in MHz */
freq              593 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	iwe.u.freq.i = 0;
freq              723 drivers/net/ieee802154/adf7242.c 	unsigned long freq;
freq              733 drivers/net/ieee802154/adf7242.c 	freq = (2405 + 5 * (channel - 11)) * 100;
freq              736 drivers/net/ieee802154/adf7242.c 	adf7242_write_reg(lp, REG_CH_FREQ0, freq);
freq              737 drivers/net/ieee802154/adf7242.c 	adf7242_write_reg(lp, REG_CH_FREQ1, freq >> 8);
freq              738 drivers/net/ieee802154/adf7242.c 	adf7242_write_reg(lp, REG_CH_FREQ2, freq >> 16);
freq               18 drivers/net/wan/z85230.h #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
freq               19 drivers/net/wan/z85230.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
freq              445 drivers/net/wireless/admtek/adm8211.c 			rx_status.freq = adm8211_channels[priv->channel - 1].center_freq;
freq              460 drivers/net/wireless/ath/ar5523/ar5523.c 	reset.freq = cpu_to_be32(conf->chandef.chan->center_freq);
freq              596 drivers/net/wireless/ath/ar5523/ar5523.c 	rx_status->freq = be32_to_cpu(desc->channel);
freq              210 drivers/net/wireless/ath/ar5523/ar5523_hw.h 	__be32	freq;		/* channel frequency */
freq              186 drivers/net/wireless/ath/ath10k/htt.h 			__le16 freq;
freq              202 drivers/net/wireless/ath/ath10k/htt.h 			__le16 freq;
freq             1725 drivers/net/wireless/ath/ath10k/htt.h 	__le32 freq;
freq              956 drivers/net/wireless/ath/ath10k/htt_rx.c 		if (!status->freq)
freq             1147 drivers/net/wireless/ath/ath10k/htt_rx.c 	status->freq = ch->center_freq;
freq             1212 drivers/net/wireless/ath/ath10k/htt_rx.c 		status->freq = 0;
freq             1306 drivers/net/wireless/ath/ath10k/htt_rx.c 		   status->freq,
freq             1981 drivers/net/wireless/ath/ath10k/htt_rx.c 	if (!rx_status->freq) {
freq             2262 drivers/net/wireless/ath/ath10k/htt_rx.c 		rx_status->freq = ch->center_freq;
freq             3884 drivers/net/wireless/ath/ath10k/htt_rx.c 		u32 freq = __le32_to_cpu(resp->chan_change.freq);
freq             3886 drivers/net/wireless/ath/ath10k/htt_rx.c 		ar->tgt_oper_chan = ieee80211_get_channel(ar->hw->wiphy, freq);
freq             3889 drivers/net/wireless/ath/ath10k/htt_rx.c 			   freq, ath10k_wmi_phymode_str(phymode));
freq             1362 drivers/net/wireless/ath/ath10k/htt_tx.c 	u16 freq = 0;
freq             1401 drivers/net/wireless/ath/ath10k/htt_tx.c 		freq = ar->scan.roc_freq;
freq             1495 drivers/net/wireless/ath/ath10k/htt_tx.c 		txbuf->cmd_tx.offchan_tx.freq =
freq             1496 drivers/net/wireless/ath/ath10k/htt_tx.c 				__cpu_to_le16(freq);
freq             1506 drivers/net/wireless/ath/ath10k/htt_tx.c 		   &skb_cb->paddr, vdev_id, tid, freq);
freq             1562 drivers/net/wireless/ath/ath10k/htt_tx.c 	u16 freq = 0;
freq             1601 drivers/net/wireless/ath/ath10k/htt_tx.c 		freq = ar->scan.roc_freq;
freq             1702 drivers/net/wireless/ath/ath10k/htt_tx.c 		txbuf->cmd_tx.offchan_tx.freq =
freq             1703 drivers/net/wireless/ath/ath10k/htt_tx.c 				__cpu_to_le16(freq);
freq             1713 drivers/net/wireless/ath/ath10k/htt_tx.c 		   &skb_cb->paddr, vdev_id, tid, freq);
freq             1029 drivers/net/wireless/ath/ath10k/mac.c 	arg.channel.freq = channel->center_freq;
freq             1481 drivers/net/wireless/ath/ath10k/mac.c 	arg.channel.freq = chandef->chan->center_freq;
freq             1506 drivers/net/wireless/ath/ath10k/mac.c 		   arg.vdev_id, arg.channel.freq,
freq             3143 drivers/net/wireless/ath/ath10k/mac.c 			ch->freq = channel->center_freq;
freq             3166 drivers/net/wireless/ath/ath10k/mac.c 				   ch->freq, ch->max_power, ch->max_reg_power,
freq             1408 drivers/net/wireless/ath/ath10k/snoc.c 		   clk_info->name, clk_info->freq);
freq             1553 drivers/net/wireless/ath/ath10k/snoc.c 		if (clk_info->freq) {
freq             1554 drivers/net/wireless/ath/ath10k/snoc.c 			ret = clk_set_rate(clk_info->handle, clk_info->freq);
freq             1558 drivers/net/wireless/ath/ath10k/snoc.c 					   clk_info->name, clk_info->freq);
freq               58 drivers/net/wireless/ath/ath10k/snoc.h 	u32 freq;
freq              861 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	arg->freq = ev->freq;
freq             1608 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	u32 freq;
freq             1620 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	__le32 freq;
freq             1704 drivers/net/wireless/ath/ath10k/wmi.c 	ch->mhz = __cpu_to_le32(arg->freq);
freq             2051 drivers/net/wireless/ath/ath10k/wmi.c static void ath10k_wmi_event_scan_foreign_chan(struct ath10k *ar, u32 freq)
freq             2064 drivers/net/wireless/ath/ath10k/wmi.c 		ar->scan_channel = ieee80211_get_channel(ar->hw->wiphy, freq);
freq             2066 drivers/net/wireless/ath/ath10k/wmi.c 		if (ar->scan.is_roc && ar->scan.roc_freq == freq)
freq             2138 drivers/net/wireless/ath/ath10k/wmi.c 	u32 freq;
freq             2152 drivers/net/wireless/ath/ath10k/wmi.c 	freq = __le32_to_cpu(arg.channel_freq);
freq             2162 drivers/net/wireless/ath/ath10k/wmi.c 		   event_type, reason, freq, req_id, scan_id, vdev_id,
freq             2176 drivers/net/wireless/ath/ath10k/wmi.c 		ath10k_wmi_event_scan_foreign_chan(ar, freq);
freq             2513 drivers/net/wireless/ath/ath10k/wmi.c 	status->freq = ieee80211_channel_to_frequency(channel, status->band);
freq             2551 drivers/net/wireless/ath/ath10k/wmi.c 		   status->freq, status->band, status->signal,
freq             2559 drivers/net/wireless/ath/ath10k/wmi.c static int freq_to_idx(struct ath10k *ar, int freq)
freq             2570 drivers/net/wireless/ath/ath10k/wmi.c 			if (sband->channels[ch].center_freq == freq)
freq             2588 drivers/net/wireless/ath/ath10k/wmi.c 	arg->freq = ev->freq;
freq             2608 drivers/net/wireless/ath/ath10k/wmi.c 	arg->freq = ev->freq;
freq             2635 drivers/net/wireless/ath/ath10k/wmi.c 	idx = freq_to_idx(ar, params->freq);
freq             2638 drivers/net/wireless/ath/ath10k/wmi.c 			    params->freq, idx);
freq             2666 drivers/net/wireless/ath/ath10k/wmi.c 	idx = freq_to_idx(ar, params->freq);
freq             2669 drivers/net/wireless/ath/ath10k/wmi.c 			    params->freq, idx);
freq             2711 drivers/net/wireless/ath/ath10k/wmi.c 	ch_info_param.freq = __le32_to_cpu(arg.freq);
freq             2720 drivers/net/wireless/ath/ath10k/wmi.c 		   ch_info_param.err_code, ch_info_param.freq, ch_info_param.cmd_flags,
freq             4016 drivers/net/wireless/ath/ath10k/wmi.c 	pe.freq = ch->center_freq;
freq             4022 drivers/net/wireless/ath/ath10k/wmi.c 		   pe.freq, pe.width, pe.rssi, pe.ts);
freq             5671 drivers/net/wireless/ath/ath10k/wmi.c 	u32 freq, noise_floor;
freq             5679 drivers/net/wireless/ath/ath10k/wmi.c 	freq        = __le32_to_cpu(ev->freq);
freq             5689 drivers/net/wireless/ath/ath10k/wmi.c 		   freq, noise_floor, busy, total, tx, rx, rx_bss);
freq             5692 drivers/net/wireless/ath/ath10k/wmi.c 	idx = freq_to_idx(ar, freq);
freq             5695 drivers/net/wireless/ath/ath10k/wmi.c 			    freq, idx);
freq             6840 drivers/net/wireless/ath/ath10k/wmi.c 			channels->channel_list[i].freq =
freq             7097 drivers/net/wireless/ath/ath10k/wmi.c 		   flags, arg->channel.freq, arg->channel.mode,
freq             2055 drivers/net/wireless/ath/ath10k/wmi.h 	u32 freq;
freq             3069 drivers/net/wireless/ath/ath10k/wmi.h 	__le16 freq;
freq             6531 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 freq;
freq             6540 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 freq;
freq             6778 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 freq;
freq             6887 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 freq;
freq              299 drivers/net/wireless/ath/ath5k/base.c 	unsigned int count, size, freq, ch;
freq              320 drivers/net/wireless/ath/ath5k/base.c 		freq = ieee80211_channel_to_frequency(ch, band);
freq              322 drivers/net/wireless/ath/ath5k/base.c 		if (freq == 0) /* mapping failed - not a standard channel */
freq              326 drivers/net/wireless/ath/ath5k/base.c 		channels[count].center_freq = freq;
freq             1400 drivers/net/wireless/ath/ath5k/base.c 	rxs->freq = ah->curchan->center_freq;
freq              364 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_b[0].freq =
freq              366 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_b[0].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              369 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_b[1].freq =
freq              371 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_b[1].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              375 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_b[2].freq =
freq              377 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_b[2].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              386 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_g[0].freq =
freq              388 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_g[0].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              391 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_g[1].freq =
freq              393 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_g[1].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              401 drivers/net/wireless/ath/ath5k/eeprom.c 		ee->ee_pwr_cal_g[2].freq =
freq              403 drivers/net/wireless/ath/ath5k/eeprom.c 		if (ee->ee_pwr_cal_g[2].freq != AR5K_EEPROM_CHANNEL_DIS)
freq              527 drivers/net/wireless/ath/ath5k/eeprom.c 		pc[i++].freq = ath5k_eeprom_bin2freq(ee,
freq              535 drivers/net/wireless/ath/ath5k/eeprom.c 		pc[i++].freq = ath5k_eeprom_bin2freq(ee,
freq              564 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[0].freq  = (val >> 9) & mask;
freq              565 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[1].freq  = (val >> 2) & mask;
freq              566 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[2].freq  = (val << 5) & mask;
freq              569 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[2].freq |= (val >> 11) & 0x1f;
freq              570 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[3].freq  = (val >> 4) & mask;
freq              571 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[4].freq  = (val << 3) & mask;
freq              574 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[4].freq |= (val >> 13) & 0x7;
freq              575 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[5].freq  = (val >> 6) & mask;
freq              576 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[6].freq  = (val << 1) & mask;
freq              579 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[6].freq |= (val >> 15) & 0x1;
freq              580 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[7].freq  = (val >> 8) & mask;
freq              581 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[8].freq  = (val >> 1) & mask;
freq              582 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[9].freq  = (val << 6) & mask;
freq              585 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[9].freq |= (val >> 10) & 0x3f;
freq              591 drivers/net/wireless/ath/ath5k/eeprom.c 			pcal[i].freq = ath5k_eeprom_bin2freq(ee,
freq              592 drivers/net/wireless/ath/ath5k/eeprom.c 				pcal[i].freq, AR5K_EEPROM_MODE_11A);
freq              824 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[0].freq = 2412;
freq              825 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[1].freq = 2447;
freq              826 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[2].freq = 2484;
freq              837 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[0].freq = 2312;
freq              838 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[1].freq = 2412;
freq              839 drivers/net/wireless/ath/ath5k/eeprom.c 		pcal[2].freq = 2484;
freq             1505 drivers/net/wireless/ath/ath5k/eeprom.c 			rate_pcal_info[i].freq =
freq             1513 drivers/net/wireless/ath/ath5k/eeprom.c 			if (rate_pcal_info[i].freq == AR5K_EEPROM_CHANNEL_DIS ||
freq             1526 drivers/net/wireless/ath/ath5k/eeprom.c 			rate_pcal_info[i].freq =
freq             1534 drivers/net/wireless/ath/ath5k/eeprom.c 			if (rate_pcal_info[i].freq == AR5K_EEPROM_CHANNEL_DIS ||
freq             1647 drivers/net/wireless/ath/ath5k/eeprom.c 				rep[j].freq = (val >> 8) & fmask;
freq             1648 drivers/net/wireless/ath/ath5k/eeprom.c 				rep[j + 1].freq = val & fmask;
freq             1659 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[0].freq = (val >> 9) & fmask;
freq             1660 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[1].freq = (val >> 2) & fmask;
freq             1661 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[2].freq = (val << 5) & fmask;
freq             1664 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[2].freq |= (val >> 11) & 0x1f;
freq             1665 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[3].freq = (val >> 4) & fmask;
freq             1666 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[4].freq = (val << 3) & fmask;
freq             1669 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[4].freq |= (val >> 13) & 0x7;
freq             1670 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[5].freq = (val >> 6) & fmask;
freq             1671 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[6].freq = (val << 1) & fmask;
freq             1674 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[6].freq |= (val >> 15) & 0x1;
freq             1675 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[7].freq = (val >> 8) & fmask;
freq             1695 drivers/net/wireless/ath/ath5k/eeprom.c 			rep[j].freq = ath5k_eeprom_bin2freq(ee,
freq             1696 drivers/net/wireless/ath/ath5k/eeprom.c 				rep[j].freq, ctl_mode);
freq              326 drivers/net/wireless/ath/ath5k/eeprom.h 	u16	freq;
freq              345 drivers/net/wireless/ath/ath5k/eeprom.h 	u16	freq; /* Frequency */
freq              362 drivers/net/wireless/ath/ath5k/eeprom.h 	u16 freq;
freq              138 drivers/net/wireless/ath/ath5k/phy.c 	u16 freq = channel->center_freq;
freq              142 drivers/net/wireless/ath/ath5k/phy.c 		if ((freq >= ah->ah_capabilities.cap_range.range_2ghz_min) &&
freq              143 drivers/net/wireless/ath/ath5k/phy.c 		    (freq <= ah->ah_capabilities.cap_range.range_2ghz_max))
freq              146 drivers/net/wireless/ath/ath5k/phy.c 		if ((freq >= ah->ah_capabilities.cap_range.range_5ghz_min) &&
freq              147 drivers/net/wireless/ath/ath5k/phy.c 		    (freq <= ah->ah_capabilities.cap_range.range_5ghz_max))
freq             2614 drivers/net/wireless/ath/ath5k/phy.c 	if (target < pcinfo[0].freq) {
freq             2622 drivers/net/wireless/ath/ath5k/phy.c 	if (target > pcinfo[max].freq) {
freq             2636 drivers/net/wireless/ath/ath5k/phy.c 		if (pcinfo[i].freq == target) {
freq             2644 drivers/net/wireless/ath/ath5k/phy.c 		if (target < pcinfo[i].freq) {
freq             2701 drivers/net/wireless/ath/ath5k/phy.c 	if (target < rpinfo[0].freq) {
freq             2706 drivers/net/wireless/ath/ath5k/phy.c 	if (target > rpinfo[max].freq) {
freq             2713 drivers/net/wireless/ath/ath5k/phy.c 		if (rpinfo[i].freq == target) {
freq             2718 drivers/net/wireless/ath/ath5k/phy.c 		if (target < rpinfo[i].freq) {
freq             2727 drivers/net/wireless/ath/ath5k/phy.c 	rates->freq = target;
freq             2730 drivers/net/wireless/ath/ath5k/phy.c 		ath5k_get_interpolated_value(target, rpinfo[idx_l].freq,
freq             2731 drivers/net/wireless/ath/ath5k/phy.c 					rpinfo[idx_r].freq,
freq             2736 drivers/net/wireless/ath/ath5k/phy.c 		ath5k_get_interpolated_value(target, rpinfo[idx_l].freq,
freq             2737 drivers/net/wireless/ath/ath5k/phy.c 					rpinfo[idx_r].freq,
freq             2742 drivers/net/wireless/ath/ath5k/phy.c 		ath5k_get_interpolated_value(target, rpinfo[idx_l].freq,
freq             2743 drivers/net/wireless/ath/ath5k/phy.c 					rpinfo[idx_r].freq,
freq             2748 drivers/net/wireless/ath/ath5k/phy.c 		ath5k_get_interpolated_value(target, rpinfo[idx_l].freq,
freq             2749 drivers/net/wireless/ath/ath5k/phy.c 					rpinfo[idx_r].freq,
freq             2825 drivers/net/wireless/ath/ath5k/phy.c 		if (target <= rep[rep_idx].freq)
freq             3390 drivers/net/wireless/ath/ath5k/phy.c 							(s16) pcinfo_L->freq,
freq             3391 drivers/net/wireless/ath/ath5k/phy.c 							(s16) pcinfo_R->freq,
freq             3409 drivers/net/wireless/ath/ath5k/phy.c 					(s16) pcinfo_L->freq,
freq             3410 drivers/net/wireless/ath/ath5k/phy.c 					(s16) pcinfo_R->freq,
freq             3414 drivers/net/wireless/ath/ath5k/phy.c 					(s16) pcinfo_L->freq,
freq             3415 drivers/net/wireless/ath/ath5k/phy.c 					(s16) pcinfo_R->freq,
freq             1106 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq,
freq             1113 drivers/net/wireless/ath/ath6kl/cfg80211.c 		   vif->nw_type, freq, mode);
freq             1116 drivers/net/wireless/ath/ath6kl/cfg80211.c 				ieee80211_get_channel(vif->ar->wiphy, freq),
freq             3063 drivers/net/wireless/ath/ath6kl/cfg80211.c 				     unsigned int freq)
freq             3092 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_send_probe_response_cmd(ar->wmi, vif->fw_vif_idx, freq,
freq             3100 drivers/net/wireless/ath/ath6kl/cfg80211.c 				     u32 freq,
freq             3132 drivers/net/wireless/ath/ath6kl/cfg80211.c 			mgmt_buf->freq = freq;
freq             3193 drivers/net/wireless/ath/ath6kl/cfg80211.c 	u32 id, freq;
freq             3200 drivers/net/wireless/ath/ath6kl/cfg80211.c 	freq = vif->ch_hint;
freq             3202 drivers/net/wireless/ath/ath6kl/cfg80211.c 		freq = chan->center_freq;
freq             3205 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (WARN_ON(freq == 0))
freq             3217 drivers/net/wireless/ath/ath6kl/cfg80211.c 		return ath6kl_send_go_probe_resp(vif, buf, len, freq);
freq             3233 drivers/net/wireless/ath/ath6kl/cfg80211.c 		queued = ath6kl_mgmt_powersave_ap(vif, id, freq, wait, buf, len,
freq             3239 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx, id, freq,
freq               31 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq,
freq              404 drivers/net/wireless/ath/ath6kl/core.h 	u32 freq;
freq              899 drivers/net/wireless/ath/ath6kl/main.c 					 mgmt_buf->id, mgmt_buf->freq,
freq             1475 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->freq,
freq              507 drivers/net/wireless/ath/ath6kl/wmi.c 	u32 freq;
freq              517 drivers/net/wireless/ath/ath6kl/wmi.c 	freq = le32_to_cpu(ev->freq);
freq              520 drivers/net/wireless/ath/ath6kl/wmi.c 		   freq, dur);
freq              521 drivers/net/wireless/ath/ath6kl/wmi.c 	chan = ieee80211_get_channel(ar->wiphy, freq);
freq              525 drivers/net/wireless/ath/ath6kl/wmi.c 			   freq);
freq              540 drivers/net/wireless/ath/ath6kl/wmi.c 	u32 freq;
freq              550 drivers/net/wireless/ath/ath6kl/wmi.c 	freq = le32_to_cpu(ev->freq);
freq              554 drivers/net/wireless/ath/ath6kl/wmi.c 		   freq, dur, ev->status);
freq              555 drivers/net/wireless/ath/ath6kl/wmi.c 	chan = ieee80211_get_channel(ar->wiphy, freq);
freq              559 drivers/net/wireless/ath/ath6kl/wmi.c 			   freq);
freq              603 drivers/net/wireless/ath/ath6kl/wmi.c 	u32 freq;
freq              610 drivers/net/wireless/ath/ath6kl/wmi.c 	freq = le32_to_cpu(ev->freq);
freq              619 drivers/net/wireless/ath/ath6kl/wmi.c 		   dlen, freq, vif->probe_req_report);
freq              622 drivers/net/wireless/ath/ath6kl/wmi.c 		cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0);
freq              646 drivers/net/wireless/ath/ath6kl/wmi.c 	u32 freq;
freq              653 drivers/net/wireless/ath/ath6kl/wmi.c 	freq = le32_to_cpu(ev->freq);
freq              660 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_dbg(ATH6KL_DBG_WMI, "rx_action: len=%u freq=%u\n", dlen, freq);
freq              661 drivers/net/wireless/ath/ath6kl/wmi.c 	cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0);
freq             3620 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx, u32 freq, u32 dur)
freq             3630 drivers/net/wireless/ath/ath6kl/wmi.c 		   freq, dur);
freq             3632 drivers/net/wireless/ath/ath6kl/wmi.c 	p->freq = cpu_to_le32(freq);
freq             3643 drivers/net/wireless/ath/ath6kl/wmi.c 				      u32 freq, u32 wait, const u8 *data,
freq             3670 drivers/net/wireless/ath/ath6kl/wmi.c 		   id, freq, wait, data_len);
freq             3673 drivers/net/wireless/ath/ath6kl/wmi.c 	p->freq = cpu_to_le32(freq);
freq             3682 drivers/net/wireless/ath/ath6kl/wmi.c 				      u32 freq, u32 wait, const u8 *data,
freq             3709 drivers/net/wireless/ath/ath6kl/wmi.c 		   id, freq, wait, data_len);
freq             3712 drivers/net/wireless/ath/ath6kl/wmi.c 	p->freq = cpu_to_le32(freq);
freq             3721 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id, u32 freq,
freq             3736 drivers/net/wireless/ath/ath6kl/wmi.c 		status = __ath6kl_wmi_send_mgmt_cmd(ar->wmi, if_idx, id, freq,
freq             3740 drivers/net/wireless/ath/ath6kl/wmi.c 		status = ath6kl_wmi_send_action_cmd(ar->wmi, if_idx, id, freq,
freq             3747 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_send_probe_response_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
freq             3764 drivers/net/wireless/ath/ath6kl/wmi.c 		   freq, dst, data_len);
freq             3766 drivers/net/wireless/ath/ath6kl/wmi.c 	p->freq = cpu_to_le32(freq);
freq             2350 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2360 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2368 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2396 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2401 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2407 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2418 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2450 drivers/net/wireless/ath/ath6kl/wmi.h 	__le32 freq;
freq             2700 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
freq             2703 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id, u32 freq,
freq             2707 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_send_probe_response_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
freq              188 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	u16 freq;
freq              192 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	freq = centers.synth_center;
freq              194 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	if (freq < 4800) {
freq              197 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		if (((freq - 2192) % 5) == 0) {
freq              198 drivers/net/wireless/ath/ath9k/ar5008_phy.c 			channelSel = ((freq - 672) * 2 - 3040) / 10;
freq              200 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		} else if (((freq - 2224) % 5) == 0) {
freq              201 drivers/net/wireless/ath/ath9k/ar5008_phy.c 			channelSel = ((freq - 704) * 2 - 3040) / 10;
freq              204 drivers/net/wireless/ath/ath9k/ar5008_phy.c 			ath_err(common, "Invalid channel %u MHz\n", freq);
freq              212 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		if (freq == 2484) {
freq              221 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	} else if ((freq % 20) == 0 && freq >= 5120) {
freq              223 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		    ath9k_hw_reverse_bits(((freq - 4800) / 20 << 2), 8);
freq              225 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	} else if ((freq % 10) == 0) {
freq              227 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		    ath9k_hw_reverse_bits(((freq - 4800) / 10 << 1), 8);
freq              232 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	} else if ((freq % 5) == 0) {
freq              233 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		channelSel = ath9k_hw_reverse_bits((freq - 4800) / 5, 8);
freq              236 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		ath_err(common, "Invalid channel %u MHz\n", freq);
freq              240 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	ar5008_hw_force_bias(ah, freq);
freq               69 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	u32 freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0;
freq               74 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	freq = centers.synth_center;
freq               79 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	if (freq < 4800) { /* 2 GHz, fractional mode */
freq               86 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		channelSel = CHANSEL_2G(freq);
freq               89 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			if (freq == 2484) {
freq               99 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			if (freq == 2484) {
freq              116 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			else if ((freq % 20) == 0)
freq              118 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			else if ((freq % 10) == 0)
freq              132 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			channelSel = CHANSEL_5G(freq);
freq              142 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			ndiv = (freq * (refDivA >> aModeRefSel)) / 60;
freq              172 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	int freq;
freq              186 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	freq = centers.synth_center;
freq              199 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		cur_bb_spur = cur_bb_spur - freq;
freq             3446 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	int freq;
freq             3468 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				freq = 2300 + eep->calFreqPier2G[j];
freq             3471 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				freq = 4800 + eep->calFreqPier5G[j] * 5;
freq             3475 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				"%d\t", freq);
freq             4064 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static void ar9003_hw_quick_drop_apply(struct ath_hw *ah, u16 freq)
freq             4075 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (freq < 4000) {
freq             4081 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			quick_drop = ar9003_hw_power_interpolate(freq, f, t, 3);
freq             4323 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				       u16 rateIndex, u16 freq, bool is2GHz)
freq             4352 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (u8) ar9003_hw_power_interpolate((s32) freq,
freq             4359 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					    u16 freq, bool is2GHz)
freq             4388 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (u8) ar9003_hw_power_interpolate((s32) freq,
freq             4395 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					    u16 freq, bool is2GHz)
freq             4424 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (u8) ar9003_hw_power_interpolate((s32) freq,
freq             4430 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					   u16 rateIndex, u16 freq)
freq             4449 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (u8) ar9003_hw_power_interpolate((s32) freq,
freq             4591 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static void ar9003_hw_get_legacy_target_powers(struct ath_hw *ah, u16 freq,
freq             4596 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_tgt_pwr(ah, LEGACY_TARGET_RATE_6_24, freq,
freq             4599 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_tgt_pwr(ah, LEGACY_TARGET_RATE_36, freq,
freq             4602 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_tgt_pwr(ah, LEGACY_TARGET_RATE_48, freq,
freq             4605 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_tgt_pwr(ah, LEGACY_TARGET_RATE_54, freq,
freq             4609 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static void ar9003_hw_get_cck_target_powers(struct ath_hw *ah, u16 freq,
freq             4614 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					     freq);
freq             4616 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_cck_tgt_pwr(ah, LEGACY_TARGET_RATE_5S, freq);
freq             4618 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_cck_tgt_pwr(ah, LEGACY_TARGET_RATE_11L, freq);
freq             4620 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_cck_tgt_pwr(ah, LEGACY_TARGET_RATE_11S, freq);
freq             4623 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static void ar9003_hw_get_ht20_target_powers(struct ath_hw *ah, u16 freq,
freq             4627 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_0_8_16, freq,
freq             4631 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					      freq, is2GHz);
freq             4633 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_4, freq,
freq             4636 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_5, freq,
freq             4639 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_6, freq,
freq             4642 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_7, freq,
freq             4645 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_12, freq,
freq             4648 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_13, freq,
freq             4651 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_14, freq,
freq             4654 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_15, freq,
freq             4657 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_20, freq,
freq             4660 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_21, freq,
freq             4663 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_22, freq,
freq             4666 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht20_tgt_pwr(ah, HT_TARGET_RATE_23, freq,
freq             4671 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						   u16 freq,
freq             4679 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_0_8_16, freq,
freq             4683 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					      freq,
freq             4686 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_4, freq,
freq             4689 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_5, freq,
freq             4692 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_6, freq,
freq             4695 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_7, freq,
freq             4698 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_12, freq,
freq             4701 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_13, freq,
freq             4704 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_14, freq,
freq             4707 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_15, freq,
freq             4710 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_20, freq,
freq             4713 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_21, freq,
freq             4716 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_22, freq,
freq             4719 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	    ar9003_hw_eeprom_get_ht40_tgt_pwr(ah, HT_TARGET_RATE_23, freq,
freq             4730 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	u16 freq = chan->channel;
freq             4733 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		ar9003_hw_get_cck_target_powers(ah, freq, targetPowerValT2);
freq             4735 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	ar9003_hw_get_legacy_target_powers(ah, freq, targetPowerValT2, is2GHz);
freq             4736 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	ar9003_hw_get_ht20_target_powers(ah, freq, targetPowerValT2, is2GHz);
freq             4739 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		ar9003_hw_get_ht40_target_powers(ah, freq, targetPowerValT2,
freq             5157 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					     u16 freq,
freq             5168 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 1) < freq &&
freq             5172 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 0) < freq &&
freq             5184 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					u16 freq, int idx, bool is2GHz)
freq             5202 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (freq == ath9k_hw_fbin2freq(ctl_freqbin[edge], is2GHz)) {
freq             5208 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			   (freq < ath9k_hw_fbin2freq(ctl_freqbin[edge],
freq             5212 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 								  edge, freq,
freq             5248 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	u16 ctlMode, freq;
freq             5292 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			freq = centers.synth_center;
freq             5294 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			freq = centers.ext_center;
freq             5296 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			freq = centers.ctl_center;
freq             5333 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 							       freq, i,
freq              152 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	u32 freq, chan_frac, div, channelSel = 0, reg32 = 0;
freq              157 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	freq = centers.synth_center;
freq              159 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	if (freq < 4800) {     /* 2 GHz, fractional mode */
freq              168 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			channelSel = (freq * 4) / div;
freq              169 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			chan_frac = (((freq * 4) % div) * 0x20000) / div;
freq              173 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				channelSel = (freq * 2) / 75;
freq              174 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				chan_frac = (((freq * 2) % 75) * 0x20000) / 75;
freq              177 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				channelSel = CHANSEL_2G(freq) >> 1;
freq              180 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			channelSel = CHANSEL_2G(freq);
freq              188 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			channelSel = freq / 75;
freq              189 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			chan_frac = ((freq % 75) * 0x20000) / 75;
freq              192 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			channelSel = CHANSEL_5G(freq);
freq              128 drivers/net/wireless/ath/ath9k/common-spectral.c 			u8 *sample_buf, u64 tsf, u16 freq, int chan_type);
freq              134 drivers/net/wireless/ath/ath9k/common-spectral.c 			u64 tsf, u16 freq, int chan_type)
freq              150 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_20.freq = __cpu_to_be16(freq);
freq              238 drivers/net/wireless/ath/ath9k/common-spectral.c 			u64 tsf, u16 freq, int chan_type)
freq              264 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_40.freq = __cpu_to_be16(freq);
freq              483 drivers/net/wireless/ath/ath9k/common-spectral.c 	u16 fft_len, sample_len, freq = ah->curchan->chan->center_freq;
freq              624 drivers/net/wireless/ath/ath9k/common-spectral.c 						  tsf, freq, chan_type);
freq              642 drivers/net/wireless/ath/ath9k/common-spectral.c 						  tsf, freq, chan_type);
freq              331 drivers/net/wireless/ath/ath9k/dfs.c 	pe.freq = ah->curchan->channel;
freq              349 drivers/net/wireless/ath/ath9k/dfs.c 		ard.pulse_bw_info, pe.freq, pe.ts, pe.width, pe.rssi,
freq              356 drivers/net/wireless/ath/ath9k/dfs.c 		pe.freq += IS_CHAN_HT40PLUS(ah->curchan) ? 20 : -20;
freq              280 drivers/net/wireless/ath/ath9k/eeprom.c 	u16 freq;
freq              283 drivers/net/wireless/ath/ath9k/eeprom.c 	freq = (isExtTarget) ? centers.ext_center : centers.ctl_center;
freq              285 drivers/net/wireless/ath/ath9k/eeprom.c 	if (freq <= ath9k_hw_fbin2freq(powInfo[0].bChannel,
freq              291 drivers/net/wireless/ath/ath9k/eeprom.c 			if (freq == ath9k_hw_fbin2freq(powInfo[i].bChannel,
freq              295 drivers/net/wireless/ath/ath9k/eeprom.c 			} else if (freq < ath9k_hw_fbin2freq(powInfo[i].bChannel,
freq              297 drivers/net/wireless/ath/ath9k/eeprom.c 				   freq > ath9k_hw_fbin2freq(powInfo[i - 1].bChannel,
freq              317 drivers/net/wireless/ath/ath9k/eeprom.c 				(u8)ath9k_hw_interpolate(freq, clo, chi,
freq              335 drivers/net/wireless/ath/ath9k/eeprom.c 	u16 freq;
freq              338 drivers/net/wireless/ath/ath9k/eeprom.c 	freq = isHt40Target ? centers.synth_center : centers.ctl_center;
freq              340 drivers/net/wireless/ath/ath9k/eeprom.c 	if (freq <= ath9k_hw_fbin2freq(powInfo[0].bChannel, IS_CHAN_2GHZ(chan))) {
freq              345 drivers/net/wireless/ath/ath9k/eeprom.c 			if (freq == ath9k_hw_fbin2freq(powInfo[i].bChannel,
freq              350 drivers/net/wireless/ath/ath9k/eeprom.c 				if (freq < ath9k_hw_fbin2freq(powInfo[i].bChannel,
freq              352 drivers/net/wireless/ath/ath9k/eeprom.c 				    freq > ath9k_hw_fbin2freq(powInfo[i - 1].bChannel,
freq              371 drivers/net/wireless/ath/ath9k/eeprom.c 			pNewPower->tPow2x[i] = (u8)ath9k_hw_interpolate(freq,
freq              379 drivers/net/wireless/ath/ath9k/eeprom.c u16 ath9k_hw_get_max_edge_power(u16 freq, struct cal_ctl_edges *pRdEdgesPower,
freq              387 drivers/net/wireless/ath/ath9k/eeprom.c 		if (freq == ath9k_hw_fbin2freq(pRdEdgesPower[i].bChannel, is2GHz)) {
freq              391 drivers/net/wireless/ath/ath9k/eeprom.c 			   (freq < ath9k_hw_fbin2freq(pRdEdgesPower[i].bChannel,
freq              394 drivers/net/wireless/ath/ath9k/eeprom.c 					       is2GHz) < freq &&
freq              700 drivers/net/wireless/ath/ath9k/eeprom.h u16 ath9k_hw_get_max_edge_power(u16 freq, struct cal_ctl_edges *pRdEdgesPower,
freq              405 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	u16 ctlMode, freq;
freq              465 drivers/net/wireless/ath/ath9k/eeprom_4k.c 			freq = centers.synth_center;
freq              467 drivers/net/wireless/ath/ath9k/eeprom_4k.c 			freq = centers.ext_center;
freq              469 drivers/net/wireless/ath/ath9k/eeprom_4k.c 			freq = centers.ctl_center;
freq              480 drivers/net/wireless/ath/ath9k/eeprom_4k.c 					freq,
freq              522 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	u16 ctlMode, freq;
freq              579 drivers/net/wireless/ath/ath9k/eeprom_9287.c 			freq = centers.synth_center;
freq              581 drivers/net/wireless/ath/ath9k/eeprom_9287.c 			freq = centers.ext_center;
freq              583 drivers/net/wireless/ath/ath9k/eeprom_9287.c 			freq = centers.ctl_center;
freq              599 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				twiceMinEdgePower = ath9k_hw_get_max_edge_power(freq,
freq              950 drivers/net/wireless/ath/ath9k/eeprom_def.c 	u16 ctlMode, freq;
freq             1026 drivers/net/wireless/ath/ath9k/eeprom_def.c 			freq = centers.synth_center;
freq             1028 drivers/net/wireless/ath/ath9k/eeprom_def.c 			freq = centers.ext_center;
freq             1030 drivers/net/wireless/ath/ath9k/eeprom_def.c 			freq = centers.ctl_center;
freq             1043 drivers/net/wireless/ath/ath9k/eeprom_def.c 				twiceMinEdgePower = ath9k_hw_get_max_edge_power(freq,
freq             1052 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	rx_status->freq = ah->curchan->chan->center_freq;
freq              935 drivers/net/wireless/ath/ath9k/recv.c 	rx_status->freq = ah->curchan->chan->center_freq;
freq              102 drivers/net/wireless/ath/carl9170/eeprom.h 	u8	freq;
freq              107 drivers/net/wireless/ath/carl9170/eeprom.h 	u8	freq;
freq              139 drivers/net/wireless/ath/carl9170/fwcmd.h 	__le32		freq;
freq              707 drivers/net/wireless/ath/carl9170/phy.c 	u16 freq;
freq              967 drivers/net/wireless/ath/carl9170/phy.c 				      u32 freq, enum carl9170_bw bw)
freq              977 drivers/net/wireless/ath/carl9170/phy.c 		freq += 10;
freq              980 drivers/net/wireless/ath/carl9170/phy.c 		freq -= 10;
freq              990 drivers/net/wireless/ath/carl9170/phy.c 		if (freq % 10) {
freq              991 drivers/net/wireless/ath/carl9170/phy.c 			chansel = (freq - 4800) / 5;
freq              993 drivers/net/wireless/ath/carl9170/phy.c 			chansel = ((freq - 4800) / 10) * 2;
freq              999 drivers/net/wireless/ath/carl9170/phy.c 		if (freq == 2484) {
freq             1000 drivers/net/wireless/ath/carl9170/phy.c 			chansel = 10 + (freq - 2274) / 5;
freq             1003 drivers/net/wireless/ath/carl9170/phy.c 			chansel = 16 + (freq - 2272) / 5;
freq             1039 drivers/net/wireless/ath/carl9170/phy.c 	u16 freq = 2412;
freq             1043 drivers/net/wireless/ath/carl9170/phy.c 		freq = channel->center_freq;
freq             1050 drivers/net/wireless/ath/carl9170/phy.c 	WARN_ON(carl9170_phy_freq_params[chanidx].freq != freq);
freq             1218 drivers/net/wireless/ath/carl9170/phy.c 	u32 freq, struct ar9170_calctl_edges edges[])
freq             1223 drivers/net/wireless/ath/carl9170/phy.c 	if (freq < 3000)
freq             1224 drivers/net/wireless/ath/carl9170/phy.c 		f = freq - 2300;
freq             1226 drivers/net/wireless/ath/carl9170/phy.c 		f = (freq - 4800) / 5;
freq             1259 drivers/net/wireless/ath/carl9170/phy.c static u8 carl9170_get_heavy_clip(struct ar9170 *ar, u32 freq,
freq             1266 drivers/net/wireless/ath/carl9170/phy.c 	if (freq < 3000)
freq             1267 drivers/net/wireless/ath/carl9170/phy.c 		f = freq - 2300;
freq             1269 drivers/net/wireless/ath/carl9170/phy.c 		f = (freq - 4800) / 5;
freq             1291 drivers/net/wireless/ath/carl9170/phy.c static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw)
freq             1366 drivers/net/wireless/ath/carl9170/phy.c 						freq, bw, EDGES(ctl_idx, 1));
freq             1380 drivers/net/wireless/ath/carl9170/phy.c 					freq + f_off, EDGES(ctl_idx, 1));
freq             1428 drivers/net/wireless/ath/carl9170/phy.c static void carl9170_set_power_cal(struct ar9170 *ar, u32 freq,
freq             1439 drivers/net/wireless/ath/carl9170/phy.c 	if (freq < 3000)
freq             1440 drivers/net/wireless/ath/carl9170/phy.c 		f = freq - 2300;
freq             1442 drivers/net/wireless/ath/carl9170/phy.c 		f = (freq - 4800) / 5;
freq             1471 drivers/net/wireless/ath/carl9170/phy.c 			if (ctpl[n].freq == 0xff)
freq             1473 drivers/net/wireless/ath/carl9170/phy.c 			pwr_freqs[n] = ctpl[n].freq;
freq             1479 drivers/net/wireless/ath/carl9170/phy.c 				ctpl[idx + 0].freq, ctpl[idx + 0].power[n],
freq             1480 drivers/net/wireless/ath/carl9170/phy.c 				ctpl[idx + 1].freq, ctpl[idx + 1].power[n]);
freq             1511 drivers/net/wireless/ath/carl9170/phy.c 			if (ctph[n].freq == 0xff)
freq             1513 drivers/net/wireless/ath/carl9170/phy.c 			pwr_freqs[n] = ctph[n].freq;
freq             1519 drivers/net/wireless/ath/carl9170/phy.c 				ctph[idx + 0].freq, ctph[idx + 0].power[n],
freq             1520 drivers/net/wireless/ath/carl9170/phy.c 				ctph[idx + 1].freq, ctph[idx + 1].power[n]);
freq             1524 drivers/net/wireless/ath/carl9170/phy.c 	carl9170_calc_ctl(ar, freq, bw);
freq             1674 drivers/net/wireless/ath/carl9170/phy.c 	rf.freq = cpu_to_le32(channel->center_freq * 1000);
freq              355 drivers/net/wireless/ath/carl9170/rx.c 		status->freq = chan->center_freq;
freq              162 drivers/net/wireless/ath/dfs_pattern_detector.c 	u16 freq;
freq              195 drivers/net/wireless/ath/dfs_pattern_detector.c channel_detector_create(struct dfs_pattern_detector *dpd, u16 freq)
freq              205 drivers/net/wireless/ath/dfs_pattern_detector.c 	cd->freq = freq;
freq              223 drivers/net/wireless/ath/dfs_pattern_detector.c 		"failed to allocate channel_detector for freq=%d\n", freq);
freq              238 drivers/net/wireless/ath/dfs_pattern_detector.c channel_detector_get(struct dfs_pattern_detector *dpd, u16 freq)
freq              242 drivers/net/wireless/ath/dfs_pattern_detector.c 		if (cd->freq == freq)
freq              245 drivers/net/wireless/ath/dfs_pattern_detector.c 	return channel_detector_create(dpd, freq);
freq              284 drivers/net/wireless/ath/dfs_pattern_detector.c 	cd = channel_detector_get(dpd, event->freq);
freq              303 drivers/net/wireless/ath/dfs_pattern_detector.c 				event->freq, pd->rs->type_id,
freq               52 drivers/net/wireless/ath/dfs_pattern_detector.h 	u16 freq;
freq               53 drivers/net/wireless/ath/spectral_common.h 	__be16 freq;
freq               70 drivers/net/wireless/ath/spectral_common.h 	__be16 freq;
freq               54 drivers/net/wireless/ath/wcn36xx/txrx.c 		status.freq = wcn->scan_freq;
freq               57 drivers/net/wireless/ath/wcn36xx/txrx.c 		status.freq = WCN36XX_CENTER_FREQ(wcn);
freq             1408 drivers/net/wireless/ath/wil6210/debugfs.c 	u32 freq = wdev->chandef.chan ? wdev->chandef.chan->center_freq : 0;
freq             1410 drivers/net/wireless/ath/wil6210/debugfs.c 	seq_printf(s, "Freq = %d\n", freq);
freq             1414 drivers/net/wireless/ath/wil6210/debugfs.c DEFINE_SHOW_ATTRIBUTE(freq);
freq              834 drivers/net/wireless/ath/wil6210/wmi.c 	u32 freq;
freq              855 drivers/net/wireless/ath/wil6210/wmi.c 	freq = ieee80211_channel_to_frequency(ch_no, NL80211_BAND_60GHZ);
freq              856 drivers/net/wireless/ath/wil6210/wmi.c 	channel = ieee80211_get_channel(wiphy, freq);
freq              913 drivers/net/wireless/ath/wil6210/wmi.c 		cfg80211_rx_mgmt(vif_to_radio_wdev(wil, vif), freq, signal,
freq             1395 drivers/net/wireless/ath/wil6210/wmi.c 	u32 freq;
freq             1428 drivers/net/wireless/ath/wil6210/wmi.c 	freq = ieee80211_channel_to_frequency(ch_no, NL80211_BAND_60GHZ);
freq             1429 drivers/net/wireless/ath/wil6210/wmi.c 	channel = ieee80211_get_channel(wiphy, freq);
freq             1739 drivers/net/wireless/ath/wil6210/wmi.c 	int freq;
freq             1832 drivers/net/wireless/ath/wil6210/wmi.c 	freq = ieee80211_channel_to_frequency(ch, NL80211_BAND_60GHZ);
freq             1835 drivers/net/wireless/ath/wil6210/wmi.c 	info.channel = ieee80211_get_channel(wiphy, freq);
freq             1589 drivers/net/wireless/atmel/at76c50x-usb.c 	rx_status.freq = at76_guess_freq(priv);
freq             2360 drivers/net/wireless/atmel/atmel.c 		iwe.u.freq.m = priv->BSSinfo[i].channel;
freq             2361 drivers/net/wireless/atmel/atmel.c 		iwe.u.freq.e = 0;
freq             2415 drivers/net/wireless/atmel/atmel.c 			range->freq[k].i = i; /* List index */
freq             2418 drivers/net/wireless/atmel/atmel.c 			range->freq[k].m = 100000 *
freq             2420 drivers/net/wireless/atmel/atmel.c 			range->freq[k++].e = 1;
freq              630 drivers/net/wireless/broadcom/b43/phy_ht.c 	u16 freq = dev->phy.chandef->chan->center_freq;
freq              640 drivers/net/wireless/broadcom/b43/phy_ht.c 	} else if (freq >= 4900 && freq < 5100) {
freq              647 drivers/net/wireless/broadcom/b43/phy_ht.c 	} else if (freq >= 5100 && freq < 5500) {
freq              654 drivers/net/wireless/broadcom/b43/phy_ht.c 	} else if (freq >= 5500) {
freq              157 drivers/net/wireless/broadcom/b43/phy_lp.c static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq)
freq              167 drivers/net/wireless/broadcom/b43/phy_lp.c 	else if (freq <= 5320)
freq              169 drivers/net/wireless/broadcom/b43/phy_lp.c 	else if (freq <= 5700)
freq              184 drivers/net/wireless/broadcom/b43/phy_lp.c 	u32 freq = channel2freq_lp(b43_lpphy_op_get_default_chan(dev));
freq              194 drivers/net/wireless/broadcom/b43/phy_lp.c 		lpphy_adjust_gain_table(dev, freq);
freq              496 drivers/net/wireless/broadcom/b43/phy_lp.c 	u16 freq;
freq              510 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 12000, .data[0] =  6, .data[1] =  6, .data[2] =  6,
freq              512 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 13000, .data[0] =  4, .data[1] =  4, .data[2] =  4,
freq              514 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 14400, .data[0] =  3, .data[1] =  3, .data[2] =  3,
freq              516 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 16200, .data[0] =  3, .data[1] =  3, .data[2] =  3,
freq              518 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 18000, .data[0] =  2, .data[1] =  2, .data[2] =  2,
freq              520 drivers/net/wireless/broadcom/b43/phy_lp.c 		{ .freq = 19200, .data[0] =  1, .data[1] =  1, .data[2] =  1,
freq              572 drivers/net/wireless/broadcom/b43/phy_lp.c 		if (ref < freqdata_tab[i].freq) {
freq              580 drivers/net/wireless/broadcom/b43/phy_lp.c 	       fd->freq); /* FIXME: Keep this printk until the code is fully debugged. */
freq             1767 drivers/net/wireless/broadcom/b43/phy_lp.c static void lpphy_start_tx_tone(struct b43_wldev *dev, s32 freq, u16 max)
freq             1772 drivers/net/wireless/broadcom/b43/phy_lp.c 	int rotation = (((36 * freq) / 20) << 16) / 100;
freq             1775 drivers/net/wireless/broadcom/b43/phy_lp.c 	lpphy->tx_tone_freq = freq;
freq             1777 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (freq) {
freq             1779 drivers/net/wireless/broadcom/b43/phy_lp.c 		for (i = 1; samples * abs(freq) != 20000 * i; i++) {
freq             1780 drivers/net/wireless/broadcom/b43/phy_lp.c 			samples = (20000 * i) / abs(freq);
freq             1999 drivers/net/wireless/broadcom/b43/phy_lp.c 	u16 freq;
freq             2004 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 1, .freq = 2412, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2007 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 2, .freq = 2417, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2010 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 3, .freq = 2422, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2013 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 4, .freq = 2427, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2016 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 5, .freq = 2432, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2019 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 6, .freq = 2437, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2022 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 7, .freq = 2442, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2025 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 8, .freq = 2447, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2028 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 9, .freq = 2452, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2031 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 10, .freq = 2457, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2034 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 11, .freq = 2462, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2037 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 12, .freq = 2467, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2040 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 13, .freq = 2472, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2043 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 14, .freq = 2484, .data[0] = 0xFF, .data[1] = 0xFF,
freq             2046 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 34, .freq = 5170, .data[0] = 0x00, .data[1] = 0x22,
freq             2049 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 38, .freq = 5190, .data[0] = 0x00, .data[1] = 0x11,
freq             2052 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 42, .freq = 5210, .data[0] = 0x00, .data[1] = 0x11,
freq             2055 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 46, .freq = 5230, .data[0] = 0x00, .data[1] = 0x00,
freq             2058 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 36, .freq = 5180, .data[0] = 0x00, .data[1] = 0x11,
freq             2061 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 40, .freq = 5200, .data[0] = 0x00, .data[1] = 0x11,
freq             2064 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 44, .freq = 5220, .data[0] = 0x00, .data[1] = 0x11,
freq             2067 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 48, .freq = 5240, .data[0] = 0x00, .data[1] = 0x00,
freq             2070 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 52, .freq = 5260, .data[0] = 0x00, .data[1] = 0x00,
freq             2073 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 56, .freq = 5280, .data[0] = 0x00, .data[1] = 0x00,
freq             2076 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 60, .freq = 5300, .data[0] = 0x00, .data[1] = 0x00,
freq             2079 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 64, .freq = 5320, .data[0] = 0x00, .data[1] = 0x00,
freq             2082 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 100, .freq = 5500, .data[0] = 0x00, .data[1] = 0x00,
freq             2085 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 104, .freq = 5520, .data[0] = 0x00, .data[1] = 0x00,
freq             2088 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 108, .freq = 5540, .data[0] = 0x00, .data[1] = 0x00,
freq             2091 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 112, .freq = 5560, .data[0] = 0x00, .data[1] = 0x00,
freq             2094 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 116, .freq = 5580, .data[0] = 0x00, .data[1] = 0x00,
freq             2097 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 120, .freq = 5600, .data[0] = 0x00, .data[1] = 0x00,
freq             2100 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 124, .freq = 5620, .data[0] = 0x00, .data[1] = 0x00,
freq             2103 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 128, .freq = 5640, .data[0] = 0x00, .data[1] = 0x00,
freq             2106 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 132, .freq = 5660, .data[0] = 0x00, .data[1] = 0x00,
freq             2109 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 136, .freq = 5680, .data[0] = 0x00, .data[1] = 0x00,
freq             2112 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 140, .freq = 5700, .data[0] = 0x00, .data[1] = 0x00,
freq             2115 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 149, .freq = 5745, .data[0] = 0x00, .data[1] = 0x00,
freq             2118 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 153, .freq = 5765, .data[0] = 0x00, .data[1] = 0x00,
freq             2121 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 157, .freq = 5785, .data[0] = 0x00, .data[1] = 0x00,
freq             2124 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 161, .freq = 5805, .data[0] = 0x00, .data[1] = 0x00,
freq             2127 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 165, .freq = 5825, .data[0] = 0x00, .data[1] = 0x00,
freq             2130 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 184, .freq = 4920, .data[0] = 0x55, .data[1] = 0x77,
freq             2133 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 188, .freq = 4940, .data[0] = 0x44, .data[1] = 0x77,
freq             2136 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 192, .freq = 4960, .data[0] = 0x44, .data[1] = 0x66,
freq             2139 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 196, .freq = 4980, .data[0] = 0x33, .data[1] = 0x66,
freq             2142 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 200, .freq = 5000, .data[0] = 0x22, .data[1] = 0x55,
freq             2145 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 204, .freq = 5020, .data[0] = 0x22, .data[1] = 0x55,
freq             2148 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 208, .freq = 5040, .data[0] = 0x22, .data[1] = 0x44,
freq             2151 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 212, .freq = 5060, .data[0] = 0x11, .data[1] = 0x44,
freq             2154 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 216, .freq = 5080, .data[0] = 0x00, .data[1] = 0x44,
freq             2160 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 1, .freq = 2412, .data[0] = 0x6F, .data[1] = 0x3C,
freq             2164 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 2, .freq = 2417, .data[0] = 0x6F, .data[1] = 0x3C,
freq             2168 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 3, .freq = 2422, .data[0] = 0x6F, .data[1] = 0x3C,
freq             2172 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 4, .freq = 2427, .data[0] = 0x6F, .data[1] = 0x2C,
freq             2176 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 5, .freq = 2432, .data[0] = 0x6F, .data[1] = 0x2C,
freq             2180 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 6, .freq = 2437, .data[0] = 0x6F, .data[1] = 0x2C,
freq             2184 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 7, .freq = 2442, .data[0] = 0x6F, .data[1] = 0x2C,
freq             2188 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 8, .freq = 2447, .data[0] = 0x6F, .data[1] = 0x2C,
freq             2192 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 9, .freq = 2452, .data[0] = 0x6F, .data[1] = 0x1C,
freq             2196 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 10, .freq = 2457, .data[0] = 0x6F, .data[1] = 0x1C,
freq             2200 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 11, .freq = 2462, .data[0] = 0x6E, .data[1] = 0x1C,
freq             2204 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 12, .freq = 2467, .data[0] = 0x6E, .data[1] = 0x1C,
freq             2208 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 13, .freq = 2472, .data[0] = 0x6E, .data[1] = 0x1C,
freq             2212 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 14, .freq = 2484, .data[0] = 0x6E, .data[1] = 0x0C,
freq             2216 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 34, .freq = 5170, .data[0] = 0x6A, .data[1] = 0x0C,
freq             2220 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 36, .freq = 5180, .data[0] = 0x6A, .data[1] = 0x0C,
freq             2224 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 38, .freq = 5190, .data[0] = 0x6A, .data[1] = 0x0C,
freq             2228 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 40, .freq = 5200, .data[0] = 0x69, .data[1] = 0x0C,
freq             2232 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 42, .freq = 5210, .data[0] = 0x69, .data[1] = 0x0C,
freq             2236 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 44, .freq = 5220, .data[0] = 0x69, .data[1] = 0x0C,
freq             2240 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 46, .freq = 5230, .data[0] = 0x69, .data[1] = 0x0C,
freq             2244 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 48, .freq = 5240, .data[0] = 0x69, .data[1] = 0x0C,
freq             2248 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 52, .freq = 5260, .data[0] = 0x68, .data[1] = 0x0C,
freq             2252 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 56, .freq = 5280, .data[0] = 0x68, .data[1] = 0x0C,
freq             2256 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 60, .freq = 5300, .data[0] = 0x68, .data[1] = 0x0C,
freq             2260 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 64, .freq = 5320, .data[0] = 0x67, .data[1] = 0x0C,
freq             2264 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 100, .freq = 5500, .data[0] = 0x64, .data[1] = 0x0C,
freq             2268 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 104, .freq = 5520, .data[0] = 0x64, .data[1] = 0x0C,
freq             2272 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 108, .freq = 5540, .data[0] = 0x63, .data[1] = 0x0C,
freq             2276 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 112, .freq = 5560, .data[0] = 0x63, .data[1] = 0x0C,
freq             2280 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 116, .freq = 5580, .data[0] = 0x62, .data[1] = 0x0C,
freq             2284 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 120, .freq = 5600, .data[0] = 0x62, .data[1] = 0x0C,
freq             2288 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 124, .freq = 5620, .data[0] = 0x62, .data[1] = 0x0C,
freq             2292 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 128, .freq = 5640, .data[0] = 0x61, .data[1] = 0x0C,
freq             2296 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 132, .freq = 5660, .data[0] = 0x61, .data[1] = 0x0C,
freq             2300 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 136, .freq = 5680, .data[0] = 0x61, .data[1] = 0x0C,
freq             2304 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 140, .freq = 5700, .data[0] = 0x60, .data[1] = 0x0C,
freq             2308 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 149, .freq = 5745, .data[0] = 0x60, .data[1] = 0x0C,
freq             2312 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 153, .freq = 5765, .data[0] = 0x60, .data[1] = 0x0C,
freq             2316 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 157, .freq = 5785, .data[0] = 0x60, .data[1] = 0x0C,
freq             2320 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 161, .freq = 5805, .data[0] = 0x60, .data[1] = 0x0C,
freq             2324 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 165, .freq = 5825, .data[0] = 0x60, .data[1] = 0x0C,
freq             2328 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 184, .freq = 4920, .data[0] = 0x6E, .data[1] = 0x0C,
freq             2332 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 188, .freq = 4940, .data[0] = 0x6E, .data[1] = 0x0C,
freq             2336 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 192, .freq = 4960, .data[0] = 0x6E, .data[1] = 0x0C,
freq             2340 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 196, .freq = 4980, .data[0] = 0x6D, .data[1] = 0x0C,
freq             2344 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 200, .freq = 5000, .data[0] = 0x6D, .data[1] = 0x0C,
freq             2348 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 204, .freq = 5020, .data[0] = 0x6D, .data[1] = 0x0C,
freq             2352 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 208, .freq = 5040, .data[0] = 0x6C, .data[1] = 0x0C,
freq             2356 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 212, .freq = 5060, .data[0] = 0x6C, .data[1] = 0x0C,
freq             2360 drivers/net/wireless/broadcom/b43/phy_lp.c 	{ .channel = 216, .freq = 5080, .data[0] = 0x6C, .data[1] = 0x0C,
freq             2515 drivers/net/wireless/broadcom/b43/phy_lp.c 	if (chandata->freq > 4000) /* spec says 2484, but 4000 is safer */
freq             2516 drivers/net/wireless/broadcom/b43/phy_lp.c 		vco_freq = chandata->freq << 1;
freq             2518 drivers/net/wireless/broadcom/b43/phy_lp.c 		vco_freq = chandata->freq << 2;
freq             1236 drivers/net/wireless/broadcom/b43/phy_n.c 		u16 freq = phy->chandef->chan->center_freq;
freq             1237 drivers/net/wireless/broadcom/b43/phy_n.c 		if (freq < 5100) {
freq             1242 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq < 5340) {
freq             1247 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq < 5650) {
freq             1255 drivers/net/wireless/broadcom/b43/phy_n.c 			if (freq != 5825)
freq             1256 drivers/net/wireless/broadcom/b43/phy_n.c 				pgaa_boost = -(freq - 18) / 36 + 168;
freq             1530 drivers/net/wireless/broadcom/b43/phy_n.c static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
freq             1557 drivers/net/wireless/broadcom/b43/phy_n.c 	rot = (((freq * 36) / bw) << 16) / 100;
freq             3055 drivers/net/wireless/broadcom/b43/phy_n.c 			u16 freq = phy->chandef->chan->center_freq;
freq             3056 drivers/net/wireless/broadcom/b43/phy_n.c 			if ((freq >= 5180 && freq <= 5230) ||
freq             3057 drivers/net/wireless/broadcom/b43/phy_n.c 			    (freq >= 5745 && freq <= 5805)) {
freq             3473 drivers/net/wireless/broadcom/b43/phy_n.c static int b43_nphy_tx_tone(struct b43_wldev *dev, u32 freq, u16 max_val,
freq             3476 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 samp = b43_nphy_gen_load_samples(dev, freq, max_val, dac_test);
freq             3744 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 freq = phy->chandef->chan->center_freq;
freq             3764 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 4900 && freq < 5100) {
freq             3767 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 5100 && freq < 5500) {
freq             3770 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 5500) {
freq             4056 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 freq = phy->chandef->chan->center_freq;
freq             4097 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 4900 && freq < 5100) {
freq             4105 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 5100 && freq < 5500) {
freq             4113 drivers/net/wireless/broadcom/b43/phy_n.c 		} else if (freq >= 5500) {
freq             5378 drivers/net/wireless/broadcom/b43/phy_n.c 	int freq;
freq             5437 drivers/net/wireless/broadcom/b43/phy_n.c 		freq = 2500;
freq             5439 drivers/net/wireless/broadcom/b43/phy_n.c 		freq = 5000;
freq             5445 drivers/net/wireless/broadcom/b43/phy_n.c 		error = b43_nphy_tx_tone(dev, freq, 250, true, false, false);
freq              293 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4920, /* MHz */
freq              301 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4930, /* MHz */
freq              309 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4940, /* MHz */
freq              317 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4950, /* MHz */
freq              325 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4960, /* MHz */
freq              333 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4970, /* MHz */
freq              341 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4980, /* MHz */
freq              349 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 4990, /* MHz */
freq              357 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5000, /* MHz */
freq              365 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5010, /* MHz */
freq              373 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5020, /* MHz */
freq              381 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5030, /* MHz */
freq              389 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5040, /* MHz */
freq              397 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5050, /* MHz */
freq              405 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5060, /* MHz */
freq              413 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5070, /* MHz */
freq              421 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5080, /* MHz */
freq              429 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5090, /* MHz */
freq              437 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5100, /* MHz */
freq              445 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5110, /* MHz */
freq              453 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5120, /* MHz */
freq              461 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5130, /* MHz */
freq              469 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5140, /* MHz */
freq              477 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5160, /* MHz */
freq              485 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5170, /* MHz */
freq              493 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5180, /* MHz */
freq              501 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5190, /* MHz */
freq              509 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5200, /* MHz */
freq              517 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5210, /* MHz */
freq              525 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5220, /* MHz */
freq              533 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5230, /* MHz */
freq              541 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5240, /* MHz */
freq              549 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5250, /* MHz */
freq              557 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5260, /* MHz */
freq              565 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5270, /* MHz */
freq              573 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5280, /* MHz */
freq              581 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5290, /* MHz */
freq              589 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5300, /* MHz */
freq              597 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5310, /* MHz */
freq              605 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5320, /* MHz */
freq              613 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5330, /* MHz */
freq              621 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5340, /* MHz */
freq              629 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5350, /* MHz */
freq              637 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5360, /* MHz */
freq              645 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5370, /* MHz */
freq              653 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5380, /* MHz */
freq              661 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5390, /* MHz */
freq              669 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5400, /* MHz */
freq              677 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5410, /* MHz */
freq              685 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5420, /* MHz */
freq              693 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5430, /* MHz */
freq              701 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5440, /* MHz */
freq              709 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5450, /* MHz */
freq              717 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5460, /* MHz */
freq              725 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5470, /* MHz */
freq              733 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5480, /* MHz */
freq              741 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5490, /* MHz */
freq              749 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5500, /* MHz */
freq              757 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5510, /* MHz */
freq              765 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5520, /* MHz */
freq              773 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5530, /* MHz */
freq              781 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5540, /* MHz */
freq              789 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5550, /* MHz */
freq              797 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5560, /* MHz */
freq              805 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5570, /* MHz */
freq              813 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5580, /* MHz */
freq              821 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5590, /* MHz */
freq              829 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5600, /* MHz */
freq              837 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5610, /* MHz */
freq              845 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5620, /* MHz */
freq              853 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5630, /* MHz */
freq              861 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5640, /* MHz */
freq              869 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5650, /* MHz */
freq              877 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5660, /* MHz */
freq              885 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5670, /* MHz */
freq              893 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5680, /* MHz */
freq              901 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5690, /* MHz */
freq              909 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5700, /* MHz */
freq              917 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5710, /* MHz */
freq              925 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5720, /* MHz */
freq              933 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5725, /* MHz */
freq              941 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5730, /* MHz */
freq              949 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5735, /* MHz */
freq              957 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5740, /* MHz */
freq              965 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5745, /* MHz */
freq              973 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5750, /* MHz */
freq              981 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5755, /* MHz */
freq              989 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5760, /* MHz */
freq              997 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5765, /* MHz */
freq             1005 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5770, /* MHz */
freq             1013 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5775, /* MHz */
freq             1021 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5780, /* MHz */
freq             1029 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5785, /* MHz */
freq             1037 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5790, /* MHz */
freq             1045 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5795, /* MHz */
freq             1053 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5800, /* MHz */
freq             1061 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5805, /* MHz */
freq             1069 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5810, /* MHz */
freq             1077 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5815, /* MHz */
freq             1085 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5820, /* MHz */
freq             1093 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5825, /* MHz */
freq             1101 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5830, /* MHz */
freq             1109 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5840, /* MHz */
freq             1117 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5850, /* MHz */
freq             1125 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5860, /* MHz */
freq             1133 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5870, /* MHz */
freq             1141 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5880, /* MHz */
freq             1149 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5890, /* MHz */
freq             1157 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5900, /* MHz */
freq             1165 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 5910, /* MHz */
freq             1173 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2412, /* MHz */
freq             1181 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2417, /* MHz */
freq             1189 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2422, /* MHz */
freq             1197 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2427, /* MHz */
freq             1205 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2432, /* MHz */
freq             1213 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2437, /* MHz */
freq             1221 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2442, /* MHz */
freq             1229 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2447, /* MHz */
freq             1237 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2452, /* MHz */
freq             1245 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2457, /* MHz */
freq             1253 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2462, /* MHz */
freq             1261 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2467, /* MHz */
freq             1269 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2472, /* MHz */
freq             1277 drivers/net/wireless/broadcom/b43/radio_2055.c 	.freq			= 2484, /* MHz */
freq              218 drivers/net/wireless/broadcom/b43/radio_2055.h 	u16 freq;
freq             3077 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             3085 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             3093 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             3101 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             3109 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             3117 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             3125 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             3133 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             3141 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             3149 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             3157 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             3165 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             3173 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             3181 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             3189 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             3197 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             3205 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             3213 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             3221 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             3229 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             3237 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             3245 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             3253 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             3261 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             3269 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             3277 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             3285 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             3293 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             3301 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             3309 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             3317 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             3325 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             3333 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             3341 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             3349 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             3357 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             3365 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             3373 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             3381 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             3389 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             3397 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             3405 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             3413 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             3421 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             3429 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             3437 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             3445 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             3453 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             3461 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             3469 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             3477 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             3485 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             3493 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             3501 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             3509 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             3517 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             3525 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             3533 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             3541 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             3549 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             3557 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             3565 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             3573 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             3581 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             3589 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             3597 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             3605 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             3613 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             3621 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             3629 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             3637 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             3645 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             3653 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             3661 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             3669 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             3677 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             3685 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             3693 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             3701 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             3709 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             3717 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             3725 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             3733 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             3741 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             3749 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             3757 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             3765 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             3773 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             3781 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             3789 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             3797 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             3805 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             3813 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             3821 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             3829 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             3837 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             3845 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             3853 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             3861 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             3869 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             3877 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             3885 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             3893 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             3901 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             3909 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             3917 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             3925 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             3933 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             3941 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             3949 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             3957 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             3965 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             3973 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             3981 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             3989 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             3997 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             4005 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             4013 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             4021 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             4029 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             4037 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             4045 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             4053 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             4061 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             4072 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             4080 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             4088 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             4096 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             4104 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             4112 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             4120 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             4128 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             4136 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             4144 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             4152 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             4160 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             4168 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             4176 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             4184 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             4192 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             4200 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             4208 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             4216 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             4224 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             4232 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             4240 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             4248 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             4256 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             4264 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             4272 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             4280 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             4288 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             4296 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             4304 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             4312 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             4320 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             4328 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             4336 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             4344 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             4352 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             4360 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             4368 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             4376 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             4384 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             4392 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             4400 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             4408 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             4416 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             4424 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             4432 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             4440 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             4448 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             4456 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             4464 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             4472 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             4480 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             4488 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             4496 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             4504 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             4512 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             4520 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             4528 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             4536 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             4544 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             4552 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             4560 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             4568 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             4576 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             4584 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             4592 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             4600 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             4608 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             4616 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             4624 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             4632 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             4640 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             4648 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             4656 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             4664 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             4672 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             4680 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             4688 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             4696 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             4704 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             4712 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             4720 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             4728 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             4736 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             4744 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             4752 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             4760 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             4768 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             4776 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             4784 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             4792 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             4800 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             4808 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             4816 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             4824 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             4832 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             4840 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             4848 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             4856 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             4864 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             4872 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             4880 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             4888 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             4896 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             4904 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             4912 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             4920 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             4928 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             4936 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             4944 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             4952 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             4960 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             4968 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             4976 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             4984 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             4992 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             5000 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             5008 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             5016 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             5024 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             5032 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             5040 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             5048 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             5056 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             5067 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             5075 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             5083 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             5091 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             5099 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             5107 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             5115 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             5123 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             5131 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             5139 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             5147 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             5155 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             5163 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             5171 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             5179 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             5187 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             5195 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             5203 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             5211 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             5219 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             5227 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             5235 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             5243 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             5251 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             5259 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             5267 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             5275 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             5283 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             5291 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             5299 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             5307 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             5315 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             5323 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             5331 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             5339 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             5347 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             5355 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             5363 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             5371 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             5379 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             5387 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             5395 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             5403 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             5411 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             5419 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             5427 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             5435 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             5443 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             5451 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             5459 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             5467 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             5475 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             5483 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             5491 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             5499 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             5507 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             5515 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             5523 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             5531 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             5539 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             5547 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             5555 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             5563 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             5571 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             5579 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             5587 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             5595 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             5603 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             5611 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             5619 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             5627 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             5635 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             5643 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             5651 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             5659 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             5667 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             5675 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             5683 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             5691 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             5699 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             5707 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             5715 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             5723 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             5731 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             5739 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             5747 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             5755 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             5763 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             5771 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             5779 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             5787 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             5795 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             5803 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             5811 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             5819 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             5827 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             5835 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             5843 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             5851 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             5859 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             5867 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             5875 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             5883 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             5891 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             5899 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             5907 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             5915 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             5923 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             5931 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             5939 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             5947 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             5955 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             5963 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             5971 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             5979 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             5987 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             5995 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             6003 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             6011 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             6019 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             6027 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             6035 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             6043 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             6051 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             6062 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             6070 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             6078 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             6086 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             6094 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             6102 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             6110 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             6118 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             6126 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             6134 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             6142 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             6150 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             6158 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             6166 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             6174 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             6182 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             6190 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             6198 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             6206 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             6214 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             6222 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             6230 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             6238 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             6246 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             6254 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             6262 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             6270 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             6278 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             6286 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             6294 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             6302 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             6310 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             6318 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             6326 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             6334 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             6342 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             6350 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             6358 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             6366 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             6374 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             6382 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             6390 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             6398 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             6406 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             6414 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             6422 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             6430 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             6438 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             6446 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             6454 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             6462 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             6470 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             6478 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             6486 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             6494 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             6502 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             6510 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             6518 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             6526 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             6534 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             6542 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             6550 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             6558 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             6566 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             6574 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             6582 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             6590 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             6598 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             6606 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             6614 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             6622 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             6630 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             6638 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             6646 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             6654 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             6662 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             6670 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             6678 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             6686 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             6694 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             6702 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             6710 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             6718 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             6726 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             6734 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             6742 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             6750 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             6758 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             6766 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             6774 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             6782 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             6790 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             6798 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             6806 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             6814 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             6822 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             6830 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             6838 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             6846 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             6854 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             6862 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             6870 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             6878 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             6886 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             6894 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             6902 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             6910 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             6918 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             6926 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             6934 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             6942 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             6950 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             6958 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             6966 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             6974 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             6982 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             6990 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             6998 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             7006 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             7014 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             7022 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             7030 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             7038 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             7046 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             7057 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             7065 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             7073 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             7081 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             7089 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             7097 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             7105 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             7113 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             7121 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             7129 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             7137 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             7145 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             7153 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             7161 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             7169 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             7177 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             7185 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             7193 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             7201 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             7209 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             7217 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             7225 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             7233 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             7241 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             7249 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             7257 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             7265 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             7273 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             7281 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             7289 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             7297 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             7305 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             7313 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             7321 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             7329 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             7337 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             7345 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             7353 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             7361 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             7369 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             7377 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             7385 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             7393 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             7401 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             7409 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             7417 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             7425 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             7433 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             7441 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             7449 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             7457 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             7465 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             7473 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             7481 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             7489 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             7497 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             7505 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             7513 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             7521 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             7529 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             7537 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             7545 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             7553 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             7561 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             7569 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             7577 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             7585 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             7593 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             7601 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             7609 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             7617 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             7625 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             7633 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             7641 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             7649 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             7657 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             7665 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             7673 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             7681 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             7689 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             7697 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             7705 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             7713 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             7721 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             7729 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             7737 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             7745 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             7753 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             7761 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             7769 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             7777 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             7785 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             7793 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             7801 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             7809 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             7817 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             7825 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             7833 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             7841 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             7849 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             7857 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             7865 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             7873 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             7881 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             7889 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             7897 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             7905 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             7913 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             7921 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             7929 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             7937 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             7945 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             7953 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             7961 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             7969 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             7977 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             7985 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             7993 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             8001 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             8009 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             8017 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             8025 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             8033 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             8041 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             8052 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4920,
freq             8060 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4930,
freq             8068 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4940,
freq             8076 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4950,
freq             8084 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4960,
freq             8092 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4970,
freq             8100 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4980,
freq             8108 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 4990,
freq             8116 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5000,
freq             8124 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5010,
freq             8132 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5020,
freq             8140 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5030,
freq             8148 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5040,
freq             8156 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5050,
freq             8164 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5060,
freq             8172 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5070,
freq             8180 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5080,
freq             8188 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5090,
freq             8196 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5100,
freq             8204 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5110,
freq             8212 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5120,
freq             8220 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5130,
freq             8228 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5140,
freq             8236 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5160,
freq             8244 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5170,
freq             8252 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5180,
freq             8260 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5190,
freq             8268 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5200,
freq             8276 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5210,
freq             8284 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5220,
freq             8292 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5230,
freq             8300 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5240,
freq             8308 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5250,
freq             8316 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5260,
freq             8324 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5270,
freq             8332 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5280,
freq             8340 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5290,
freq             8348 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5300,
freq             8356 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5310,
freq             8364 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5320,
freq             8372 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5330,
freq             8380 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5340,
freq             8388 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5350,
freq             8396 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5360,
freq             8404 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5370,
freq             8412 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5380,
freq             8420 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5390,
freq             8428 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5400,
freq             8436 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5410,
freq             8444 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5420,
freq             8452 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5430,
freq             8460 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5440,
freq             8468 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5450,
freq             8476 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5460,
freq             8484 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5470,
freq             8492 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5480,
freq             8500 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5490,
freq             8508 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5500,
freq             8516 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5510,
freq             8524 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5520,
freq             8532 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5530,
freq             8540 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5540,
freq             8548 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5550,
freq             8556 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5560,
freq             8564 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5570,
freq             8572 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5580,
freq             8580 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5590,
freq             8588 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5600,
freq             8596 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5610,
freq             8604 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5620,
freq             8612 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5630,
freq             8620 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5640,
freq             8628 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5650,
freq             8636 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5660,
freq             8644 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5670,
freq             8652 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5680,
freq             8660 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5690,
freq             8668 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5700,
freq             8676 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5710,
freq             8684 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5720,
freq             8692 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5725,
freq             8700 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5730,
freq             8708 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5735,
freq             8716 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5740,
freq             8724 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5745,
freq             8732 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5750,
freq             8740 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5755,
freq             8748 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5760,
freq             8756 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5765,
freq             8764 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5770,
freq             8772 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5775,
freq             8780 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5780,
freq             8788 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5785,
freq             8796 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5790,
freq             8804 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5795,
freq             8812 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5800,
freq             8820 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5805,
freq             8828 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5810,
freq             8836 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5815,
freq             8844 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5820,
freq             8852 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5825,
freq             8860 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5830,
freq             8868 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5840,
freq             8876 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5850,
freq             8884 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5860,
freq             8892 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5870,
freq             8900 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5880,
freq             8908 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5890,
freq             8916 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5900,
freq             8924 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 5910,
freq             8932 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2412,
freq             8940 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2417,
freq             8948 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2422,
freq             8956 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2427,
freq             8964 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2432,
freq             8972 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2437,
freq             8980 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2442,
freq             8988 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2447,
freq             8996 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2452,
freq             9004 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2457,
freq             9012 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2462,
freq             9020 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2467,
freq             9028 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2472,
freq             9036 drivers/net/wireless/broadcom/b43/radio_2056.c   {	.freq			= 2484,
freq             9048 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4920,
freq             9057 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4930,
freq             9066 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4940,
freq             9075 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4950,
freq             9084 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4960,
freq             9093 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4970,
freq             9102 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4980,
freq             9111 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 4990,
freq             9120 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5000,
freq             9129 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5010,
freq             9138 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5020,
freq             9147 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5030,
freq             9156 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5040,
freq             9165 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5050,
freq             9174 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5060,
freq             9183 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5070,
freq             9192 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5080,
freq             9201 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5090,
freq             9210 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5100,
freq             9219 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5110,
freq             9228 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5120,
freq             9237 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5130,
freq             9246 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5140,
freq             9255 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5160,
freq             9264 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5170,
freq             9273 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5180,
freq             9282 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5190,
freq             9291 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5200,
freq             9300 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5210,
freq             9309 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5220,
freq             9318 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5230,
freq             9327 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5240,
freq             9336 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5250,
freq             9345 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5260,
freq             9354 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5270,
freq             9363 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5280,
freq             9372 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5290,
freq             9381 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5300,
freq             9390 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5310,
freq             9399 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5320,
freq             9408 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5330,
freq             9417 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5340,
freq             9426 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5350,
freq             9435 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5360,
freq             9444 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5370,
freq             9453 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5380,
freq             9462 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5390,
freq             9471 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5400,
freq             9480 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5410,
freq             9489 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5420,
freq             9498 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5430,
freq             9507 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5440,
freq             9516 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5450,
freq             9525 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5460,
freq             9534 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5470,
freq             9543 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5480,
freq             9552 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5490,
freq             9561 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5500,
freq             9570 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5510,
freq             9579 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5520,
freq             9588 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5530,
freq             9597 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5540,
freq             9606 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5550,
freq             9615 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5560,
freq             9624 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5570,
freq             9633 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5580,
freq             9642 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5590,
freq             9651 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5600,
freq             9660 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5610,
freq             9669 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5620,
freq             9678 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5630,
freq             9687 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5640,
freq             9696 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5650,
freq             9705 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5660,
freq             9714 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5670,
freq             9723 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5680,
freq             9732 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5690,
freq             9741 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5700,
freq             9750 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5710,
freq             9759 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5720,
freq             9768 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5725,
freq             9777 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5730,
freq             9786 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5735,
freq             9795 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5740,
freq             9804 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5745,
freq             9813 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5750,
freq             9822 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5755,
freq             9831 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5760,
freq             9840 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5765,
freq             9849 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5770,
freq             9858 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5775,
freq             9867 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5780,
freq             9876 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5785,
freq             9885 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5790,
freq             9894 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5795,
freq             9903 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5800,
freq             9912 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5805,
freq             9921 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5810,
freq             9930 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5815,
freq             9939 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5820,
freq             9948 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5825,
freq             9957 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5830,
freq             9966 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5840,
freq             9975 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5850,
freq             9984 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5860,
freq             9993 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5870,
freq             10002 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5880,
freq             10011 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5890,
freq             10020 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5900,
freq             10029 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 5910,
freq             10038 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2412,
freq             10047 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2417,
freq             10056 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2422,
freq             10065 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2427,
freq             10074 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2432,
freq             10083 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2437,
freq             10092 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2442,
freq             10101 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2447,
freq             10110 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2452,
freq             10119 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2457,
freq             10128 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2462,
freq             10137 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2467,
freq             10146 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2472,
freq             10155 drivers/net/wireless/broadcom/b43/radio_2056.c 		.freq			= 2484,
freq             10255 drivers/net/wireless/broadcom/b43/radio_2056.c b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq)
freq             10300 drivers/net/wireless/broadcom/b43/radio_2056.c 		if (e->freq == freq)
freq             1049 drivers/net/wireless/broadcom/b43/radio_2056.h 	u16 freq;
freq             1099 drivers/net/wireless/broadcom/b43/radio_2056.h b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq);
freq              180 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2412,
freq              187 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2417,
freq              194 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2422,
freq              201 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2427,
freq              208 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2432,
freq              215 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2437,
freq              222 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2442,
freq              229 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2447,
freq              236 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2452,
freq              243 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2457,
freq              250 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2462,
freq              257 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2467,
freq              264 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2472,
freq              271 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2484,
freq              282 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2412,
freq              289 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2417,
freq              296 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2422,
freq              303 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2427,
freq              310 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2432,
freq              317 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2437,
freq              324 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2442,
freq              331 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2447,
freq              338 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2452,
freq              345 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2457,
freq              352 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2462,
freq              363 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2412,
freq              371 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2417,
freq              379 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2422,
freq              387 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2427,
freq              395 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2432,
freq              403 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2437,
freq              411 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2442,
freq              419 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2447,
freq              427 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2452,
freq              435 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2457,
freq              443 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 2462,
freq              451 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5180,
freq              459 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5200,
freq              467 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5220,
freq              475 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5240,
freq              483 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5745,
freq              491 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5765,
freq              499 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5785,
freq              507 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5805,
freq              515 drivers/net/wireless/broadcom/b43/radio_2057.c 		.freq			= 5825,
freq              572 drivers/net/wireless/broadcom/b43/radio_2057.c void r2057_get_chantabent_rev7(struct b43_wldev *dev, u16 freq,
freq              609 drivers/net/wireless/broadcom/b43/radio_2057.c 			if (e_r7->freq == freq) {
freq              616 drivers/net/wireless/broadcom/b43/radio_2057.c 			if (e_r7_2g->freq == freq) {
freq              441 drivers/net/wireless/broadcom/b43/radio_2057.h 	u16 freq;
freq              477 drivers/net/wireless/broadcom/b43/radio_2057.h 	u16 freq;
freq              503 drivers/net/wireless/broadcom/b43/radio_2057.h void r2057_get_chantabent_rev7(struct b43_wldev *dev, u16 freq,
freq               60 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2412,
freq               67 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2417,
freq               74 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2422,
freq               81 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2427,
freq               88 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2432,
freq               95 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2437,
freq              102 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2442,
freq              109 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2447,
freq              116 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2452,
freq              123 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2457,
freq              130 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 2462,
freq              136 drivers/net/wireless/broadcom/b43/radio_2059.c   {	.freq			= 2467,
freq              142 drivers/net/wireless/broadcom/b43/radio_2059.c   {	.freq			= 2472,
freq              149 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5180,
freq              156 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5200,
freq              163 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5220,
freq              170 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5240,
freq              177 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5260,
freq              184 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5280,
freq              191 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5300,
freq              198 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5320,
freq              205 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5500,
freq              212 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5520,
freq              219 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5540,
freq              226 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5560,
freq              233 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5580,
freq              240 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5600,
freq              247 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5620,
freq              254 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5640,
freq              261 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5660,
freq              268 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5680,
freq              275 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5700,
freq              282 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5745,
freq              289 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5765,
freq              296 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5785,
freq              303 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5805,
freq              310 drivers/net/wireless/broadcom/b43/radio_2059.c 		.freq			= 5825,
freq              339 drivers/net/wireless/broadcom/b43/radio_2059.c *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq)
freq              346 drivers/net/wireless/broadcom/b43/radio_2059.c 		if (e->freq == freq)
freq               29 drivers/net/wireless/broadcom/b43/radio_2059.h 	u16 freq;
freq               59 drivers/net/wireless/broadcom/b43/radio_2059.h *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq);
freq              798 drivers/net/wireless/broadcom/b43/xmit.c 			status.freq = ieee80211_channel_to_frequency(chanid, status.band);
freq              800 drivers/net/wireless/broadcom/b43/xmit.c 			status.freq = chanid + 2400;
freq              811 drivers/net/wireless/broadcom/b43/xmit.c 		status.freq =
freq               33 drivers/net/wireless/broadcom/b43legacy/main.h u8 b43legacy_freq_to_channel_bg(int freq)
freq               37 drivers/net/wireless/broadcom/b43legacy/main.h 	if (freq == 2484)
freq               40 drivers/net/wireless/broadcom/b43legacy/main.h 		channel = (freq - 2407) / 5;
freq               46 drivers/net/wireless/broadcom/b43legacy/main.h 			     int freq)
freq               48 drivers/net/wireless/broadcom/b43legacy/main.h 	return b43legacy_freq_to_channel_bg(freq);
freq               55 drivers/net/wireless/broadcom/b43legacy/main.h 	int freq;
freq               58 drivers/net/wireless/broadcom/b43legacy/main.h 		freq = 2484;
freq               60 drivers/net/wireless/broadcom/b43legacy/main.h 		freq = 2407 + (5 * channel);
freq               62 drivers/net/wireless/broadcom/b43legacy/main.h 	return freq;
freq              556 drivers/net/wireless/broadcom/b43legacy/xmit.c 		status.freq = chanid + 2400;
freq             2806 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 freq;
freq             2830 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	freq = ieee80211_channel_to_frequency(channel, band);
freq             2831 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	bss_data.chan = ieee80211_get_channel(wiphy, freq);
freq             2842 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_dbg(CONN, "Channel: %d(%d)\n", channel, freq);
freq             2908 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 freq;
freq             2942 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	freq = ieee80211_channel_to_frequency(ch.control_ch_num, band->band);
freq             2943 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	cfg->channel = freq;
freq             2944 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	notify_channel = ieee80211_get_channel(wiphy, freq);
freq             2952 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_dbg(CONN, "channel: %d(%d)\n", ch.control_ch_num, freq);
freq             3250 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	int freq, i;
freq             3257 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	freq = ieee80211_channel_to_frequency(channel, band);
freq             3258 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (!freq)
freq             3261 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	chan = ieee80211_get_channel(req->wiphy, freq);
freq             4877 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 freq;
freq             4939 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			freq = chan->center_freq;
freq             4942 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 					      &freq);
freq             4943 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		chan_nr = ieee80211_frequency_to_channel(freq);
freq             4950 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			  *cookie, le16_to_cpu(action_frame->len), freq);
freq             5002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	int freq, err;
freq             5043 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	freq = ieee80211_channel_to_frequency(ch.control_ch_num, band);
freq             5044 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	chandef->chan = ieee80211_get_channel(wiphy, freq);
freq             5508 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 freq;
freq             5541 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	freq = ieee80211_channel_to_frequency(ch.control_ch_num, band->band);
freq             5542 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	notify_channel = ieee80211_get_channel(wiphy, freq);
freq             1349 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	s32 freq;
freq             1420 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	freq = ieee80211_channel_to_frequency(ch.control_ch_num,
freq             1426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	cfg80211_rx_mgmt(wdev, freq, 0, (u8 *)mgmt_frame, mgmt_frame_len, 0);
freq             1865 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	s32 freq;
freq             1906 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	freq = ieee80211_channel_to_frequency(ch.control_ch_num,
freq             1911 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	cfg80211_rx_mgmt(&vif->wdev, freq, 0, mgmt_frame, mgmt_frame_len, 0);
freq             1914 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 		  mgmt_frame_len, e->datalen, ch.chspec, freq);
freq             7068 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	rx_status->freq =
freq               42 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	u16 freq;
freq             1185 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c int wlc_phy_chanspec_freq2bandrange_lpssn(uint freq)
freq             1189 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	if (freq < 2500)
freq             1191 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	else if (freq <= 5320)
freq             1193 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	else if (freq <= 5700)
freq             1205 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	uint freq = wlc_phy_channel2freq(channel);
freq             1210 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		range = wlc_phy_chanspec_freq2bandrange_lpssn(freq);
freq             1230 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 			return chan_info_all[i].freq;
freq              538 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	uint freq;
freq             1738 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	fvco3 = (ci->freq * 3);
freq             1756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	setCount = f16 * 3 * (ci->freq) / 32 - 1;
freq             5162 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	uint freq;
freq             5199 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	freq = wlc_phy_channel2freq(CHSPEC_CHANNEL(pi->radio_chanspec));
freq             5200 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	if ((freq > 2427) && (freq <= 2467))
freq              281 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq              315 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq              363 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq              402 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq             15252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq             15294 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
freq             15300 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			if ((freq <= 5080) || (freq == 5825)) {
freq             15310 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			} else if ((freq >= 5500) && (freq <= 5700)) {
freq             15335 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			if (freq <= 4920) {
freq             15338 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			} else if ((freq > 4920) && (freq <= 5320)) {
freq             15341 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			} else if ((freq > 5320) && (freq <= 5700)) {
freq             15354 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			if ((freq >= 4920) && (freq <= 5320)) {
freq             15357 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			} else if ((freq > 5320) && (freq <= 5550)) {
freq             16102 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u16 freq;
freq             16383 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			freq =
freq             16386 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			if (((freq >= 5180) && (freq <= 5230))
freq             16387 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			    || ((freq >= 5745) && (freq <= 5805))) {
freq             20249 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	int freq = 0;
freq             20323 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			freq = chan_info_tbl_p_2[i].freq;
freq             20326 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			freq = chan_info_tbl_p_0[i].freq;
freq             20376 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		freq = chan_info_tbl_p_1[i].freq;
freq             20387 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		freq = chan_info_nphy_2055[i].freq;
freq             20390 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	*f = freq;
freq             20400 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	int freq;
freq             20409 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
freq             20414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
freq             20416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
freq             20740 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		u16 freq, pabias, cascbias;
freq             20743 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
freq             20745 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		if (freq < 5150) {
freq             20751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		} else if (freq < 5340) {
freq             20757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		} else if (freq < 5650) {
freq             20767 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			if (freq != 5825)
freq             20768 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
freq             21170 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	int freq;
freq             21177 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		    (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
freq              999 drivers/net/wireless/cisco/airo.c 	u8 freq;
freq             6901 drivers/net/wireless/cisco/airo.c 		range->freq[k].i = i + 1; /* List index */
freq             6902 drivers/net/wireless/cisco/airo.c 		range->freq[k].m = 100000 *
freq             6904 drivers/net/wireless/cisco/airo.c 		range->freq[k++].e = 1;	/* Values in MHz -> * 10^5 * 10 */
freq             7309 drivers/net/wireless/cisco/airo.c 	iwe.u.freq.m = le16_to_cpu(bss->dsChannel);
freq             7310 drivers/net/wireless/cisco/airo.c 	iwe.u.freq.m = 100000 *
freq             7311 drivers/net/wireless/cisco/airo.c 	      ieee80211_channel_to_frequency(iwe.u.freq.m, NL80211_BAND_2GHZ);
freq             7312 drivers/net/wireless/cisco/airo.c 	iwe.u.freq.e = 1;
freq             1914 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			bg_band->channels[i].center_freq = geo->bg[i].freq;
freq             2708 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		stats.freq = LIBIPW_24GHZ_BAND;
freq             6627 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	struct iw_freq *fwrq = &wrqu->freq;
freq             6678 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	wrqu->freq.e = 0;
freq             6684 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		wrqu->freq.m = priv->channel;
freq             6686 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		wrqu->freq.m = 0;
freq             6869 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		range->freq[val].i = i + 1;
freq             6870 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		range->freq[val].m = ipw2100_frequencies[i] * 100000;
freq             6871 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		range->freq[val].e = 1;
freq             8297 drivers/net/wireless/intel/ipw2x00/ipw2200.c 					.freq =
freq             8651 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	struct iw_freq *fwrq = &wrqu->freq;
freq             8700 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	wrqu->freq.e = 0;
freq             8711 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		wrqu->freq.e = 1;
freq             8715 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			wrqu->freq.m = priv->ieee->geo.a[i].freq * 100000;
freq             8719 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			wrqu->freq.m = priv->ieee->geo.bg[i].freq * 100000;
freq             8726 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		wrqu->freq.m = 0;
freq             8867 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].i = geo->bg[j].channel;
freq             8868 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].m = geo->bg[j].freq * 100000;
freq             8869 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].e = 1;
freq             8880 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].i = geo->a[j].channel;
freq             8881 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].m = geo->a[j].freq * 100000;
freq             8882 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			range->freq[i].e = 1;
freq             11347 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			bg_band->channels[i].center_freq = geo->bg[i].freq;
freq             11386 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			a_band->channels[i].center_freq = geo->a[i].freq;
freq              232 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 freq;
freq              700 drivers/net/wireless/intel/ipw2x00/libipw.h 	u32 freq;	/* in MHz */
freq              971 drivers/net/wireless/intel/ipw2x00/libipw.h u8 libipw_freq_to_channel(struct libipw_device *ieee, u32 freq);
freq               94 drivers/net/wireless/intel/ipw2x00/libipw_geo.c 	return ch->freq;
freq               97 drivers/net/wireless/intel/ipw2x00/libipw_geo.c u8 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq)
freq              106 drivers/net/wireless/intel/ipw2x00/libipw_geo.c 	freq /= 100000;
freq              110 drivers/net/wireless/intel/ipw2x00/libipw_geo.c 			if (ieee->geo.bg[i].freq == freq)
freq              115 drivers/net/wireless/intel/ipw2x00/libipw_geo.c 			if (ieee->geo.a[i].freq == freq)
freq             1347 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	if (stats->freq == LIBIPW_52GHZ_BAND) {
freq             1361 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	if (stats->freq == LIBIPW_52GHZ_BAND)
freq             1407 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	if (stats->freq == LIBIPW_52GHZ_BAND) {
freq             1421 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	if (stats->freq == LIBIPW_52GHZ_BAND)
freq               93 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	iwe.u.freq.m = libipw_channel_to_freq(ieee, network->channel);
freq               94 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	iwe.u.freq.e = 6;
freq               95 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	iwe.u.freq.i = 0;
freq              544 drivers/net/wireless/intel/iwlegacy/3945.c 	rx_status.freq =
freq              677 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	rx_status.freq =
freq              825 drivers/net/wireless/intel/iwlwifi/dvm/rx.c 	rx_status.freq =
freq              218 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	u32 freq = peer->chandef.chan->center_freq;
freq              220 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	*channel = ieee80211_frequency_to_channel(freq);
freq             1484 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	rx_status.freq =
freq              405 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	rx_status->freq =
freq              450 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 			if (mvmvif->csa_target_freq == rx_status->freq)
freq             1686 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	rx_status->freq = ieee80211_channel_to_frequency(channel,
freq             1756 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			if (mvmvif->csa_target_freq == rx_status->freq)
freq             1960 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	rx_status->freq = ieee80211_channel_to_frequency(channel,
freq             2453 drivers/net/wireless/intersil/hostap/hostap_ap.c 				iwe.u.freq.m = freq_list[sta->u.ap.channel - 1]
freq             2455 drivers/net/wireless/intersil/hostap/hostap_ap.c 				iwe.u.freq.e = 1;
freq              807 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 				struct iw_freq *freq, char *extra)
freq              816 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (freq->e == 1 &&
freq              817 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	    freq->m / 100000 >= freq_list[0] &&
freq              818 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	    freq->m / 100000 <= freq_list[FREQ_COUNT - 1]) {
freq              820 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		int fr = freq->m / 100000;
freq              823 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 				freq->e = 0;
freq              824 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 				freq->m = ch + 1;
freq              830 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (freq->e != 0 || freq->m < 1 || freq->m > FREQ_COUNT ||
freq              831 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	    !(local->channel_mask & (1 << (freq->m - 1))))
freq              834 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	local->channel = freq->m; /* channel is used in prism2_setup_rids() */
freq              844 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 				struct iw_freq *freq, char *extra)
freq              861 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	freq->m = freq_list[val - 1] * 100000;
freq              862 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	freq->e = 1;
freq             1005 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 			range->freq[val].i = i + 1;
freq             1006 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 			range->freq[val].m = freq_list[i] * 100000;
freq             1007 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 			range->freq[val].e = 1;
freq             1847 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		iwe.u.freq.m = freq_list[chan - 1] * 100000;
freq             1848 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		iwe.u.freq.e = 1;
freq             1172 drivers/net/wireless/intersil/orinoco/hw.c 	int freq = 0;
freq             1196 drivers/net/wireless/intersil/orinoco/hw.c 	freq = ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ);
freq             1203 drivers/net/wireless/intersil/orinoco/hw.c 	return err ? err : freq;
freq               87 drivers/net/wireless/intersil/orinoco/scan.c 	int freq;
freq              113 drivers/net/wireless/intersil/orinoco/scan.c 	freq = ieee80211_channel_to_frequency(
freq              115 drivers/net/wireless/intersil/orinoco/scan.c 	channel = ieee80211_get_channel(wiphy, freq);
freq              118 drivers/net/wireless/intersil/orinoco/scan.c 			bss->a.channel, freq);
freq              146 drivers/net/wireless/intersil/orinoco/scan.c 	int chan, freq;
freq              151 drivers/net/wireless/intersil/orinoco/scan.c 	freq = ieee80211_channel_to_frequency(chan, NL80211_BAND_2GHZ);
freq              152 drivers/net/wireless/intersil/orinoco/scan.c 	channel = ieee80211_get_channel(wiphy, freq);
freq               72 drivers/net/wireless/intersil/p54/eeprom.c 	u16 freq;
freq               86 drivers/net/wireless/intersil/p54/eeprom.c static int p54_get_band_from_freq(u16 freq)
freq               90 drivers/net/wireless/intersil/p54/eeprom.c 	if ((freq >= 2412) && (freq <= 2484))
freq               93 drivers/net/wireless/intersil/p54/eeprom.c 	if ((freq >= 4920) && (freq <= 5825))
freq               99 drivers/net/wireless/intersil/p54/eeprom.c static int same_band(u16 freq, u16 freq2)
freq              101 drivers/net/wireless/intersil/p54/eeprom.c 	return p54_get_band_from_freq(freq) == p54_get_band_from_freq(freq2);
freq              110 drivers/net/wireless/intersil/p54/eeprom.c 	return a->freq - b->freq;
freq              119 drivers/net/wireless/intersil/p54/eeprom.c 	return a->freq - b->freq;
freq              188 drivers/net/wireless/intersil/p54/eeprom.c 				  chan->index, chan->freq);
freq              193 drivers/net/wireless/intersil/p54/eeprom.c 		dest->center_freq = chan->freq;
freq              233 drivers/net/wireless/intersil/p54/eeprom.c 							  u16 freq, u16 data)
freq              244 drivers/net/wireless/intersil/p54/eeprom.c 		if (freq == list->channels[i].freq) {
freq              252 drivers/net/wireless/intersil/p54/eeprom.c 		int band = p54_get_band_from_freq(freq);
freq              263 drivers/net/wireless/intersil/p54/eeprom.c 			entry->freq = freq;
freq              265 drivers/net/wireless/intersil/p54/eeprom.c 			entry->index = ieee80211_frequency_to_channel(freq);
freq              326 drivers/net/wireless/intersil/p54/eeprom.c 	u16 freq;
freq              363 drivers/net/wireless/intersil/p54/eeprom.c 			freq = le16_to_cpu(priv->iq_autocal[i].freq);
freq              364 drivers/net/wireless/intersil/p54/eeprom.c 			p54_update_channel_param(list, freq, CHAN_HAS_CAL);
freq              375 drivers/net/wireless/intersil/p54/eeprom.c 			freq = le16_to_cpup((__le16 *) data);
freq              376 drivers/net/wireless/intersil/p54/eeprom.c 			tmp = p54_update_channel_param(list, freq,
freq              384 drivers/net/wireless/intersil/p54/eeprom.c 			freq = le16_to_cpup((__le16 *) (i *
freq              389 drivers/net/wireless/intersil/p54/eeprom.c 			p54_update_channel_param(list, freq, CHAN_HAS_CURVE);
freq              446 drivers/net/wireless/intersil/p54/eeprom.c 		__le16 *freq = source;
freq              448 drivers/net/wireless/intersil/p54/eeprom.c 		*((__le16 *)target) = *freq;
freq              498 drivers/net/wireless/intersil/p54/eeprom.c 		__le16 *freq = source;
freq              500 drivers/net/wireless/intersil/p54/eeprom.c 		*((__le16 *)target) = *freq;
freq              565 drivers/net/wireless/intersil/p54/eeprom.c 			entry[i].freq = le16_to_cpu(cal[i].freq);
freq              573 drivers/net/wireless/intersil/p54/eeprom.c 			u16 freq = 0;
freq              576 drivers/net/wireless/intersil/p54/eeprom.c 				freq = 2437;
freq              579 drivers/net/wireless/intersil/p54/eeprom.c 				freq = 5240;
freq              583 drivers/net/wireless/intersil/p54/eeprom.c 			entry[i].freq = freq;
freq              604 drivers/net/wireless/intersil/p54/eeprom.c struct p54_rssi_db_entry *p54_rssi_find(struct p54_common *priv, const u16 freq)
freq              614 drivers/net/wireless/intersil/p54/eeprom.c 		if (!same_band(freq, entry[i].freq))
freq              623 drivers/net/wireless/intersil/p54/eeprom.c 		if (abs(freq - entry[i].freq) <
freq              624 drivers/net/wireless/intersil/p54/eeprom.c 		    abs(freq - entry[found].freq)) {
freq               43 drivers/net/wireless/intersil/p54/eeprom.h 	__le16 freq;
freq               48 drivers/net/wireless/intersil/p54/eeprom.h 	__le16 freq;
freq               65 drivers/net/wireless/intersil/p54/eeprom.h 	__le16 freq;
freq               94 drivers/net/wireless/intersil/p54/eeprom.h 	__le16 freq;
freq              403 drivers/net/wireless/intersil/p54/fwio.c 	__le16 freq = cpu_to_le16(priv->hw->conf.chandef.chan->center_freq);
freq              416 drivers/net/wireless/intersil/p54/fwio.c 	head->freq = freq;
freq              425 drivers/net/wireless/intersil/p54/fwio.c 		if (priv->iq_autocal[i].freq != freq)
freq              444 drivers/net/wireless/intersil/p54/fwio.c 		if (*entry_freq != freq)
freq              472 drivers/net/wireless/intersil/p54/fwio.c 		if (*((__le16 *)entry) != freq) {
freq              506 drivers/net/wireless/intersil/p54/fwio.c 	rssi_data = p54_rssi_find(priv, le16_to_cpu(freq));
freq              646 drivers/net/wireless/intersil/p54/fwio.c 	xbow->freq = cpu_to_le16(5390);
freq              170 drivers/net/wireless/intersil/p54/lmac.h 	__le16 freq;
freq              334 drivers/net/wireless/intersil/p54/lmac.h 	__le16 freq;
freq              428 drivers/net/wireless/intersil/p54/lmac.h 	__le16 freq;
freq              554 drivers/net/wireless/intersil/p54/lmac.h struct p54_rssi_db_entry *p54_rssi_find(struct p54_common *p, const u16 freq);
freq              117 drivers/net/wireless/intersil/p54/p54.h 	u16 freq;
freq              331 drivers/net/wireless/intersil/p54/txrx.c 	u16 freq = le16_to_cpu(hdr->freq);
freq              362 drivers/net/wireless/intersil/p54/txrx.c 	rx_status->freq = freq;
freq              615 drivers/net/wireless/intersil/p54/txrx.c 	u16 freq = le16_to_cpu(trap->frequency);
freq              621 drivers/net/wireless/intersil/p54/txrx.c 		wiphy_info(priv->hw->wiphy, "radar (freq:%d MHz)\n", freq);
freq              641 drivers/net/wireless/intersil/p54/txrx.c 			   event, freq);
freq              425 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	struct obj_frequencies *freq;
freq              490 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	freq = r.ptr;
freq              492 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	range->num_channels = freq->nr;
freq              493 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	range->num_frequency = freq->nr;
freq              495 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	m = min(IW_MAX_FREQUENCIES, (int) freq->nr);
freq              497 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		range->freq[i].m = freq->mhz[i];
freq              498 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		range->freq[i].e = 6;
freq              499 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		range->freq[i].i = channel_of_freq(freq->mhz[i]);
freq              501 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	kfree(freq);
freq              628 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	iwe.u.freq.m = bss->channel;
freq              629 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	iwe.u.freq.e = 6;
freq              249 drivers/net/wireless/intersil/prism54/islpci_eth.c 		u16 freq = le16_to_cpu(hdr->freq);
freq              275 drivers/net/wireless/intersil/prism54/islpci_eth.c 		avs->channel = cpu_to_be32(channel_of_freq(freq));
freq               20 drivers/net/wireless/intersil/prism54/islpci_eth.h 	__le16 freq;
freq              296 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_frequencies *freq = data;
freq              298 drivers/net/wireless/intersil/prism54/oid_mgt.c 			freq->nr = le16_to_cpu(freq->nr);
freq              299 drivers/net/wireless/intersil/prism54/oid_mgt.c 			for (i = 0; i < freq->nr; i++)
freq              300 drivers/net/wireless/intersil/prism54/oid_mgt.c 				freq->mhz[i] = le16_to_cpu(freq->mhz[i]);
freq              365 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_frequencies *freq = data;
freq              367 drivers/net/wireless/intersil/prism54/oid_mgt.c 			freq->nr = cpu_to_le16(freq->nr);
freq              368 drivers/net/wireless/intersil/prism54/oid_mgt.c 			for (i = 0; i < freq->nr; i++)
freq              369 drivers/net/wireless/intersil/prism54/oid_mgt.c 				freq->mhz[i] = cpu_to_le16(freq->mhz[i]);
freq              819 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_frequencies *freq = r->ptr;
freq              821 drivers/net/wireless/intersil/prism54/oid_mgt.c 			printk("nr : %u\n", freq->nr);
freq              822 drivers/net/wireless/intersil/prism54/oid_mgt.c 			t = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", freq->nr);
freq              823 drivers/net/wireless/intersil/prism54/oid_mgt.c 			for (i = 0; i < freq->nr; i++)
freq              825 drivers/net/wireless/intersil/prism54/oid_mgt.c 					      "mhz[%u]=%u\n", i, freq->mhz[i]);
freq             1229 drivers/net/wireless/mac80211_hwsim.c 	rx_status.freq = chan->center_freq;
freq             3376 drivers/net/wireless/mac80211_hwsim.c 		rx_status.freq = nla_get_u32(info->attrs[HWSIM_ATTR_FREQ]);
freq             3378 drivers/net/wireless/mac80211_hwsim.c 		if (rx_status.freq != data2->channel->center_freq &&
freq             3380 drivers/net/wireless/mac80211_hwsim.c 		     rx_status.freq != data2->tmp_chan->center_freq)) {
freq             3386 drivers/net/wireless/mac80211_hwsim.c 		rx_status.freq = data2->channel->center_freq;
freq              635 drivers/net/wireless/marvell/libertas/cfg.c 			int freq = ieee80211_channel_to_frequency(chan_no,
freq              638 drivers/net/wireless/marvell/libertas/cfg.c 				ieee80211_get_channel(wiphy, freq);
freq              228 drivers/net/wireless/marvell/libertas/debugfs.c 	u8 freq;
freq              251 drivers/net/wireless/marvell/libertas/debugfs.c 		freq  = got->freq;
freq              254 drivers/net/wireless/marvell/libertas/debugfs.c 		pos += snprintf(buf, len, "%d %d %d\n", value, freq,
freq              277 drivers/net/wireless/marvell/libertas/debugfs.c 	int value, freq, new_mask;
freq              286 drivers/net/wireless/marvell/libertas/debugfs.c 	ret = sscanf(buf, "%d %d %d", &value, &freq, &new_mask);
freq              321 drivers/net/wireless/marvell/libertas/debugfs.c 		tlv->freq = freq;
freq              192 drivers/net/wireless/marvell/libertas/types.h 	u8 freq;
freq              507 drivers/net/wireless/marvell/libertas_tf/main.c 	stats.freq = priv->cur_freq;
freq              347 drivers/net/wireless/marvell/mwifiex/11n.c 			int freq =
freq              351 drivers/net/wireless/marvell/mwifiex/11n.c 			ieee80211_get_channel(priv->adapter->wiphy, freq);
freq             3999 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	int freq;
freq             4009 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		freq = ieee80211_channel_to_frequency(curr_bss->channel, band);
freq             4010 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		chan = ieee80211_get_channel(wiphy, freq);
freq              312 drivers/net/wireless/marvell/mwifiex/cfp.c mwifiex_get_cfp(struct mwifiex_private *priv, u8 band, u16 channel, u32 freq)
freq              319 drivers/net/wireless/marvell/mwifiex/cfp.c 	if (!channel && !freq)
freq              340 drivers/net/wireless/marvell/mwifiex/cfp.c 		if (freq) {
freq              341 drivers/net/wireless/marvell/mwifiex/cfp.c 			if (ch->center_freq == freq)
freq              354 drivers/net/wireless/marvell/mwifiex/cfp.c 			    __func__, band, channel, freq);
freq              360 drivers/net/wireless/marvell/mwifiex/cfp.c 		priv->cfp.freq = ch->center_freq;
freq               49 drivers/net/wireless/marvell/mwifiex/ioctl.h 	u32 freq;
freq              401 drivers/net/wireless/marvell/mwifiex/main.h 	u32 freq;
freq              482 drivers/net/wireless/marvell/mwifiex/main.h 	u32 freq;
freq             1199 drivers/net/wireless/marvell/mwifiex/main.h 						u8 band, u16 channel, u32 freq);
freq             1769 drivers/net/wireless/marvell/mwifiex/scan.c 	u32 freq;
freq             1885 drivers/net/wireless/marvell/mwifiex/scan.c 		freq = cfp ? cfp->freq : 0;
freq             1887 drivers/net/wireless/marvell/mwifiex/scan.c 		chan = ieee80211_get_channel(priv->wdev.wiphy, freq);
freq             1027 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 	int idx, freq, prev_freq = 0;
freq             1049 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		freq = ieee80211_channel_to_frequency(chan, band);
freq             1070 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		    freq - prev_freq > 20) {
freq             1077 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		rule->freq_range.end_freq_khz = MHZ_TO_KHZ(freq + 10);
freq             1080 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		prev_freq = freq;
freq             1086 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		rule->freq_range.start_freq_khz = MHZ_TO_KHZ(freq - 10);
freq             1028 drivers/net/wireless/marvell/mwl8k.c 	status->freq = ieee80211_channel_to_frequency(rxd->channel,
freq             1137 drivers/net/wireless/marvell/mwl8k.c 	status->freq = ieee80211_channel_to_frequency(rxd->channel,
freq             3078 drivers/net/wireless/marvell/mwl8k.c static int freq_to_idx(struct mwl8k_priv *priv, int freq)
freq             3089 drivers/net/wireless/marvell/mwl8k.c 			if (sband->channels[ch].center_freq == freq)
freq              496 drivers/net/wireless/mediatek/mt76/mac80211.c 	status->freq = mstat.freq;
freq              523 drivers/net/wireless/mediatek/mt76/mt76.h 	u16 freq;
freq              423 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		status->freq = sband->channels[i].center_freq;
freq               66 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	status->freq = dev->mt76.chandef.chan->center_freq;
freq             1155 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	int freq = chandef->center_freq1, len, target_chains;
freq             1165 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		.center_chan = ieee80211_frequency_to_channel(freq),
freq              213 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 	u32 freq = dev->mt76.chandef.chan->center_freq;
freq              216 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 	if (hw->conf.chandef.chan->center_freq != freq ||
freq              938 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 	int ch_group_index, freq, freq1;
freq              943 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 	freq = chandef->chan->center_freq;
freq              950 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		if (freq1 > freq)
freq              958 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		ch_group_index = (freq - freq1 + 30) / 20;
freq              787 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	status->freq = dev->mt76.chandef.chan->center_freq;
freq              149 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	int freq, freq1;
freq              153 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	freq = chandef->chan->center_freq;
freq              160 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		if (freq1 > freq) {
freq              170 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		ch_group_index = (freq - freq1 + 30) / 20;
freq               88 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 	int ch_group_index, freq, freq1, ret;
freq               91 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 	freq = chandef->chan->center_freq;
freq               97 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		if (freq1 > freq) {
freq              107 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		ch_group_index = (freq - freq1 + 30) / 20;
freq              489 drivers/net/wireless/mediatek/mt7601u/mac.c 	status->freq = dev->chandef.chan->center_freq;
freq               53 drivers/net/wireless/mediatek/mt7601u/mt7601u.h 	u8 freq;
freq             1054 drivers/net/wireless/mediatek/mt7601u/phy.c 		if (dev->freq_cal.freq > 0)
freq             1055 drivers/net/wireless/mediatek/mt7601u/phy.c 			dev->freq_cal.freq--;
freq             1059 drivers/net/wireless/mediatek/mt7601u/phy.c 		if (dev->freq_cal.freq < 0xbf)
freq             1060 drivers/net/wireless/mediatek/mt7601u/phy.c 			dev->freq_cal.freq++;
freq             1065 drivers/net/wireless/mediatek/mt7601u/phy.c 	trace_freq_cal_adjust(dev, dev->freq_cal.freq);
freq             1066 drivers/net/wireless/mediatek/mt7601u/phy.c 	mt7601u_rf_wr(dev, 0, 12, dev->freq_cal.freq);
freq             1107 drivers/net/wireless/mediatek/mt7601u/phy.c 	dev->freq_cal.freq = dev->ee->rf_freq_off;
freq              428 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	u16 freq;
freq              445 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		freq = params->chan->center_freq;
freq              447 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		freq = 0;
freq              450 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		 wdev->netdev->name, freq,
freq              455 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 				   freq, params->buf, params->len);
freq              387 drivers/net/wireless/quantenna/qtnfmac/commands.c 			u16 freq, const u8 *buf, size_t len)
freq              409 drivers/net/wireless/quantenna/qtnfmac/commands.c 	cmd->freq = cpu_to_le16(freq);
freq               31 drivers/net/wireless/quantenna/qtnfmac/commands.h 			u16 freq, const u8 *buf, size_t len);
freq              353 drivers/net/wireless/quantenna/qtnfmac/event.c 	cfg80211_rx_mgmt(&vif->wdev, le32_to_cpu(rxmgmt->freq), rxmgmt->sig_dbm,
freq              382 drivers/net/wireless/quantenna/qtnfmac/event.c 	channel = ieee80211_get_channel(wiphy, le16_to_cpu(sr->freq));
freq              385 drivers/net/wireless/quantenna/qtnfmac/event.c 		       vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq));
freq              348 drivers/net/wireless/quantenna/qtnfmac/qlink.h 	__le16 freq;
freq             1057 drivers/net/wireless/quantenna/qtnfmac/qlink.h 	__le32 freq;
freq             1081 drivers/net/wireless/quantenna/qtnfmac/qlink.h 	__le16 freq;
freq              850 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	rx_status->freq = rt2x00dev->curr_freq;
freq             1036 drivers/net/wireless/ray_cs.c 	if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0))
freq             1039 drivers/net/wireless/ray_cs.c 		local->sparm.b5.a_hop_pattern = wrqu->freq.m;
freq             1053 drivers/net/wireless/ray_cs.c 	wrqu->freq.m = local->sparm.b5.a_hop_pattern;
freq             1054 drivers/net/wireless/ray_cs.c 	wrqu->freq.e = 0;
freq              313 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			rx_status.freq = dev->conf.chandef.chan->center_freq;
freq              383 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 	rx_status.freq = dev->conf.chandef.chan->center_freq;
freq             5276 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rx_status->freq = hw->conf.chandef.chan->center_freq;
freq             5346 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq             1351 drivers/net/wireless/realtek/rtlwifi/base.c 		rx_status.freq = hw->conf.chandef.chan->center_freq;
freq              416 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              326 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              308 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              377 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              463 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              369 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              263 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              289 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              346 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq              489 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq             2086 drivers/net/wireless/realtek/rtlwifi/wifi.h 	u8 freq;
freq               96 drivers/net/wireless/realtek/rtw88/rx.c 	rx_status->freq = hw->conf.chandef.chan->center_freq;
freq             1291 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	s32 freq;
freq             1303 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	freq = ieee80211_channel_to_frequency(channel, rxs->band);
freq             1305 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	if (freq)
freq             1306 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		rxs->freq = freq;
freq              343 drivers/net/wireless/rsi/rsi_91x_sdio.c static void rsi_setclock(struct rsi_hw *adapter, u32 freq)
freq              350 drivers/net/wireless/rsi/rsi_91x_sdio.c 	clock = freq * 1000;
freq             1080 drivers/net/wireless/st/cw1200/txrx.c 	hdr->freq = ieee80211_channel_to_frequency(
freq               67 drivers/net/wireless/ti/wl1251/rx.c 	status->freq = ieee80211_channel_to_frequency(desc->channel,
freq             1782 drivers/net/wireless/ti/wl12xx/main.c 				u32 freq, bool xtal)
freq             1786 drivers/net/wireless/ti/wl12xx/main.c 	for (i = 0; table[i].freq != 0; i++)
freq             1787 drivers/net/wireless/ti/wl12xx/main.c 		if ((table[i].freq == freq) && (table[i].xtal == xtal))
freq               94 drivers/net/wireless/ti/wl12xx/wl12xx.h 	u32	freq;
freq               55 drivers/net/wireless/ti/wl18xx/event.c 	int freq;
freq               62 drivers/net/wireless/ti/wl18xx/event.c 	freq = ieee80211_channel_to_frequency(sync_channel, band);
freq               66 drivers/net/wireless/ti/wl18xx/event.c 		     freq, sync_channel, sync_band);
freq               71 drivers/net/wireless/ti/wl18xx/event.c 	if (nla_put_u32(skb, WLCORE_VENDOR_ATTR_FREQ, freq)) {
freq               79 drivers/net/wireless/ti/wlcore/rx.c 	status->freq = ieee80211_channel_to_frequency(desc->channel,
freq             1450 drivers/net/wireless/wl3501_cs.c 	int channel = wrqu->freq.m;
freq             1465 drivers/net/wireless/wl3501_cs.c 	wrqu->freq.m = 100000 *
freq             1467 drivers/net/wireless/wl3501_cs.c 	wrqu->freq.e = 1;
freq             1593 drivers/net/wireless/wl3501_cs.c 		iwe.u.freq.m = this->bss_set[i].ds_pset.chan;
freq             1594 drivers/net/wireless/wl3501_cs.c 		iwe.u.freq.e = 0;
freq              905 drivers/net/wireless/zydas/zd1201.c     struct iw_request_info *info, struct iw_freq *freq, char *extra)
freq              911 drivers/net/wireless/zydas/zd1201.c 	if (freq->e == 0)
freq              912 drivers/net/wireless/zydas/zd1201.c 		channel = freq->m;
freq              914 drivers/net/wireless/zydas/zd1201.c 		channel = ieee80211_frequency_to_channel(freq->m);
freq              926 drivers/net/wireless/zydas/zd1201.c     struct iw_request_info *info, struct iw_freq *freq, char *extra)
freq              935 drivers/net/wireless/zydas/zd1201.c 	freq->e = 0;
freq              936 drivers/net/wireless/zydas/zd1201.c 	freq->m = channel;
freq             1160 drivers/net/wireless/zydas/zd1201.c 		iwe.u.freq.m = zd->rxdata[i+0];
freq             1161 drivers/net/wireless/zydas/zd1201.c 		iwe.u.freq.e = 0;
freq             1056 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	stats.freq = zd_channels[_zd_chip_get_channel(&mac->chip) - 1].center_freq;
freq             1558 drivers/nvme/host/fc.c 	struct nvmefc_fcp_req *freq = &op->fcp_req;
freq             1612 drivers/nvme/host/fc.c 	else if (freq->status) {
freq             1616 drivers/nvme/host/fc.c 			ctrl->cnum, freq->status);
freq             1634 drivers/nvme/host/fc.c 	switch (freq->rcv_rsplen) {
freq             1643 drivers/nvme/host/fc.c 		if (freq->transferred_length !=
freq             1649 drivers/nvme/host/fc.c 				ctrl->cnum, freq->transferred_length,
freq             1662 drivers/nvme/host/fc.c 					(freq->rcv_rsplen / 4) ||
freq             1664 drivers/nvme/host/fc.c 					freq->transferred_length ||
freq             1674 drivers/nvme/host/fc.c 				freq->transferred_length,
freq             1689 drivers/nvme/host/fc.c 			ctrl->cnum, freq->rcv_rsplen);
freq             2133 drivers/nvme/host/fc.c 	struct nvmefc_fcp_req *freq = &op->fcp_req;
freq             2136 drivers/nvme/host/fc.c 	freq->sg_cnt = 0;
freq             2141 drivers/nvme/host/fc.c 	freq->sg_table.sgl = freq->first_sgl;
freq             2142 drivers/nvme/host/fc.c 	ret = sg_alloc_table_chained(&freq->sg_table,
freq             2143 drivers/nvme/host/fc.c 			blk_rq_nr_phys_segments(rq), freq->sg_table.sgl,
freq             2148 drivers/nvme/host/fc.c 	op->nents = blk_rq_map_sg(rq->q, rq, freq->sg_table.sgl);
freq             2150 drivers/nvme/host/fc.c 	freq->sg_cnt = fc_dma_map_sg(ctrl->lport->dev, freq->sg_table.sgl,
freq             2152 drivers/nvme/host/fc.c 	if (unlikely(freq->sg_cnt <= 0)) {
freq             2153 drivers/nvme/host/fc.c 		sg_free_table_chained(&freq->sg_table, SG_CHUNK_SIZE);
freq             2154 drivers/nvme/host/fc.c 		freq->sg_cnt = 0;
freq             2168 drivers/nvme/host/fc.c 	struct nvmefc_fcp_req *freq = &op->fcp_req;
freq             2170 drivers/nvme/host/fc.c 	if (!freq->sg_cnt)
freq             2173 drivers/nvme/host/fc.c 	fc_dma_unmap_sg(ctrl->lport->dev, freq->sg_table.sgl, op->nents,
freq             2178 drivers/nvme/host/fc.c 	sg_free_table_chained(&freq->sg_table, SG_CHUNK_SIZE);
freq             2180 drivers/nvme/host/fc.c 	freq->sg_cnt = 0;
freq              287 drivers/opp/core.c 	unsigned long freq = 0;
freq              294 drivers/opp/core.c 		freq = dev_pm_opp_get_freq(opp_table->suspend_opp);
freq              298 drivers/opp/core.c 	return freq;
freq              370 drivers/opp/core.c 					      unsigned long freq,
freq              388 drivers/opp/core.c 				temp_opp->rate == freq) {
freq              453 drivers/opp/core.c 						   unsigned long *freq)
freq              460 drivers/opp/core.c 		if (temp_opp->available && temp_opp->rate >= *freq) {
freq              462 drivers/opp/core.c 			*freq = opp->rate;
freq              494 drivers/opp/core.c 					     unsigned long *freq)
freq              499 drivers/opp/core.c 	if (!dev || !freq) {
freq              500 drivers/opp/core.c 		dev_err(dev, "%s: Invalid argument freq=%p\n", __func__, freq);
freq              508 drivers/opp/core.c 	opp = _find_freq_ceil(opp_table, freq);
freq              535 drivers/opp/core.c 					      unsigned long *freq)
freq              540 drivers/opp/core.c 	if (!dev || !freq) {
freq              541 drivers/opp/core.c 		dev_err(dev, "%s: Invalid argument freq=%p\n", __func__, freq);
freq              554 drivers/opp/core.c 			if (temp_opp->rate > *freq)
freq              568 drivers/opp/core.c 		*freq = opp->rate;
freq              654 drivers/opp/core.c 					    unsigned long freq)
freq              658 drivers/opp/core.c 	ret = clk_set_rate(clk, freq);
freq              670 drivers/opp/core.c 				      unsigned long freq,
freq              684 drivers/opp/core.c 	if (freq >= old_freq) {
freq              691 drivers/opp/core.c 	ret = _generic_set_opp_clk_only(dev, opp_table->clk, freq);
freq              696 drivers/opp/core.c 	if (freq < old_freq) {
freq              718 drivers/opp/core.c 			   unsigned long freq,
freq              738 drivers/opp/core.c 	data->new_opp.rate = freq;
freq              808 drivers/opp/core.c 	unsigned long freq, old_freq, temp_freq;
freq              838 drivers/opp/core.c 	freq = clk_round_rate(clk, target_freq);
freq              839 drivers/opp/core.c 	if ((long)freq <= 0)
freq              840 drivers/opp/core.c 		freq = target_freq;
freq              845 drivers/opp/core.c 	if (old_freq == freq) {
freq              847 drivers/opp/core.c 			__func__, freq);
freq              859 drivers/opp/core.c 	temp_freq = freq;
freq              864 drivers/opp/core.c 			__func__, freq, ret);
freq              869 drivers/opp/core.c 		old_freq, freq);
freq              872 drivers/opp/core.c 	if (freq >= old_freq) {
freq              879 drivers/opp/core.c 		ret = _set_opp_custom(opp_table, dev, old_freq, freq,
freq              883 drivers/opp/core.c 		ret = _generic_set_opp_regulator(opp_table, dev, old_freq, freq,
freq              888 drivers/opp/core.c 		ret = _generic_set_opp_clk_only(dev, clk, freq);
freq              892 drivers/opp/core.c 	if (!ret && freq < old_freq) {
freq             1169 drivers/opp/core.c void dev_pm_opp_remove(struct device *dev, unsigned long freq)
freq             1182 drivers/opp/core.c 		if (opp->rate == freq) {
freq             1197 drivers/opp/core.c 			 __func__, freq);
freq             1389 drivers/opp/core.c 		unsigned long freq, long u_volt, bool dynamic)
freq             1400 drivers/opp/core.c 	new_opp->rate = freq;
freq             2015 drivers/opp/core.c int dev_pm_opp_add(struct device *dev, unsigned long freq, unsigned long u_volt)
freq             2027 drivers/opp/core.c 	ret = _opp_add_v1(opp_table, dev, freq, u_volt, true);
freq             2048 drivers/opp/core.c static int _opp_set_availability(struct device *dev, unsigned long freq,
freq             2067 drivers/opp/core.c 		if (tmp_opp->rate == freq) {
freq             2118 drivers/opp/core.c int dev_pm_opp_enable(struct device *dev, unsigned long freq)
freq             2120 drivers/opp/core.c 	return _opp_set_availability(dev, freq, true);
freq             2138 drivers/opp/core.c int dev_pm_opp_disable(struct device *dev, unsigned long freq)
freq             2140 drivers/opp/core.c 	return _opp_set_availability(dev, freq, false);
freq              742 drivers/opp/of.c 		unsigned long freq = be32_to_cpup(val++) * 1000;
freq              745 drivers/opp/of.c 		ret = _opp_add_v1(opp_table, dev, freq, volt, false);
freq              748 drivers/opp/of.c 				__func__, freq, ret);
freq              217 drivers/opp/opp.h int _opp_add_v1(struct opp_table *opp_table, struct device *dev, unsigned long freq, long u_volt, bool dynamic);
freq              283 drivers/opp/ti-opp-supply.c 	unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate;
freq              297 drivers/opp/ti-opp-supply.c 	if (freq > old_freq) {
freq              310 drivers/opp/ti-opp-supply.c 		__func__, old_freq, freq);
freq              312 drivers/opp/ti-opp-supply.c 	ret = clk_set_rate(clk, freq);
freq              320 drivers/opp/ti-opp-supply.c 	if (freq < old_freq) {
freq              686 drivers/perf/arm_spe_pmu.c 	if (attr->freq)
freq              132 drivers/phy/ti/phy-ti-pipe3.c 	u8	freq:3;
freq              420 drivers/phy/ti/phy-ti-pipe3.c 	val |= dpll_params->freq << PLL_SELFREQDCO_SHIFT;
freq             1295 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pinctrl_get_debounce_div(struct clk *clk, int freq, int *diff)
freq             1301 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	best_diff = abs(freq - clock);
freq             1305 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		int cur_diff = abs(freq - (clock >> i));
freq               54 drivers/platform/x86/pmc_atom.c 		.freq = 25000000,
freq               59 drivers/platform/x86/pmc_atom.c 		.freq = 19200000,
freq               68 drivers/platform/x86/pmc_atom.c 		.freq = 19200000,
freq             2704 drivers/platform/x86/thinkpad_acpi.c static void hotkey_poll_set_freq(unsigned int freq)
freq             2706 drivers/platform/x86/thinkpad_acpi.c 	if (!freq)
freq             2709 drivers/platform/x86/thinkpad_acpi.c 	hotkey_poll_freq = freq;
freq              141 drivers/ptp/ptp_clock.c 		s32 ppb = scaled_ppm_to_ppb(tx->freq);
freq              145 drivers/ptp/ptp_clock.c 			err = ops->adjfine(ops, tx->freq);
freq              148 drivers/ptp/ptp_clock.c 		ptp->dialed_frequency = tx->freq;
freq              150 drivers/ptp/ptp_clock.c 		tx->freq = ptp->dialed_frequency;
freq               52 drivers/pwm/pwm-clps711x.c 	unsigned int freq = clk_get_rate(priv->clk);
freq               54 drivers/pwm/pwm-clps711x.c 	if (!freq)
freq               58 drivers/pwm/pwm-clps711x.c 	pwm->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq);
freq              103 drivers/pwm/pwm-hibvt.c 	u32 freq, period, duty;
freq              105 drivers/pwm/pwm-hibvt.c 	freq = div_u64(clk_get_rate(hi_pwm_chip->clk), 1000000);
freq              107 drivers/pwm/pwm-hibvt.c 	period = div_u64(freq * period_ns, 1000);
freq              136 drivers/pwm/pwm-hibvt.c 	u32 freq, value;
freq              138 drivers/pwm/pwm-hibvt.c 	freq = div_u64(clk_get_rate(hi_pwm_chip->clk), 1000000);
freq              142 drivers/pwm/pwm-hibvt.c 	state->period = div_u64(value * 1000, freq);
freq              145 drivers/pwm/pwm-hibvt.c 	state->duty_cycle = div_u64(value * 1000, freq);
freq               87 drivers/pwm/pwm-lpss.c 	unsigned long long base_unit, freq = NSEC_PER_SEC;
freq               90 drivers/pwm/pwm-lpss.c 	do_div(freq, period_ns);
freq               97 drivers/pwm/pwm-lpss.c 	freq *= base_unit_range;
freq               99 drivers/pwm/pwm-lpss.c 	base_unit = DIV_ROUND_CLOSEST_ULL(freq, c);
freq              167 drivers/pwm/pwm-lpss.c 	unsigned long long base_unit, freq, on_time_div;
freq              176 drivers/pwm/pwm-lpss.c 	freq = base_unit * lpwm->info->clk_rate;
freq              177 drivers/pwm/pwm-lpss.c 	do_div(freq, base_unit_range);
freq              178 drivers/pwm/pwm-lpss.c 	if (freq == 0)
freq              181 drivers/pwm/pwm-lpss.c 		state->period = NSEC_PER_SEC / (unsigned long)freq;
freq              169 drivers/pwm/pwm-samsung.c 					  unsigned int chan, unsigned long freq)
freq              199 drivers/pwm/pwm-samsung.c 			if ((rate >> (variant->bits + div)) < freq)
freq               38 drivers/regulator/qcom_rpm-regulator.c 	struct request_member freq;		/* frequency: NCP and SMPS */
freq               85 drivers/regulator/qcom_rpm-regulator.c 	.freq           = { 1, 0x001FE000, 13 },
freq              103 drivers/regulator/qcom_rpm-regulator.c 	.freq           = { 0, 0x003FC000, 14 },
freq              127 drivers/regulator/qcom_rpm-regulator.c 	.freq           = { 1, 0x1F000000, 24 },
freq              145 drivers/regulator/qcom_rpm-regulator.c 	.freq           = { 0, 0x3E000000, 25 },
freq              664 drivers/regulator/qcom_rpm-regulator.c 	u32 freq;
freq              669 drivers/regulator/qcom_rpm-regulator.c 	ret = of_property_read_u32(node, key, &freq);
freq              676 drivers/regulator/qcom_rpm-regulator.c 		if (freq == freq_table[i]) {
freq              677 drivers/regulator/qcom_rpm-regulator.c 			rpm_reg_set(vreg, &vreg->parts->freq, i + 1);
freq              682 drivers/regulator/qcom_rpm-regulator.c 	dev_err(dev, "invalid frequency %d\n", freq);
freq              707 drivers/regulator/qcom_rpm-regulator.c 	if (vreg->parts->freq.mask) {
freq              764 drivers/rtc/interface.c int rtc_irq_set_freq(struct rtc_device *rtc, int freq)
freq              768 drivers/rtc/interface.c 	if (freq <= 0 || freq > RTC_MAX_FREQ)
freq              771 drivers/rtc/interface.c 	rtc->irq_freq = freq;
freq              775 drivers/rtc/interface.c 	trace_rtc_irq_set_freq(freq, err);
freq               66 drivers/rtc/rtc-armada38x.c 	u8 freq;
freq              153 drivers/rtc/rtc-armada38x.c 		rtc->val_to_freq[i].freq = 0;
freq              160 drivers/rtc/rtc-armada38x.c 		while (rtc->val_to_freq[j].freq) {
freq              162 drivers/rtc/rtc-armada38x.c 				rtc->val_to_freq[j].freq++;
freq              168 drivers/rtc/rtc-armada38x.c 		if (!rtc->val_to_freq[j].freq) {
freq              170 drivers/rtc/rtc-armada38x.c 			rtc->val_to_freq[j].freq = 1;
freq              173 drivers/rtc/rtc-armada38x.c 		if (rtc->val_to_freq[j].freq > max) {
freq              175 drivers/rtc/rtc-armada38x.c 			max = rtc->val_to_freq[j].freq;
freq              149 drivers/rtc/rtc-cmos.c static inline int hpet_set_periodic_freq(unsigned long freq)
freq              152 drivers/rtc/rtc-m41t80.c 	unsigned long freq;
freq              457 drivers/rtc/rtc-m41t80.c 	return sqw_to_m41t80_data(hw)->freq;
freq              496 drivers/rtc/rtc-m41t80.c 		m41t80->freq = m41t80_decode_freq(val);
freq              567 drivers/rtc/rtc-m41t80.c 	m41t80->freq = m41t80_get_freq(m41t80);
freq              116 drivers/rtc/rtc-pic32.c static int pic32_rtc_setfreq(struct device *dev, int freq)
freq              124 drivers/rtc/rtc-pic32.c 	writel(freq << 8, base + PIC32_SET(PIC32_RTCALRM));
freq               60 drivers/rtc/rtc-s3c.c 	void (*set_freq) (struct s3c_rtc *info, int freq);
freq              152 drivers/rtc/rtc-s3c.c static int s3c_rtc_setfreq(struct s3c_rtc *info, int freq)
freq              156 drivers/rtc/rtc-s3c.c 	if (!is_power_of_2(freq))
freq              165 drivers/rtc/rtc-s3c.c 		info->data->set_freq(info, freq);
freq              641 drivers/rtc/rtc-s3c.c static void s3c2410_rtc_setfreq(struct s3c_rtc *info, int freq)
freq              649 drivers/rtc/rtc-s3c.c 	val = (info->rtc->max_user_freq / freq) - 1;
freq              655 drivers/rtc/rtc-s3c.c static void s3c2416_rtc_setfreq(struct s3c_rtc *info, int freq)
freq              663 drivers/rtc/rtc-s3c.c 	val = (info->rtc->max_user_freq / freq) - 1;
freq              673 drivers/rtc/rtc-s3c.c static void s3c2443_rtc_setfreq(struct s3c_rtc *info, int freq)
freq              681 drivers/rtc/rtc-s3c.c 	val = (info->rtc->max_user_freq / freq) - 1;
freq              689 drivers/rtc/rtc-s3c.c static void s3c6410_rtc_setfreq(struct s3c_rtc *info, int freq)
freq              693 drivers/rtc/rtc-s3c.c 	val = (info->rtc->max_user_freq / freq) - 1;
freq               96 drivers/scsi/aic7xxx/aic79xx_proc.c 	u_int freq;
freq              104 drivers/scsi/aic7xxx/aic79xx_proc.c         freq = 0;
freq              106 drivers/scsi/aic7xxx/aic79xx_proc.c 		freq = ahd_calc_syncsrate(tinfo->period);
freq              107 drivers/scsi/aic7xxx/aic79xx_proc.c 		speed = freq;
freq              116 drivers/scsi/aic7xxx/aic79xx_proc.c 	if (freq != 0) {
freq              120 drivers/scsi/aic7xxx/aic79xx_proc.c 		seq_printf(m, " (%d.%03dMHz", freq / 1000, freq % 1000);
freq              144 drivers/scsi/aic7xxx/aic79xx_proc.c 		if (freq != 0) {
freq              150 drivers/scsi/aic7xxx/aic79xx_proc.c 	} else if (freq != 0) {
freq               97 drivers/scsi/aic7xxx/aic7xxx_proc.c 	u_int freq;
freq              101 drivers/scsi/aic7xxx/aic7xxx_proc.c         freq = 0;
freq              103 drivers/scsi/aic7xxx/aic7xxx_proc.c 		freq = ahc_calc_syncsrate(tinfo->period);
freq              104 drivers/scsi/aic7xxx/aic7xxx_proc.c 		speed = freq;
freq              113 drivers/scsi/aic7xxx/aic7xxx_proc.c 	if (freq != 0) {
freq              115 drivers/scsi/aic7xxx/aic7xxx_proc.c 			 freq / 1000, freq % 1000,
freq              121 drivers/scsi/aic7xxx/aic7xxx_proc.c 		if (freq != 0) {
freq              127 drivers/scsi/aic7xxx/aic7xxx_proc.c 	} else if (freq != 0) {
freq             1229 drivers/scsi/bfa/bfa_defs.h 	u16	freq;   /* no. of blinks every 10 secs */
freq             4973 drivers/scsi/bfa/bfa_ioc.c 	if (ledtest->freq)
freq             4974 drivers/scsi/bfa/bfa_ioc.c 		ledtest->freq = 500 / ledtest->freq;
freq             4976 drivers/scsi/bfa/bfa_ioc.c 	if (ledtest->freq == 0)
freq             4977 drivers/scsi/bfa/bfa_ioc.c 		ledtest->freq = 1;
freq             4979 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(diag, ledtest->freq);
freq             4985 drivers/scsi/bfa/bfa_ioc.c 	msg->freq = cpu_to_be16(ledtest->freq);
freq             1071 drivers/scsi/bfa/bfi.h 	u16	freq;   /* no. of blinks every 10 secs */
freq              175 drivers/scsi/mac53c94.h #define CLKF_VAL(freq)	((((freq) + 4999999) / 5000000) & CLKF_MASK)
freq             1222 drivers/scsi/ufs/ufshcd.c 				unsigned long *freq, u32 flags)
freq             1250 drivers/scsi/ufs/ufshcd.c 	scale_up = (*freq == clki->max_freq) ? true : false;
freq             6805 drivers/scsi/ufs/ufshcd.c ufs_get_bref_clk_from_hz(unsigned long freq)
freq             6810 drivers/scsi/ufs/ufshcd.c 		if (ufs_ref_clk_freqs[i].freq_hz == freq)
freq             6818 drivers/scsi/ufs/ufshcd.c 	unsigned long freq;
freq             6820 drivers/scsi/ufs/ufshcd.c 	freq = clk_get_rate(refclk);
freq             6823 drivers/scsi/ufs/ufshcd.c 		ufs_get_bref_clk_from_hz(freq);
freq             6827 drivers/scsi/ufs/ufshcd.c 		"invalid ref_clk setting = %ld\n", freq);
freq             6834 drivers/scsi/ufs/ufshcd.c 	u32 freq = hba->dev_ref_clk_freq;
freq             6845 drivers/scsi/ufs/ufshcd.c 	if (ref_clk == freq)
freq             6849 drivers/scsi/ufs/ufshcd.c 			QUERY_ATTR_IDN_REF_CLK_FREQ, 0, 0, &freq);
freq             6853 drivers/scsi/ufs/ufshcd.c 			ufs_ref_clk_freqs[freq].freq_hz);
freq             6858 drivers/scsi/ufs/ufshcd.c 			ufs_ref_clk_freqs[freq].freq_hz);
freq             1891 drivers/scsi/wd33c93.c set_clk_freq(int freq, int *mhz)
freq             1893 drivers/scsi/wd33c93.c 	int x = freq;
freq             1894 drivers/scsi/wd33c93.c 	if (WD33C93_FS_8_10 == freq)
freq             1895 drivers/scsi/wd33c93.c 		freq = 8;
freq             1896 drivers/scsi/wd33c93.c 	else if (WD33C93_FS_12_15 == freq)
freq             1897 drivers/scsi/wd33c93.c 		freq = 12;
freq             1898 drivers/scsi/wd33c93.c 	else if (WD33C93_FS_16_20 == freq)
freq             1899 drivers/scsi/wd33c93.c 		freq = 16;
freq             1900 drivers/scsi/wd33c93.c 	else if (freq > 7 && freq < 11)
freq             1902 drivers/scsi/wd33c93.c 		else if (freq > 11 && freq < 16)
freq             1904 drivers/scsi/wd33c93.c 		else if (freq > 15 && freq < 21)
freq             1909 drivers/scsi/wd33c93.c 		freq = 8;
freq             1911 drivers/scsi/wd33c93.c 	*mhz = freq;
freq               46 drivers/sh/clk/core.c 	unsigned long freq;
freq               62 drivers/sh/clk/core.c 			freq = CPUFREQ_ENTRY_INVALID;
freq               64 drivers/sh/clk/core.c 			freq = clk->parent->rate * mult / div;
freq               67 drivers/sh/clk/core.c 		freq_table[i].frequency = freq;
freq               84 drivers/sh/clk/core.c #define for_each_frequency(pos, r, freq)			\
freq               85 drivers/sh/clk/core.c 	for (pos = r->min, freq = r->func(pos, r);		\
freq               86 drivers/sh/clk/core.c 	     pos <= r->max; pos++, freq = r->func(pos, r))	\
freq               87 drivers/sh/clk/core.c 		if (unlikely(freq == 0))			\
freq               94 drivers/sh/clk/core.c 	unsigned long highest, lowest, freq;
freq              101 drivers/sh/clk/core.c 	for_each_frequency(i, rounder, freq) {
freq              102 drivers/sh/clk/core.c 		if (freq > highest)
freq              103 drivers/sh/clk/core.c 			highest = freq;
freq              104 drivers/sh/clk/core.c 		if (freq < lowest)
freq              105 drivers/sh/clk/core.c 			lowest = freq;
freq              107 drivers/sh/clk/core.c 		rate_error = abs(freq - rounder->rate);
freq              109 drivers/sh/clk/core.c 			rate_best_fit = freq;
freq              129 drivers/sh/clk/core.c 	unsigned long freq = freq_table[pos].frequency;
freq              131 drivers/sh/clk/core.c 	if (freq == CPUFREQ_ENTRY_INVALID)
freq              132 drivers/sh/clk/core.c 		freq = 0;
freq              134 drivers/sh/clk/core.c 	return freq;
freq              524 drivers/soc/qcom/qcom-geni-se.c 	long freq = 0;
freq              539 drivers/soc/qcom/qcom-geni-se.c 		freq = clk_round_rate(se->clk, freq + 1);
freq              540 drivers/soc/qcom/qcom-geni-se.c 		if (freq <= 0 || freq == se->clk_perf_tbl[i - 1])
freq              542 drivers/soc/qcom/qcom-geni-se.c 		se->clk_perf_tbl[i] = freq;
freq              209 drivers/spi/spi-dln2.c static int dln2_spi_get_speed(struct dln2_spi *dln2, u16 cmd, u32 *freq)
freq              228 drivers/spi/spi-dln2.c 	*freq = le32_to_cpu(rx.speed);
freq              217 drivers/spi/spi-mxic.c static int mxic_spi_clk_setup(struct mxic_spi *mxic, unsigned long freq)
freq              221 drivers/spi/spi-mxic.c 	ret = clk_set_rate(mxic->send_clk, freq);
freq              225 drivers/spi/spi-mxic.c 	ret = clk_set_rate(mxic->send_dly_clk, freq);
freq              243 drivers/spi/spi-mxic.c 	ret = clk_set_phase(mxic->send_dly_clk, 9 * freq / 25000000);
freq              250 drivers/spi/spi-mxic.c static int mxic_spi_set_freq(struct mxic_spi *mxic, unsigned long freq)
freq              254 drivers/spi/spi-mxic.c 	if (mxic->cur_speed_hz == freq)
freq              258 drivers/spi/spi-mxic.c 	ret = mxic_spi_clk_setup(mxic, freq);
freq              266 drivers/spi/spi-mxic.c 	mxic->cur_speed_hz = freq;
freq               44 drivers/spi/spi-oc-tiny.c 	unsigned int freq;
freq               66 drivers/spi/spi-oc-tiny.c 	return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1;
freq              226 drivers/spi/spi-oc-tiny.c 		hw->freq = val;
freq              288 drivers/spi/spi-oc-tiny.c 		hw->freq = platp->freq;
freq             1739 drivers/spi/spi-pl022.c static int calculate_effective_freq(struct pl022 *pl022, int freq, struct
freq             1753 drivers/spi/spi-pl022.c 	if (freq > max_tclk)
freq             1756 drivers/spi/spi-pl022.c 			max_tclk, freq);
freq             1758 drivers/spi/spi-pl022.c 	if (freq < min_tclk) {
freq             1761 drivers/spi/spi-pl022.c 			freq, min_tclk);
freq             1773 drivers/spi/spi-pl022.c 			if (tmp > freq) {
freq             1788 drivers/spi/spi-pl022.c 				if (tmp == freq)
freq             1802 drivers/spi/spi-pl022.c 			freq);
freq             1808 drivers/spi/spi-pl022.c 		freq, best_freq);
freq              180 drivers/spi/spi-rockchip.c 	u32 freq;
freq              529 drivers/spi/spi-rockchip.c 	writel_relaxed(2 * DIV_ROUND_UP(rs->freq, 2 * xfer->speed_hz),
freq              647 drivers/spi/spi-rockchip.c 	rs->freq = clk_get_rate(rs->spiclk);
freq              652 drivers/spi/spi-rockchip.c 		u32 rsd = DIV_ROUND_CLOSEST(rsd_nsecs * (rs->freq >> 8),
freq              656 drivers/spi/spi-rockchip.c 					rs->freq, rsd_nsecs);
freq              660 drivers/spi/spi-rockchip.c 					rs->freq, rsd_nsecs,
freq              661 drivers/spi/spi-rockchip.c 					CR0_RSD_MAX * 1000000000U / rs->freq);
freq              682 drivers/spi/spi-rockchip.c 	master->min_speed_hz = rs->freq / BAUDR_SCKDV_MAX;
freq              683 drivers/spi/spi-rockchip.c 	master->max_speed_hz = min(rs->freq / BAUDR_SCKDV_MIN, MAX_SCLK_OUT);
freq               37 drivers/spi/spi-sc18is602.c 	u32			freq;
freq              143 drivers/spi/spi-sc18is602.c 	if (hz >= hw->freq / 4) {
freq              145 drivers/spi/spi-sc18is602.c 		hw->speed = hw->freq / 4;
freq              146 drivers/spi/spi-sc18is602.c 	} else if (hz >= hw->freq / 16) {
freq              148 drivers/spi/spi-sc18is602.c 		hw->speed = hw->freq / 16;
freq              149 drivers/spi/spi-sc18is602.c 	} else if (hz >= hw->freq / 64) {
freq              151 drivers/spi/spi-sc18is602.c 		hw->speed = hw->freq / 64;
freq              154 drivers/spi/spi-sc18is602.c 		hw->speed = hw->freq / 128;
freq              275 drivers/spi/spi-sc18is602.c 		hw->freq = SC18IS602_CLOCK;
freq              280 drivers/spi/spi-sc18is602.c 			hw->freq = pdata->clock_frequency;
freq              287 drivers/spi/spi-sc18is602.c 				hw->freq = be32_to_cpup(val);
freq              289 drivers/spi/spi-sc18is602.c 		if (!hw->freq)
freq              290 drivers/spi/spi-sc18is602.c 			hw->freq = SC18IS602_CLOCK;
freq              299 drivers/spi/spi-sc18is602.c 	master->min_speed_hz = hw->freq / 128;
freq              300 drivers/spi/spi-sc18is602.c 	master->max_speed_hz = hw->freq / 4;
freq               51 drivers/ssb/driver_chipcommon_pmu.c 	u16 freq;	/* Crystal frequency in kHz.*/
freq               58 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 12000, .xf =  1, .wb_int = 73, .wb_frac = 349525, },
freq               59 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 13000, .xf =  2, .wb_int = 67, .wb_frac = 725937, },
freq               60 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 14400, .xf =  3, .wb_int = 61, .wb_frac = 116508, },
freq               61 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 15360, .xf =  4, .wb_int = 57, .wb_frac = 305834, },
freq               62 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 16200, .xf =  5, .wb_int = 54, .wb_frac = 336579, },
freq               63 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 16800, .xf =  6, .wb_int = 52, .wb_frac = 399457, },
freq               64 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 19200, .xf =  7, .wb_int = 45, .wb_frac = 873813, },
freq               65 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 19800, .xf =  8, .wb_int = 44, .wb_frac = 466033, },
freq               66 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 20000, .xf =  9, .wb_int = 44, .wb_frac = 0,      },
freq               67 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 25000, .xf = 10, .wb_int = 70, .wb_frac = 419430, },
freq               68 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 26000, .xf = 11, .wb_int = 67, .wb_frac = 725937, },
freq               69 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 30000, .xf = 12, .wb_int = 58, .wb_frac = 699050, },
freq               70 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 38400, .xf = 13, .wb_int = 45, .wb_frac = 873813, },
freq               71 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 40000, .xf = 14, .wb_int = 45, .wb_frac = 0,      },
freq               82 drivers/ssb/driver_chipcommon_pmu.c 		if (e->freq == crystalfreq)
freq              103 drivers/ssb/driver_chipcommon_pmu.c 	crystalfreq = e->freq;
freq              104 drivers/ssb/driver_chipcommon_pmu.c 	cc->pmu.crystalfreq = e->freq;
freq              178 drivers/ssb/driver_chipcommon_pmu.c 	u16 freq;	/* Crystal frequency in kHz.*/
freq              187 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 12000, .xf =  1, .p1div = 3, .p2div = 22, .ndiv_int =  0x9, .ndiv_frac = 0xFFFFEF, },
freq              188 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 13000, .xf =  2, .p1div = 1, .p2div =  6, .ndiv_int =  0xb, .ndiv_frac = 0x483483, },
freq              189 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 14400, .xf =  3, .p1div = 1, .p2div = 10, .ndiv_int =  0xa, .ndiv_frac = 0x1C71C7, },
freq              190 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 15360, .xf =  4, .p1div = 1, .p2div =  5, .ndiv_int =  0xb, .ndiv_frac = 0x755555, },
freq              191 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 16200, .xf =  5, .p1div = 1, .p2div = 10, .ndiv_int =  0x5, .ndiv_frac = 0x6E9E06, },
freq              192 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 16800, .xf =  6, .p1div = 1, .p2div = 10, .ndiv_int =  0x5, .ndiv_frac = 0x3CF3CF, },
freq              193 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 19200, .xf =  7, .p1div = 1, .p2div =  9, .ndiv_int =  0x5, .ndiv_frac = 0x17B425, },
freq              194 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 19800, .xf =  8, .p1div = 1, .p2div = 11, .ndiv_int =  0x4, .ndiv_frac = 0xA57EB,  },
freq              195 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 20000, .xf =  9, .p1div = 1, .p2div = 11, .ndiv_int =  0x4, .ndiv_frac = 0,        },
freq              196 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 24000, .xf = 10, .p1div = 3, .p2div = 11, .ndiv_int =  0xa, .ndiv_frac = 0,        },
freq              197 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 25000, .xf = 11, .p1div = 5, .p2div = 16, .ndiv_int =  0xb, .ndiv_frac = 0,        },
freq              198 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 26000, .xf = 12, .p1div = 1, .p2div =  2, .ndiv_int = 0x10, .ndiv_frac = 0xEC4EC4, },
freq              199 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 30000, .xf = 13, .p1div = 3, .p2div =  8, .ndiv_int =  0xb, .ndiv_frac = 0,        },
freq              200 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 38400, .xf = 14, .p1div = 1, .p2div =  5, .ndiv_int =  0x4, .ndiv_frac = 0x955555, },
freq              201 drivers/ssb/driver_chipcommon_pmu.c 	{ .freq = 40000, .xf = 15, .p1div = 1, .p2div =  2, .ndiv_int =  0xb, .ndiv_frac = 0,        },
freq              213 drivers/ssb/driver_chipcommon_pmu.c 		if (e->freq == crystalfreq)
freq              242 drivers/ssb/driver_chipcommon_pmu.c 	crystalfreq = e->freq;
freq              243 drivers/ssb/driver_chipcommon_pmu.c 	cc->pmu.crystalfreq = e->freq;
freq              311 drivers/ssb/driver_chipcommon_pmu.c 	pmuctl |= ((((u32)e->freq + 127) / 128 - 1) << SSB_CHIPCO_PMU_CTL_ILP_DIV_SHIFT)
freq              628 drivers/ssb/driver_chipcommon_pmu.c 	return e->freq * 1000;
freq               32 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	unsigned int freq;
freq               35 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		freq = 1000000000 / cmd->convert_arg;
freq               38 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		freq = 0xffffffff;
freq               41 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	size = (freq / 3) * sample_size;
freq              227 drivers/staging/iio/adc/ad7192.c static inline bool ad7192_valid_external_frequency(u32 freq)
freq              229 drivers/staging/iio/adc/ad7192.c 	return (freq >= AD7192_EXT_FREQ_MHZ_MIN &&
freq              230 drivers/staging/iio/adc/ad7192.c 		freq <= AD7192_EXT_FREQ_MHZ_MAX);
freq              405 drivers/staging/iio/adc/ad7192.c 						    int *freq)
freq              412 drivers/staging/iio/adc/ad7192.c 	freq[0] = DIV_ROUND_CLOSEST(fadc * 240, 1024);
freq              416 drivers/staging/iio/adc/ad7192.c 	freq[1] = DIV_ROUND_CLOSEST(fadc * 240, 1024);
freq              419 drivers/staging/iio/adc/ad7192.c 	freq[2] = DIV_ROUND_CLOSEST(fadc * 230, 1024);
freq              420 drivers/staging/iio/adc/ad7192.c 	freq[3] = DIV_ROUND_CLOSEST(fadc * 272, 1024);
freq              484 drivers/staging/iio/adc/ad7192.c 	int freq_avail[4], i, ret, freq;
freq              489 drivers/staging/iio/adc/ad7192.c 	freq = val * 1000 + val2;
freq              494 drivers/staging/iio/adc/ad7192.c 		diff_new = abs(freq - freq_avail[i]);
freq              190 drivers/staging/iio/impedance-analyzer/ad5933.c 			   unsigned int reg, unsigned long freq)
freq              198 drivers/staging/iio/impedance-analyzer/ad5933.c 	freqreg = (u64)freq * (u64)(1 << 27);
freq              203 drivers/staging/iio/impedance-analyzer/ad5933.c 		st->freq_start = freq;
freq              206 drivers/staging/iio/impedance-analyzer/ad5933.c 		st->freq_inc = freq;
freq              184 drivers/staging/ks7010/ks_wlan_net.c 	if ((fwrq->freq.e == 1) &&
freq              185 drivers/staging/ks7010/ks_wlan_net.c 	    (fwrq->freq.m >= 241200000) && (fwrq->freq.m <= 248700000)) {
freq              186 drivers/staging/ks7010/ks_wlan_net.c 		int f = fwrq->freq.m / 100000;
freq              192 drivers/staging/ks7010/ks_wlan_net.c 		fwrq->freq.e = 0;
freq              193 drivers/staging/ks7010/ks_wlan_net.c 		fwrq->freq.m = c + 1;
freq              196 drivers/staging/ks7010/ks_wlan_net.c 	if ((fwrq->freq.m > 1000) || (fwrq->freq.e > 0))
freq              199 drivers/staging/ks7010/ks_wlan_net.c 	channel = fwrq->freq.m;
freq              205 drivers/staging/ks7010/ks_wlan_net.c 			   dev->name, fwrq->freq.m);
freq              232 drivers/staging/ks7010/ks_wlan_net.c 	fwrq->freq.m = frequency_list[f - 1] * 100000;
freq              233 drivers/staging/ks7010/ks_wlan_net.c 	fwrq->freq.e = 1;
freq              924 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[k].i = i + 1;	/* List index */
freq              925 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[k].m = frequency_list[i] * 100000;
freq              926 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[k++].e = 1;	/* Values in table in MHz -> * 10^5 * 10 */
freq              931 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[13].i = 14;	/* List index */
freq              932 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[13].m = frequency_list[13] * 100000;
freq              933 drivers/staging/ks7010/ks_wlan_net.c 		range->freq[13].e = 1;	/* Values in table in MHz -> * 10^5 * 10 */
freq             1220 drivers/staging/ks7010/ks_wlan_net.c 	iwe.u.freq.m = ap->channel;
freq             1221 drivers/staging/ks7010/ks_wlan_net.c 	iwe.u.freq.m = frequency_list[iwe.u.freq.m - 1] * 100000;
freq             1222 drivers/staging/ks7010/ks_wlan_net.c 	iwe.u.freq.e = 1;
freq              215 drivers/staging/media/ipu3/ipu3-css.c 	static const unsigned int freq = 450;
freq              271 drivers/staging/media/ipu3/ipu3-css.c 	val = (freq / IMGU_SYSTEM_REQ_FREQ_DIVIDER) & IMGU_SYSTEM_REQ_FREQ_MASK;
freq               46 drivers/staging/rtl8188eu/core/rtw_rf.c 	u32	freq = 0;
freq               50 drivers/staging/rtl8188eu/core/rtw_rf.c 			freq = ch_freq_map[i].frequency;
freq               55 drivers/staging/rtl8188eu/core/rtw_rf.c 		freq = 2412;
freq               57 drivers/staging/rtl8188eu/core/rtw_rf.c 	return freq;
freq              186 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000;
freq              187 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	iwe.u.freq.e = 1;
freq              188 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	iwe.u.freq.i = pnetwork->network.Configuration.DSConfig;
freq              692 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.m = rtw_ch2freq(pcur_bss->Configuration.DSConfig) * 100000;
freq              693 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.e = 1;
freq              694 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.i = pcur_bss->Configuration.DSConfig;
freq              696 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000;
freq              697 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.e = 1;
freq              698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		wrqu->freq.i = padapter->mlmeextpriv.cur_channel;
freq              907 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			range->freq[val].i = pmlmeext->channel_set[i].ChannelNum;
freq              908 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			range->freq[val].m = rtw_ch2freq(pmlmeext->channel_set[i].ChannelNum) * 100000;
freq              909 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			range->freq[val].e = 1;
freq             2014 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 		.freq = RTLLIB_24GHZ_BAND,
freq              355 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c 			range->freq[val].i = i + 1;
freq              356 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c 			range->freq[val].m = rtllib_wlan_frequencies[i] *
freq              358 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c 			range->freq[val].e = 1;
freq              576 drivers/staging/rtl8192e/rtllib.h 	u8  freq;
freq             2350 drivers/staging/rtl8192e/rtllib_rx.c 	if (stats->freq == RTLLIB_52GHZ_BAND) {
freq             2368 drivers/staging/rtl8192e/rtllib_rx.c 	if (stats->freq == RTLLIB_52GHZ_BAND)
freq               33 drivers/staging/rtl8192e/rtllib_softmac_wx.c 	struct iw_freq *fwrq = &wrqu->freq;
freq               91 drivers/staging/rtl8192e/rtllib_softmac_wx.c 	struct iw_freq *fwrq = &wrqu->freq;
freq               99 drivers/staging/rtl8192e/rtllib_wx.c 	iwe.u.freq.m = network->channel;
freq              100 drivers/staging/rtl8192e/rtllib_wx.c 	iwe.u.freq.e = 0;
freq              101 drivers/staging/rtl8192e/rtllib_wx.c 	iwe.u.freq.i = 0;
freq              696 drivers/staging/rtl8192u/ieee80211/ieee80211.h 	u8 freq;
freq             2111 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 	if (stats->freq == IEEE80211_52GHZ_BAND) {
freq             2125 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 	if (stats->freq == IEEE80211_52GHZ_BAND)
freq               34 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c 	struct iw_freq *fwrq = &wrqu->freq;
freq               90 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c 	struct iw_freq *fwrq = &wrqu->freq;
freq               97 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	iwe.u.freq.m = network->channel;
freq               98 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	iwe.u.freq.e = 0;
freq               99 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	iwe.u.freq.i = 0;
freq             4605 drivers/staging/rtl8192u/r8192U_core.c 		.freq = IEEE80211_24GHZ_BAND,
freq             4711 drivers/staging/rtl8192u/r8192U_core.c 		.freq = IEEE80211_24GHZ_BAND,
freq              300 drivers/staging/rtl8192u/r8192U_wx.c 			range->freq[val].i = i + 1;
freq              301 drivers/staging/rtl8192u/r8192U_wx.c 			range->freq[val].m = ieee80211_wlan_frequencies[i] * 100000;
freq              302 drivers/staging/rtl8192u/r8192U_wx.c 			range->freq[val].e = 1;
freq              393 drivers/staging/rtl8712/ieee80211.h 	u8 freq;
freq              287 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			iwe.u.freq.m =
freq              291 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			iwe.u.freq.m = 0;
freq              293 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	iwe.u.freq.e = (s16)1;
freq              294 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	iwe.u.freq.i = (u8)pnetwork->network.Configuration.DSConfig;
freq              663 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct iw_freq *fwrq = &wrqu->freq;
freq              705 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu->freq.m = ieee80211_wlan_frequencies[
freq              707 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu->freq.e = 1;
freq              708 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu->freq.i = pcur_bss->Configuration.DSConfig;
freq              901 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		range->freq[val].i = i + 1;
freq              902 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		range->freq[val].m = ieee80211_wlan_frequencies[i] * 100000;
freq              903 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		range->freq[val].e = 1;
freq               43 drivers/staging/rtl8723bs/core/rtw_rf.c 	u32 freq = 0;
freq               47 drivers/staging/rtl8723bs/core/rtw_rf.c 			freq = ch_freq_map[i].frequency;
freq               52 drivers/staging/rtl8723bs/core/rtw_rf.c 		freq = 2412;
freq               54 drivers/staging/rtl8723bs/core/rtw_rf.c 	return freq;
freq              547 drivers/staging/rtl8723bs/include/ieee80211.h 	u8 freq;
freq              114 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->rtw_wdev, freq, sig_dbm, buf, len, 0)
freq              241 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	u32 freq;
freq              321 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	freq = rtw_ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ);
freq              323 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	notify_channel = ieee80211_get_channel(wiphy, freq);
freq              400 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	u32 freq;
freq              405 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	freq = rtw_ieee80211_channel_to_frequency(pnetwork->Configuration.DSConfig, NL80211_BAND_2GHZ);
freq              407 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	notify_channel = ieee80211_get_channel(padapter->rtw_wdev->wiphy, freq);
freq              424 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	int freq = (int)cur_network->network.Configuration.DSConfig;
freq              470 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	chan = ieee80211_get_channel(wiphy, freq);
freq              525 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		u32 freq;
freq              529 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		freq = rtw_ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ);
freq              531 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		notify_channel = ieee80211_get_channel(wiphy, freq);
freq             2989 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	s32 freq;
freq             3003 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	freq = rtw_ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ);
freq             3005 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	rtw_cfg80211_rx_mgmt(adapter, freq, 0, frame, frame_len, GFP_ATOMIC);
freq              180 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000;
freq              181 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	iwe.u.freq.e = 1;
freq              182 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	iwe.u.freq.i = pnetwork->network.Configuration.DSConfig;
freq              832 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.m = rtw_ch2freq(pcur_bss->Configuration.DSConfig) * 100000;
freq              833 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.e = 1;
freq              834 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.i = pcur_bss->Configuration.DSConfig;
freq              837 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000;
freq              838 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.e = 1;
freq              839 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		wrqu->freq.i = padapter->mlmeextpriv.cur_channel;
freq             1080 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			range->freq[val].i = pmlmeext->channel_set[i].ChannelNum;
freq             1081 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			range->freq[val].m = rtw_ch2freq(pmlmeext->channel_set[i].ChannelNum) * 100000;
freq             1082 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			range->freq[val].e = 1;
freq               71 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 	u32 freq;
freq               90 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 		freq =
freq               94 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 		ch = ieee80211_get_channel(wiphy, freq);
freq              278 drivers/staging/speakup/main.c 	short freq;
freq              281 drivers/staging/speakup/main.c 	freq = vals[val % 12];
freq              283 drivers/staging/speakup/main.c 		freq *= (1 << (val / 12));
freq              284 drivers/staging/speakup/main.c 	spk_unprocessed_sound.freq = freq;
freq               62 drivers/staging/speakup/speakup_dtlk.c 	__ATTR(freq, 0644, spk_var_show, spk_var_store);
freq               43 drivers/staging/speakup/speakup_ltlk.c 	__ATTR(freq, 0644, spk_var_show, spk_var_store);
freq               59 drivers/staging/speakup/speakup_soft.c 	__ATTR(freq, 0644, spk_var_show, spk_var_store);
freq              216 drivers/staging/speakup/spk_types.h 	short freq;
freq               19 drivers/staging/speakup/thread.c 	our_sound.freq = 0;
freq               49 drivers/staging/speakup/thread.c 			kd_mksound(our_sound.freq, our_sound.jiffies);
freq               94 drivers/staging/vt6655/dpc.c 	rx_status.freq = hw->conf.chandef.chan->center_freq;
freq              143 drivers/staging/vt6656/dpc.c 	rx_status.freq = hw->conf.chandef.chan->center_freq;
freq               82 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		s32 freq;
freq               90 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		freq = ieee80211_channel_to_frequency((s32)info->ch,
freq               92 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		channel = ieee80211_get_channel(wiphy, freq);
freq              243 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		u16 freq = request->channels[i]->center_freq;
freq              245 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		scan_ch_list[i] = ieee80211_frequency_to_channel(freq);
freq             1028 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	s32 freq;
freq             1046 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	freq = ieee80211_channel_to_frequency(wl->op_ch, NL80211_BAND_2GHZ);
freq             1050 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0);
freq             1086 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	cfg80211_rx_mgmt(&priv->wdev, freq, 0, buff, size, 0);
freq              343 drivers/staging/wlan-ng/cfg80211.c 		int freq;
freq              359 drivers/staging/wlan-ng/cfg80211.c 		freq = ieee80211_channel_to_frequency(msg2.dschannel.data,
freq              362 drivers/staging/wlan-ng/cfg80211.c 			ieee80211_get_channel(wiphy, freq),
freq               96 drivers/thermal/clock_cooling.c 	unsigned int freq = CPUFREQ_ENTRY_INVALID;
freq              108 drivers/thermal/clock_cooling.c 		if (freq == pos->frequency)
freq              112 drivers/thermal/clock_cooling.c 		if (freq != CPUFREQ_ENTRY_INVALID && descend == -1)
freq              113 drivers/thermal/clock_cooling.c 			descend = freq > pos->frequency;
freq              115 drivers/thermal/clock_cooling.c 		freq = pos->frequency;
freq              138 drivers/thermal/clock_cooling.c 		if (freq == pos->frequency)
freq              142 drivers/thermal/clock_cooling.c 		freq = pos->frequency;
freq              144 drivers/thermal/clock_cooling.c 		if (property == GET_LEVEL && (unsigned int)input == freq) {
freq              151 drivers/thermal/clock_cooling.c 			*output = freq;
freq              172 drivers/thermal/clock_cooling.c 				      unsigned long freq)
freq              177 drivers/thermal/clock_cooling.c 	if (clock_cooling_get_property(ccdev, (unsigned long)freq, &val,
freq              202 drivers/thermal/clock_cooling.c 	unsigned long freq;
freq              204 drivers/thermal/clock_cooling.c 	ret = clock_cooling_get_property(ccdev, level, &freq, GET_FREQ);
freq              208 drivers/thermal/clock_cooling.c 	return freq;
freq              108 drivers/thermal/cpu_cooling.c 			       unsigned int freq)
freq              114 drivers/thermal/cpu_cooling.c 		if (freq > freq_table[level].frequency)
freq              161 drivers/thermal/cpu_cooling.c 		unsigned long freq = freq_table[i].frequency * 1000;
freq              170 drivers/thermal/cpu_cooling.c 		opp = dev_pm_opp_find_freq_ceil(dev, &freq);
freq              173 drivers/thermal/cpu_cooling.c 				freq);
freq              195 drivers/thermal/cpu_cooling.c 			     u32 freq)
freq              201 drivers/thermal/cpu_cooling.c 		if (freq > freq_table[i].frequency)
freq              260 drivers/thermal/cpu_cooling.c 			     unsigned long freq)
freq              264 drivers/thermal/cpu_cooling.c 	raw_cpu_power = cpu_freq_to_power(cpufreq_cdev, freq);
freq              365 drivers/thermal/cpu_cooling.c 	unsigned long freq;
freq              372 drivers/thermal/cpu_cooling.c 	freq = cpufreq_quick_get(policy->cpu);
freq              397 drivers/thermal/cpu_cooling.c 	*power = get_dynamic_power(cpufreq_cdev, freq);
freq              400 drivers/thermal/cpu_cooling.c 		trace_thermal_power_cpu_get_power(policy->related_cpus, freq,
freq              428 drivers/thermal/cpu_cooling.c 	unsigned int freq, num_cpus;
freq              437 drivers/thermal/cpu_cooling.c 	freq = cpufreq_cdev->freq_table[state].frequency;
freq              438 drivers/thermal/cpu_cooling.c 	*power = cpu_freq_to_power(cpufreq_cdev, freq) * num_cpus;
freq              535 drivers/thermal/cpu_cooling.c 	unsigned int freq, i, num_cpus;
freq              595 drivers/thermal/cpu_cooling.c 	for (i = 0, freq = -1; i <= cpufreq_cdev->max_level; i++) {
freq              596 drivers/thermal/cpu_cooling.c 		freq = find_next_max(policy->freq_table, freq);
freq              597 drivers/thermal/cpu_cooling.c 		cpufreq_cdev->freq_table[i].frequency = freq;
freq              600 drivers/thermal/cpu_cooling.c 		if (!freq)
freq              603 drivers/thermal/cpu_cooling.c 			pr_debug("%s: freq:%u KHz\n", __func__, freq);
freq               87 drivers/thermal/devfreq_cooling.c 		unsigned int freq = dfc->freq_table[i];
freq               90 drivers/thermal/devfreq_cooling.c 		opp = dev_pm_opp_find_freq_exact(dev, freq, !want_enable);
freq              100 drivers/thermal/devfreq_cooling.c 			ret = dev_pm_opp_enable(dev, freq);
freq              102 drivers/thermal/devfreq_cooling.c 			ret = dev_pm_opp_disable(dev, freq);
freq              165 drivers/thermal/devfreq_cooling.c freq_get_state(struct devfreq_cooling_device *dfc, unsigned long freq)
freq              170 drivers/thermal/devfreq_cooling.c 		if (dfc->freq_table[i] == freq)
freq              177 drivers/thermal/devfreq_cooling.c static unsigned long get_voltage(struct devfreq *df, unsigned long freq)
freq              183 drivers/thermal/devfreq_cooling.c 	opp = dev_pm_opp_find_freq_exact(dev, freq, true);
freq              185 drivers/thermal/devfreq_cooling.c 		opp = dev_pm_opp_find_freq_exact(dev, freq, false);
freq              189 drivers/thermal/devfreq_cooling.c 				    freq, PTR_ERR(opp));
freq              199 drivers/thermal/devfreq_cooling.c 				    freq);
freq              216 drivers/thermal/devfreq_cooling.c get_static_power(struct devfreq_cooling_device *dfc, unsigned long freq)
freq              224 drivers/thermal/devfreq_cooling.c 	voltage = get_voltage(df, freq);
freq              245 drivers/thermal/devfreq_cooling.c get_dynamic_power(struct devfreq_cooling_device *dfc, unsigned long freq,
freq              253 drivers/thermal/devfreq_cooling.c 		return dfc_power->get_dynamic_power(dfc->devfreq, freq,
freq              256 drivers/thermal/devfreq_cooling.c 	freq_mhz = freq / 1000000;
freq              265 drivers/thermal/devfreq_cooling.c 					    unsigned long freq,
freq              268 drivers/thermal/devfreq_cooling.c 	return get_static_power(dfc, freq) + get_dynamic_power(dfc, freq,
freq              281 drivers/thermal/devfreq_cooling.c 	unsigned long freq = status->current_frequency;
freq              287 drivers/thermal/devfreq_cooling.c 	state = freq_get_state(dfc, freq);
freq              294 drivers/thermal/devfreq_cooling.c 		voltage = get_voltage(df, freq);
freq              300 drivers/thermal/devfreq_cooling.c 		res = dfc->power_ops->get_real_power(df, power, freq, voltage);
freq              318 drivers/thermal/devfreq_cooling.c 		static_power = get_static_power(dfc, freq);
freq              323 drivers/thermal/devfreq_cooling.c 	trace_thermal_power_devfreq_get_power(cdev, status, freq, dyn_power,
freq              339 drivers/thermal/devfreq_cooling.c 	unsigned long freq;
freq              345 drivers/thermal/devfreq_cooling.c 	freq = dfc->freq_table[state];
freq              346 drivers/thermal/devfreq_cooling.c 	static_power = get_static_power(dfc, freq);
freq              359 drivers/thermal/devfreq_cooling.c 	unsigned long freq = status->current_frequency;
freq              371 drivers/thermal/devfreq_cooling.c 		static_power = get_static_power(dfc, freq);
freq              391 drivers/thermal/devfreq_cooling.c 	trace_thermal_power_devfreq_limit(cdev, freq, *state, power);
freq              424 drivers/thermal/devfreq_cooling.c 	unsigned long freq;
freq              445 drivers/thermal/devfreq_cooling.c 	for (i = 0, freq = ULONG_MAX; i < num_opps; i++, freq--) {
freq              449 drivers/thermal/devfreq_cooling.c 		opp = dev_pm_opp_find_freq_floor(dev, &freq);
freq              460 drivers/thermal/devfreq_cooling.c 				power = get_total_power(dfc, freq, voltage);
freq              462 drivers/thermal/devfreq_cooling.c 				power = get_dynamic_power(dfc, freq, voltage);
freq              465 drivers/thermal/devfreq_cooling.c 				freq / 1000000, voltage, power, power);
freq              470 drivers/thermal/devfreq_cooling.c 		freq_table[i] = freq;
freq               51 drivers/tty/serial/8250/8250_lpss.c 	unsigned long freq;
freq               77 drivers/tty/serial/8250/8250_lpss.c 	unsigned long fref = lpss->board->freq, fuart = baud * 16;
freq              354 drivers/tty/serial/8250/8250_lpss.c 	.freq = 100000000,
freq              360 drivers/tty/serial/8250/8250_lpss.c 	.freq = 200000000,
freq              365 drivers/tty/serial/8250/8250_lpss.c 	.freq = 44236800,
freq               36 drivers/tty/serial/8250/8250_mid.c 	unsigned long freq;
freq              213 drivers/tty/serial/8250/8250_mid.c 	if (mid->board->freq < fuart) {
freq              215 drivers/tty/serial/8250/8250_mid.c 		if (mid->board->freq > baud)
freq              216 drivers/tty/serial/8250/8250_mid.c 			ps = mid->board->freq / baud;	/* baud rate too high */
freq              222 drivers/tty/serial/8250/8250_mid.c 		fuart *= rounddown_pow_of_two(mid->board->freq / fuart);
freq              225 drivers/tty/serial/8250/8250_mid.c 	rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div);
freq              351 drivers/tty/serial/8250/8250_mid.c 	.freq = 50000000,
freq              358 drivers/tty/serial/8250/8250_mid.c 	.freq = 38400000,
freq              365 drivers/tty/serial/8250/8250_mid.c 	.freq = 133333333,
freq               31 drivers/tty/serial/ip22zilog.h #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
freq               32 drivers/tty/serial/ip22zilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
freq              556 drivers/tty/serial/max310x.c 			       unsigned long freq, bool xtal)
freq              560 drivers/tty/serial/max310x.c 	unsigned long fdiv, fmul, bestfreq = freq;
freq              563 drivers/tty/serial/max310x.c 	max310x_update_best_err(freq, &besterr);
freq              567 drivers/tty/serial/max310x.c 		fdiv = DIV_ROUND_CLOSEST(freq, div);
freq             1256 drivers/tty/serial/max310x.c 	int i, ret, fmin, fmax, freq, uartclk;
freq             1294 drivers/tty/serial/max310x.c 	freq = clk_get_rate(s->clk);
freq             1296 drivers/tty/serial/max310x.c 	if (freq < fmin || freq > fmax) {
freq             1329 drivers/tty/serial/max310x.c 	uartclk = max310x_set_ref_clk(dev, s, freq, xtal);
freq              117 drivers/tty/serial/pmac_zilog.h #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
freq              118 drivers/tty/serial/pmac_zilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
freq             1182 drivers/tty/serial/sc16is7xx.c 	unsigned long freq = 0, *pfreq = dev_get_platdata(dev);
freq             1203 drivers/tty/serial/sc16is7xx.c 			freq = uartclk;
freq             1205 drivers/tty/serial/sc16is7xx.c 			freq = *pfreq;
freq             1206 drivers/tty/serial/sc16is7xx.c 		if (freq)
freq             1207 drivers/tty/serial/sc16is7xx.c 			dev_dbg(dev, "Clock frequency: %luHz\n", freq);
freq             1215 drivers/tty/serial/sc16is7xx.c 		freq = clk_get_rate(s->clk);
freq             1265 drivers/tty/serial/sc16is7xx.c 		s->p[i].port.uartclk	= freq;
freq             2214 drivers/tty/serial/sh-sci.c 	unsigned long freq = s->clk_rates[SCI_SCK];
freq             2219 drivers/tty/serial/sh-sci.c 		freq *= 2;
freq             2222 drivers/tty/serial/sh-sci.c 		err = DIV_ROUND_CLOSEST(freq, sr) - bps;
freq             2239 drivers/tty/serial/sh-sci.c 			unsigned long freq, unsigned int *dlr,
freq             2246 drivers/tty/serial/sh-sci.c 		freq *= 2;
freq             2249 drivers/tty/serial/sh-sci.c 		dl = DIV_ROUND_CLOSEST(freq, sr * bps);
freq             2252 drivers/tty/serial/sh-sci.c 		err = DIV_ROUND_CLOSEST(freq, sr * dl) - bps;
freq             2274 drivers/tty/serial/sh-sci.c 	unsigned long freq = s->clk_rates[SCI_FCK];
freq             2279 drivers/tty/serial/sh-sci.c 		freq *= 2;
freq             2314 drivers/tty/serial/sh-sci.c 			br = DIV_ROUND_CLOSEST(freq, scrate);
freq             2317 drivers/tty/serial/sh-sci.c 			err = DIV_ROUND_CLOSEST(freq, br * prediv) - bps;
freq               23 drivers/tty/serial/sunzilog.h #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
freq               24 drivers/tty/serial/sunzilog.h #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
freq               52 drivers/tty/serial/zs.h #define ZS_BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
freq               53 drivers/tty/serial/zs.h #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
freq               32 drivers/usb/gadget/udc/fsl_mxc_udc.c 	unsigned long freq;
freq               61 drivers/usb/gadget/udc/fsl_mxc_udc.c 		freq = clk_get_rate(mxc_per_clk);
freq               63 drivers/usb/gadget/udc/fsl_mxc_udc.c 		    (freq < 59999000 || freq > 60001000)) {
freq               64 drivers/usb/gadget/udc/fsl_mxc_udc.c 			dev_err(&pdev->dev, "USB_CLK=%lu, should be 60MHz\n", freq);
freq              154 drivers/usb/phy/phy-tegra-usb.c 	int freq;
freq              164 drivers/usb/phy/phy-tegra-usb.c 		.freq = 12000000,
freq              172 drivers/usb/phy/phy-tegra-usb.c 		.freq = 13000000,
freq              180 drivers/usb/phy/phy-tegra-usb.c 		.freq = 19200000,
freq              188 drivers/usb/phy/phy-tegra-usb.c 		.freq = 26000000,
freq              481 drivers/usb/phy/phy-tegra-usb.c 	val |= UTMIP_BIAS_DEBOUNCE_A(phy->freq->debounce);
freq              492 drivers/usb/phy/phy-tegra-usb.c 		val |= UTMIP_PLL_ACTIVE_DLY_COUNT(phy->freq->active_delay) |
freq              493 drivers/usb/phy/phy-tegra-usb.c 			UTMIP_PLLU_STABLE_COUNT(phy->freq->stable_count);
freq              499 drivers/usb/phy/phy-tegra-usb.c 		val |= UTMIP_XTAL_FREQ_COUNT(phy->freq->xtal_freq_count) |
freq              500 drivers/usb/phy/phy-tegra-usb.c 			UTMIP_PLLU_ENABLE_DLY_COUNT(phy->freq->enable_delay);
freq              858 drivers/usb/phy/phy-tegra-usb.c 		if (tegra_freq_table[i].freq == parent_rate) {
freq              859 drivers/usb/phy/phy-tegra-usb.c 			phy->freq = &tegra_freq_table[i];
freq              863 drivers/usb/phy/phy-tegra-usb.c 	if (!phy->freq) {
freq              339 drivers/usb/serial/iuu_phoenix.c 				 u8 b2, u8 freq)
freq              348 drivers/usb/serial/iuu_phoenix.c 	*buf = freq;
freq              305 drivers/video/fbdev/arkfb.c 	int (*dac_set_freq)(struct dac_info *info, int channel, u32 freq);
freq              349 drivers/video/fbdev/arkfb.c static inline int dac_set_freq(struct dac_info *info, int channel, u32 freq)
freq              351 drivers/video/fbdev/arkfb.c 	return info->dacops->dac_set_freq(info, channel, freq);
freq              408 drivers/video/fbdev/arkfb.c static int ics5342_set_freq(struct dac_info *info, int channel, u32 freq)
freq              415 drivers/video/fbdev/arkfb.c 				  freq, &m, &n, &r, 0);
freq             1531 drivers/video/fbdev/aty/radeon_base.c 				 unsigned long freq)
freq             1598 drivers/video/fbdev/aty/radeon_base.c 	if (freq > rinfo->pll.ppll_max)
freq             1599 drivers/video/fbdev/aty/radeon_base.c 		freq = rinfo->pll.ppll_max;
freq             1600 drivers/video/fbdev/aty/radeon_base.c 	if (freq*12 < rinfo->pll.ppll_min)
freq             1601 drivers/video/fbdev/aty/radeon_base.c 		freq = rinfo->pll.ppll_min / 12;
freq             1603 drivers/video/fbdev/aty/radeon_base.c 	       freq, rinfo->pll.ppll_min, rinfo->pll.ppll_max);
freq             1606 drivers/video/fbdev/aty/radeon_base.c 		pll_output_freq = post_div->divider * freq;
freq             1621 drivers/video/fbdev/aty/radeon_base.c 		pll_output_freq = post_div->divider * freq;
freq             1631 drivers/video/fbdev/aty/radeon_base.c 		pll_output_freq = post_div->divider * freq;
freq             1657 drivers/video/fbdev/aty/radeon_base.c 	int i, freq;
freq             1714 drivers/video/fbdev/aty/radeon_base.c 	freq = dotClock / 10; /* x100 */
freq             1836 drivers/video/fbdev/aty/radeon_base.c 	pr_debug("freq = %lu\n", (unsigned long)freq);
freq             1843 drivers/video/fbdev/aty/radeon_base.c 		radeon_calc_pll_regs(rinfo, newmode, freq);
freq              408 drivers/video/fbdev/cirrusfb.c static void bestclock(long freq, int *nom, int *den, int *div);
freq              449 drivers/video/fbdev/cirrusfb.c static int cirrusfb_check_mclk(struct fb_info *info, long freq)
freq              462 drivers/video/fbdev/cirrusfb.c 	if (abs(freq - mclk) < 250) {
freq              465 drivers/video/fbdev/cirrusfb.c 	} else if (abs(freq - (mclk / 2)) < 250) {
freq              476 drivers/video/fbdev/cirrusfb.c 	long freq;
freq              482 drivers/video/fbdev/cirrusfb.c 	freq = PICOS2KHZ(var->pixclock);
freq              484 drivers/video/fbdev/cirrusfb.c 	dev_dbg(info->device, "desired pixclock: %ld kHz\n", freq);
freq              491 drivers/video/fbdev/cirrusfb.c 	if (freq > maxclock) {
freq              506 drivers/video/fbdev/cirrusfb.c 			if (freq > 85500)
freq              510 drivers/video/fbdev/cirrusfb.c 			if (freq > 135100)
freq              668 drivers/video/fbdev/cirrusfb.c 	long freq;
freq              836 drivers/video/fbdev/cirrusfb.c 	freq = PICOS2KHZ(var->pixclock);
freq              839 drivers/video/fbdev/cirrusfb.c 			freq *= 3;
freq              841 drivers/video/fbdev/cirrusfb.c 		freq /= 2;
freq              843 drivers/video/fbdev/cirrusfb.c 		freq *= 2;
freq              845 drivers/video/fbdev/cirrusfb.c 	bestclock(freq, &nom, &den, &div);
freq              848 drivers/video/fbdev/cirrusfb.c 		freq, nom, den, div);
freq              860 drivers/video/fbdev/cirrusfb.c 		int divMCLK = cirrusfb_check_mclk(info, freq);
freq             2738 drivers/video/fbdev/cirrusfb.c static void bestclock(long freq, int *nom, int *den, int *div)
freq             2751 drivers/video/fbdev/cirrusfb.c 	if (freq < 8000)
freq             2752 drivers/video/fbdev/cirrusfb.c 		freq = 8000;
freq             2754 drivers/video/fbdev/cirrusfb.c 	diff = freq;
freq             2759 drivers/video/fbdev/cirrusfb.c 		d = (14318 * n) / freq;
freq             2768 drivers/video/fbdev/cirrusfb.c 			h = h > freq ? h - freq : freq - h;
freq             2783 drivers/video/fbdev/cirrusfb.c 			h = h > freq ? h - freq : freq - h;
freq               32 drivers/video/fbdev/geode/lxfb_ops.c   unsigned int freq;
freq              163 drivers/video/fbdev/geode/lxfb_ops.c 	unsigned int freq, i;
freq              165 drivers/video/fbdev/geode/lxfb_ops.c 	freq = (unsigned int) (1000000000 / info->var.pixclock);
freq              167 drivers/video/fbdev/geode/lxfb_ops.c 	min = abs(pll_table[0].freq - freq);
freq              170 drivers/video/fbdev/geode/lxfb_ops.c 		diff = abs(pll_table[i].freq - freq);
freq              209 drivers/video/fbdev/i740fb.c static u32 i740_calc_fifo(struct i740fb_par *par, u32 freq, int bpp)
freq              223 drivers/video/fbdev/i740fb.c 		if	(freq > 200)
freq              225 drivers/video/fbdev/i740fb.c 		else if (freq > 175)
freq              227 drivers/video/fbdev/i740fb.c 		else if (freq > 135)
freq              235 drivers/video/fbdev/i740fb.c 			if	(freq > 140)
freq              237 drivers/video/fbdev/i740fb.c 			else if (freq > 120)
freq              239 drivers/video/fbdev/i740fb.c 			else if (freq > 100)
freq              241 drivers/video/fbdev/i740fb.c 			else if (freq >  90)
freq              243 drivers/video/fbdev/i740fb.c 			else if (freq >  50)
freq              245 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              250 drivers/video/fbdev/i740fb.c 			if	(freq > 160)
freq              252 drivers/video/fbdev/i740fb.c 			else if (freq > 140)
freq              254 drivers/video/fbdev/i740fb.c 			else if (freq > 130)
freq              256 drivers/video/fbdev/i740fb.c 			else if (freq > 120)
freq              258 drivers/video/fbdev/i740fb.c 			else if (freq > 100)
freq              260 drivers/video/fbdev/i740fb.c 			else if (freq >  90)
freq              262 drivers/video/fbdev/i740fb.c 			else if (freq >  50)
freq              264 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              272 drivers/video/fbdev/i740fb.c 			if	(freq > 130)
freq              274 drivers/video/fbdev/i740fb.c 			else if (freq > 120)
freq              276 drivers/video/fbdev/i740fb.c 			else if (freq > 100)
freq              278 drivers/video/fbdev/i740fb.c 			else if (freq >  80)
freq              280 drivers/video/fbdev/i740fb.c 			else if (freq >  64)
freq              282 drivers/video/fbdev/i740fb.c 			else if (freq >  49)
freq              284 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              289 drivers/video/fbdev/i740fb.c 			if	(freq > 120)
freq              291 drivers/video/fbdev/i740fb.c 			else if (freq > 100)
freq              293 drivers/video/fbdev/i740fb.c 			else if (freq >  80)
freq              295 drivers/video/fbdev/i740fb.c 			else if (freq >  64)
freq              297 drivers/video/fbdev/i740fb.c 			else if (freq >  49)
freq              299 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              307 drivers/video/fbdev/i740fb.c 			if	(freq >  80)
freq              309 drivers/video/fbdev/i740fb.c 			else if (freq >  60)
freq              311 drivers/video/fbdev/i740fb.c 			else if (freq >  49)
freq              313 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              318 drivers/video/fbdev/i740fb.c 			if	(freq >  80)
freq              320 drivers/video/fbdev/i740fb.c 			else if (freq >  60)
freq              322 drivers/video/fbdev/i740fb.c 			else if (freq >  49)
freq              324 drivers/video/fbdev/i740fb.c 			else if (freq >  32)
freq              344 drivers/video/fbdev/i740fb.c static void i740_calc_vclk(u32 freq, struct i740fb_par *par)
freq              346 drivers/video/fbdev/i740fb.c 	const u32 err_max    = freq / (200  * I740_RFREQ / I740_FFIX);
freq              347 drivers/video/fbdev/i740fb.c 	const u32 err_target = freq / (1000 * I740_RFREQ / I740_FFIX);
freq              353 drivers/video/fbdev/i740fb.c 	p_best = min(15, ilog2(I740_MAX_VCO_FREQ / (freq / I740_RFREQ_FIX)));
freq              354 drivers/video/fbdev/i740fb.c 	f_vco = (freq * (1 << p_best)) / I740_RFREQ_FIX;
freq              355 drivers/video/fbdev/i740fb.c 	freq = freq / I740_RFREQ_FIX;
freq              369 drivers/video/fbdev/i740fb.c 			f_err = (freq - f_out);
freq               26 drivers/video/fbdev/i810/i810_gtf.c    u32 freq;
freq              265 drivers/video/fbdev/i810/i810_gtf.c 		if (pixclock <= wmark[i].freq) 
freq              266 drivers/video/fbdev/i810/i810_gtf.c 			diff = wmark[i].freq - pixclock;
freq              268 drivers/video/fbdev/i810/i810_gtf.c 			diff = pixclock - wmark[i].freq;
freq              706 drivers/video/fbdev/i810/i810_main.c static void i810_calc_dclk(u32 freq, u32 *m, u32 *n, u32 *p)
freq              715 drivers/video/fbdev/i810/i810_main.c 	target_freq =  freq;
freq               38 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 			      unsigned int freq, unsigned int fmax,
freq               49 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 	fvco = PLL_calcclock(minfo, freq, fmax, in, feed, &p);
freq              657 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 				int freq)
freq              663 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 	DAC1064_calcclock(minfo, freq, minfo->max_pixel_clock, &m, &n, &p);
freq              284 drivers/video/fbdev/matrox/matroxfb_Ti3026.c 			    unsigned int freq, unsigned int fmax, int *in,
freq              292 drivers/video/fbdev/matrox/matroxfb_Ti3026.c 	fvco = PLL_calcclock(minfo, freq, fmax, &lin, &lfeed, &lpost);
freq              321 drivers/video/fbdev/matrox/matroxfb_maven.c static void DAC1064_calcclock(unsigned int freq, unsigned int fmax,
freq              326 drivers/video/fbdev/matrox/matroxfb_maven.c 	fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p);
freq              129 drivers/video/fbdev/matrox/matroxfb_misc.c int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
freq              139 drivers/video/fbdev/matrox/matroxfb_misc.c 	fwant = freq;
freq              144 drivers/video/fbdev/matrox/matroxfb_misc.c 	printk(KERN_ERR "freq: %d\n", freq);
freq                8 drivers/video/fbdev/matrox/matroxfb_misc.h int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
freq               11 drivers/video/fbdev/matrox/matroxfb_misc.h 				unsigned int freq, unsigned int fmax,
freq               15 drivers/video/fbdev/matrox/matroxfb_misc.h 	return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
freq              203 drivers/video/fbdev/neofb.c 			struct neofb_par *par, long freq)
freq              216 drivers/video/fbdev/neofb.c 				f_diff = abs(f_out - freq);
freq              223 drivers/video/fbdev/neofb.c 				if (f_out > freq)
freq              242 drivers/video/fbdev/neofb.c 	       freq,
freq             1664 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	unsigned int freq;
freq             1683 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	freq = auto_update_freq;
freq             1684 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (freq == 0)
freq             1685 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		freq = 20;
freq             1687 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			&d->auto_update_work, HZ / freq);
freq              151 drivers/video/fbdev/pm3fb.c 	unsigned long freq;
freq              158 drivers/video/fbdev/pm3fb.c 				freq = ((2*PM3_REF_CLOCK * f) >> post) / pre;
freq              159 drivers/video/fbdev/pm3fb.c 				currerr = (reqclock > freq)
freq              160 drivers/video/fbdev/pm3fb.c 					? reqclock - freq
freq              161 drivers/video/fbdev/pm3fb.c 					: freq - reqclock;
freq              415 drivers/video/fbdev/savage/savagefb_driver.c static void SavageCalcClock(long freq, int min_m, int min_n1, int max_n1,
freq              424 drivers/video/fbdev/savage/savagefb_driver.c 	if (freq < freq_min / (1 << max_n2)) {
freq              425 drivers/video/fbdev/savage/savagefb_driver.c 		printk(KERN_ERR "invalid frequency %ld Khz\n", freq);
freq              426 drivers/video/fbdev/savage/savagefb_driver.c 		freq = freq_min / (1 << max_n2);
freq              428 drivers/video/fbdev/savage/savagefb_driver.c 	if (freq > freq_max / (1 << min_n2)) {
freq              429 drivers/video/fbdev/savage/savagefb_driver.c 		printk(KERN_ERR "invalid frequency %ld Khz\n", freq);
freq              430 drivers/video/fbdev/savage/savagefb_driver.c 		freq = freq_max / (1 << min_n2);
freq              434 drivers/video/fbdev/savage/savagefb_driver.c 	best_diff = freq;
freq              438 drivers/video/fbdev/savage/savagefb_driver.c 			m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) /
freq              444 drivers/video/fbdev/savage/savagefb_driver.c 				diff = freq * (1 << n2) * n1 - BASE_FREQ * m;
freq              462 drivers/video/fbdev/savage/savagefb_driver.c static int common_calc_clock(long freq, int min_m, int min_n1, int max_n1,
freq              472 drivers/video/fbdev/savage/savagefb_driver.c 	best_diff = freq;
freq              476 drivers/video/fbdev/savage/savagefb_driver.c 			m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) /
freq              482 drivers/video/fbdev/savage/savagefb_driver.c 				diff = freq * (1 << n2) * n1 - BASE_FREQ * m;
freq              291 drivers/video/fbdev/sstfb.c static int sst_calc_pll(const int freq, int *freq_out, struct pll_timing *t)
freq              297 drivers/video/fbdev/sstfb.c 	best_err = freq;
freq              300 drivers/video/fbdev/sstfb.c 	while (((1 << p) * freq > VCO_MAX) && (p >= 0))
freq              306 drivers/video/fbdev/sstfb.c 		m2 = (2 * freq * (1 << p) * (n + 2) ) / DAC_FREF - 4 ;
freq              312 drivers/video/fbdev/sstfb.c 		if ((abs(fout - freq) < best_err) && (m > 0)) {
freq              315 drivers/video/fbdev/sstfb.c 			best_err = abs(fout - freq);
freq              317 drivers/video/fbdev/sstfb.c 			if (200*best_err < freq) break;
freq              359 drivers/video/fbdev/sstfb.c 	unsigned int freq;
freq              361 drivers/video/fbdev/sstfb.c 	if (sst_calc_pll(PICOS2KHZ(var->pixclock), &freq, &par->pll)) {
freq              366 drivers/video/fbdev/sstfb.c 	var->pixclock = KHZ2PICOS(freq);
freq              482 drivers/video/fbdev/sstfb.c 	unsigned int freq;
freq              493 drivers/video/fbdev/sstfb.c 	sst_calc_pll(PICOS2KHZ(info->var.pixclock), &freq, &par->pll);
freq              289 drivers/video/fbdev/tdfxfb.c static u32 do_calc_pll(int freq, int *freq_out)
freq              294 drivers/video/fbdev/tdfxfb.c 	best_error = freq;
freq              303 drivers/video/fbdev/tdfxfb.c 			int n_estimated = ((freq * (m + 2) << k) / fref) - 2;
freq              314 drivers/video/fbdev/tdfxfb.c 				int error = abs(f - freq);
freq              554 drivers/video/fbdev/tdfxfb.c 	int fout, freq;
freq              566 drivers/video/fbdev/tdfxfb.c 	freq = PICOS2KHZ(info->var.pixclock);
freq              570 drivers/video/fbdev/tdfxfb.c 	if (freq > par->max_pixclock / 2) {
freq              571 drivers/video/fbdev/tdfxfb.c 		freq = freq > par->max_pixclock ? par->max_pixclock : freq;
freq              698 drivers/video/fbdev/tdfxfb.c 	reg.vidpll = do_calc_pll(freq, &fout);
freq              836 drivers/video/fbdev/tridentfb.c static void set_vclk(struct tridentfb_par *par, unsigned long freq)
freq              850 drivers/video/fbdev/tridentfb.c 				di = abs(fi - freq);
freq              857 drivers/video/fbdev/tridentfb.c 				if (fi > freq)
freq               53 drivers/video/fbdev/w100fb.c struct w100_pll_info *w100_get_xtal_table(unsigned int freq);
freq             1018 drivers/video/fbdev/w100fb.c struct w100_pll_info *w100_get_xtal_table(unsigned int freq)
freq             1023 drivers/video/fbdev/w100fb.c 		if (freq == pll_entry->xtal_freq)
freq             1185 drivers/video/fbdev/w100fb.c static int w100_set_pll_freq(struct w100fb_par *par, unsigned int freq)
freq             1190 drivers/video/fbdev/w100fb.c 		if (freq == pll->freq) {
freq             1194 drivers/video/fbdev/w100fb.c 	} while(pll->freq);
freq             1341 drivers/video/hdmi.c hdmi_audio_sample_frequency_get_name(enum hdmi_audio_sample_frequency freq)
freq             1343 drivers/video/hdmi.c 	switch (freq) {
freq               65 drivers/w1/masters/ds1wm.c 	unsigned long freq;
freq               67 drivers/w1/masters/ds1wm.c } freq[] = {
freq              301 drivers/w1/masters/ds1wm.c 	for (i = ARRAY_SIZE(freq)-1; i >= 0; --i)
freq              302 drivers/w1/masters/ds1wm.c 		if (gclk >= freq[i].freq)
freq              303 drivers/w1/masters/ds1wm.c 			return freq[i].divisor;
freq               38 drivers/watchdog/asm9260_wdt.c #define BM_WDTC_MAX(freq)		(0x7fffffff / (freq))
freq               86 drivers/watchdog/coh901327_wdt.c 	unsigned long freq;
freq              101 drivers/watchdog/coh901327_wdt.c 	freq = clk_get_rate(clk);
freq              102 drivers/watchdog/coh901327_wdt.c 	delay_ns = DIV_ROUND_UP(1000000000, freq); /* Freq to ns and round up */
freq              120 drivers/watchdog/davinci_wdt.c 	unsigned long freq;
freq              129 drivers/watchdog/davinci_wdt.c 	freq = clk_get_rate(davinci_wdt->clk);
freq              131 drivers/watchdog/davinci_wdt.c 	if (!freq)
freq              137 drivers/watchdog/davinci_wdt.c 	do_div(timer_counter, freq);
freq              265 drivers/watchdog/gef_wdt.c 	u32 freq;
freq              269 drivers/watchdog/gef_wdt.c 	freq = fsl_get_sys_freq();
freq              270 drivers/watchdog/gef_wdt.c 	if (freq != -1)
freq              271 drivers/watchdog/gef_wdt.c 		bus_clk = freq;
freq              133 drivers/watchdog/mpc8xxx_wdt.c 	u32 freq = fsl_get_sys_freq();
freq              141 drivers/watchdog/mpc8xxx_wdt.c 	if (!freq || freq == -1)
freq              186 drivers/watchdog/mpc8xxx_wdt.c 	ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler,
freq              198 drivers/watchdog/mpc8xxx_wdt.c 					 (freq / 1000);
freq              192 drivers/watchdog/s3c2410_wdt.c 	unsigned long freq = clk_get_rate(clock);
freq              194 drivers/watchdog/s3c2410_wdt.c 	return S3C2410_WTCNT_MAXCNT / (freq / (S3C2410_WTCON_PRESCALE_MAX + 1)
freq              303 drivers/watchdog/s3c2410_wdt.c 	unsigned long freq = clk_get_rate(wdt->clock);
freq              311 drivers/watchdog/s3c2410_wdt.c 	freq = DIV_ROUND_UP(freq, 128);
freq              312 drivers/watchdog/s3c2410_wdt.c 	count = timeout * freq;
freq              315 drivers/watchdog/s3c2410_wdt.c 		count, timeout, freq);
freq              345 drivers/watchdog/s3c2410_wdt.c 	wdd->timeout = (count * divisor) / freq;
freq             1091 fs/nfs/filelayout/filelayout.c 	struct nfs_page *freq, *t;
freq             1098 fs/nfs/filelayout/filelayout.c 		list_for_each_entry_safe(freq, t, &b->written, wb_list) {
freq             1099 fs/nfs/filelayout/filelayout.c 			if (freq->wb_page == page)
freq             1100 fs/nfs/filelayout/filelayout.c 				return freq->wb_head;
freq             1102 fs/nfs/filelayout/filelayout.c 		list_for_each_entry_safe(freq, t, &b->committing, wb_list) {
freq             1103 fs/nfs/filelayout/filelayout.c 			if (freq->wb_page == page)
freq             1104 fs/nfs/filelayout/filelayout.c 				return freq->wb_head;
freq              835 fs/nfs/write.c 	struct nfs_page *freq, *t;
freq              842 fs/nfs/write.c 	freq = pnfs_search_commit_reqs(inode, &cinfo, page);
freq              843 fs/nfs/write.c 	if (freq)
freq              844 fs/nfs/write.c 		return freq->wb_head;
freq              847 fs/nfs/write.c 	list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) {
freq              848 fs/nfs/write.c 		if (freq->wb_page == page)
freq              849 fs/nfs/write.c 			return freq->wb_head;
freq              331 include/drm/drm_edid.h 	u8 freq;
freq               21 include/linux/alcor_pci.h #define MHZ_TO_HZ(freq)				((freq) * 1000 * 1000)
freq               38 include/linux/clock_cooling.h 				      unsigned long freq);
freq               51 include/linux/clock_cooling.h 				      unsigned long freq)
freq              187 include/linux/clockchips.h 					    u32 freq, unsigned long min_delta,
freq              190 include/linux/clockchips.h extern int clockevents_update_freq(struct clock_event_device *ce, u32 freq);
freq              193 include/linux/clockchips.h clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 maxsec)
freq              195 include/linux/clockchips.h 	return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec);
freq              127 include/linux/clocksource.h static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from)
freq              138 include/linux/clocksource.h 	tmp += freq/2; /* round for do_div */
freq              139 include/linux/clocksource.h 	do_div(tmp, freq);
freq              211 include/linux/clocksource.h __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq);
freq              213 include/linux/clocksource.h __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
freq              556 include/linux/cpufreq.h 					 unsigned int freq);
freq              709 include/linux/cpufreq.h 		unsigned int freq);
freq              725 include/linux/cpufreq.h 	unsigned int freq;
freq              729 include/linux/cpufreq.h 		freq = pos->frequency;
freq              731 include/linux/cpufreq.h 		if (freq >= target_freq)
freq              746 include/linux/cpufreq.h 	unsigned int freq;
freq              750 include/linux/cpufreq.h 		freq = pos->frequency;
freq              752 include/linux/cpufreq.h 		if (freq == target_freq)
freq              755 include/linux/cpufreq.h 		if (freq > target_freq) {
freq              788 include/linux/cpufreq.h 	unsigned int freq;
freq              792 include/linux/cpufreq.h 		freq = pos->frequency;
freq              794 include/linux/cpufreq.h 		if (freq == target_freq)
freq              797 include/linux/cpufreq.h 		if (freq < target_freq) {
freq              818 include/linux/cpufreq.h 	unsigned int freq;
freq              822 include/linux/cpufreq.h 		freq = pos->frequency;
freq              824 include/linux/cpufreq.h 		if (freq <= target_freq)
freq              851 include/linux/cpufreq.h 	unsigned int freq;
freq              855 include/linux/cpufreq.h 		freq = pos->frequency;
freq              857 include/linux/cpufreq.h 		if (freq == target_freq)
freq              860 include/linux/cpufreq.h 		if (freq < target_freq) {
freq              870 include/linux/cpufreq.h 		if (target_freq - table[best].frequency > freq - target_freq)
freq              885 include/linux/cpufreq.h 	unsigned int freq;
freq              889 include/linux/cpufreq.h 		freq = pos->frequency;
freq              891 include/linux/cpufreq.h 		if (freq == target_freq)
freq              894 include/linux/cpufreq.h 		if (freq > target_freq) {
freq              904 include/linux/cpufreq.h 		if (table[best].frequency - target_freq > target_freq - freq)
freq               99 include/linux/devfreq.h 	int (*target)(struct device *dev, unsigned long *freq, u32 flags);
freq              102 include/linux/devfreq.h 	int (*get_cur_freq)(struct device *dev, unsigned long *freq);
freq              218 include/linux/devfreq.h 					   unsigned long *freq, u32 flags);
freq              289 include/linux/devfreq.h 	int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
freq              338 include/linux/devfreq.h 					   unsigned long *freq, u32 flags)
freq               59 include/linux/devfreq_cooling.h 					   unsigned long freq,
freq               62 include/linux/devfreq_cooling.h 			      unsigned long freq, unsigned long voltage);
freq               21 include/linux/dw_apb_timer.h 	unsigned long				freq;
freq               44 include/linux/dw_apb_timer.h 		       void __iomem *base, int irq, unsigned long freq);
freq               47 include/linux/dw_apb_timer.h 			unsigned long freq);
freq               62 include/linux/energy_model.h 	int (*active_power)(unsigned long *power, unsigned long *freq, int cpu);
freq               82 include/linux/energy_model.h 	unsigned long freq, scale_cpu;
freq               94 include/linux/energy_model.h 	freq = map_util_freq(max_util, cs->frequency, scale_cpu);
freq              102 include/linux/energy_model.h 		if (cs->frequency >= freq)
freq              186 include/linux/mfd/si476x-core.h static inline u16 hz_to_si476x(struct si476x_core *core, int freq)
freq              193 include/linux/mfd/si476x-core.h 		result = freq / 10000;
freq              196 include/linux/mfd/si476x-core.h 		result = freq / 1000;
freq              203 include/linux/mfd/si476x-core.h static inline int si476x_to_hz(struct si476x_core *core, u16 freq)
freq              210 include/linux/mfd/si476x-core.h 		result = freq * 10000;
freq              213 include/linux/mfd/si476x-core.h 		result = freq * 1000;
freq              223 include/linux/mfd/si476x-core.h static inline int hz_to_v4l2(int freq)
freq              225 include/linux/mfd/si476x-core.h 	return (freq * 10) / 625;
freq              228 include/linux/mfd/si476x-core.h static inline int v4l2_to_hz(int freq)
freq              230 include/linux/mfd/si476x-core.h 	return (freq * 625) / 10;
freq              233 include/linux/mfd/si476x-core.h static inline u16 v4l2_to_si476x(struct si476x_core *core, int freq)
freq              235 include/linux/mfd/si476x-core.h 	return hz_to_si476x(core, v4l2_to_hz(freq));
freq              238 include/linux/mfd/si476x-core.h static inline int si476x_to_v4l2(struct si476x_core *core, u16 freq)
freq              240 include/linux/mfd/si476x-core.h 	return hz_to_v4l2(si476x_to_hz(core, freq));
freq              356 include/linux/mfd/si476x-core.h 	int freq;
freq              214 include/linux/mfd/si476x-platform.h 	enum si476x_freq    freq;
freq               43 include/linux/omap-gpmc.h int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq,
freq               55 include/linux/omap-gpmc.h int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq,
freq               18 include/linux/phy/omap_usb.h 	u8	freq:3;
freq               21 include/linux/platform_data/x86/clk-pmc-atom.h 	unsigned long freq;
freq               97 include/linux/pm_opp.h 					      unsigned long freq,
freq              103 include/linux/pm_opp.h 					      unsigned long *freq);
freq              108 include/linux/pm_opp.h 					     unsigned long *freq);
freq              111 include/linux/pm_opp.h int dev_pm_opp_add(struct device *dev, unsigned long freq,
freq              113 include/linux/pm_opp.h void dev_pm_opp_remove(struct device *dev, unsigned long freq);
freq              116 include/linux/pm_opp.h int dev_pm_opp_enable(struct device *dev, unsigned long freq);
freq              118 include/linux/pm_opp.h int dev_pm_opp_disable(struct device *dev, unsigned long freq);
freq              200 include/linux/pm_opp.h 					unsigned long freq, bool available)
freq              212 include/linux/pm_opp.h 					unsigned long *freq)
freq              224 include/linux/pm_opp.h 					unsigned long *freq)
freq              231 include/linux/pm_opp.h static inline int dev_pm_opp_add(struct device *dev, unsigned long freq,
freq              237 include/linux/pm_opp.h static inline void dev_pm_opp_remove(struct device *dev, unsigned long freq)
freq              245 include/linux/pm_opp.h static inline int dev_pm_opp_enable(struct device *dev, unsigned long freq)
freq              250 include/linux/pm_opp.h static inline int dev_pm_opp_disable(struct device *dev, unsigned long freq)
freq              193 include/linux/rtc.h extern int rtc_irq_set_freq(struct rtc_device *rtc, int freq);
freq               28 include/linux/sched/cpufreq.h 					unsigned long freq, unsigned long cap)
freq               30 include/linux/sched/cpufreq.h 	return (freq + (freq >> 2)) * util / cap;
freq               10 include/linux/scpi_protocol.h 	u32 freq;
freq               13 include/linux/sm501.h 				     int clksrc, unsigned long freq);
freq              258 include/linux/soundwire/sdw.h 	u32 *freq;
freq               15 include/linux/spi/spi_oc_tiny.h 	unsigned int freq;
freq               42 include/linux/time32.h 	s32 freq;
freq               65 include/linux/usb/tegra_usb_phy.h 	const struct tegra_xtal_freq *freq;
freq               50 include/media/drv-intf/tea575x.h 	u32 freq;			/* frequency */
freq              267 include/media/v4l2-subdev.h 	int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq);
freq              268 include/media/v4l2-subdev.h 	int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
freq              305 include/media/v4l2-subdev.h 	int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
freq              306 include/media/v4l2-subdev.h 	int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
freq              417 include/media/v4l2-subdev.h 	int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags);
freq             5023 include/net/cfg80211.h int ieee80211_frequency_to_channel(int freq);
freq             5033 include/net/cfg80211.h struct ieee80211_channel *ieee80211_get_channel(struct wiphy *wiphy, int freq);
freq             5587 include/net/cfg80211.h int reg_query_regdb_wmm(char *alpha2, int freq,
freq             6765 include/net/cfg80211.h bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm,
freq             6978 include/net/cfg80211.h 				 int freq, int sig_dbm);
freq              410 include/net/ipv6.h int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq,
freq             1346 include/net/mac80211.h 	u16 freq;
freq              234 include/net/regulatory.h #define MHZ_TO_KHZ(freq) ((freq) * 1000)
freq              235 include/net/regulatory.h #define KHZ_TO_MHZ(freq) ((freq) / 1000)
freq             1739 include/soc/tegra/bpmp-abi.h 	uint32_t freq;
freq              524 include/sound/gus.h extern void snd_gf1_lfo_change_freq(struct snd_gus_card * gus, int voice, int lfo_type, int freq);
freq              526 include/sound/gus.h extern void snd_gf1_lfo_setup(struct snd_gus_card * gus, int voice, int lfo_type, int freq, int current_depth, int depth, int sweep, int shape);
freq               59 include/sound/soc-component.h 			  int clk_id, int source, unsigned int freq, int dir);
freq              277 include/sound/soc-component.h 				 unsigned int freq, int dir);
freq              115 include/sound/soc-dai.h 	unsigned int freq, int dir);
freq              179 include/sound/soc-dai.h 		int clk_id, unsigned int freq, int dir);
freq              174 include/sound/vx_core.h 	unsigned int freq;		/* current frequency */
freq              314 include/sound/vx_core.h int vx_set_clock(struct vx_core *chip, unsigned int freq);
freq              315 include/sound/vx_core.h void vx_set_internal_clock(struct vx_core *chip, unsigned int freq);
freq               17 include/trace/events/devfreq.h 		__field(unsigned long, freq)
freq               25 include/trace/events/devfreq.h 		__entry->freq = devfreq->previous_freq;
freq               33 include/trace/events/devfreq.h 		__get_str(dev_name), __entry->freq, __entry->polling_ms,
freq               74 include/trace/events/power.h 		u32 freq,
freq               85 include/trace/events/power.h 		freq,
freq               97 include/trace/events/power.h 		__field(u32, freq)
freq              109 include/trace/events/power.h 		__entry->freq = freq;
freq              121 include/trace/events/power.h 		(unsigned long)__entry->freq,
freq               61 include/trace/events/rtc.h 	TP_PROTO(int freq, int err),
freq               63 include/trace/events/rtc.h 	TP_ARGS(freq, err),
freq               66 include/trace/events/rtc.h 		__field(int, freq)
freq               71 include/trace/events/rtc.h 		__entry->freq = freq;
freq               76 include/trace/events/rtc.h 		  __entry->freq, __entry->err
freq               96 include/trace/events/thermal.h 	TP_PROTO(const struct cpumask *cpus, unsigned long freq, u32 *load,
freq               99 include/trace/events/thermal.h 	TP_ARGS(cpus, freq, load, load_len, dynamic_power),
freq              103 include/trace/events/thermal.h 		__field(unsigned long, freq          )
freq              112 include/trace/events/thermal.h 		__entry->freq = freq;
freq              120 include/trace/events/thermal.h 		__get_bitmask(cpumask), __entry->freq,
freq              126 include/trace/events/thermal.h 	TP_PROTO(const struct cpumask *cpus, unsigned int freq,
freq              129 include/trace/events/thermal.h 	TP_ARGS(cpus, freq, cdev_state, power),
freq              133 include/trace/events/thermal.h 		__field(unsigned int,  freq      )
freq              141 include/trace/events/thermal.h 		__entry->freq = freq;
freq              147 include/trace/events/thermal.h 		__get_bitmask(cpumask), __entry->freq, __entry->cdev_state,
freq              155 include/trace/events/thermal.h 		 struct devfreq_dev_status *status, unsigned long freq,
freq              158 include/trace/events/thermal.h 	TP_ARGS(cdev, status,  freq, dynamic_power, static_power, power),
freq              162 include/trace/events/thermal.h 		__field(unsigned long, freq          )
freq              171 include/trace/events/thermal.h 		__entry->freq = freq;
freq              179 include/trace/events/thermal.h 		__get_str(type), __entry->freq,
freq              185 include/trace/events/thermal.h 	TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
freq              188 include/trace/events/thermal.h 	TP_ARGS(cdev, freq, cdev_state, power),
freq              192 include/trace/events/thermal.h 		__field(unsigned int,  freq      )
freq              199 include/trace/events/thermal.h 		__entry->freq = freq;
freq              205 include/trace/events/thermal.h 		__get_str(type), __entry->freq, __entry->cdev_state,
freq               63 include/uapi/linux/can/netlink.h 	__u32 freq;		/* CAN system clock frequency in Hz */
freq              345 include/uapi/linux/perf_event.h 				freq           :  1, /* use freq, not period  */
freq               67 include/uapi/linux/timex.h 	__kernel_long_t freq;	/* frequency offset (scaled ppm) */
freq              104 include/uapi/linux/timex.h 	long long freq;	/* frequency offset (scaled ppm) */
freq              904 include/uapi/linux/wireless.h 	struct iw_freq	freq;		/* frequency or channel :
freq             1046 include/uapi/linux/wireless.h 	struct iw_freq	freq[IW_MAX_FREQUENCIES];	/* list */
freq              174 include/uapi/sound/skl-tplg-interface.h 	__u32 freq;
freq               93 include/video/w100fb.h 	uint16_t freq;  /* desired Fout for PLL (Mhz) */
freq              299 include/xen/interface/platform.h 	uint64_t freq;  /* New frequency (Hz). */
freq             2112 kernel/events/core.c 	if (event->attr.freq && event->attr.sample_freq)
freq             2383 kernel/events/core.c 	if (event->attr.freq && event->attr.sample_freq)
freq             3740 kernel/events/core.c 		if (!event->attr.freq || !event->attr.sample_freq)
freq             4419 kernel/events/core.c 	if (event->attr.freq)
freq             5080 kernel/events/core.c 	if (event->attr.freq) {
freq             5127 kernel/events/core.c 	if (event->attr.freq && value > sysctl_perf_event_sample_rate)
freq             5133 kernel/events/core.c 	if (!event->attr.freq && (value & (1ULL << 63)))
freq             8160 kernel/events/core.c 	if (event->attr.freq) {
freq             8313 kernel/events/core.c 	if ((event->attr.sample_type & PERF_SAMPLE_PERIOD) && !event->attr.freq) {
freq             8319 kernel/events/core.c 	if (nr == 1 && hwc->sample_period == 1 && !event->attr.freq)
freq             9654 kernel/events/core.c 	if (event->attr.freq) {
freq             9655 kernel/events/core.c 		long freq = event->attr.sample_freq;
freq             9657 kernel/events/core.c 		event->attr.sample_period = NSEC_PER_SEC / freq;
freq             9661 kernel/events/core.c 		event->attr.freq = 0;
freq             10368 kernel/events/core.c 	if (event->attr.freq)
freq             10531 kernel/events/core.c 	if (attr->freq && attr->sample_freq)
freq             10935 kernel/events/core.c 	if (attr.freq) {
freq             11859 kernel/events/core.c 	if (parent_event->attr.freq) {
freq               85 kernel/power/energy_model.c 	unsigned long power, freq, prev_freq = 0;
freq              103 kernel/power/energy_model.c 	for (i = 0, freq = 0; i < nr_states; i++, freq++) {
freq              109 kernel/power/energy_model.c 		ret = cb->active_power(&power, &freq, cpu);
freq              119 kernel/power/energy_model.c 		if (freq <= prev_freq) {
freq              120 kernel/power/energy_model.c 			pr_err("pd%d: non-increasing freq: %lu\n", cpu, freq);
freq              134 kernel/power/energy_model.c 		table[i].frequency = prev_freq = freq;
freq              142 kernel/power/energy_model.c 		opp_eff = freq / power;
freq              173 kernel/sched/cpufreq_schedutil.c 	unsigned int freq = arch_scale_freq_invariant() ?
freq              176 kernel/sched/cpufreq_schedutil.c 	freq = map_util_freq(util, freq, max);
freq              178 kernel/sched/cpufreq_schedutil.c 	if (freq == sg_policy->cached_raw_freq && !sg_policy->need_freq_update)
freq              182 kernel/sched/cpufreq_schedutil.c 	sg_policy->cached_raw_freq = freq;
freq              183 kernel/sched/cpufreq_schedutil.c 	return cpufreq_driver_resolve_freq(policy, freq);
freq              552 kernel/sched/cpufreq_schedutil.c 	unsigned int freq;
freq              566 kernel/sched/cpufreq_schedutil.c 	freq = sg_policy->next_freq;
freq              571 kernel/sched/cpufreq_schedutil.c 	__cpufreq_driver_target(sg_policy->policy, freq, CPUFREQ_RELATION_L);
freq              621 kernel/sched/debug.c 		unsigned int freq = cpu_khz ? : 1;
freq              624 kernel/sched/debug.c 			   cpu, freq / 1000, (freq % 1000));
freq              472 kernel/time/clockevents.c static void clockevents_config(struct clock_event_device *dev, u32 freq)
freq              485 kernel/time/clockevents.c 	do_div(sec, freq);
freq              491 kernel/time/clockevents.c 	clockevents_calc_mult_shift(dev, freq, sec);
freq              506 kernel/time/clockevents.c 				     u32 freq, unsigned long min_delta,
freq              511 kernel/time/clockevents.c 	clockevents_config(dev, freq);
freq              516 kernel/time/clockevents.c int __clockevents_update_freq(struct clock_event_device *dev, u32 freq)
freq              518 kernel/time/clockevents.c 	clockevents_config(dev, freq);
freq              541 kernel/time/clockevents.c int clockevents_update_freq(struct clock_event_device *dev, u32 freq)
freq              547 kernel/time/clockevents.c 	ret = tick_broadcast_update_freq(dev, freq);
freq              549 kernel/time/clockevents.c 		ret = __clockevents_update_freq(dev, freq);
freq              858 kernel/time/clocksource.c void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq)
freq              866 kernel/time/clocksource.c 	if (freq) {
freq              877 kernel/time/clocksource.c 		do_div(sec, freq);
freq              884 kernel/time/clocksource.c 		clocks_calc_mult_shift(&cs->mult, &cs->shift, freq,
freq              892 kernel/time/clocksource.c 	while (freq && ((cs->mult + cs->maxadj < cs->mult)
freq              925 kernel/time/clocksource.c int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq)
freq              932 kernel/time/clocksource.c 	__clocksource_update_freq_scale(cs, scale, freq);
freq              169 kernel/time/ntp.c static inline void pps_set_freq(s64 freq)
freq              171 kernel/time/ntp.c 	pps_freq = freq;
freq              218 kernel/time/ntp.c static inline void pps_set_freq(s64 freq) {}
freq              674 kernel/time/ntp.c 		time_freq = txc->freq * PPM_SCALE;
freq              760 kernel/time/ntp.c 	txc->freq	   = shift_right((time_freq >> PPM_SCALE_INV_SHIFT) *
freq              130 kernel/time/tick-broadcast.c int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq)
freq              136 kernel/time/tick-broadcast.c 		ret = __clockevents_update_freq(dev, freq);
freq               59 kernel/time/tick-internal.h extern int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
freq               72 kernel/time/tick-internal.h extern int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq);
freq               84 kernel/time/tick-internal.h static inline int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) { return -ENODEV; }
freq              298 kernel/time/time.c 	txc->freq = tx32.freq;
freq              327 kernel/time/time.c 	tx32.freq = txc->freq;
freq             2300 kernel/time/timekeeping.c 		if (LLONG_MIN / PPM_SCALE > txc->freq)
freq             2302 kernel/time/timekeeping.c 		if (LLONG_MAX / PPM_SCALE < txc->freq)
freq               42 lib/zlib_deflate/defutil.h         ush  freq;       /* frequency count */
freq               51 lib/zlib_deflate/defutil.h #define Freq fc.freq
freq              373 net/ipv6/ip6_flowlabel.c fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq,
freq              381 net/ipv6/ip6_flowlabel.c 	olen = optlen - CMSG_ALIGN(sizeof(*freq));
freq              404 net/ipv6/ip6_flowlabel.c 		if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen))
freq              426 net/ipv6/ip6_flowlabel.c 	err = fl6_renew(fl, freq->flr_linger, freq->flr_expires);
freq              429 net/ipv6/ip6_flowlabel.c 	fl->share = freq->flr_share;
freq              430 net/ipv6/ip6_flowlabel.c 	addr_type = ipv6_addr_type(&freq->flr_dst);
freq              436 net/ipv6/ip6_flowlabel.c 	fl->dst = freq->flr_dst;
freq              499 net/ipv6/ip6_flowlabel.c int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq,
freq              506 net/ipv6/ip6_flowlabel.c 		freq->flr_label = np->rcv_flowinfo & IPV6_FLOWLABEL_MASK;
freq              511 net/ipv6/ip6_flowlabel.c 		freq->flr_label = np->flow_label;
freq              520 net/ipv6/ip6_flowlabel.c 			freq->flr_label = sfl->fl->label;
freq              521 net/ipv6/ip6_flowlabel.c 			freq->flr_dst = sfl->fl->dst;
freq              522 net/ipv6/ip6_flowlabel.c 			freq->flr_share = sfl->fl->share;
freq              523 net/ipv6/ip6_flowlabel.c 			freq->flr_expires = (sfl->fl->expires - jiffies) / HZ;
freq              524 net/ipv6/ip6_flowlabel.c 			freq->flr_linger = sfl->fl->linger / HZ;
freq              541 net/ipv6/ip6_flowlabel.c 	struct in6_flowlabel_req freq;
freq              548 net/ipv6/ip6_flowlabel.c 	if (optlen < sizeof(freq))
freq              551 net/ipv6/ip6_flowlabel.c 	if (copy_from_user(&freq, optval, sizeof(freq)))
freq              554 net/ipv6/ip6_flowlabel.c 	switch (freq.flr_action) {
freq              556 net/ipv6/ip6_flowlabel.c 		if (freq.flr_flags & IPV6_FL_F_REFLECT) {
freq              570 net/ipv6/ip6_flowlabel.c 			if (sfl->fl->label == freq.flr_label) {
freq              571 net/ipv6/ip6_flowlabel.c 				if (freq.flr_label == (np->flow_label&IPV6_FLOWLABEL_MASK))
freq              586 net/ipv6/ip6_flowlabel.c 			if (sfl->fl->label == freq.flr_label) {
freq              587 net/ipv6/ip6_flowlabel.c 				err = fl6_renew(sfl->fl, freq.flr_linger, freq.flr_expires);
freq              594 net/ipv6/ip6_flowlabel.c 		if (freq.flr_share == IPV6_FL_S_NONE &&
freq              596 net/ipv6/ip6_flowlabel.c 			fl = fl_lookup(net, freq.flr_label);
freq              598 net/ipv6/ip6_flowlabel.c 				err = fl6_renew(fl, freq.flr_linger, freq.flr_expires);
freq              606 net/ipv6/ip6_flowlabel.c 		if (freq.flr_flags & IPV6_FL_F_REFLECT) {
freq              620 net/ipv6/ip6_flowlabel.c 		if (freq.flr_label & ~IPV6_FLOWLABEL_MASK)
freq              624 net/ipv6/ip6_flowlabel.c 		    (freq.flr_label & IPV6_FLOWLABEL_STATELESS_FLAG))
freq              627 net/ipv6/ip6_flowlabel.c 		fl = fl_create(net, sk, &freq, optval, optlen, &err);
freq              632 net/ipv6/ip6_flowlabel.c 		if (freq.flr_label) {
freq              636 net/ipv6/ip6_flowlabel.c 				if (sfl->fl->label == freq.flr_label) {
freq              637 net/ipv6/ip6_flowlabel.c 					if (freq.flr_flags&IPV6_FL_F_EXCL) {
freq              650 net/ipv6/ip6_flowlabel.c 				fl1 = fl_lookup(net, freq.flr_label);
freq              654 net/ipv6/ip6_flowlabel.c 				if (freq.flr_flags&IPV6_FL_F_EXCL)
freq              682 net/ipv6/ip6_flowlabel.c 		if (!(freq.flr_flags&IPV6_FL_F_CREATE))
freq              693 net/ipv6/ip6_flowlabel.c 		fl1 = fl_intern(net, fl, freq.flr_label);
freq              697 net/ipv6/ip6_flowlabel.c 		if (!freq.flr_label) {
freq             1308 net/ipv6/ipv6_sockglue.c 		struct in6_flowlabel_req freq;
freq             1311 net/ipv6/ipv6_sockglue.c 		if (len < sizeof(freq))
freq             1314 net/ipv6/ipv6_sockglue.c 		if (copy_from_user(&freq, optval, sizeof(freq)))
freq             1317 net/ipv6/ipv6_sockglue.c 		if (freq.flr_action != IPV6_FL_A_GET)
freq             1320 net/ipv6/ipv6_sockglue.c 		len = sizeof(freq);
freq             1321 net/ipv6/ipv6_sockglue.c 		flags = freq.flr_flags;
freq             1323 net/ipv6/ipv6_sockglue.c 		memset(&freq, 0, sizeof(freq));
freq             1325 net/ipv6/ipv6_sockglue.c 		val = ipv6_flowlabel_opt_get(sk, &freq, flags);
freq             1331 net/ipv6/ipv6_sockglue.c 		if (copy_to_user(optval, &freq, len))
freq             1119 net/mac80211/ibss.c 	channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
freq             1365 net/mac80211/ibss.c 	u32 start_freq, end_freq, freq;
freq             1375 net/mac80211/ibss.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq             1376 net/mac80211/ibss.c 		chan = ieee80211_get_channel(wiphy, freq);
freq             1221 net/mac80211/mesh.c 	int freq;
freq             1243 net/mac80211/mesh.c 		freq = ieee80211_channel_to_frequency(elems.ds_params[0], band);
freq             1245 net/mac80211/mesh.c 		freq = rx_status->freq;
freq             1247 net/mac80211/mesh.c 	channel = ieee80211_get_channel(local->hw.wiphy, freq);
freq             3635 net/mac80211/mlme.c 	channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
freq             3836 net/mac80211/mlme.c 	if (rx_status->freq != chanctx_conf->def.chan->center_freq) {
freq              415 net/mac80211/rx.c 	put_unaligned_le16(status->freq, pos);
freq             3031 net/mac80211/rx.c 					    status->freq, sig);
freq             3373 net/mac80211/rx.c 	if (cfg80211_rx_mgmt(&rx->sdata->wdev, status->freq, sig,
freq              279 net/mac80211/scan.c 	channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
freq             1775 net/mac80211/tdls.c 	int freq;
freq             1816 net/mac80211/tdls.c 	freq = ieee80211_channel_to_frequency(target_channel, band);
freq             1817 net/mac80211/tdls.c 	if (freq == 0) {
freq             1823 net/mac80211/tdls.c 	chan = ieee80211_get_channel(sdata->local->hw.wiphy, freq);
freq             3474 net/mac80211/util.c 	int freq;
freq             3510 net/mac80211/util.c 	freq = csa_settings->chandef.chan->center_freq;
freq             3511 net/mac80211/util.c 	*pos++ = ieee80211_frequency_to_channel(freq);		/* channel */
freq               17 net/wireless/chan.c static bool cfg80211_valid_60g_freq(u32 freq)
freq               19 net/wireless/chan.c 	return freq >= 58320 && freq <= 70200;
freq              348 net/wireless/chan.c 	u32 freq;
freq              350 net/wireless/chan.c 	for (freq = center_freq - bandwidth/2 + 10;
freq              351 net/wireless/chan.c 	     freq <= center_freq + bandwidth/2 - 10;
freq              352 net/wireless/chan.c 	     freq += 20) {
freq              353 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              415 net/wireless/chan.c 	u32 freq, start_freq, end_freq;
freq              420 net/wireless/chan.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq              421 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              494 net/wireless/chan.c 	u32 freq, start_freq, end_freq;
freq              506 net/wireless/chan.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq              507 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              570 net/wireless/chan.c 	u32 freq;
freq              579 net/wireless/chan.c 	for (freq = chandef->center_freq1 - width / 2 + 10;
freq              580 net/wireless/chan.c 	     freq <= chandef->center_freq1 + width / 2 - 10; freq += 20) {
freq              581 net/wireless/chan.c 		if (chan->center_freq == freq)
freq              588 net/wireless/chan.c 	for (freq = chandef->center_freq2 - width / 2 + 10;
freq              589 net/wireless/chan.c 	     freq <= chandef->center_freq2 + width / 2 - 10; freq += 20) {
freq              590 net/wireless/chan.c 		if (chan->center_freq == freq)
freq              683 net/wireless/chan.c 	u32 freq, start_freq, end_freq;
freq              697 net/wireless/chan.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq              698 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              754 net/wireless/chan.c 	u32 start_freq, end_freq, freq;
freq              760 net/wireless/chan.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq              761 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              811 net/wireless/chan.c 	u32 freq, start_freq, end_freq;
freq              816 net/wireless/chan.c 	for (freq = start_freq; freq <= end_freq; freq += 20) {
freq              817 net/wireless/chan.c 		c = ieee80211_get_channel(wiphy, freq);
freq              832 net/wireless/chan.c 	int i, freq;
freq              855 net/wireless/chan.c 		freq = ieee80211_channel_to_frequency(i + 1,
freq              857 net/wireless/chan.c 		chan = ieee80211_get_channel(wiphy, freq);
freq              316 net/wireless/ibss.c 	int err, freq;
freq              325 net/wireless/ibss.c 	freq = cfg80211_wext_freq(wextfreq);
freq              326 net/wireless/ibss.c 	if (freq < 0)
freq              327 net/wireless/ibss.c 		return freq;
freq              329 net/wireless/ibss.c 	if (freq) {
freq              330 net/wireless/ibss.c 		chan = ieee80211_get_channel(wdev->wiphy, freq);
freq              368 net/wireless/ibss.c 			       struct iw_freq *freq, char *extra)
freq              385 net/wireless/ibss.c 		freq->m = chan->center_freq;
freq              386 net/wireless/ibss.c 		freq->e = 6;
freq              699 net/wireless/mlme.c bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm,
freq              715 net/wireless/mlme.c 	trace_cfg80211_rx_mgmt(wdev, freq, sig_dbm);
freq              742 net/wireless/mlme.c 				      freq, sig_dbm,
freq             15822 net/wireless/nl80211.c 		      int freq, int sig_dbm,
freq             15844 net/wireless/nl80211.c 	    nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, freq) ||
freq             16472 net/wireless/nl80211.c 				 int freq, int sig_dbm)
freq             16479 net/wireless/nl80211.c 	trace_cfg80211_report_obss_beacon(wiphy, frame, len, freq, sig_dbm);
freq             16494 net/wireless/nl80211.c 		    (freq &&
freq             16495 net/wireless/nl80211.c 		     nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, freq)) ||
freq              114 net/wireless/nl80211.h 		      int freq, int sig_dbm,
freq              893 net/wireless/reg.c 			     const struct fwdb_country *country, int freq,
freq              908 net/wireless/reg.c 		if (freq >= KHZ_TO_MHZ(be32_to_cpu(rule->start)) &&
freq              909 net/wireless/reg.c 		    freq <= KHZ_TO_MHZ(be32_to_cpu(rule->end))) {
freq              918 net/wireless/reg.c int reg_query_regdb_wmm(char *alpha2, int freq, struct ieee80211_reg_rule *rule)
freq              932 net/wireless/reg.c 			return __regdb_query_wmm(regdb, country, freq, rule);
freq             3324 net/wireless/reg.c static bool freq_is_chan_12_13_14(u32 freq)
freq             3326 net/wireless/reg.c 	if (freq == ieee80211_channel_to_frequency(12, NL80211_BAND_2GHZ) ||
freq             3327 net/wireless/reg.c 	    freq == ieee80211_channel_to_frequency(13, NL80211_BAND_2GHZ) ||
freq             3328 net/wireless/reg.c 	    freq == ieee80211_channel_to_frequency(14, NL80211_BAND_2GHZ))
freq             3820 net/wireless/reg.c int cfg80211_get_unii(int freq)
freq             3823 net/wireless/reg.c 	if (freq >= 5150 && freq <= 5250)
freq             3827 net/wireless/reg.c 	if (freq > 5250 && freq <= 5350)
freq             3831 net/wireless/reg.c 	if (freq > 5350 && freq <= 5470)
freq             3835 net/wireless/reg.c 	if (freq > 5470 && freq <= 5725)
freq             3839 net/wireless/reg.c 	if (freq > 5725 && freq <= 5825)
freq             3843 net/wireless/reg.c 	if (freq > 5925 && freq <= 6425)
freq             3847 net/wireless/reg.c 	if (freq > 6425 && freq <= 6525)
freq             3851 net/wireless/reg.c 	if (freq > 6525 && freq <= 6875)
freq             3855 net/wireless/reg.c 	if (freq > 6875 && freq <= 7125)
freq              144 net/wireless/reg.h int cfg80211_get_unii(int freq);
freq             1305 net/wireless/scan.c 	u32 freq;
freq             1326 net/wireless/scan.c 	freq = ieee80211_channel_to_frequency(channel_number, channel->band);
freq             1327 net/wireless/scan.c 	alt_channel = ieee80211_get_channel(wiphy, freq);
freq             2188 net/wireless/scan.c 					struct iw_freq *freq =
freq             2191 net/wireless/scan.c 						cfg80211_wext_freq(freq);
freq             2322 net/wireless/scan.c 	iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq);
freq             2323 net/wireless/scan.c 	iwe.u.freq.e = 0;
freq             2331 net/wireless/scan.c 	iwe.u.freq.m = bss->pub.channel->center_freq;
freq             2332 net/wireless/scan.c 	iwe.u.freq.e = 6;
freq             2803 net/wireless/trace.h 	TP_PROTO(struct wireless_dev *wdev, int freq, int sig_dbm),
freq             2804 net/wireless/trace.h 	TP_ARGS(wdev, freq, sig_dbm),
freq             2807 net/wireless/trace.h 		__field(int, freq)
freq             2812 net/wireless/trace.h 		__entry->freq = freq;
freq             2816 net/wireless/trace.h 		  WDEV_PR_ARG, __entry->freq, __entry->sig_dbm)
freq             3084 net/wireless/trace.h 		 int freq, int sig_dbm),
freq             3085 net/wireless/trace.h 	TP_ARGS(wiphy, frame, len, freq, sig_dbm),
freq             3088 net/wireless/trace.h 		__field(int, freq)
freq             3093 net/wireless/trace.h 		__entry->freq = freq;
freq             3097 net/wireless/trace.h 		  WIPHY_PR_ARG, __entry->freq, __entry->sig_dbm)
freq              110 net/wireless/util.c int ieee80211_frequency_to_channel(int freq)
freq              113 net/wireless/util.c 	if (freq == 2484)
freq              115 net/wireless/util.c 	else if (freq < 2484)
freq              116 net/wireless/util.c 		return (freq - 2407) / 5;
freq              117 net/wireless/util.c 	else if (freq >= 4910 && freq <= 4980)
freq              118 net/wireless/util.c 		return (freq - 4000) / 5;
freq              119 net/wireless/util.c 	else if (freq < 5945)
freq              120 net/wireless/util.c 		return (freq - 5000) / 5;
freq              121 net/wireless/util.c 	else if (freq <= 45000) /* DMG band lower limit */
freq              123 net/wireless/util.c 		return (freq - 5940) / 5;
freq              124 net/wireless/util.c 	else if (freq >= 58320 && freq <= 70200)
freq              125 net/wireless/util.c 		return (freq - 56160) / 2160;
freq              131 net/wireless/util.c struct ieee80211_channel *ieee80211_get_channel(struct wiphy *wiphy, int freq)
freq              144 net/wireless/util.c 			if (sband->channels[i].center_freq == freq)
freq             1542 net/wireless/util.c 	u32 freq = chandef->center_freq1;
freq             1544 net/wireless/util.c 	if (freq >= 2412 && freq <= 2472) {
freq             1550 net/wireless/util.c 			if (freq > chandef->chan->center_freq)
freq             1561 net/wireless/util.c 	if (freq == 2484) {
freq             1589 net/wireless/util.c 	if (freq >= 5180 && freq <= 5240) {
freq             1593 net/wireless/util.c 			if (freq > chandef->chan->center_freq)
freq             1605 net/wireless/util.c 	if (freq >= 5260 && freq <= 5320) {
freq             1609 net/wireless/util.c 			if (freq > chandef->chan->center_freq)
freq             1621 net/wireless/util.c 	if (freq >= 5500 && freq <= 5720) {
freq             1625 net/wireless/util.c 			if (freq > chandef->chan->center_freq)
freq             1637 net/wireless/util.c 	if (freq >= 5745 && freq <= 5845) {
freq             1641 net/wireless/util.c 			if (freq > chandef->chan->center_freq)
freq             1645 net/wireless/util.c 		} else if (freq <= 5805) {
freq             1655 net/wireless/util.c 	if (freq >= 56160 + 2160 * 1 && freq <= 56160 + 2160 * 6) {
freq              197 net/wireless/wext-compat.c 				range->freq[c].i =
freq              200 net/wireless/wext-compat.c 				range->freq[c].m = chan->center_freq;
freq              201 net/wireless/wext-compat.c 				range->freq[c].e = 6;
freq              228 net/wireless/wext-compat.c int cfg80211_wext_freq(struct iw_freq *freq)
freq              234 net/wireless/wext-compat.c 	if (freq->e == 0) {
freq              236 net/wireless/wext-compat.c 		if (freq->m < 0)
freq              238 net/wireless/wext-compat.c 		if (freq->m > 14)
freq              240 net/wireless/wext-compat.c 		return ieee80211_channel_to_frequency(freq->m, band);
freq              243 net/wireless/wext-compat.c 		for (i = 0; i < freq->e; i++)
freq              247 net/wireless/wext-compat.c 		return freq->m / div;
freq              761 net/wireless/wext-compat.c 	int freq;
freq              769 net/wireless/wext-compat.c 		freq = cfg80211_wext_freq(wextfreq);
freq              770 net/wireless/wext-compat.c 		if (freq < 0)
freq              771 net/wireless/wext-compat.c 			return freq;
freq              772 net/wireless/wext-compat.c 		if (freq == 0)
freq              774 net/wireless/wext-compat.c 		chandef.center_freq1 = freq;
freq              775 net/wireless/wext-compat.c 		chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq);
freq              780 net/wireless/wext-compat.c 		freq = cfg80211_wext_freq(wextfreq);
freq              781 net/wireless/wext-compat.c 		if (freq < 0)
freq              782 net/wireless/wext-compat.c 			return freq;
freq              783 net/wireless/wext-compat.c 		if (freq == 0)
freq              785 net/wireless/wext-compat.c 		chandef.center_freq1 = freq;
freq              786 net/wireless/wext-compat.c 		chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq);
freq              797 net/wireless/wext-compat.c 				 struct iw_freq *freq, char *extra)
freq              806 net/wireless/wext-compat.c 		return cfg80211_mgd_wext_giwfreq(dev, info, freq, extra);
freq              808 net/wireless/wext-compat.c 		return cfg80211_ibss_wext_giwfreq(dev, info, freq, extra);
freq              816 net/wireless/wext-compat.c 		freq->m = chandef.chan->center_freq;
freq              817 net/wireless/wext-compat.c 		freq->e = 6;
freq               16 net/wireless/wext-compat.h 			       struct iw_freq *freq, char *extra);
freq               19 net/wireless/wext-compat.h 			       struct iw_freq *freq, char *extra);
freq               35 net/wireless/wext-compat.h 			      struct iw_freq *freq, char *extra);
freq               38 net/wireless/wext-compat.h 			      struct iw_freq *freq, char *extra);
freq               60 net/wireless/wext-compat.h int cfg80211_wext_freq(struct iw_freq *freq);
freq               72 net/wireless/wext-sme.c 	int err, freq;
freq               78 net/wireless/wext-sme.c 	freq = cfg80211_wext_freq(wextfreq);
freq               79 net/wireless/wext-sme.c 	if (freq < 0)
freq               80 net/wireless/wext-sme.c 		return freq;
freq               82 net/wireless/wext-sme.c 	if (freq) {
freq               83 net/wireless/wext-sme.c 		chan = ieee80211_get_channel(wdev->wiphy, freq);
freq              118 net/wireless/wext-sme.c 			      struct iw_freq *freq, char *extra)
freq              135 net/wireless/wext-sme.c 		freq->m = chan->center_freq;
freq              136 net/wireless/wext-sme.c 		freq->e = 6;
freq               37 samples/bpf/sampleip_user.c static int sampling_start(int *pmu_fd, int freq)
freq               43 samples/bpf/sampleip_user.c 		.freq = 1,
freq               44 samples/bpf/sampleip_user.c 		.sample_period = freq,
freq              138 samples/bpf/sampleip_user.c 	int *pmu_fd, opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS;
freq              144 samples/bpf/sampleip_user.c 			freq = atoi(optarg);
freq              154 samples/bpf/sampleip_user.c 	if (freq == 0 || secs == 0) {
freq              189 samples/bpf/sampleip_user.c 	       freq, secs);
freq              190 samples/bpf/sampleip_user.c 	if (sampling_start(pmu_fd, freq) != 0)
freq              207 samples/bpf/trace_event_user.c 		.freq = 1,
freq              213 samples/bpf/trace_event_user.c 		.freq = 1,
freq              219 samples/bpf/trace_event_user.c 		.freq = 1,
freq              228 samples/bpf/trace_event_user.c 		.freq = 1,
freq              237 samples/bpf/trace_event_user.c 		.freq = 1,
freq              244 samples/bpf/trace_event_user.c 		.freq = 1,
freq              102 samples/bpf/tracex6_user.c 		.freq = 0,
freq              111 samples/bpf/tracex6_user.c 		.freq = 0,
freq              120 samples/bpf/tracex6_user.c 		.freq = 0,
freq              130 samples/bpf/tracex6_user.c 		.freq = 0,
freq              142 samples/bpf/tracex6_user.c 		.freq = 0,
freq              154 samples/bpf/tracex6_user.c 		.freq = 0,
freq              133 samples/timers/hpet_example.c 	unsigned long		freq;
freq              146 samples/timers/hpet_example.c 	freq = atoi(argv[1]);
freq              156 samples/timers/hpet_example.c 	if (ioctl(fd, HPET_IRQFREQ, freq) < 0) {
freq              225 samples/timers/hpet_example.c 	unsigned long		freq;
freq              258 samples/timers/hpet_example.c 	freq = atoi(argv[1]);
freq              261 samples/timers/hpet_example.c 	if (ioctl(fd, HPET_IRQFREQ, freq) < 0) {
freq              726 scripts/gcc-plugins/gcc-common.h #define cgraph_create_edge(caller, callee, call_stmt, count, freq) \
freq              730 scripts/gcc-plugins/gcc-common.h 		old_call_stmt, call_stmt, count, freq, reason)	\
freq              734 scripts/gcc-plugins/gcc-common.h #define cgraph_create_edge(caller, callee, call_stmt, count, freq) \
freq              735 scripts/gcc-plugins/gcc-common.h 	(caller)->create_edge((callee), (call_stmt), (count), (freq))
freq              738 scripts/gcc-plugins/gcc-common.h 		old_call_stmt, call_stmt, count, freq, reason)	\
freq              740 scripts/gcc-plugins/gcc-common.h 		(old_call_stmt), (call_stmt), (count), (freq), (reason))
freq              343 sound/core/seq/seq_timer.c 	unsigned long freq;
freq              349 sound/core/seq/seq_timer.c 	freq = tmr->preferred_resolution;
freq              350 sound/core/seq/seq_timer.c 	if (!freq)
freq              351 sound/core/seq/seq_timer.c 		freq = DEFAULT_FREQUENCY;
freq              352 sound/core/seq/seq_timer.c 	else if (freq < MIN_FREQUENCY)
freq              353 sound/core/seq/seq_timer.c 		freq = MIN_FREQUENCY;
freq              354 sound/core/seq/seq_timer.c 	else if (freq > MAX_FREQUENCY)
freq              355 sound/core/seq/seq_timer.c 		freq = MAX_FREQUENCY;
freq              361 sound/core/seq/seq_timer.c 			tmr->ticks = (unsigned int)(1000000000uL / (r * freq));
freq               84 sound/drivers/opl3/opl3_midi.c 	int freq;
freq               96 sound/drivers/opl3/opl3_midi.c 		freq = opl3_note_table[idx+segment];
freq               97 sound/drivers/opl3/opl3_midi.c 		freq += ((opl3_note_table[idx+segment+1] - freq) *
freq              100 sound/drivers/opl3/opl3_midi.c 		freq = opl3_note_table[idx];
freq              103 sound/drivers/opl3/opl3_midi.c 	*fnum = (unsigned char) freq;
freq              104 sound/drivers/opl3/opl3_midi.c 	*blocknum = ((freq >> 8) & OPL3_FNUM_HIGH_MASK) |
freq              559 sound/drivers/vx/vx_core.c 		chip->freq = 48000;
freq              568 sound/drivers/vx/vx_core.c 	vx_set_internal_clock(chip, chip->freq);
freq              623 sound/drivers/vx/vx_core.c 	snd_iprintf(buffer, "Frequency: %d\n", chip->freq);
freq              540 sound/drivers/vx/vx_mixer.c 		vx_set_clock(chip, chip->freq);
freq              826 sound/drivers/vx/vx_pcm.c 	if (chip->pcm_running && chip->freq != runtime->rate) {
freq              828 sound/drivers/vx/vx_pcm.c 			   "from the current %d\n", runtime->rate, chip->freq);
freq               94 sound/drivers/vx/vx_uer.c 	int val, freq;
freq               97 sound/drivers/vx/vx_uer.c 	freq = 0;
freq              110 sound/drivers/vx/vx_uer.c 			freq = 32000;
freq              113 sound/drivers/vx/vx_uer.c 			freq = 44100;
freq              116 sound/drivers/vx/vx_uer.c 			freq = 48000;
freq              127 sound/drivers/vx/vx_uer.c 	return freq;
freq              148 sound/drivers/vx/vx_uer.c static int vx_calc_clock_from_freq(struct vx_core *chip, int freq)
freq              152 sound/drivers/vx/vx_uer.c 	if (snd_BUG_ON(freq <= 0))
freq              155 sound/drivers/vx/vx_uer.c 	hexfreq = (28224000 * 10) / freq;
freq              193 sound/drivers/vx/vx_uer.c void vx_set_internal_clock(struct vx_core *chip, unsigned int freq)
freq              198 sound/drivers/vx/vx_uer.c 	clock = vx_calc_clock_from_freq(chip, freq);
freq              199 sound/drivers/vx/vx_uer.c 	snd_printdd(KERN_DEBUG "set internal clock to 0x%x from freq %d\n", clock, freq);
freq              231 sound/drivers/vx/vx_uer.c int vx_set_clock(struct vx_core *chip, unsigned int freq)
freq              256 sound/drivers/vx/vx_uer.c 		if (chip->freq == freq)
freq              258 sound/drivers/vx/vx_uer.c 		vx_set_internal_clock(chip, freq);
freq              262 sound/drivers/vx/vx_uer.c 	if (chip->freq == freq)
freq              264 sound/drivers/vx/vx_uer.c 	chip->freq = freq;
freq              275 sound/drivers/vx/vx_uer.c 	int freq;
freq              285 sound/drivers/vx/vx_uer.c 	freq = vx_read_uer_status(chip, &chip->uer_detected);
freq              286 sound/drivers/vx/vx_uer.c 	if (freq < 0)
freq              287 sound/drivers/vx/vx_uer.c 		return freq;
freq              292 sound/drivers/vx/vx_uer.c 	if (freq == 48000 || freq == 44100 || freq == 32000)
freq              293 sound/drivers/vx/vx_uer.c 		chip->freq_detected = freq;
freq              177 sound/isa/gus/gus_volume.c unsigned short snd_gf1_compute_freq(unsigned int freq,
freq              184 sound/isa/gus/gus_volume.c 	while (freq >= 4194304L) {
freq              186 sound/isa/gus/gus_volume.c 		freq >>= 1;
freq              188 sound/isa/gus/gus_volume.c 	fc = (freq << 10) / rate;
freq              399 sound/isa/sb/emu8000_callback.c 	unsigned char freq;
freq              403 sound/isa/sb/emu8000_callback.c 	freq = vp->reg.parm.fm2frq2 & 0xff;
freq              407 sound/isa/sb/emu8000_callback.c 	fm2frq2 = ((unsigned char)pitch<<8) | freq;
freq              910 sound/oss/dmasound/dmasound_atari.c 	const int freq[4] = {50066, 25033, 12517, 6258};
freq              915 sound/oss/dmasound/dmasound_atari.c 	for (i = 0; i < ARRAY_SIZE(freq); i++)
freq              919 sound/oss/dmasound/dmasound_atari.c 		if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) < catchRadius)
freq              922 sound/oss/dmasound/dmasound_atari.c 		dmasound.soft.speed = freq[idx];
freq             1036 sound/oss/dmasound/dmasound_atari.c 	const int freq[8] = {49170, 32780, 24585, 19668, 16390, 12292, 9834, 8195};
freq             1041 sound/oss/dmasound/dmasound_atari.c 	for (i = 0; i < ARRAY_SIZE(freq); i++)
freq             1046 sound/oss/dmasound/dmasound_atari.c 		if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) < catchRadius)
freq             1049 sound/oss/dmasound/dmasound_atari.c 		dmasound.soft.speed = freq[idx];
freq              511 sound/oss/dmasound/dmasound_q40.c 	const int freq[] = {10000, 20000};
freq              517 sound/oss/dmasound/dmasound_q40.c 		if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius)
freq              525 sound/oss/dmasound/dmasound_q40.c 		dmasound.soft.speed = freq[idx];
freq             2020 sound/pci/asihpi/asihpi.c 	u32 freq;
freq             2022 sound/pci/asihpi/asihpi.c 	hpi_handle_error(hpi_tuner_get_frequency(h_control, &freq));
freq             2023 sound/pci/asihpi/asihpi.c 	ucontrol->value.integer.value[0] = freq;
freq             2032 sound/pci/asihpi/asihpi.c 	u32 freq;
freq             2034 sound/pci/asihpi/asihpi.c 	freq = ucontrol->value.integer.value[0];
freq             2035 sound/pci/asihpi/asihpi.c 	hpi_handle_error(hpi_tuner_set_frequency(h_control, freq));
freq             1231 sound/pci/azt3328.c 	u8 freq = 0;
freq             1234 sound/pci/azt3328.c 	case AZF_FREQ_4000:  freq = SOUNDFORMAT_FREQ_SUSPECTED_4000; break;
freq             1235 sound/pci/azt3328.c 	case AZF_FREQ_4800:  freq = SOUNDFORMAT_FREQ_SUSPECTED_4800; break;
freq             1238 sound/pci/azt3328.c 			     freq = SOUNDFORMAT_FREQ_5510; break;
freq             1239 sound/pci/azt3328.c 	case AZF_FREQ_6620:  freq = SOUNDFORMAT_FREQ_6620; break;
freq             1240 sound/pci/azt3328.c 	case AZF_FREQ_8000:  freq = SOUNDFORMAT_FREQ_8000; break;
freq             1241 sound/pci/azt3328.c 	case AZF_FREQ_9600:  freq = SOUNDFORMAT_FREQ_9600; break;
freq             1242 sound/pci/azt3328.c 	case AZF_FREQ_11025: freq = SOUNDFORMAT_FREQ_11025; break;
freq             1243 sound/pci/azt3328.c 	case AZF_FREQ_13240: freq = SOUNDFORMAT_FREQ_SUSPECTED_13240; break;
freq             1244 sound/pci/azt3328.c 	case AZF_FREQ_16000: freq = SOUNDFORMAT_FREQ_16000; break;
freq             1245 sound/pci/azt3328.c 	case AZF_FREQ_22050: freq = SOUNDFORMAT_FREQ_22050; break;
freq             1246 sound/pci/azt3328.c 	case AZF_FREQ_32000: freq = SOUNDFORMAT_FREQ_32000; break;
freq             1250 sound/pci/azt3328.c 	case AZF_FREQ_44100: freq = SOUNDFORMAT_FREQ_44100; break;
freq             1251 sound/pci/azt3328.c 	case AZF_FREQ_48000: freq = SOUNDFORMAT_FREQ_48000; break;
freq             1252 sound/pci/azt3328.c 	case AZF_FREQ_66200: freq = SOUNDFORMAT_FREQ_SUSPECTED_66200; break;
freq             1264 sound/pci/azt3328.c 	val |= freq;
freq              772 sound/pci/cmipci.c 	unsigned int reg, freq, freq_ext, val;
freq              820 sound/pci/cmipci.c 	freq = 0;
freq              830 sound/pci/cmipci.c 		freq = snd_cmipci_rate_freq(runtime->rate);
freq              834 sound/pci/cmipci.c 		val |= (freq << CM_DSFC_SHIFT) & CM_DSFC_MASK;
freq              837 sound/pci/cmipci.c 		val |= (freq << CM_ASFC_SHIFT) & CM_ASFC_MASK;
freq              517 sound/pci/emu10k1/emu10k1_callback.c 	unsigned char freq;
freq              521 sound/pci/emu10k1/emu10k1_callback.c 	freq = vp->reg.parm.fm2frq2 & 0xff;
freq              525 sound/pci/emu10k1/emu10k1_callback.c 	fm2frq2 = ((unsigned char)pitch<<8) | freq;
freq              721 sound/pci/ens1370.c 	unsigned int n, truncm, freq;
freq              728 sound/pci/ens1370.c 	freq = ((48000UL << 15) / rate) * n;
freq              743 sound/pci/ens1370.c 			     ((freq >> 5) & 0xfc00));
freq              744 sound/pci/ens1370.c 	snd_es1371_src_write(ensoniq, ES_SMPREG_ADC + ES_SMPREG_VFREQ_FRAC, freq & 0x7fff);
freq              752 sound/pci/ens1370.c 	unsigned int freq, r;
freq              755 sound/pci/ens1370.c 	freq = ((rate << 15) + 1500) / 3000;
freq              763 sound/pci/ens1370.c 			     ((freq >> 5) & 0xfc00));
freq              764 sound/pci/ens1370.c 	snd_es1371_src_write(ensoniq, ES_SMPREG_DAC1 + ES_SMPREG_VFREQ_FRAC, freq & 0x7fff);
freq              773 sound/pci/ens1370.c 	unsigned int freq, r;
freq              776 sound/pci/ens1370.c 	freq = ((rate << 15) + 1500) / 3000;
freq              784 sound/pci/ens1370.c 			     ((freq >> 5) & 0xfc00));
freq              786 sound/pci/ens1370.c 			     freq & 0x7fff);
freq              837 sound/pci/es1968.c static void snd_es1968_bob_inc(struct es1968 *chip, int freq)
freq              841 sound/pci/es1968.c 		chip->bob_freq = freq;
freq              843 sound/pci/es1968.c 	} else if (chip->bob_freq < freq) {
freq              845 sound/pci/es1968.c 		chip->bob_freq = freq;
freq              877 sound/pci/es1968.c 	int freq = runtime->rate * 4;
freq              879 sound/pci/es1968.c 		freq <<= 1;
freq              881 sound/pci/es1968.c 		freq <<= 1;
freq              882 sound/pci/es1968.c 	freq /= es->frag_size;
freq              883 sound/pci/es1968.c 	if (freq < ESM_BOB_FREQ)
freq              884 sound/pci/es1968.c 		freq = ESM_BOB_FREQ;
freq              885 sound/pci/es1968.c 	else if (freq > ESM_BOB_FREQ_MAX)
freq              886 sound/pci/es1968.c 		freq = ESM_BOB_FREQ_MAX;
freq              887 sound/pci/es1968.c 	return freq;
freq              895 sound/pci/es1968.c static u32 snd_es1968_compute_rate(struct es1968 *chip, u32 freq)
freq              897 sound/pci/es1968.c 	u32 rate = (freq << 16) / chip->clock;
freq              918 sound/pci/es1968.c static void snd_es1968_apu_set_freq(struct es1968 *chip, int apu, int freq)
freq              922 sound/pci/es1968.c 			   ((freq & 0xff) << 8) | 0x10);
freq              923 sound/pci/es1968.c 	apu_set_register(chip, apu, 3, freq >> 8);
freq              997 sound/pci/es1968.c 	u32 freq;
freq             1073 sound/pci/es1968.c 	freq = runtime->rate;
freq             1075 sound/pci/es1968.c 	if (freq > 48000)
freq             1076 sound/pci/es1968.c 		freq = 48000;
freq             1077 sound/pci/es1968.c 	if (freq < 4000)
freq             1078 sound/pci/es1968.c 		freq = 4000;
freq             1082 sound/pci/es1968.c 		freq >>= 1;
freq             1084 sound/pci/es1968.c 	freq = snd_es1968_compute_rate(chip, freq);
freq             1087 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[0], freq);
freq             1088 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[1], freq);
freq             1141 sound/pci/es1968.c 	u32 freq;
freq             1176 sound/pci/es1968.c 	freq = runtime->rate;
freq             1178 sound/pci/es1968.c 	if (freq > 47999)
freq             1179 sound/pci/es1968.c 		freq = 47999;
freq             1180 sound/pci/es1968.c 	if (freq < 4000)
freq             1181 sound/pci/es1968.c 		freq = 4000;
freq             1183 sound/pci/es1968.c 	freq = snd_es1968_compute_rate(chip, freq);
freq             1186 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[0], freq);
freq             1187 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[1], freq);
freq             1190 sound/pci/es1968.c 	freq = 0x10000;
freq             1191 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[2], freq);
freq             1192 sound/pci/es1968.c 	snd_es1968_apu_set_freq(chip, es->apu[3], freq);
freq              240 sound/pci/lola/lola.h 	unsigned int freq;
freq               17 sound/pci/lola/lola_clock.c 	unsigned int freq;
freq               21 sound/pci/lola/lola_clock.c 	case 0:     freq = 48000; break;
freq               22 sound/pci/lola/lola_clock.c 	case 1:     freq = 44100; break;
freq               23 sound/pci/lola/lola_clock.c 	case 2:     freq = 32000; break;
freq               31 sound/pci/lola/lola_clock.c 	case (1 << 2):    freq *= 2; break;
freq               32 sound/pci/lola/lola_clock.c 	case (2 << 2):    freq *= 4; break;
freq               33 sound/pci/lola/lola_clock.c 	case (5 << 2):    freq /= 2; break;
freq               34 sound/pci/lola/lola_clock.c 	case (6 << 2):    freq /= 4; break;
freq               41 sound/pci/lola/lola_clock.c 	case (1 << 5):    freq = (freq * 999) / 1000; break;
freq               42 sound/pci/lola/lola_clock.c 	case (2 << 5):    freq = (freq * 1001) / 1000; break;
freq               45 sound/pci/lola/lola_clock.c 	return freq;
freq               57 sound/pci/lola/lola_clock.c 					   unsigned int freq)
freq               67 sound/pci/lola/lola_clock.c 		if (freq > LOLA_MAXFREQ_AT_GRANULARITY_MIN)
freq               70 sound/pci/lola/lola_clock.c 		if (freq > LOLA_MAXFREQ_AT_GRANULARITY_BELOW_MAX)
freq              159 sound/pci/lola/lola_clock.c 			unsigned int freq = items[j] & 0xff;
freq              163 sound/pci/lola/lola_clock.c 				freq = lola_sample_rate_convert(freq);
freq              164 sound/pci/lola/lola_clock.c 				if (freq < chip->sample_rate_min)
freq              166 sound/pci/lola/lola_clock.c 				else if (freq == 48000) {
freq              172 sound/pci/lola/lola_clock.c 				freq = lola_sample_rate_convert(freq);
freq              173 sound/pci/lola/lola_clock.c 				if (freq < chip->sample_rate_min)
freq              186 sound/pci/lola/lola_clock.c 				sc->freq = freq;
freq              262 sound/pci/lola/lola_clock.c 	int freq = 0;
freq              267 sound/pci/lola/lola_clock.c 		freq = chip->clock.cur_freq;
freq              272 sound/pci/lola/lola_clock.c 		freq = chip->clock.sample_clock[idx].freq;
freq              276 sound/pci/lola/lola_clock.c 	if (!freq || !valid)
freq              279 sound/pci/lola/lola_clock.c 	if (!check_gran_clock_compatibility(chip, chip->granularity, freq))
freq              288 sound/pci/lola/lola_clock.c 		chip->clock.cur_freq = freq;
freq              303 sound/pci/lola/lola_clock.c 		    chip->clock.sample_clock[i].freq == rate)
freq               70 sound/pci/lola/lola_proc.c 			unsigned int freq = items[j] & 0xff;
freq               75 sound/pci/lola/lola_proc.c 				freq = lola_sample_rate_convert(freq);
freq               78 sound/pci/lola/lola_proc.c 				freq = lola_sample_rate_convert(freq);
freq               83 sound/pci/lola/lola_proc.c 				    i + j, type, name, freq);
freq              685 sound/pci/lx6464es/lx6464es.c 		u32 freq;
freq              699 sound/pci/lx6464es/lx6464es.c 		err = lx_dsp_get_clock_frequency(chip, &freq);
freq              701 sound/pci/lx6464es/lx6464es.c 			chip->board_sample_rate = freq;
freq              702 sound/pci/lx6464es/lx6464es.c 		dev_dbg(chip->card->dev, "actual clock frequency %d\n", freq);
freq              335 sound/pci/lx6464es/lx_core.c 	u32 freq = 0;
freq              345 sound/pci/lx6464es/lx_core.c 		freq = freq_raw & XES_FREQ_COUNT8_MASK;
freq              347 sound/pci/lx6464es/lx_core.c 		if ((freq < XES_FREQ_COUNT8_48_MAX) ||
freq              348 sound/pci/lx6464es/lx_core.c 		    (freq > XES_FREQ_COUNT8_44_MIN))
freq              350 sound/pci/lx6464es/lx_core.c 		else if (freq >= XES_FREQ_COUNT8_44_MAX)
freq             1223 sound/pci/maestro3.c 	u32 freq;
freq             1248 sound/pci/maestro3.c 	freq = ((runtime->rate << 15) + 24000 ) / 48000;
freq             1249 sound/pci/maestro3.c 	if (freq) 
freq             1250 sound/pci/maestro3.c 		freq--;
freq             1254 sound/pci/maestro3.c 			  freq);
freq              184 sound/pci/pcxhr/pcxhr.c static int pcxhr_pll_freq_register(unsigned int freq, unsigned int* pllreg,
freq              189 sound/pci/pcxhr/pcxhr.c 	if (freq < 6900 || freq > 110000)
freq              191 sound/pci/pcxhr/pcxhr.c 	reg = (28224000 * 2) / freq;
freq              236 sound/pci/pcxhr/pcxhr.c 			       unsigned int *reg, unsigned int *freq)
freq              303 sound/pci/pcxhr/pcxhr.c 	*freq = realfreq;
freq              310 sound/pci/pcxhr/pcxhr_mix22.c static int hr222_pll_freq_register(unsigned int freq,
freq              316 sound/pci/pcxhr/pcxhr_mix22.c 	if (freq < 6900 || freq > 219000)
freq              318 sound/pci/pcxhr/pcxhr_mix22.c 	reg = (28224000 * 2) / freq;
freq              389 sound/sh/aica.c 	dreamcastcard->channel->freq = substream->runtime->rate;
freq               51 sound/sh/aica.h 	uint32_t freq;		/* Frequency            */
freq              292 sound/soc/atmel/mchp-i2s-mcc.c 				   int clk_id, unsigned int freq, int dir)
freq              297 sound/soc/atmel/mchp-i2s-mcc.c 		__func__, clk_id, freq, dir);
freq              303 sound/soc/atmel/mchp-i2s-mcc.c 	dev->sysclk = freq;
freq              716 sound/soc/bcm/cygnus-ssp.c 			int clk_id, unsigned int freq, int dir)
freq              725 sound/soc/bcm/cygnus-ssp.c 	sel = pll_configure_mclk(cygaud, freq, aio);
freq              732 sound/soc/bcm/cygnus-ssp.c 	aio->mclk = freq;
freq              356 sound/soc/cirrus/ep93xx-i2s.c 				 unsigned int freq, int dir)
freq              363 sound/soc/cirrus/ep93xx-i2s.c 	return clk_set_rate(info->mclk, freq);
freq             1002 sound/soc/codecs/88pm860x-codec.c 				 int clk_id, unsigned int freq, int dir)
freq              282 sound/soc/codecs/ad193x.c 		int clk_id, unsigned int freq, int dir)
freq              290 sound/soc/codecs/ad193x.c 		if (dir == SND_SOC_CLOCK_OUT || freq != 24576000)
freq              301 sound/soc/codecs/ad193x.c 	switch (freq) {
freq              306 sound/soc/codecs/ad193x.c 		ad193x->sysclk = freq;
freq             1037 sound/soc/codecs/adau1373.c 	unsigned int freq;
freq             1040 sound/soc/codecs/adau1373.c 	freq = adau1373_dai->sysclk;
freq             1042 sound/soc/codecs/adau1373.c 	if (freq % params_rate(params) != 0)
freq             1045 sound/soc/codecs/adau1373.c 	switch (freq / params_rate(params)) {
freq             1158 sound/soc/codecs/adau1373.c 	int clk_id, unsigned int freq, int dir)
freq             1171 sound/soc/codecs/adau1373.c 	adau1373_dai->sysclk = freq;
freq              594 sound/soc/codecs/adau1701.c 	int source, unsigned int freq, int dir)
freq              612 sound/soc/codecs/adau1701.c 	adau1701->sysclk = freq;
freq              374 sound/soc/codecs/adau17x1.c 		int clk_id, unsigned int freq, int dir)
freq              408 sound/soc/codecs/adau17x1.c 	adau->sysclk = freq;
freq              464 sound/soc/codecs/adau17x1.c 	unsigned int freq;
freq              474 sound/soc/codecs/adau17x1.c 		freq = adau->pll_freq;
freq              477 sound/soc/codecs/adau17x1.c 		freq = adau->sysclk;
freq              481 sound/soc/codecs/adau17x1.c 	if (freq % params_rate(params) != 0)
freq              484 sound/soc/codecs/adau17x1.c 	switch (freq / params_rate(params)) {
freq              793 sound/soc/codecs/adau1977.c 	int clk_id, int source, unsigned int freq, int dir)
freq              817 sound/soc/codecs/adau1977.c 	if (freq != 0 && source == ADAU1977_SYSCLK_SRC_MCLK) {
freq              818 sound/soc/codecs/adau1977.c 		if (freq < 4000000 || freq > 36864000)
freq              821 sound/soc/codecs/adau1977.c 		if (adau1977_check_sysclk(freq, 32000))
freq              823 sound/soc/codecs/adau1977.c 		if (adau1977_check_sysclk(freq, 44100))
freq              825 sound/soc/codecs/adau1977.c 		if (adau1977_check_sysclk(freq, 48000))
freq              841 sound/soc/codecs/adau1977.c 	adau1977->sysclk = freq;
freq              538 sound/soc/codecs/adav80x.c 			      unsigned int freq, int dir)
freq              555 sound/soc/codecs/adav80x.c 		adav80x->sysclk = freq;
freq              591 sound/soc/codecs/adav80x.c 		if (freq == 0) {
freq              249 sound/soc/codecs/ak4535.c 	int clk_id, unsigned int freq, int dir)
freq              254 sound/soc/codecs/ak4535.c 	ak4535->sysclk = freq;
freq              315 sound/soc/codecs/ak4613.c 				 int clk_id, unsigned int freq, int dir)
freq              320 sound/soc/codecs/ak4613.c 	priv->sysclk = freq;
freq              305 sound/soc/codecs/ak4641.c 	int clk_id, unsigned int freq, int dir)
freq              310 sound/soc/codecs/ak4641.c 	ak4641->sysclk = freq;
freq              336 sound/soc/codecs/ak4642.c 	int clk_id, unsigned int freq, int dir)
freq              343 sound/soc/codecs/ak4642.c 	switch (freq) {
freq              469 sound/soc/codecs/ak4671.c 		unsigned int freq, int dir)
freq              477 sound/soc/codecs/ak4671.c 	switch (freq) {
freq              618 sound/soc/codecs/alc5623.c 		int clk_id, unsigned int freq, int dir)
freq              623 sound/soc/codecs/alc5623.c 	switch (freq) {
freq              632 sound/soc/codecs/alc5623.c 		alc5623->sysclk = freq;
freq              791 sound/soc/codecs/alc5632.c 		int clk_id, unsigned int freq, int dir)
freq              796 sound/soc/codecs/alc5632.c 	switch (freq) {
freq              806 sound/soc/codecs/alc5632.c 		alc5632->sysclk = freq;
freq             1276 sound/soc/codecs/arizona.c 			     unsigned int clk, unsigned int freq)
freq             1304 sound/soc/codecs/arizona.c 		while (rates[ref] / div >= freq && div < 32) {
freq             1305 sound/soc/codecs/arizona.c 			if (rates[ref] / div == freq) {
freq             1307 sound/soc/codecs/arizona.c 					freq);
freq             1320 sound/soc/codecs/arizona.c 	dev_err(component->dev, "Unable to generate %dHz OPCLK\n", freq);
freq             1365 sound/soc/codecs/arizona.c 		       int source, unsigned int freq, int dir)
freq             1389 sound/soc/codecs/arizona.c 		return arizona_set_opclk(component, clk_id, freq);
freq             1394 sound/soc/codecs/arizona.c 	switch (freq) {
freq             1424 sound/soc/codecs/arizona.c 		*clk = freq;
freq             1430 sound/soc/codecs/arizona.c 	*clk = freq;
freq             1432 sound/soc/codecs/arizona.c 	if (freq % 6144000)
freq             1435 sound/soc/codecs/arizona.c 	dev_dbg(arizona->dev, "%s set to %uHz", name, freq);
freq             1910 sound/soc/codecs/arizona.c 				  int clk_id, unsigned int freq, int dir)
freq              274 sound/soc/codecs/arizona.h 		       unsigned int freq, int dir);
freq              950 sound/soc/codecs/cpcap.c 			    int clk_id, int freq)
freq              998 sound/soc/codecs/cpcap.c 	switch (freq) {
freq             1018 sound/soc/codecs/cpcap.c 		dev_err(cpcap->component->dev, "unsupported freq %u", freq);
freq             1029 sound/soc/codecs/cpcap.c 		cpcap->codec_freq = freq;
freq             1127 sound/soc/codecs/cpcap.c 				     unsigned int freq, int dir)
freq             1133 sound/soc/codecs/cpcap.c 	dev_dbg(dev, "HiFi setup sysclk: clk_id=%u, freq=%u", clk_id, freq);
freq             1134 sound/soc/codecs/cpcap.c 	return cpcap_set_sysclk(cpcap, CPCAP_DAI_HIFI, clk_id, freq);
freq             1284 sound/soc/codecs/cpcap.c 				      unsigned int freq, int dir)
freq             1290 sound/soc/codecs/cpcap.c 		clk_id, freq);
freq             1291 sound/soc/codecs/cpcap.c 	return cpcap_set_sysclk(cpcap, CPCAP_DAI_VOICE, clk_id, freq);
freq               50 sound/soc/codecs/cq93vc.c 				 int clk_id, unsigned int freq, int dir)
freq               52 sound/soc/codecs/cq93vc.c 	switch (freq) {
freq              202 sound/soc/codecs/cs35l32.c 			      int clk_id, int source, unsigned int freq, int dir)
freq              206 sound/soc/codecs/cs35l32.c 	switch (freq) {
freq              638 sound/soc/codecs/cs35l33.c 		int clk_id, int source, unsigned int freq, int dir)
freq              642 sound/soc/codecs/cs35l33.c 	switch (freq) {
freq              648 sound/soc/codecs/cs35l33.c 		cs35l33->mclk_int = freq;
freq              655 sound/soc/codecs/cs35l33.c 		cs35l33->mclk_int = freq/2;
freq              663 sound/soc/codecs/cs35l33.c 		freq, cs35l33->mclk_int);
freq              601 sound/soc/codecs/cs35l34.c 				int clk_id, unsigned int freq, int dir)
freq              607 sound/soc/codecs/cs35l34.c 	switch (freq) {
freq              610 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq;
freq              614 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq;
freq              618 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq;
freq              622 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq / 2;
freq              626 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq / 2;
freq              630 sound/soc/codecs/cs35l34.c 		cs35l34->mclk_int = freq / 2;
freq              633 sound/soc/codecs/cs35l34.c 		dev_err(component->dev, "ERROR: Invalid Frequency %d\n", freq);
freq              652 sound/soc/codecs/cs35l35.c 				int clk_id, unsigned int freq, int dir)
freq              658 sound/soc/codecs/cs35l35.c 	cs35l35->sclk = freq;
freq              712 sound/soc/codecs/cs35l35.c 				int clk_id, int source, unsigned int freq,
freq              734 sound/soc/codecs/cs35l35.c 	switch (freq) {
freq              745 sound/soc/codecs/cs35l35.c 		cs35l35->sysclk = freq;
freq              748 sound/soc/codecs/cs35l35.c 		dev_err(component->dev, "Invalid CLK Frequency Input : %d\n", freq);
freq               62 sound/soc/codecs/cs35l36.c 	int freq;
freq              909 sound/soc/codecs/cs35l36.c 				  unsigned int freq, int dir)
freq              916 sound/soc/codecs/cs35l36.c 	if (freq > CS35L36_FS_NOM_6MHZ) {
freq              920 sound/soc/codecs/cs35l36.c 		fs1 = 3 * ((CS35L36_FS_NOM_6MHZ * 4 + freq - 1) / freq) + 4;
freq              921 sound/soc/codecs/cs35l36.c 		fs2 = 5 * ((CS35L36_FS_NOM_6MHZ * 4 + freq - 1) / freq) + 4;
freq              941 sound/soc/codecs/cs35l36.c 		struct cs35l36_private *cs35l36, int freq)
freq              946 sound/soc/codecs/cs35l36.c 		if (cs35l36_pll_sysclk[i].freq == freq)
freq             1003 sound/soc/codecs/cs35l36.c 				int clk_id, int source, unsigned int freq,
freq             1034 sound/soc/codecs/cs35l36.c 	clk_cfg = cs35l36_get_clk_config(cs35l36, freq);
freq             1036 sound/soc/codecs/cs35l36.c 		dev_err(component->dev, "Invalid CLK Config Freq: %d\n", freq);
freq              320 sound/soc/codecs/cs4265.c 			unsigned int freq, int dir)
freq              331 sound/soc/codecs/cs4265.c 		if (clk_map_table[i].mclk == freq) {
freq              332 sound/soc/codecs/cs4265.c 			cs4265->sysclk = freq;
freq              337 sound/soc/codecs/cs4265.c 	dev_err(component->dev, "Invalid freq parameter %d\n", freq);
freq              255 sound/soc/codecs/cs4270.c 				 int clk_id, unsigned int freq, int dir)
freq              260 sound/soc/codecs/cs4270.c 	cs4270->mclk = freq;
freq              198 sound/soc/codecs/cs4271.c 				 int clk_id, unsigned int freq, int dir)
freq              203 sound/soc/codecs/cs4271.c 	cs4271->mclk = freq;
freq              842 sound/soc/codecs/cs42l42.c 				int clk_id, unsigned int freq, int dir)
freq              847 sound/soc/codecs/cs42l42.c 	cs42l42->sclk = freq;
freq              354 sound/soc/codecs/cs42l51.c 		int clk_id, unsigned int freq, int dir)
freq              359 sound/soc/codecs/cs42l51.c 	cs42l51->mclk = freq;
freq              713 sound/soc/codecs/cs42l52.c 			int clk_id, unsigned int freq, int dir)
freq              718 sound/soc/codecs/cs42l52.c 	if ((freq >= CS42L52_MIN_CLK) && (freq <= CS42L52_MAX_CLK)) {
freq              719 sound/soc/codecs/cs42l52.c 		cs42l52->sysclk = freq;
freq              715 sound/soc/codecs/cs42l56.c 			int clk_id, unsigned int freq, int dir)
freq              720 sound/soc/codecs/cs42l56.c 	switch (freq) {
freq              742 sound/soc/codecs/cs42l56.c 	cs42l56->mclk = freq;
freq              875 sound/soc/codecs/cs42l73.c static int cs42l73_set_mclk(struct snd_soc_dai *dai, unsigned int freq)
freq              885 sound/soc/codecs/cs42l73.c 	mclkx_coeff = cs42l73_get_mclkx_coeff(freq);
freq              908 sound/soc/codecs/cs42l73.c 			      int clk_id, unsigned int freq, int dir)
freq              922 sound/soc/codecs/cs42l73.c 	if ((cs42l73_set_mclk(dai, freq)) < 0) {
freq              204 sound/soc/codecs/cs42xx8.c 				  int clk_id, unsigned int freq, int dir)
freq              209 sound/soc/codecs/cs42xx8.c 	cs42xx8->sysclk = freq;
freq             1537 sound/soc/codecs/cs43130.c 				  int clk_id, unsigned int freq, int dir)
freq             1542 sound/soc/codecs/cs43130.c 	cs43130->dais[codec_dai->id].sclk = freq;
freq             1628 sound/soc/codecs/cs43130.c 				    int clk_id, int source, unsigned int freq,
freq             1634 sound/soc/codecs/cs43130.c 		clk_id, source, freq, dir);
freq             1636 sound/soc/codecs/cs43130.c 	switch (freq) {
freq             1639 sound/soc/codecs/cs43130.c 		cs43130->mclk = freq;
freq             1642 sound/soc/codecs/cs43130.c 		dev_err(component->dev, "Invalid MCLK INT freq: %u\n", freq);
freq               76 sound/soc/codecs/cs47l15.c 	unsigned int freq;
freq               79 sound/soc/codecs/cs47l15.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
freq               88 sound/soc/codecs/cs47l15.c 		ret = madera_set_adsp_clk(&cs47l15->core, w->shift, freq);
freq               94 sound/soc/codecs/cs47l35.c 	unsigned int freq;
freq               97 sound/soc/codecs/cs47l35.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq);
freq              104 sound/soc/codecs/cs47l35.c 	freq &= MADERA_DSP_CLK_FREQ_LEGACY_MASK;
freq              105 sound/soc/codecs/cs47l35.c 	freq >>= MADERA_DSP_CLK_FREQ_LEGACY_SHIFT;
freq              109 sound/soc/codecs/cs47l35.c 		ret = madera_set_adsp_clk(&cs47l35->core, w->shift, freq);
freq              118 sound/soc/codecs/cs47l85.c 	unsigned int freq;
freq              121 sound/soc/codecs/cs47l85.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq);
freq              128 sound/soc/codecs/cs47l85.c 	freq &= MADERA_DSP_CLK_FREQ_LEGACY_MASK;
freq              129 sound/soc/codecs/cs47l85.c 	freq >>= MADERA_DSP_CLK_FREQ_LEGACY_SHIFT;
freq              133 sound/soc/codecs/cs47l85.c 		ret = madera_set_adsp_clk(&cs47l85->core, w->shift, freq);
freq              118 sound/soc/codecs/cs47l90.c 	unsigned int freq;
freq              121 sound/soc/codecs/cs47l90.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
freq              130 sound/soc/codecs/cs47l90.c 		ret = madera_set_adsp_clk(&cs47l90->core, w->shift, freq);
freq              143 sound/soc/codecs/cs47l92.c 	unsigned int freq;
freq              146 sound/soc/codecs/cs47l92.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
freq              155 sound/soc/codecs/cs47l92.c 		ret = madera_set_adsp_clk(&cs47l92->core, w->shift, freq);
freq              546 sound/soc/codecs/cs53l30.c 			      int clk_id, unsigned int freq, int dir)
freq              553 sound/soc/codecs/cs53l30.c 	mclkx_coeff = cs53l30_get_mclkx_coeff(freq);
freq              993 sound/soc/codecs/cx2072x.c 				  unsigned int freq, int dir)
freq              998 sound/soc/codecs/cx2072x.c 	if (clk_set_rate(cx2072x->mclk, freq)) {
freq             1003 sound/soc/codecs/cx2072x.c 	cx2072x->mclk_rate = freq;
freq              943 sound/soc/codecs/da7210.c 				 int clk_id, unsigned int freq, int dir)
freq              950 sound/soc/codecs/da7210.c 		switch (freq) {
freq              958 sound/soc/codecs/da7210.c 			da7210->mclk_rate = freq;
freq              962 sound/soc/codecs/da7210.c 				freq);
freq             1338 sound/soc/codecs/da7213.c 				 int clk_id, unsigned int freq, int dir)
freq             1344 sound/soc/codecs/da7213.c 	if ((da7213->clk_src == clk_id) && (da7213->mclk_rate == freq))
freq             1347 sound/soc/codecs/da7213.c 	if (((freq < 5000000) && (freq != 32768)) || (freq > 54000000)) {
freq             1349 sound/soc/codecs/da7213.c 			freq);
freq             1371 sound/soc/codecs/da7213.c 		freq = clk_round_rate(da7213->mclk, freq);
freq             1372 sound/soc/codecs/da7213.c 		ret = clk_set_rate(da7213->mclk, freq);
freq             1375 sound/soc/codecs/da7213.c 				freq);
freq             1380 sound/soc/codecs/da7213.c 	da7213->mclk_rate = freq;
freq             1810 sound/soc/codecs/da7218.c 				 int clk_id, unsigned int freq, int dir)
freq             1816 sound/soc/codecs/da7218.c 	if (da7218->mclk_rate == freq)
freq             1819 sound/soc/codecs/da7218.c 	if ((freq < 2000000) || (freq > 54000000)) {
freq             1821 sound/soc/codecs/da7218.c 			freq);
freq             1841 sound/soc/codecs/da7218.c 		freq = clk_round_rate(da7218->mclk, freq);
freq             1842 sound/soc/codecs/da7218.c 		ret = clk_set_rate(da7218->mclk, freq);
freq             1845 sound/soc/codecs/da7218.c 				freq);
freq             1850 sound/soc/codecs/da7218.c 	da7218->mclk_rate = freq;
freq             1158 sound/soc/codecs/da7219.c 				 int clk_id, unsigned int freq, int dir)
freq             1164 sound/soc/codecs/da7219.c 	if ((da7219->clk_src == clk_id) && (da7219->mclk_rate == freq))
freq             1167 sound/soc/codecs/da7219.c 	if ((freq < 2000000) || (freq > 54000000)) {
freq             1169 sound/soc/codecs/da7219.c 			freq);
freq             1194 sound/soc/codecs/da7219.c 		freq = clk_round_rate(da7219->mclk, freq);
freq             1195 sound/soc/codecs/da7219.c 		ret = clk_set_rate(da7219->mclk, freq);
freq             1198 sound/soc/codecs/da7219.c 				freq);
freq             1204 sound/soc/codecs/da7219.c 	da7219->mclk_rate = freq;
freq             1181 sound/soc/codecs/da732x.c 				 unsigned int freq, int dir)
freq             1186 sound/soc/codecs/da732x.c 	da732x->sysclk = freq;
freq             1237 sound/soc/codecs/da9055.c 				 int clk_id, unsigned int freq, int dir)
freq             1244 sound/soc/codecs/da9055.c 		switch (freq) {
freq             1254 sound/soc/codecs/da9055.c 			da9055->mclk_rate = freq;
freq             1258 sound/soc/codecs/da9055.c 				freq);
freq               79 sound/soc/codecs/es7134.c 			     unsigned int freq, int dir)
freq               84 sound/soc/codecs/es7134.c 		priv->mclk = freq;
freq              113 sound/soc/codecs/es7241.c 			     unsigned int freq, int dir)
freq              118 sound/soc/codecs/es7241.c 		priv->mclk = freq;
freq              364 sound/soc/codecs/es8316.c 				 int clk_id, unsigned int freq, int dir)
freq              371 sound/soc/codecs/es8316.c 	es8316->sysclk = freq;
freq              373 sound/soc/codecs/es8316.c 	if (freq == 0) {
freq              380 sound/soc/codecs/es8316.c 	ret = clk_set_rate(es8316->mclk, freq);
freq              390 sound/soc/codecs/es8316.c 		if (freq % ratio == 0)
freq              391 sound/soc/codecs/es8316.c 			es8316->allowed_rates[count++] = freq / ratio;
freq              552 sound/soc/codecs/es8328.c 		int clk_id, unsigned int freq, int dir)
freq              558 sound/soc/codecs/es8328.c 	switch (freq) {
freq             1195 sound/soc/codecs/lm49453.c 				  unsigned int freq, int dir)
freq             1200 sound/soc/codecs/lm49453.c 	switch (freq) {
freq              915 sound/soc/codecs/madera.c 					 unsigned int freq)
freq              929 sound/soc/codecs/madera.c 		val |= (freq << MADERA_DSP_CLK_SEL_SHIFT);
freq              933 sound/soc/codecs/madera.c 		dev_dbg(priv->madera->dev, "Set DSP frequency to 0x%x\n", freq);
freq              936 sound/soc/codecs/madera.c 				   dsp->base + MADERA_DSP_CONFIG_2_OFFS, freq);
freq              959 sound/soc/codecs/madera.c 			unsigned int freq)
freq              988 sound/soc/codecs/madera.c 		return madera_write_adsp_clk_setting(priv, dsp, freq);
freq              994 sound/soc/codecs/madera.c 		ret = madera_write_adsp_clk_setting(priv, dsp, freq);
freq             2458 sound/soc/codecs/madera.c 			    unsigned int clk, unsigned int freq)
freq             2492 sound/soc/codecs/madera.c 		while ((rates[ref] / div >= freq) && (div <= 30)) {
freq             2493 sound/soc/codecs/madera.c 			if (rates[ref] / div == freq) {
freq             2495 sound/soc/codecs/madera.c 					freq);
freq             2507 sound/soc/codecs/madera.c 	dev_err(component->dev, "Unable to generate %dHz OPCLK\n", freq);
freq             2512 sound/soc/codecs/madera.c static int madera_get_sysclk_setting(unsigned int freq)
freq             2514 sound/soc/codecs/madera.c 	switch (freq) {
freq             2537 sound/soc/codecs/madera.c 					    unsigned int freq)
freq             2539 sound/soc/codecs/madera.c 	switch (freq) {
freq             2564 sound/soc/codecs/madera.c 				     unsigned int freq,
freq             2572 sound/soc/codecs/madera.c 		return madera_get_legacy_dspclk_setting(madera, freq);
freq             2574 sound/soc/codecs/madera.c 		if (freq > 150000000)
freq             2578 sound/soc/codecs/madera.c 		*clock_2_val = freq / 15625; /* freq * (2^6) / (10^6) */
freq             2584 sound/soc/codecs/madera.c 			     unsigned int source, unsigned int freq)
freq             2607 sound/soc/codecs/madera.c 	if (freq % 4000)
freq             2615 sound/soc/codecs/madera.c 		if (freq / div == rate && !(freq % div)) {
freq             2631 sound/soc/codecs/madera.c 		rate, freq);
freq             2636 sound/soc/codecs/madera.c 		      int source, unsigned int freq, int dir)
freq             2652 sound/soc/codecs/madera.c 		clk_freq_sel = madera_get_sysclk_setting(freq);
freq             2659 sound/soc/codecs/madera.c 		clk_freq_sel = madera_get_sysclk_setting(freq);
freq             2665 sound/soc/codecs/madera.c 		clk_freq_sel = madera_get_dspclk_setting(madera, freq,
freq             2670 sound/soc/codecs/madera.c 		return madera_set_opclk(component, clk_id, freq);
freq             2672 sound/soc/codecs/madera.c 		return madera_set_outclk(component, source, freq);
freq             2679 sound/soc/codecs/madera.c 			"Failed to get clk setting for %dHZ\n", freq);
freq             2683 sound/soc/codecs/madera.c 	*clk = freq;
freq             2685 sound/soc/codecs/madera.c 	if (freq == 0) {
freq             2708 sound/soc/codecs/madera.c 	if (freq % 6144000)
freq             2711 sound/soc/codecs/madera.c 	dev_dbg(madera->dev, "%s set to %uHz\n", name, freq);
freq             3210 sound/soc/codecs/madera.c 				 int clk_id, unsigned int freq, int dir)
freq              401 sound/soc/codecs/madera.h 			unsigned int freq);
freq              404 sound/soc/codecs/madera.h 		      int source, unsigned int freq, int dir);
freq             1096 sound/soc/codecs/max98088.c                                   int clk_id, unsigned int freq, int dir)
freq             1102 sound/soc/codecs/max98088.c        if (freq == max98088->sysclk)
freq             1106 sound/soc/codecs/max98088.c 		freq = clk_round_rate(max98088->mclk, freq);
freq             1107 sound/soc/codecs/max98088.c 		clk_set_rate(max98088->mclk, freq);
freq             1114 sound/soc/codecs/max98088.c        if ((freq >= 10000000) && (freq < 20000000)) {
freq             1116 sound/soc/codecs/max98088.c        } else if ((freq >= 20000000) && (freq < 30000000)) {
freq             1130 sound/soc/codecs/max98088.c        dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq);
freq             1132 sound/soc/codecs/max98088.c        max98088->sysclk = freq;
freq             1769 sound/soc/codecs/max98090.c 		int freq;
freq             1778 sound/soc/codecs/max98090.c 			{ .freq = 2, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1779 sound/soc/codecs/max98090.c 			{ .freq = 1, .comp = { 7, 8, 2, 2, 2, 2 } },
freq             1780 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1781 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 6, 6, 6, 6 } },
freq             1782 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1783 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1789 sound/soc/codecs/max98090.c 			{ .freq = 2, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1790 sound/soc/codecs/max98090.c 			{ .freq = 1, .comp = { 7, 8, 2, 2, 2, 2 } },
freq             1791 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1792 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 5, 5, 6, 6 } },
freq             1793 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1794 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1800 sound/soc/codecs/max98090.c 			{ .freq = 2, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1801 sound/soc/codecs/max98090.c 			{ .freq = 1, .comp = { 7, 8, 2, 2, 2, 2 } },
freq             1802 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1803 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 6, 6, 6, 6 } },
freq             1804 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1805 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 3, 3, 3, 3 } },
freq             1811 sound/soc/codecs/max98090.c 			{ .freq = 2, .comp = { 7, 8, 1, 1, 1, 1 } },
freq             1812 sound/soc/codecs/max98090.c 			{ .freq = 1, .comp = { 7, 8, 0, 0, 0, 0 } },
freq             1813 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 1, 1, 1, 1 } },
freq             1814 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 4, 4, 5, 5 } },
freq             1815 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 1, 1, 1, 1 } },
freq             1816 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 1, 1, 1, 1 } },
freq             1822 sound/soc/codecs/max98090.c 			{ .freq = 2, .comp = { 0, 0, 0, 0, 0, 0 } },
freq             1823 sound/soc/codecs/max98090.c 			{ .freq = 1, .comp = { 7, 8, 1, 1, 1, 1 } },
freq             1824 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 5, 5, 6, 6 } },
freq             1825 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 2, 2, 3, 3 } },
freq             1826 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 1, 1, 2, 2 } },
freq             1827 sound/soc/codecs/max98090.c 			{ .freq = 0, .comp = { 7, 8, 5, 5, 6, 6 } },
freq             1894 sound/soc/codecs/max98090.c 	dmic_freq = dmic_table[pclk_index].settings[micclk_index].freq;
freq             1979 sound/soc/codecs/max98090.c 				   int clk_id, unsigned int freq, int dir)
freq             1985 sound/soc/codecs/max98090.c 	if (freq == max98090->sysclk)
freq             1989 sound/soc/codecs/max98090.c 		freq = clk_round_rate(max98090->mclk, freq);
freq             1990 sound/soc/codecs/max98090.c 		clk_set_rate(max98090->mclk, freq);
freq             1998 sound/soc/codecs/max98090.c 	if ((freq >= 10000000) && (freq <= 20000000)) {
freq             2001 sound/soc/codecs/max98090.c 		max98090->pclk = freq;
freq             2002 sound/soc/codecs/max98090.c 	} else if ((freq > 20000000) && (freq <= 40000000)) {
freq             2005 sound/soc/codecs/max98090.c 		max98090->pclk = freq >> 1;
freq             2006 sound/soc/codecs/max98090.c 	} else if ((freq > 40000000) && (freq <= 60000000)) {
freq             2009 sound/soc/codecs/max98090.c 		max98090->pclk = freq >> 2;
freq             2015 sound/soc/codecs/max98090.c 	max98090->sysclk = freq;
freq             1122 sound/soc/codecs/max98095.c 				   int clk_id, unsigned int freq, int dir)
freq             1128 sound/soc/codecs/max98095.c 	if (freq == max98095->sysclk)
freq             1132 sound/soc/codecs/max98095.c 		freq = clk_round_rate(max98095->mclk, freq);
freq             1133 sound/soc/codecs/max98095.c 		clk_set_rate(max98095->mclk, freq);
freq             1141 sound/soc/codecs/max98095.c 	if ((freq >= 10000000) && (freq < 20000000)) {
freq             1143 sound/soc/codecs/max98095.c 	} else if ((freq >= 20000000) && (freq < 40000000)) {
freq             1145 sound/soc/codecs/max98095.c 	} else if ((freq >= 40000000) && (freq < 60000000)) {
freq             1152 sound/soc/codecs/max98095.c 	dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq);
freq             1154 sound/soc/codecs/max98095.c 	max98095->sysclk = freq;
freq              152 sound/soc/codecs/max9850.c 		int clk_id, unsigned int freq, int dir)
freq              158 sound/soc/codecs/max9850.c 	if (freq <= 13000000)
freq              160 sound/soc/codecs/max9850.c 	else if (freq <= 26000000)
freq              162 sound/soc/codecs/max9850.c 	else if (freq <= 40000000)
freq              167 sound/soc/codecs/max9850.c 	max9850->sysclk = freq;
freq              258 sound/soc/codecs/max9867.c 		int clk_id, unsigned int freq, int dir)
freq              265 sound/soc/codecs/max9867.c 	if (freq >= 10000000 && freq <= 20000000) {
freq              267 sound/soc/codecs/max9867.c 		max9867->pclk = freq;
freq              268 sound/soc/codecs/max9867.c 	} else if (freq >= 20000000 && freq <= 40000000) {
freq              270 sound/soc/codecs/max9867.c 		max9867->pclk = freq / 2;
freq              271 sound/soc/codecs/max9867.c 	} else if (freq >= 40000000 && freq <= 60000000) {
freq              273 sound/soc/codecs/max9867.c 		max9867->pclk = freq / 4;
freq              277 sound/soc/codecs/max9867.c 			freq);
freq              280 sound/soc/codecs/max9867.c 	if (freq % 48000 == 0)
freq              282 sound/soc/codecs/max9867.c 	else if (freq % 44100 == 0)
freq              287 sound/soc/codecs/max9867.c 			 freq);
freq              288 sound/soc/codecs/max9867.c 	max9867->sysclk = freq;
freq              461 sound/soc/codecs/max98925.c 				   int clk_id, unsigned int freq, int dir)
freq              483 sound/soc/codecs/max98925.c 	max98925->sysclk = freq;
freq              480 sound/soc/codecs/max98927.c 	int clk_id, unsigned int freq, int dir)
freq              485 sound/soc/codecs/max98927.c 	max98927->sysclk = freq;
freq              242 sound/soc/codecs/mc13783.c 				  int clk_id, unsigned int freq, int dir,
freq              253 sound/soc/codecs/mc13783.c 		if (mc13783_sysclk[clk] == freq)
freq              271 sound/soc/codecs/mc13783.c 				  int clk_id, unsigned int freq, int dir)
freq              273 sound/soc/codecs/mc13783.c 	return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC);
freq              277 sound/soc/codecs/mc13783.c 				  int clk_id, unsigned int freq, int dir)
freq              279 sound/soc/codecs/mc13783.c 	return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC);
freq              283 sound/soc/codecs/mc13783.c 				  int clk_id, unsigned int freq, int dir)
freq              287 sound/soc/codecs/mc13783.c 	ret = mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC);
freq              291 sound/soc/codecs/mc13783.c 	return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC);
freq              438 sound/soc/codecs/ml26124.c 		int clk_id, unsigned int freq, int dir)
freq              454 sound/soc/codecs/ml26124.c 	priv->mclk = freq;
freq              855 sound/soc/codecs/msm8916-wcd-digital.c 						unsigned int freq, int dir)
freq              859 sound/soc/codecs/msm8916-wcd-digital.c 	return clk_set_rate(p->mclk, freq);
freq              700 sound/soc/codecs/nau8540.c 	int clk_id, int source, unsigned int freq, int dir)
freq              726 sound/soc/codecs/nau8540.c 		freq, clk_id);
freq              480 sound/soc/codecs/nau8810.c 				 int clk_id, unsigned int freq, int dir)
freq              486 sound/soc/codecs/nau8810.c 	nau8810->sysclk = freq;
freq              488 sound/soc/codecs/nau8810.c 		freq, clk_id == NAU8810_SCLK_PLL ? "PLL" : "MCLK");
freq              613 sound/soc/codecs/nau8822.c 				 unsigned int freq, int dir)
freq              619 sound/soc/codecs/nau8822.c 	nau8822->sysclk = freq;
freq              620 sound/soc/codecs/nau8822.c 	dev_dbg(component->dev, "master sysclk %dHz, source %s\n", freq,
freq               32 sound/soc/codecs/nau8824.c 	int clk_id, unsigned int freq);
freq             1391 sound/soc/codecs/nau8824.c 	int clk_id, unsigned int freq)
freq             1445 sound/soc/codecs/nau8824.c 	dev_dbg(nau8824->dev, "Sysclk is %dHz and clock id is %d\n", freq,
freq             1452 sound/soc/codecs/nau8824.c 	int clk_id, int source, unsigned int freq, int dir)
freq             1456 sound/soc/codecs/nau8824.c 	return nau8824_config_sysclk(nau8824, clk_id, freq);
freq               49 sound/soc/codecs/nau8825.c 		int clk_id, unsigned int freq);
freq             2111 sound/soc/codecs/nau8825.c static int nau8825_mclk_prepare(struct nau8825 *nau8825, unsigned int freq)
freq             2129 sound/soc/codecs/nau8825.c 	if (nau8825->mclk_freq != freq) {
freq             2130 sound/soc/codecs/nau8825.c 		freq = clk_round_rate(nau8825->mclk, freq);
freq             2131 sound/soc/codecs/nau8825.c 		ret = clk_set_rate(nau8825->mclk, freq);
freq             2136 sound/soc/codecs/nau8825.c 		nau8825->mclk_freq = freq;
freq             2154 sound/soc/codecs/nau8825.c 	unsigned int freq)
freq             2183 sound/soc/codecs/nau8825.c 		ret = nau8825_mclk_prepare(nau8825, freq);
freq             2234 sound/soc/codecs/nau8825.c 		ret = nau8825_mclk_prepare(nau8825, freq);
freq             2296 sound/soc/codecs/nau8825.c 	dev_dbg(nau8825->dev, "Sysclk is %dHz and clock id is %d\n", freq,
freq             2302 sound/soc/codecs/nau8825.c 	int source, unsigned int freq, int dir)
freq             2306 sound/soc/codecs/nau8825.c 	return nau8825_configure_sysclk(nau8825, clk_id, freq);
freq              465 sound/soc/codecs/pcm186x.c 				  unsigned int freq, int dir)
freq              471 sound/soc/codecs/pcm186x.c 		__func__, clk_id, freq, dir);
freq              473 sound/soc/codecs/pcm186x.c 	priv->sysclk = freq;
freq               17 sound/soc/codecs/pcm3060.c 			      unsigned int freq, int dir)
freq               54 sound/soc/codecs/pcm3060.c 	priv->dai[dai->id].sclk_freq = freq;
freq              300 sound/soc/codecs/pcm3168a.c 				  int clk_id, unsigned int freq, int dir)
freq              305 sound/soc/codecs/pcm3168a.c 	if (freq > PCM3168A_MAX_SYSCLK)
freq              308 sound/soc/codecs/pcm3168a.c 	ret = clk_set_rate(pcm3168a->scki, freq);
freq              312 sound/soc/codecs/pcm3168a.c 	pcm3168a->sysclk = freq;
freq             1691 sound/soc/codecs/rt1011.c 		int clk_id, int source, unsigned int freq, int dir)
freq             1696 sound/soc/codecs/rt1011.c 	if (freq == rt1011->sysclk && clk_id == rt1011->sysclk_src)
freq             1724 sound/soc/codecs/rt1011.c 	rt1011->sysclk = freq;
freq             1728 sound/soc/codecs/rt1011.c 		freq, clk_id);
freq              756 sound/soc/codecs/rt1305.c 		int clk_id, int source, unsigned int freq, int dir)
freq              761 sound/soc/codecs/rt1305.c 	if (freq == rt1305->sysclk && clk_id == rt1305->sysclk_src)
freq              783 sound/soc/codecs/rt1305.c 	rt1305->sysclk = freq;
freq              787 sound/soc/codecs/rt1305.c 		freq, clk_id);
freq              578 sound/soc/codecs/rt1308.c 		int clk_id, int source, unsigned int freq, int dir)
freq              583 sound/soc/codecs/rt1308.c 	if (freq == rt1308->sysclk && clk_id == rt1308->sysclk_src)
freq              608 sound/soc/codecs/rt1308.c 	rt1308->sysclk = freq;
freq              612 sound/soc/codecs/rt1308.c 		freq, clk_id);
freq              804 sound/soc/codecs/rt274.c 				int clk_id, unsigned int freq, int dir)
freq              810 sound/soc/codecs/rt274.c 	dev_dbg(component->dev, "%s freq=%d\n", __func__, freq);
freq              836 sound/soc/codecs/rt274.c 	switch (freq) {
freq              868 sound/soc/codecs/rt274.c 	rt274->sys_clk = freq;
freq              801 sound/soc/codecs/rt286.c 				int clk_id, unsigned int freq, int dir)
freq              806 sound/soc/codecs/rt286.c 	dev_dbg(component->dev, "%s freq=%d\n", __func__, freq);
freq              822 sound/soc/codecs/rt286.c 	switch (freq) {
freq              858 sound/soc/codecs/rt286.c 	rt286->sys_clk = freq;
freq              870 sound/soc/codecs/rt298.c 				int clk_id, unsigned int freq, int dir)
freq              875 sound/soc/codecs/rt298.c 	dev_dbg(component->dev, "%s freq=%d\n", __func__, freq);
freq              889 sound/soc/codecs/rt298.c 	switch (freq) {
freq              925 sound/soc/codecs/rt298.c 	rt298->sys_clk = freq;
freq              863 sound/soc/codecs/rt5514.c 		int clk_id, unsigned int freq, int dir)
freq              869 sound/soc/codecs/rt5514.c 	if (freq == rt5514->sysclk && clk_id == rt5514->sysclk_src)
freq              889 sound/soc/codecs/rt5514.c 	rt5514->sysclk = freq;
freq              892 sound/soc/codecs/rt5514.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             1063 sound/soc/codecs/rt5616.c 				 int clk_id, unsigned int freq, int dir)
freq             1069 sound/soc/codecs/rt5616.c 	if (freq == rt5616->sysclk && clk_id == rt5616->sysclk_src)
freq             1086 sound/soc/codecs/rt5616.c 	rt5616->sysclk = freq;
freq             1089 sound/soc/codecs/rt5616.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             1453 sound/soc/codecs/rt5631.c 				int clk_id, unsigned int freq, int dir)
freq             1458 sound/soc/codecs/rt5631.c 	dev_dbg(component->dev, "enter %s, syclk=%d\n", __func__, freq);
freq             1460 sound/soc/codecs/rt5631.c 	if ((freq >= (256 * 8000)) && (freq <= (512 * 96000))) {
freq             1461 sound/soc/codecs/rt5631.c 		rt5631->sysclk = freq;
freq             1834 sound/soc/codecs/rt5640.c 		int clk_id, unsigned int freq, int dir)
freq             1841 sound/soc/codecs/rt5640.c 	if (freq == rt5640->sysclk && clk_id == rt5640->sysclk_src)
freq             1863 sound/soc/codecs/rt5640.c 	rt5640->sysclk = freq;
freq             1866 sound/soc/codecs/rt5640.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             2879 sound/soc/codecs/rt5645.c 		int clk_id, unsigned int freq, int dir)
freq             2885 sound/soc/codecs/rt5645.c 	if (freq == rt5645->sysclk && clk_id == rt5645->sysclk_src)
freq             2904 sound/soc/codecs/rt5645.c 	rt5645->sysclk = freq;
freq             2907 sound/soc/codecs/rt5645.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             1411 sound/soc/codecs/rt5651.c 		int clk_id, unsigned int freq, int dir)
freq             1418 sound/soc/codecs/rt5651.c 	if (freq == rt5651->sysclk && clk_id == rt5651->sysclk_src)
freq             1440 sound/soc/codecs/rt5651.c 	rt5651->sysclk = freq;
freq             1443 sound/soc/codecs/rt5651.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             3462 sound/soc/codecs/rt5659.c 				   int source, unsigned int freq, int dir)
freq             3467 sound/soc/codecs/rt5659.c 	if (freq == rt5659->sysclk && clk_id == rt5659->sysclk_src)
freq             3486 sound/soc/codecs/rt5659.c 	rt5659->sysclk = freq;
freq             3490 sound/soc/codecs/rt5659.c 		freq, clk_id);
freq              971 sound/soc/codecs/rt5660.c 		int clk_id, unsigned int freq, int dir)
freq              977 sound/soc/codecs/rt5660.c 	if (freq == rt5660->sysclk && clk_id == rt5660->sysclk_src)
freq             1001 sound/soc/codecs/rt5660.c 	rt5660->sysclk = freq;
freq             1004 sound/soc/codecs/rt5660.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             2858 sound/soc/codecs/rt5663.c 	unsigned int freq, int dir)
freq             2864 sound/soc/codecs/rt5663.c 	if (freq == rt5663->sysclk && clk_id == rt5663->sysclk_src)
freq             2883 sound/soc/codecs/rt5663.c 	rt5663->sysclk = freq;
freq             2887 sound/soc/codecs/rt5663.c 		freq, clk_id);
freq             4286 sound/soc/codecs/rt5665.c 				   int source, unsigned int freq, int dir)
freq             4291 sound/soc/codecs/rt5665.c 	if (freq == rt5665->sysclk && clk_id == rt5665->sysclk_src)
freq             4323 sound/soc/codecs/rt5665.c 	rt5665->sysclk = freq;
freq             4326 sound/soc/codecs/rt5665.c 	dev_dbg(component->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             2089 sound/soc/codecs/rt5668.c 		int clk_id, int source, unsigned int freq, int dir)
freq             2094 sound/soc/codecs/rt5668.c 	if (freq == rt5668->sysclk && clk_id == rt5668->sysclk_src)
freq             2127 sound/soc/codecs/rt5668.c 	rt5668->sysclk = freq;
freq             2131 sound/soc/codecs/rt5668.c 		freq, clk_id);
freq             2397 sound/soc/codecs/rt5670.c 				   int source, unsigned int freq, int dir)
freq             2418 sound/soc/codecs/rt5670.c 	rt5670->sysclk = freq;
freq             2422 sound/soc/codecs/rt5670.c 	dev_dbg(component->dev, "Sysclk : %dHz clock id : %d\n", freq, clk_id);
freq             4262 sound/soc/codecs/rt5677.c 		int clk_id, unsigned int freq, int dir)
freq             4268 sound/soc/codecs/rt5677.c 	if (freq == rt5677->sysclk && clk_id == rt5677->sysclk_src)
freq             4287 sound/soc/codecs/rt5677.c 	rt5677->sysclk = freq;
freq             4290 sound/soc/codecs/rt5677.c 	dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id);
freq             2167 sound/soc/codecs/rt5682.c 		int clk_id, int source, unsigned int freq, int dir)
freq             2172 sound/soc/codecs/rt5682.c 	if (freq == rt5682->sysclk && clk_id == rt5682->sysclk_src)
freq             2205 sound/soc/codecs/rt5682.c 	rt5682->sysclk = freq;
freq             2209 sound/soc/codecs/rt5682.c 		freq, clk_id);
freq              863 sound/soc/codecs/sgtl5000.c 				   int clk_id, unsigned int freq, int dir)
freq              870 sound/soc/codecs/sgtl5000.c 		sgtl5000->sysclk = freq;
freq              644 sound/soc/codecs/ssm2518.c 	int source, unsigned int freq, int dir)
freq              666 sound/soc/codecs/ssm2518.c 	switch (freq) {
freq              706 sound/soc/codecs/ssm2518.c 	ssm2518->sysclk = freq;
freq              356 sound/soc/codecs/ssm2602.c 		int clk_id, unsigned int freq, int dir)
freq              365 sound/soc/codecs/ssm2602.c 		switch (freq) {
freq              380 sound/soc/codecs/ssm2602.c 		ssm2602->sysclk = freq;
freq              395 sound/soc/codecs/ssm2602.c 		if (freq == 0)
freq              581 sound/soc/codecs/sta32x.c 		int clk_id, unsigned int freq, int dir)
freq              586 sound/soc/codecs/sta32x.c 	dev_dbg(component->dev, "mclk=%u\n", freq);
freq              587 sound/soc/codecs/sta32x.c 	sta32x->mclk = freq;
freq              610 sound/soc/codecs/sta350.c 				 int clk_id, unsigned int freq, int dir)
freq              615 sound/soc/codecs/sta350.c 	dev_dbg(component->dev, "mclk=%u\n", freq);
freq              616 sound/soc/codecs/sta350.c 	sta350->mclk = freq;
freq              261 sound/soc/codecs/sti-sas.c 			      unsigned int freq, int dir)
freq              274 sound/soc/codecs/sti-sas.c 		drvdata->spdif.mclk = freq;
freq              278 sound/soc/codecs/sti-sas.c 		drvdata->dac.mclk = freq;
freq              394 sound/soc/codecs/tas2552.c 				  unsigned int freq, int dir)
freq              403 sound/soc/codecs/tas2552.c 		if (freq < 512000 || freq > 24576000) {
freq              406 sound/soc/codecs/tas2552.c 				 freq);
freq              408 sound/soc/codecs/tas2552.c 			freq = 0;
freq              417 sound/soc/codecs/tas2552.c 		tas2552->pll_clkin = freq;
freq              427 sound/soc/codecs/tas2552.c 		tas2552->pdm_clk = freq;
freq              297 sound/soc/codecs/tas5086.c 				  int clk_id, unsigned int freq, int dir)
freq              304 sound/soc/codecs/tas5086.c 		priv->mclk = freq;
freq              307 sound/soc/codecs/tas5086.c 		priv->sclk = freq;
freq              472 sound/soc/codecs/tlv320aic23.c 				      int clk_id, unsigned int freq, int dir)
freq              475 sound/soc/codecs/tlv320aic23.c 	aic23->mclk = freq;
freq              156 sound/soc/codecs/tlv320aic26.c 			    int clk_id, unsigned int freq, int dir)
freq              163 sound/soc/codecs/tlv320aic26.c 		codec_dai, clk_id, freq, dir);
freq              166 sound/soc/codecs/tlv320aic26.c 	if ((freq < 2000000) || (freq > 50000000))
freq              169 sound/soc/codecs/tlv320aic26.c 	aic26->mclk = freq;
freq              267 sound/soc/codecs/tlv320aic26.c 	int val, amp, freq, len;
freq              271 sound/soc/codecs/tlv320aic26.c 	freq = (125 << ((val >> 8) & 0x7)) >> 1;
freq              274 sound/soc/codecs/tlv320aic26.c 	return sprintf(buf, "amp=%x freq=%iHz len=%iclks\n", amp, freq, len);
freq             1085 sound/soc/codecs/tlv320aic31xx.c 				  int clk_id, unsigned int freq, int dir)
freq             1092 sound/soc/codecs/tlv320aic31xx.c 		__func__, clk_id, freq, dir);
freq             1095 sound/soc/codecs/tlv320aic31xx.c 		if (freq / i <= 20000000)
freq             1097 sound/soc/codecs/tlv320aic31xx.c 	if (freq/i > 20000000) {
freq             1099 sound/soc/codecs/tlv320aic31xx.c 			__func__, freq);
freq             1105 sound/soc/codecs/tlv320aic31xx.c 		if (aic31xx_divs[i].mclk_p == freq / aic31xx->p_div)
freq             1109 sound/soc/codecs/tlv320aic31xx.c 			__func__, freq);
freq             1117 sound/soc/codecs/tlv320aic31xx.c 	aic31xx->sysclk = freq;
freq              569 sound/soc/codecs/tlv320aic32x4.c 				  int clk_id, unsigned int freq, int dir)
freq              578 sound/soc/codecs/tlv320aic32x4.c 	return clk_set_rate(mclk, freq);
freq             1237 sound/soc/codecs/tlv320aic3x.c 				int clk_id, unsigned int freq, int dir)
freq             1248 sound/soc/codecs/tlv320aic3x.c 	aic3x->sysclk = freq;
freq             1282 sound/soc/codecs/tlv320dac33.c 		int clk_id, unsigned int freq, int dir)
freq             1303 sound/soc/codecs/tlv320dac33.c 	dac33->refclk = freq;
freq             1303 sound/soc/codecs/tscs42xx.c 	unsigned long freq;
freq             1334 sound/soc/codecs/tscs42xx.c 	freq = clk_get_rate(tscs42xx->sysclk);
freq             1335 sound/soc/codecs/tscs42xx.c 	ret = set_pll_ctl_from_input_freq(component, freq);
freq              639 sound/soc/codecs/tscs454.c 	unsigned long freq;
freq              644 sound/soc/codecs/tscs454.c 		freq = clk_get_rate(tscs454->sysclk);
freq              646 sound/soc/codecs/tscs454.c 		freq = tscs454->bclk_freq;
freq              647 sound/soc/codecs/tscs454.c 	pll_ctl = get_pll_ctl(freq);
freq              651 sound/soc/codecs/tscs454.c 				"Invalid PLL input %lu (%d)\n", freq, ret);
freq             2639 sound/soc/codecs/tscs454.c 		int clk_id, unsigned int freq, int dir)
freq             2647 sound/soc/codecs/tscs454.c 	dev_dbg(component->dev, "%s(): freq = %u\n", __func__, freq);
freq             2657 sound/soc/codecs/tscs454.c 	tscs454->bclk_freq = freq;
freq             1808 sound/soc/codecs/twl4030.c 				  unsigned int freq, int dir)
freq             1813 sound/soc/codecs/twl4030.c 	switch (freq) {
freq             1819 sound/soc/codecs/twl4030.c 		dev_err(component->dev, "Unsupported HFCLKIN: %u\n", freq);
freq             1823 sound/soc/codecs/twl4030.c 	if ((freq / 1000) != twl4030->sysclk) {
freq             1826 sound/soc/codecs/twl4030.c 			freq, twl4030->sysclk * 1000);
freq             2010 sound/soc/codecs/twl4030.c 					int clk_id, unsigned int freq, int dir)
freq             2015 sound/soc/codecs/twl4030.c 	if (freq != 26000000) {
freq             2018 sound/soc/codecs/twl4030.c 			__func__, freq / 1000);
freq             2021 sound/soc/codecs/twl4030.c 	if ((freq / 1000) != twl4030->sysclk) {
freq             2024 sound/soc/codecs/twl4030.c 			freq, twl4030->sysclk * 1000);
freq              933 sound/soc/codecs/twl6040.c 		int clk_id, unsigned int freq, int dir)
freq              942 sound/soc/codecs/twl6040.c 		priv->clk_in = freq;
freq              125 sound/soc/codecs/uda1334.c 				  int clk_id, unsigned int freq, int dir)
freq              132 sound/soc/codecs/uda1334.c 	uda1334->sysclk = freq;
freq              136 sound/soc/codecs/uda1334.c 		val = freq / lrclk_ratios[i].ratio;
freq              246 sound/soc/codecs/uda134x.c 				  int clk_id, unsigned int freq, int dir)
freq              252 sound/soc/codecs/uda134x.c 		 clk_id, freq, dir);
freq              258 sound/soc/codecs/uda134x.c 	if ((freq >= (256 * 8000)) && (freq <= (512 * 48000))) {
freq              259 sound/soc/codecs/uda134x.c 		uda134x->sysclk = freq;
freq             4877 sound/soc/codecs/wcd9335.c 				    unsigned int freq, int dir)
freq             4881 sound/soc/codecs/wcd9335.c 	wcd->mclk_rate = freq;
freq             4894 sound/soc/codecs/wcd9335.c 	return clk_set_rate(wcd->mclk, freq);
freq              762 sound/soc/codecs/wm0010.c 			     int clk_id, unsigned int freq, int dir)
freq              767 sound/soc/codecs/wm0010.c 	wm0010->sysclk = freq;
freq              769 sound/soc/codecs/wm0010.c 	if (freq < pll_clock_map[ARRAY_SIZE(pll_clock_map)-1].max_sysclk) {
freq              773 sound/soc/codecs/wm0010.c 			if (freq >= pll_clock_map[i].max_sysclk) {
freq             1787 sound/soc/codecs/wm2200.c 			     int source, unsigned int freq, int dir)
freq             1812 sound/soc/codecs/wm2200.c 	switch (freq) {
freq             1818 sound/soc/codecs/wm2200.c 		dev_err(component->dev, "Invalid clock rate: %d\n", freq);
freq             1830 sound/soc/codecs/wm2200.c 	wm2200->sysclk = freq;
freq             1507 sound/soc/codecs/wm5100.c 			     int source, unsigned int freq, int dir)
freq             1555 sound/soc/codecs/wm5100.c 		switch (freq) {
freq             1573 sound/soc/codecs/wm5100.c 				freq);
freq             1590 sound/soc/codecs/wm5100.c 	switch (freq) {
freq             1604 sound/soc/codecs/wm5100.c 		dev_err(component->dev, "Invalid clock rate: %d\n", freq);
freq             1608 sound/soc/codecs/wm5100.c 	switch (freq) {
freq             1650 sound/soc/codecs/wm5100.c 	*rate_store = freq;
freq              751 sound/soc/codecs/wm8350.c 				 int clk_id, unsigned int freq, int dir)
freq              845 sound/soc/codecs/wm8400.c 		int clk_id, unsigned int freq, int dir)
freq              850 sound/soc/codecs/wm8400.c 	wm8400->sysclk = freq;
freq              209 sound/soc/codecs/wm8523.c 		int clk_id, unsigned int freq, int dir)
freq              216 sound/soc/codecs/wm8523.c 	wm8523->sysclk = freq;
freq              220 sound/soc/codecs/wm8523.c 		val = freq / lrclk_ratios[i].ratio;
freq               93 sound/soc/codecs/wm8524.c 		int clk_id, unsigned int freq, int dir)
freq              100 sound/soc/codecs/wm8524.c 	wm8524->sysclk = freq;
freq              104 sound/soc/codecs/wm8524.c 		val = freq / lrclk_ratios[i].ratio;
freq              751 sound/soc/codecs/wm8580.c 			     unsigned int freq, int dir)
freq              794 sound/soc/codecs/wm8580.c 	wm8580->sysclk[dai->driver->id] = freq;
freq              221 sound/soc/codecs/wm8711.c 		int clk_id, unsigned int freq, int dir)
freq              226 sound/soc/codecs/wm8711.c 	switch (freq) {
freq              232 sound/soc/codecs/wm8711.c 		wm8711->sysclk = freq;
freq              382 sound/soc/codecs/wm8731.c 		int clk_id, unsigned int freq, int dir)
freq              391 sound/soc/codecs/wm8731.c 		if (wm8731->mclk && clk_set_rate(wm8731->mclk, freq))
freq              399 sound/soc/codecs/wm8731.c 	switch (freq) {
freq              418 sound/soc/codecs/wm8731.c 	wm8731->sysclk = freq;
freq              380 sound/soc/codecs/wm8737.c 				 int clk_id, unsigned int freq, int dir)
freq              387 sound/soc/codecs/wm8737.c 		if (freq == coeff_div[i].mclk ||
freq              388 sound/soc/codecs/wm8737.c 		    freq == coeff_div[i].mclk * 2) {
freq              389 sound/soc/codecs/wm8737.c 			wm8737->mclk = freq;
freq              394 sound/soc/codecs/wm8737.c 	dev_err(component->dev, "MCLK rate %dHz not supported\n", freq);
freq              259 sound/soc/codecs/wm8741.c 		int clk_id, unsigned int freq, int dir)
freq              264 sound/soc/codecs/wm8741.c 	dev_dbg(component->dev, "wm8741_set_dai_sysclk info: freq=%dHz\n", freq);
freq              266 sound/soc/codecs/wm8741.c 	switch (freq) {
freq              299 sound/soc/codecs/wm8741.c 	wm8741->sysclk = freq;
freq              500 sound/soc/codecs/wm8750.c 		int clk_id, unsigned int freq, int dir)
freq              505 sound/soc/codecs/wm8750.c 	switch (freq) {
freq              511 sound/soc/codecs/wm8750.c 		wm8750->sysclk = freq;
freq              862 sound/soc/codecs/wm8753.c 		int clk_id, unsigned int freq, int dir)
freq              867 sound/soc/codecs/wm8753.c 	switch (freq) {
freq              874 sound/soc/codecs/wm8753.c 			wm8753->sysclk = freq;
freq              877 sound/soc/codecs/wm8753.c 			wm8753->pcmclk = freq;
freq              485 sound/soc/codecs/wm8770.c 			     int clk_id, unsigned int freq, int dir)
freq              492 sound/soc/codecs/wm8770.c 	wm8770->sysclk = freq;
freq              320 sound/soc/codecs/wm8776.c 			     int clk_id, unsigned int freq, int dir)
freq              328 sound/soc/codecs/wm8776.c 	wm8776->sysclk[dai->driver->id] = freq;
freq              449 sound/soc/codecs/wm8804.c 			     int clk_id, unsigned int freq, int dir)
freq              457 sound/soc/codecs/wm8804.c 		if ((freq >= 10000000 && freq <= 14400000)
freq              458 sound/soc/codecs/wm8804.c 				|| (freq >= 16280000 && freq <= 27000000))
freq              462 sound/soc/codecs/wm8804.c 				"recommended range: %uHz\n", freq);
freq             1213 sound/soc/codecs/wm8903.c 				 int clk_id, unsigned int freq, int dir)
freq             1218 sound/soc/codecs/wm8903.c 	wm8903->sysclk = freq;
freq             1415 sound/soc/codecs/wm8904.c 			     unsigned int freq, int dir)
freq             1423 sound/soc/codecs/wm8904.c 		priv->mclk_rate = freq;
freq             1434 sound/soc/codecs/wm8904.c 	dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq);
freq              615 sound/soc/codecs/wm8940.c 				 int clk_id, unsigned int freq, int dir)
freq              620 sound/soc/codecs/wm8940.c 	switch (freq) {
freq              626 sound/soc/codecs/wm8940.c 		wm8940->sysclk = freq;
freq              639 sound/soc/codecs/wm8955.c 			     unsigned int freq, int dir)
freq              647 sound/soc/codecs/wm8955.c 		if (freq > 15000000) {
freq              648 sound/soc/codecs/wm8955.c 			priv->mclk_rate = freq /= 2;
freq              651 sound/soc/codecs/wm8955.c 			priv->mclk_rate = freq;
freq              663 sound/soc/codecs/wm8955.c 	dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq);
freq             1283 sound/soc/codecs/wm8960.c 					unsigned int freq, int dir)
freq             1303 sound/soc/codecs/wm8960.c 	wm8960->sysclk = freq;
freq              593 sound/soc/codecs/wm8961.c 			     unsigned int freq,
freq              600 sound/soc/codecs/wm8961.c 	if (freq > 33000000) {
freq              605 sound/soc/codecs/wm8961.c 	if (freq > 16500000) {
freq              606 sound/soc/codecs/wm8961.c 		dev_dbg(component->dev, "Using MCLK/2 for %dHz MCLK\n", freq);
freq              608 sound/soc/codecs/wm8961.c 		freq /= 2;
freq              610 sound/soc/codecs/wm8961.c 		dev_dbg(component->dev, "Using MCLK/1 for %dHz MCLK\n", freq);
freq              616 sound/soc/codecs/wm8961.c 	wm8961->sysclk = freq;
freq             2613 sound/soc/codecs/wm8962.c 				 unsigned int freq, int dir)
freq             2635 sound/soc/codecs/wm8962.c 	wm8962->sysclk_rate = freq;
freq              430 sound/soc/codecs/wm8971.c 		int clk_id, unsigned int freq, int dir)
freq              435 sound/soc/codecs/wm8971.c 	switch (freq) {
freq              441 sound/soc/codecs/wm8971.c 		wm8971->sysclk = freq;
freq              443 sound/soc/codecs/wm8974.c 				 unsigned int freq, int dir)
freq              451 sound/soc/codecs/wm8974.c 	priv->mclk = freq;
freq              608 sound/soc/codecs/wm8978.c 				 unsigned int freq, int dir)
freq              614 sound/soc/codecs/wm8978.c 	dev_dbg(component->dev, "%s: ID %d, freq %u\n", __func__, clk_id, freq);
freq              616 sound/soc/codecs/wm8978.c 	if (freq) {
freq              617 sound/soc/codecs/wm8978.c 		wm8978->f_mclk = freq;
freq              629 sound/soc/codecs/wm8978.c 	if (wm8978->sysclk == WM8978_PLL && (!freq || clk_id == WM8978_MCLK)) {
freq              824 sound/soc/codecs/wm8983.c 			     int clk_id, unsigned int freq, int dir)
freq              843 sound/soc/codecs/wm8983.c 	wm8983->sysclk = freq;
freq              919 sound/soc/codecs/wm8985.c 			     int clk_id, unsigned int freq, int dir)
freq              943 sound/soc/codecs/wm8985.c 	wm8985->sysclk = freq;
freq              553 sound/soc/codecs/wm8988.c 		int clk_id, unsigned int freq, int dir)
freq              558 sound/soc/codecs/wm8988.c 	switch (freq) {
freq              564 sound/soc/codecs/wm8988.c 		wm8988->sysclk = freq;
freq              572 sound/soc/codecs/wm8988.c 		wm8988->sysclk = freq;
freq              578 sound/soc/codecs/wm8988.c 		wm8988->sysclk = freq;
freq              964 sound/soc/codecs/wm8990.c 		int clk_id, unsigned int freq, int dir)
freq              969 sound/soc/codecs/wm8990.c 	wm8990->sysclk = freq;
freq             1068 sound/soc/codecs/wm8993.c 			     int clk_id, unsigned int freq, int dir)
freq             1075 sound/soc/codecs/wm8993.c 		wm8993->mclk_rate = freq;
freq             2376 sound/soc/codecs/wm8994.c 		int clk_id, unsigned int freq, int dir)
freq             2395 sound/soc/codecs/wm8994.c 		wm8994->mclk[0] = freq;
freq             2397 sound/soc/codecs/wm8994.c 			dai->id, freq);
freq             2403 sound/soc/codecs/wm8994.c 		wm8994->mclk[1] = freq;
freq             2405 sound/soc/codecs/wm8994.c 			dai->id, freq);
freq             2422 sound/soc/codecs/wm8994.c 		if (freq) {
freq             2424 sound/soc/codecs/wm8994.c 				if (opclk_divs[i] == freq)
freq             1906 sound/soc/codecs/wm8995.c 				 int clk_id, unsigned int freq, int dir)
freq             1926 sound/soc/codecs/wm8995.c 		wm8995->mclk[0] = freq;
freq             1928 sound/soc/codecs/wm8995.c 			dai->id + 1, freq);
freq             1932 sound/soc/codecs/wm8995.c 		wm8995->mclk[1] = freq;
freq             1934 sound/soc/codecs/wm8995.c 			dai->id + 1, freq);
freq             1811 sound/soc/codecs/wm8996.c 		int clk_id, unsigned int freq, int dir)
freq             1821 sound/soc/codecs/wm8996.c 	if (freq == wm8996->sysclk && clk_id == wm8996->sysclk_src)
freq             1831 sound/soc/codecs/wm8996.c 		wm8996->sysclk = freq;
freq             1835 sound/soc/codecs/wm8996.c 		wm8996->sysclk = freq;
freq             1839 sound/soc/codecs/wm8996.c 		wm8996->sysclk = freq;
freq             1168 sound/soc/codecs/wm9081.c 			     int source, unsigned int freq, int dir)
freq             1176 sound/soc/codecs/wm9081.c 		wm9081->mclk_rate = freq;
freq             2999 sound/soc/codecs/wm_adsp.c int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq)
freq             3008 sound/soc/codecs/wm_adsp.c 				 freq << ADSP2_CLK_SEL_SHIFT);
freq              181 sound/soc/codecs/wm_adsp.h int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq);
freq              234 sound/soc/fsl/fsl_esai.c 				   unsigned int freq, int dir)
freq              244 sound/soc/fsl/fsl_esai.c 	if (freq == 0) {
freq              251 sound/soc/fsl/fsl_esai.c 	if (freq == esai_priv->hck_rate[tx] && dir == esai_priv->hck_dir[tx])
freq              286 sound/soc/fsl/fsl_esai.c 	ratio = clk_rate / freq;
freq              287 sound/soc/fsl/fsl_esai.c 	if (ratio * freq > clk_rate)
freq              288 sound/soc/fsl/fsl_esai.c 		ret = ratio * freq - clk_rate;
freq              289 sound/soc/fsl/fsl_esai.c 	else if (ratio * freq < clk_rate)
freq              290 sound/soc/fsl/fsl_esai.c 		ret = clk_rate - ratio * freq;
freq              321 sound/soc/fsl/fsl_esai.c 	esai_priv->hck_rate[tx] = freq;
freq              333 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq)
freq              337 sound/soc/fsl/fsl_esai.c 	u32 sub, ratio = hck_rate / freq;
freq              341 sound/soc/fsl/fsl_esai.c 	if (esai_priv->slave_mode || esai_priv->sck_rate[tx] == freq)
freq              344 sound/soc/fsl/fsl_esai.c 	if (ratio * freq > hck_rate)
freq              345 sound/soc/fsl/fsl_esai.c 		sub = ratio * freq - hck_rate;
freq              346 sound/soc/fsl/fsl_esai.c 	else if (ratio * freq < hck_rate)
freq              347 sound/soc/fsl/fsl_esai.c 		sub = hck_rate - ratio * freq;
freq              370 sound/soc/fsl/fsl_esai.c 	esai_priv->sck_rate[tx] = freq;
freq              197 sound/soc/fsl/fsl_micfil.c 				    unsigned int freq)
freq              204 sound/soc/fsl/fsl_micfil.c 	ret = clk_set_rate(micfil->mclk, freq * 1024);
freq              207 sound/soc/fsl/fsl_micfil.c 			 freq * 1024, ret);
freq              367 sound/soc/fsl/fsl_micfil.c 				     unsigned int freq, int dir)
freq              374 sound/soc/fsl/fsl_micfil.c 	if (!freq)
freq              377 sound/soc/fsl/fsl_micfil.c 	ret = fsl_micfil_set_mclk_rate(micfil, freq);
freq              380 sound/soc/fsl/fsl_micfil.c 			clk_get_rate(micfil->mclk), freq);
freq              151 sound/soc/fsl/fsl_sai.c 		int clk_id, unsigned int freq, int fsl_dir)
freq              182 sound/soc/fsl/fsl_sai.c 		int clk_id, unsigned int freq, int dir)
freq              189 sound/soc/fsl/fsl_sai.c 	ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq,
freq              196 sound/soc/fsl/fsl_sai.c 	ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq,
freq              329 sound/soc/fsl/fsl_sai.c static int fsl_sai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq)
freq              334 sound/soc/fsl/fsl_sai.c 	u32 savediv = 0, ratio, savesub = freq;
freq              347 sound/soc/fsl/fsl_sai.c 		ratio = clk_rate / freq;
freq              349 sound/soc/fsl/fsl_sai.c 		ret = clk_rate - ratio * freq;
freq              360 sound/soc/fsl/fsl_sai.c 			ratio, freq, clk_rate);
freq              379 sound/soc/fsl/fsl_sai.c 				tx ? 'T' : 'R', freq);
freq              684 sound/soc/fsl/fsl_ssi.c 	unsigned int freq;
freq              696 sound/soc/fsl/fsl_ssi.c 	freq = slots * slot_width * params_rate(hw_params);
freq              706 sound/soc/fsl/fsl_ssi.c 	if (freq * 5 > clk_get_rate(ssi->clk)) {
freq              720 sound/soc/fsl/fsl_ssi.c 		tmprate = freq * factor * (i + 1);
freq              730 sound/soc/fsl/fsl_ssi.c 		if (freq == afreq)
freq              732 sound/soc/fsl/fsl_ssi.c 		else if (freq / afreq == 1)
freq              733 sound/soc/fsl/fsl_ssi.c 			sub = freq - afreq;
freq              734 sound/soc/fsl/fsl_ssi.c 		else if (afreq / freq == 1)
freq              735 sound/soc/fsl/fsl_ssi.c 			sub = afreq - freq;
freq              741 sound/soc/fsl/fsl_ssi.c 		do_div(sub, freq);
freq              157 sound/soc/fsl/imx-ssi.c 				  int clk_id, unsigned int freq, int dir)
freq               88 sound/soc/fsl/mpc5200_psc_i2s.c 			      int clk_id, unsigned int freq, int dir)
freq               46 sound/soc/intel/skylake/skl-topology.c #define CHECK_HW_PARAMS(ch, freq, bps, prm_ch, prm_freq, prm_bps) \
freq               47 sound/soc/intel/skylake/skl-topology.c 	((ch == prm_ch) && (bps == prm_bps) && (freq == prm_freq))
freq              625 sound/soc/intel/skylake/skl-topology.c 				    fmt->channels, fmt->freq, fmt->bps)) {
freq             1883 sound/soc/intel/skylake/skl-topology.c 		fmt->freq = tkn_val;
freq             2668 sound/soc/intel/skylake/skl-topology.c 		dst_fmt[i].fmt.s_freq = src_fmt[i].freq;
freq              279 sound/soc/intel/skylake/skl-topology.h 	u32 freq;
freq              303 sound/soc/jz4740/jz4740-i2s.c 	unsigned int freq, int dir)
freq              317 sound/soc/jz4740/jz4740-i2s.c 		ret = clk_set_rate(i2s->clk_i2s, freq);
freq               23 sound/soc/kirkwood/armada-370-db.c 	unsigned int freq;
freq               28 sound/soc/kirkwood/armada-370-db.c 		freq = 11289600;
freq               31 sound/soc/kirkwood/armada-370-db.c 		freq = 12288000;
freq               34 sound/soc/kirkwood/armada-370-db.c 		freq = 24576000;
freq               38 sound/soc/kirkwood/armada-370-db.c 	return snd_soc_dai_set_sysclk(codec_dai, 0, freq, SND_SOC_CLOCK_IN);
freq              266 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 				     unsigned int freq, int dir)
freq              282 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	afe_priv->i2s_path[mode ? 1 : i2s_num].mclk_rate = freq;
freq               44 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c 	unsigned int freq;
freq               64 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c 				freq = DA7219_PLL_FREQ_OUT_98304;
freq               66 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c 				freq = DA7219_PLL_FREQ_OUT_90316;
freq               70 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c 						  0, freq);
freq              790 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 				  int clk_id, unsigned int freq, int dir)
freq              808 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 	dev_info(afe->dev, "%s(), freq %d\n", __func__, freq);
freq              810 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 	apll = mt8183_get_apll_by_rate(afe, freq);
freq              813 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 	if (freq > apll_rate) {
freq              818 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 	if (apll_rate % freq != 0) {
freq              824 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c 	i2s_priv->mclk_rate = freq;
freq              438 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 				int freq)
freq              443 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	apll = mt8183_get_apll_by_rate(afe, freq);
freq              446 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	if (!freq || freq > apll_rate) {
freq              448 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 			 "%s(), freq(%d Hz) invalid\n", __func__, freq);
freq              452 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	if (apll_rate % freq != 0) {
freq              454 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 			 "%s(), APLL cannot generate %d Hz", __func__, freq);
freq              458 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	tdm_priv->mclk_rate = freq;
freq              616 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 				  int clk_id, unsigned int freq, int dir)
freq              632 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	dev_info(afe->dev, "%s(), freq %d\n", __func__, freq);
freq              634 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c 	return mtk_dai_tdm_cal_mclk(afe, tdm_priv, freq);
freq              100 sound/soc/meson/axg-tdm-interface.c 				    unsigned int freq, int dir)
freq              109 sound/soc/meson/axg-tdm-interface.c 			ret = clk_set_rate(iface->mclk, freq);
freq              111 sound/soc/meson/axg-tdm-interface.c 				iface->mclk_rate = freq;
freq               49 sound/soc/mxs/mxs-saif.c 			int clk_id, unsigned int freq, int dir)
freq               55 sound/soc/mxs/mxs-saif.c 		saif->mclk = freq;
freq              114 sound/soc/pxa/mmp-sspa.c 				    int clk_id, unsigned int freq, int dir)
freq              121 sound/soc/pxa/mmp-sspa.c 		ret = clk_set_rate(priv->audio_clk, freq);
freq              203 sound/soc/pxa/pxa-ssp.c 	int clk_id, unsigned int freq, int dir)
freq              219 sound/soc/pxa/pxa-ssp.c 		ret = clk_set_rate(priv->extclk, freq);
freq              228 sound/soc/pxa/pxa-ssp.c 		cpu_dai->id, clk_id, freq);
freq              242 sound/soc/pxa/pxa-ssp.c 		priv->sysclk = freq;
freq              246 sound/soc/pxa/pxa-ssp.c 		priv->sysclk = freq;
freq              272 sound/soc/pxa/pxa-ssp.c static int pxa_ssp_set_pll(struct ssp_priv *priv, unsigned int freq)
freq              280 sound/soc/pxa/pxa-ssp.c 	switch (freq) {
freq              311 sound/soc/pxa/pxa-ssp.c 			do_div(tmp, freq);
freq              321 sound/soc/pxa/pxa-ssp.c 				val, freq);
freq              148 sound/soc/pxa/pxa2xx-i2s.c 		int clk_id, unsigned int freq, int dir)
freq               23 sound/soc/qcom/lpass-cpu.c 		unsigned int freq, int dir)
freq               28 sound/soc/qcom/lpass-cpu.c 	ret = clk_set_rate(drvdata->mi2s_osr_clk[dai->driver->id], freq);
freq               31 sound/soc/qcom/lpass-cpu.c 			freq, ret);
freq              417 sound/soc/qcom/qdsp6/q6afe-dai.c 		int clk_id, unsigned int freq, int dir)
freq              424 sound/soc/qcom/qdsp6/q6afe-dai.c 		return q6afe_port_set_sysclk(port, clk_id, 0, 5, freq, dir);
freq              430 sound/soc/qcom/qdsp6/q6afe-dai.c 					     freq, dir);
freq              436 sound/soc/qcom/qdsp6/q6afe-dai.c 					     freq, dir);
freq              441 sound/soc/qcom/qdsp6/q6afe-dai.c 					     freq, dir);
freq              963 sound/soc/qcom/qdsp6/q6afe.c 			  unsigned int freq, int dir)
freq              973 sound/soc/qcom/qdsp6/q6afe.c 		dcfg.clk_val = freq;
freq              979 sound/soc/qcom/qdsp6/q6afe.c 		ccfg.clk_val1 = freq;
freq              988 sound/soc/qcom/qdsp6/q6afe.c 		ccfg.clk_val2 = freq;
freq              999 sound/soc/qcom/qdsp6/q6afe.c 		cset.clk_freq_in_hz = freq;
freq             1002 sound/soc/qcom/qdsp6/q6afe.c 		cset.enable = !!freq;
freq              210 sound/soc/qcom/qdsp6/q6afe.h 			  unsigned int freq, int dir);
freq              417 sound/soc/rockchip/rockchip_i2s.c 				   unsigned int freq, int dir)
freq              422 sound/soc/rockchip/rockchip_i2s.c 	if (freq == 0)
freq              425 sound/soc/rockchip/rockchip_i2s.c 	ret = clk_set_rate(i2s->mclk, freq);
freq              402 sound/soc/samsung/pcm.c 				  int clk_id, unsigned int freq, int dir)
freq              416 sound/soc/samsung/pcm.c 		if (clk_get_rate(pcm->cclk) != freq)
freq              417 sound/soc/samsung/pcm.c 			clk_set_rate(pcm->cclk, freq);
freq              335 sound/soc/samsung/s3c-i2s-v2.c 				  int clk_id, unsigned int freq, int dir)
freq              277 sound/soc/samsung/s3c24xx-i2s.c 	int clk_id, unsigned int freq, int dir)
freq               37 sound/soc/samsung/snow.c 	long int freq = -EINVAL;
freq               81 sound/soc/samsung/snow.c 				freq = pll_rate[i];
freq               86 sound/soc/samsung/snow.c 	if (freq < 0) {
freq               91 sound/soc/samsung/snow.c 	ret = clk_set_rate(priv->clk_i2s_bus, freq);
freq              114 sound/soc/samsung/spdif.c 				int clk_id, unsigned int freq, int dir)
freq              130 sound/soc/samsung/spdif.c 	spdif->clk_rate = freq;
freq              626 sound/soc/sh/siu_dai.c 			      unsigned int freq, int dir)
freq              678 sound/soc/sh/siu_dai.c 	ret = clk_set_rate(siu_clk, freq);
freq              209 sound/soc/sh/ssi.c 			  unsigned int freq, int dir)
freq              213 sound/soc/sh/ssi.c 	ssi->sysclk = freq;
freq               22 sound/soc/soc-component.c 				 int clk_id, int source, unsigned int freq,
freq               27 sound/soc/soc-component.c 						     freq, dir);
freq               22 sound/soc/soc-dai.c 			   unsigned int freq, int dir)
freq               25 sound/soc/soc-dai.c 		return dai->driver->ops->set_sysclk(dai, clk_id, freq, dir);
freq               28 sound/soc/soc-dai.c 					    freq, dir);
freq              188 sound/soc/sof/ops.h static inline int snd_sof_dsp_set_clk(struct snd_sof_dev *sdev, u32 freq)
freq              191 sound/soc/sof/ops.h 		return sof_ops(sdev)->set_clk(sdev, freq);
freq              182 sound/soc/sof/sof-priv.h 	int (*set_clk)(struct snd_sof_dev *sof_dev, u32 freq); /* optional */
freq              517 sound/soc/sti/uniperif_player.c 	int freq, ret;
freq              548 sound/soc/sti/uniperif_player.c 	freq = runtime->rate * tdm_frame_size * 8;
freq              550 sound/soc/sti/uniperif_player.c 	ret = uni_player_clk_set_rate(player, freq);
freq              552 sound/soc/sti/uniperif_player.c 		player->mclk = freq;
freq              725 sound/soc/sti/uniperif_player.c 				 unsigned int freq, int dir)
freq              738 sound/soc/sti/uniperif_player.c 	ret = uni_player_clk_set_rate(player, freq);
freq              740 sound/soc/sti/uniperif_player.c 		player->mclk = freq;
freq              113 sound/soc/stm/stm32_adfsdm.c 				   unsigned int freq, int dir)
freq              119 sound/soc/stm/stm32_adfsdm.c 	dev_dbg(dai->dev, "%s: Enter for freq %d\n", __func__, freq);
freq              123 sound/soc/stm/stm32_adfsdm.c 	snprintf(str_freq, sizeof(str_freq), "%d\n", freq);
freq              405 sound/soc/stm/stm32_i2s.c 				int clk_id, unsigned int freq, int dir)
freq              409 sound/soc/stm/stm32_i2s.c 	dev_dbg(cpu_dai->dev, "I2S MCLK frequency is %uHz\n", freq);
freq              412 sound/soc/stm/stm32_i2s.c 		i2s->mclk_rate = freq;
freq              306 sound/soc/stm/stm32_sai_sub.c 	unsigned long freq;
freq              385 sound/soc/stm/stm32_sai_sub.c 	mclk->freq = *prate / div;
freq              387 sound/soc/stm/stm32_sai_sub.c 	return mclk->freq;
freq              395 sound/soc/stm/stm32_sai_sub.c 	return mclk->freq;
freq              413 sound/soc/stm/stm32_sai_sub.c 	mclk->freq = rate;
freq              550 sound/soc/stm/stm32_sai_sub.c 				int clk_id, unsigned int freq, int dir)
freq              558 sound/soc/stm/stm32_sai_sub.c 					 freq ? 0 : SAI_XCR1_NODIV);
freq              563 sound/soc/stm/stm32_sai_sub.c 		if (!freq) {
freq              573 sound/soc/stm/stm32_sai_sub.c 		ret = stm32_sai_set_parent_clock(sai, freq);
freq              577 sound/soc/stm/stm32_sai_sub.c 		ret = clk_set_rate_exclusive(sai->sai_mclk, freq);
freq              586 sound/soc/stm/stm32_sai_sub.c 		dev_dbg(cpu_dai->dev, "SAI MCLK frequency is %uHz\n", freq);
freq              587 sound/soc/stm/stm32_sai_sub.c 		sai->mclk_rate = freq;
freq              817 sound/soc/sunxi/sun4i-i2s.c 				unsigned int freq, int dir)
freq              824 sound/soc/sunxi/sun4i-i2s.c 	i2s->mclk_freq = freq;
freq              383 sound/soc/ti/davinci-i2s.c 	unsigned int rcr, xcr, srgr, clk_div, freq, framesize;
freq              404 sound/soc/ti/davinci-i2s.c 		freq = clk_get_rate(dev->clk);
freq              412 sound/soc/ti/davinci-i2s.c 				framesize = (freq / (--clk_div)) /
freq              421 sound/soc/ti/davinci-i2s.c 			clk_div = freq / (mcbsp_word_length * 16) /
freq              662 sound/soc/ti/davinci-mcasp.c 				    unsigned int freq, int dir)
freq              677 sound/soc/ti/davinci-mcasp.c 	mcasp->sysclk_freq = freq;
freq               52 sound/soc/ti/omap-abe-twl6040.c 	int clk_id, freq;
freq               57 sound/soc/ti/omap-abe-twl6040.c 		freq = priv->mclk_freq;
freq               59 sound/soc/ti/omap-abe-twl6040.c 		freq = 32768;
freq               64 sound/soc/ti/omap-abe-twl6040.c 	ret = snd_soc_dai_set_sysclk(codec_dai, clk_id, freq,
freq              279 sound/soc/ti/omap-dmic.c 				 unsigned int freq)
freq              285 sound/soc/ti/omap-dmic.c 	switch (freq) {
freq              292 sound/soc/ti/omap-dmic.c 		dev_err(dmic->dev, "invalid input frequency: %dHz\n", freq);
freq              298 sound/soc/ti/omap-dmic.c 		dmic->fclk_freq = freq;
freq              353 sound/soc/ti/omap-dmic.c 	dmic->fclk_freq = freq;
freq              363 sound/soc/ti/omap-dmic.c 				    unsigned int freq)
freq              373 sound/soc/ti/omap-dmic.c 	switch (freq) {
freq              378 sound/soc/ti/omap-dmic.c 		dmic->out_freq = freq;
freq              381 sound/soc/ti/omap-dmic.c 		dev_err(dmic->dev, "invalid out frequency: %dHz\n", freq);
freq              390 sound/soc/ti/omap-dmic.c 				    unsigned int freq, int dir)
freq              395 sound/soc/ti/omap-dmic.c 		return omap_dmic_select_fclk(dmic, clk_id, freq);
freq              397 sound/soc/ti/omap-dmic.c 		return omap_dmic_select_outclk(dmic, clk_id, freq);
freq             1211 sound/soc/ti/omap-mcbsp.c 					 int clk_id, unsigned int freq,
freq             1219 sound/soc/ti/omap-mcbsp.c 		if (freq == mcbsp->in_freq)
freq             1225 sound/soc/ti/omap-mcbsp.c 	mcbsp->in_freq = freq;
freq              106 sound/soc/uniphier/aio-core.c 		     unsigned int freq)
freq              114 sound/soc/uniphier/aio-core.c 	if (freq == 0)
freq              135 sound/soc/uniphier/aio-core.c 	switch (freq) {
freq              143 sound/soc/uniphier/aio-core.c 		dev_err(dev, "PLL frequency not supported(%d)\n", freq);
freq              146 sound/soc/uniphier/aio-core.c 	chip->plls[pll_id].freq = freq;
freq              548 sound/soc/uniphier/aio-core.c 			switch (chip->plls[sub->aio->pll_out].freq) {
freq              573 sound/soc/uniphier/aio-core.c 			switch (chip->plls[sub->aio->pll_out].freq) {
freq              128 sound/soc/uniphier/aio-cpu.c static int find_divider(struct uniphier_aio *aio, int pll_id, unsigned int freq)
freq              140 sound/soc/uniphier/aio-cpu.c 		if (pll->freq * mul[i] / div[i] == freq)
freq              147 sound/soc/uniphier/aio-cpu.c 				   unsigned int freq, int dir)
freq              196 sound/soc/uniphier/aio-cpu.c 			div_id = find_divider(aio, pll_id, freq);
freq              204 sound/soc/uniphier/aio-cpu.c 				freq);
freq              288 sound/soc/uniphier/aio-cpu.c 	int freq, ret;
freq              294 sound/soc/uniphier/aio-cpu.c 		freq = 12288000;
freq              298 sound/soc/uniphier/aio-cpu.c 		freq = 11289600;
freq              306 sound/soc/uniphier/aio-cpu.c 				     freq, SND_SOC_CLOCK_OUT);
freq              214 sound/soc/uniphier/aio.h 	unsigned int freq;
freq              325 sound/soc/uniphier/aio.h 		     unsigned int freq);
freq              622 sound/soc/ux500/ux500_msp_dai.c 					int clk_id, unsigned int freq, int dir)
freq              627 sound/soc/ux500/ux500_msp_dai.c 		__func__, dai->id, clk_id, freq);
freq              631 sound/soc/ux500/ux500_msp_dai.c 		drvdata->master_clk = freq;
freq              288 sound/soc/xtensa/xtfpga-i2s.c 	unsigned freq, ratio, level;
freq              295 sound/soc/xtensa/xtfpga-i2s.c 	freq = 256 * srate;
freq              296 sound/soc/xtensa/xtfpga-i2s.c 	err = clk_set_rate(i2s->clk, freq);
freq              306 sound/soc/xtensa/xtfpga-i2s.c 	ratio = (freq - (srate * sample_size * 8)) /
freq              332 sound/soc/xtensa/xtfpga-i2s.c 		__func__, freq, ratio, level);
freq              156 sound/sparc/dbri.c 	unsigned short freq;
freq             1593 sound/sparc/dbri.c 	for (freq_idx = 0; CS4215_FREQ[freq_idx].freq != 0; freq_idx++) {
freq             1594 sound/sparc/dbri.c 		if (CS4215_FREQ[freq_idx].freq == rate)
freq             1597 sound/sparc/dbri.c 	if (CS4215_FREQ[freq_idx].freq != rate) {
freq             2015 sound/usb/mixer_quirks.c 	unsigned int freq;
freq             2027 sound/usb/mixer_quirks.c 	freq = (den == 0) ? 0 : div64_u64(num, den);
freq             2028 sound/usb/mixer_quirks.c 	freq <<= SND_RME_CLK_FREQMUL(status1);
freq             2029 sound/usb/mixer_quirks.c 	ucontrol->value.integer.value[0] = freq;
freq              345 tools/include/uapi/linux/perf_event.h 				freq           :  1, /* use freq, not period  */
freq                7 tools/lib/api/cpu.c int cpu__get_max_freq(unsigned long long *freq)
freq               18 tools/lib/api/cpu.c 	return sysfs__read_ull(entry, freq);
freq                5 tools/lib/api/cpu.h int cpu__get_max_freq(unsigned long long *freq);
freq              277 tools/perf/arch/arm/util/cs-etm.c 			evsel->core.attr.freq = 0;
freq              423 tools/perf/arch/arm/util/cs-etm.c 		tracking_evsel->core.attr.freq = 0;
freq               83 tools/perf/arch/arm64/util/arm-spe.c 			evsel->core.attr.freq = 0;
freq              135 tools/perf/arch/arm64/util/arm-spe.c 	tracking_evsel->core.attr.freq = 0;
freq              125 tools/perf/arch/x86/util/intel-bts.c 			evsel->core.attr.freq = 0;
freq              238 tools/perf/arch/x86/util/intel-bts.c 		tracking_evsel->core.attr.freq = 0;
freq              597 tools/perf/arch/x86/util/intel-pt.c 			evsel->core.attr.freq = 0;
freq              722 tools/perf/arch/x86/util/intel-pt.c 				switch_evsel->core.attr.freq = 0;
freq              782 tools/perf/arch/x86/util/intel-pt.c 		tracking_evsel->core.attr.freq = 0;
freq               55 tools/perf/builtin-evlist.c 	OPT_BOOLEAN('F', "freq", &details.freq, "Show the sample frequency"),
freq               73 tools/perf/builtin-evlist.c 	if (details.event_group && (details.verbose || details.freq)) {
freq             2077 tools/perf/builtin-record.c 		.freq		     = 4000,
freq             1594 tools/perf/builtin-script.c 	unsigned int percent, freq;
freq             1600 tools/perf/builtin-script.c 	freq = (le32_to_cpu(data->freq) + 500) / 1000;
freq             1601 tools/perf/builtin-script.c 	len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq);
freq             1402 tools/perf/builtin-top.c 			.freq		= 4000, /* 4 KHz */
freq              116 tools/perf/tests/attr.c 	WRITE_ASS(freq,           "d");
freq               96 tools/perf/tests/backward-ring-buffer.c 		.freq	      = 0,
freq              118 tools/perf/tests/bpf.c 		.freq	      = 0,
freq              559 tools/perf/tests/code-reading.c 		.freq		     = 500,
freq               32 tools/perf/tests/openat-syscall-tp-fields.c 		.freq	      = 1,
freq               42 tools/perf/tests/sw-clock.c 		.freq = 1,
freq              330 tools/perf/tests/switch-tracking.c 		.freq		     = 4000,
freq              428 tools/perf/tests/switch-tracking.c 	tracking_evsel->core.attr.freq = 0;
freq              253 tools/perf/util/event.h 	u32 freq;
freq              793 tools/perf/util/evsel.c 				attr->freq = 0;
freq              799 tools/perf/util/evsel.c 				attr->sample_freq = term->val.freq;
freq              800 tools/perf/util/evsel.c 				attr->freq = 1;
freq              976 tools/perf/util/evsel.c 		if (opts->freq) {
freq              978 tools/perf/util/evsel.c 			attr->freq		= 1;
freq              979 tools/perf/util/evsel.c 			attr->sample_freq	= opts->freq;
freq              990 tools/perf/util/evsel.c 		attr->freq           = 0;
freq               35 tools/perf/util/evsel_config.h 		u64	      freq;
freq               67 tools/perf/util/evsel_fprintf.c 	} else if (details->freq) {
freq               70 tools/perf/util/evsel_fprintf.c 		if (!evsel->core.attr.freq)
freq               11 tools/perf/util/evsel_fprintf.h 	bool freq;
freq             1459 tools/perf/util/intel-pt.c 	raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz);
freq             1719 tools/perf/util/intel-pt.c 	if (!evsel->core.attr.freq)
freq             1195 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(FREQ, freq, term->val.num);
freq              113 tools/perf/util/perf_event_attr_fprintf.c 	PRINT_ATTRf(freq, p_unsigned);
freq              743 tools/perf/util/python.c 	    freq = 1,
freq              760 tools/perf/util/python.c 					 &mmap, &context_switch, &comm, &freq, &inherit_stat,
freq              786 tools/perf/util/python.c 	attr.freq	    = freq;
freq              206 tools/perf/util/record.c 		opts->freq = opts->user_freq;
freq              212 tools/perf/util/record.c 		opts->freq = 0;
freq              213 tools/perf/util/record.c 	else if (opts->freq) {
freq              214 tools/perf/util/record.c 		opts->default_interval = opts->freq;
freq              226 tools/perf/util/record.c 	if (user_freq && (max_rate < opts->freq)) {
freq              238 tools/perf/util/record.c 				   max_rate, opts->freq, max_rate);
freq              240 tools/perf/util/record.c 			opts->freq = max_rate;
freq              247 tools/perf/util/record.c 	if (max_rate < opts->freq) {
freq              252 tools/perf/util/record.c 		opts->freq = max_rate;
freq              312 tools/perf/util/record.c 	unsigned int freq;
freq              319 tools/perf/util/record.c 		if (get_max_rate(&freq)) {
freq              323 tools/perf/util/record.c 		pr_info("info: Using a maximum frequency rate of %'d Hz\n", freq);
freq              325 tools/perf/util/record.c 		freq = atoi(str);
freq              328 tools/perf/util/record.c 	opts->user_freq = freq;
freq               47 tools/perf/util/record.h 	unsigned int  freq;
freq              346 tools/perf/util/svghelper.c 			unsigned int freq;
freq              347 tools/perf/util/svghelper.c 			freq = strtoull(buf, NULL, 10);
freq              348 tools/perf/util/svghelper.c 			if (freq > max_freq)
freq              349 tools/perf/util/svghelper.c 				max_freq = freq;
freq              473 tools/perf/util/svghelper.c void svg_pstate(int cpu, u64 start, u64 end, u64 freq)
freq              483 tools/perf/util/svghelper.c 		height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT);
freq              488 tools/perf/util/svghelper.c 		time2pixels(start), height+0.9, HzToHuman(freq));
freq               22 tools/perf/util/svghelper.h void svg_pstate(int cpu, u64 start, u64 end, u64 freq);
freq               77 tools/perf/util/top.c 				opts->freq ? "Hz" : "");
freq               64 tools/power/cpupower/debug/i386/dump_psb.c 	int freq, fid, vid;
freq               69 tools/power/cpupower/debug/i386/dump_psb.c 		freq = 100 * fid_to_mult[fid] * fsb;
freq               73 tools/power/cpupower/debug/i386/dump_psb.c 		       freq,
freq              676 tools/power/cpupower/lib/cpufreq.c 	char freq[SYSFS_PATH_MAX];
freq              692 tools/power/cpupower/lib/cpufreq.c 	snprintf(freq, SYSFS_PATH_MAX, "%lu", target_frequency);
freq              695 tools/power/cpupower/lib/cpufreq.c 					     freq, strlen(freq));
freq              274 tools/power/cpupower/utils/cpufreq-info.c 	unsigned long freq = cpufreq_get_freq_kernel(cpu);
freq              276 tools/power/cpupower/utils/cpufreq-info.c 	if (!freq) {
freq              281 tools/power/cpupower/utils/cpufreq-info.c 		print_speed(freq);
freq              283 tools/power/cpupower/utils/cpufreq-info.c 		printf("%lu", freq);
freq              293 tools/power/cpupower/utils/cpufreq-info.c 	unsigned long freq = cpufreq_get_freq_hardware(cpu);
freq              295 tools/power/cpupower/utils/cpufreq-info.c 	if (!freq) {
freq              300 tools/power/cpupower/utils/cpufreq-info.c 		print_speed(freq);
freq              302 tools/power/cpupower/utils/cpufreq-info.c 		printf("%lu", freq);
freq               68 tools/power/cpupower/utils/cpufreq-set.c 	unsigned long freq;
freq              130 tools/power/cpupower/utils/cpufreq-set.c 	freq = strtoul(normalized, &end, 10);
freq              134 tools/power/cpupower/utils/cpufreq-set.c 		if (match_count && freq != ULONG_MAX)
freq              135 tools/power/cpupower/utils/cpufreq-set.c 			freq++;
freq              136 tools/power/cpupower/utils/cpufreq-set.c 		return freq;
freq              168 tools/power/cpupower/utils/cpufreq-set.c 		unsigned long freq, unsigned int pc)
freq              172 tools/power/cpupower/utils/cpufreq-set.c 		return cpufreq_set_frequency(cpu, freq);
freq              198 tools/power/cpupower/utils/cpufreq-set.c 	unsigned long freq = 0;
freq              244 tools/power/cpupower/utils/cpufreq-set.c 			if (freq)
freq              246 tools/power/cpupower/utils/cpufreq-set.c 			freq = string_to_frequency(optarg);
freq              247 tools/power/cpupower/utils/cpufreq-set.c 			if (freq == 0) {
freq              275 tools/power/cpupower/utils/cpufreq-set.c 	if (freq && policychange) {
freq              281 tools/power/cpupower/utils/cpufreq-set.c 	if (!freq && !policychange) {
freq              324 tools/power/cpupower/utils/cpufreq-set.c 		ret = do_one_cpu(cpu, &new_pol, freq, policychange);
freq             4416 tools/power/x86/turbostat/turbostat.c 	double freq;
freq             4426 tools/power/x86/turbostat/turbostat.c 	freq = slm_freq_table[i];
freq             4429 tools/power/x86/turbostat/turbostat.c 		fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq);
freq             4431 tools/power/x86/turbostat/turbostat.c 	return freq;
freq              190 tools/testing/selftests/bpf/prog_tests/send_signal.c 		.freq = 1,
freq               24 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c 		.freq = 1,
freq               43 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c 	event.attr.freq = 1;
freq              286 tools/testing/selftests/ptp/testptp.c 		tx.freq = ppb_to_scaled_ppm(adjfreq);
freq              127 tools/testing/selftests/timers/adjtick.c 	tx1.freq	= 0;
freq              144 tools/testing/selftests/timers/adjtick.c 	if (tx1.offset || tx1.freq || tx1.tick != tickval) {
freq              202 tools/testing/selftests/timers/adjtick.c 	tx1.freq	 = 0;
freq               42 tools/testing/selftests/timers/change_skew.c 	tx.freq = ppm << 16;
freq               94 tools/testing/selftests/timers/freq-step.c static void set_frequency(double freq)
freq               99 tools/testing/selftests/timers/freq-step.c 	tick_offset = 1e6 * freq / user_hz;
freq              103 tools/testing/selftests/timers/freq-step.c 	txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16);
freq              132 tools/testing/selftests/timers/raw_skew.c 	ppm = (tx1.freq + tx2.freq) * 1000 / 2;
freq              133 tools/testing/selftests/timers/raw_skew.c 	ppm = (long long)tx1.freq * 1000;
freq              139 tools/testing/selftests/timers/raw_skew.c 		    tx1.freq != tx2.freq || tx1.tick != tx2.tick) {
freq               60 tools/testing/selftests/timers/skew_consistency.c 		tx.freq = ppm << 16;
freq              129 tools/testing/selftests/timers/valid-adjtimex.c 		tx.freq = valid_freq[i];
freq              141 tools/testing/selftests/timers/valid-adjtimex.c 		if (tx.freq != valid_freq[i]) {
freq              143 tools/testing/selftests/timers/valid-adjtimex.c 					tx.freq, valid_freq[i]);
freq              148 tools/testing/selftests/timers/valid-adjtimex.c 		tx.freq = outofrange_freq[i];
freq              160 tools/testing/selftests/timers/valid-adjtimex.c 		if (tx.freq == outofrange_freq[i]) {
freq              163 tools/testing/selftests/timers/valid-adjtimex.c 					tx.freq);
freq              173 tools/testing/selftests/timers/valid-adjtimex.c 			tx.freq = invalid_freq[i];
freq              189 tools/testing/selftests/timers/valid-adjtimex.c 	tx.freq = 0;