mhz               659 arch/s390/kernel/perf_cpum_cf_diag.c 		unsigned long mhz = __ecag(ECAG_CPU_ATTRIBUTE, 0);
mhz               661 arch/s390/kernel/perf_cpum_cf_diag.c 		if (mhz != -1UL)
mhz               662 arch/s390/kernel/perf_cpum_cf_diag.c 			cf_diag_cpu_speed = mhz & 0xffffffff;
mhz                47 arch/s390/kernel/processor.c 	unsigned long mhz;
mhz                50 arch/s390/kernel/processor.c 	mhz = __ecag(ECAG_CPU_ATTRIBUTE, 0);
mhz                52 arch/s390/kernel/processor.c 	c->cpu_mhz_dynamic = mhz >> 32;
mhz                53 arch/s390/kernel/processor.c 	c->cpu_mhz_static = mhz & 0xffffffff;
mhz               105 drivers/cpufreq/cppc_cpufreq.c 	u16 *mhz = (u16 *)private;
mhz               111 drivers/cpufreq/cppc_cpufreq.c 		*mhz = val > *mhz ? val : *mhz;
mhz               118 drivers/cpufreq/cppc_cpufreq.c 	u16 mhz = 0;
mhz               120 drivers/cpufreq/cppc_cpufreq.c 	dmi_walk(cppc_find_dmi_mhz, &mhz);
mhz               126 drivers/cpufreq/cppc_cpufreq.c 	mhz = mhz ? mhz : 1;
mhz               128 drivers/cpufreq/cppc_cpufreq.c 	return (1000 * mhz);
mhz                85 drivers/cpufreq/speedstep-centrino.c #define OP(mhz, mv)							\
mhz                87 drivers/cpufreq/speedstep-centrino.c 		.frequency = (mhz) * 1000,				\
mhz                88 drivers/cpufreq/speedstep-centrino.c 		.driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16)		\
mhz               651 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void pp_rv_set_hard_min_fclk_by_freq(struct pp_smu *pp, int mhz)
mhz               661 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	pp_funcs->set_hard_min_fclk_by_freq(pp_handle, mhz);
mhz               757 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c enum pp_smu_status pp_nv_set_min_deep_sleep_dcfclk(struct pp_smu *pp, int mhz)
mhz               767 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	if (smu_set_deep_sleep_dcefclk(smu, mhz))
mhz               774 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 		struct pp_smu *pp, int mhz)
mhz               785 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	clock_req.clock_freq_in_khz = mhz * 1000;
mhz               796 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c enum pp_smu_status pp_nv_set_hard_min_uclk_by_freq(struct pp_smu *pp, int mhz)
mhz               807 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	clock_req.clock_freq_in_khz = mhz * 1000;
mhz               832 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 		enum pp_smu_nv_clock_id clock_id, int mhz)
mhz               855 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	clock_req.clock_freq_in_khz = mhz * 1000;
mhz               124 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz);
mhz               130 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz);
mhz               135 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz);
mhz               140 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz);
mhz                15 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
mhz               133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c nvbios_rammapEm(struct nvkm_bios *bios, u16 mhz,
mhz               139 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c 		if (mhz >= info->rammap_min && mhz <= info->rammap_max)
mhz               966 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	u32 mhz = khz / 1000;
mhz               969 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		if (mhz >= cfg->bios.rammap_min &&
mhz               970 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		    mhz <= cfg->bios.rammap_max) {
mhz               977 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz);
mhz              1159 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	u32 mhz = freq / 1000;
mhz              1163 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		if (mhz >= cfg->bios.rammap_min &&
mhz              1164 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		    mhz <= cfg->bios.rammap_max)
mhz               596 drivers/mmc/host/sdhci-of-arasan.c 	u32 mhz = DIV_ROUND_CLOSEST(clk_get_rate(pltfm_host->clk), 1000000);
mhz               609 drivers/mmc/host/sdhci-of-arasan.c 	sdhci_arasan_syscon_write(host, &soc_ctl_map->baseclkfreq, mhz);
mhz              1704 drivers/net/wireless/ath/ath10k/wmi.c 	ch->mhz = __cpu_to_le32(arg->freq);
mhz              2026 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 mhz;
mhz               497 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		range->freq[i].m = freq->mhz[i];
mhz               499 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		range->freq[i].i = channel_of_freq(freq->mhz[i]);
mhz                76 drivers/net/wireless/intersil/prism54/isl_oid.h 	u16 mhz[0];
mhz               300 drivers/net/wireless/intersil/prism54/oid_mgt.c 				freq->mhz[i] = le16_to_cpu(freq->mhz[i]);
mhz               369 drivers/net/wireless/intersil/prism54/oid_mgt.c 				freq->mhz[i] = cpu_to_le16(freq->mhz[i]);
mhz               825 drivers/net/wireless/intersil/prism54/oid_mgt.c 					      "mhz[%u]=%u\n", i, freq->mhz[i]);
mhz               239 drivers/scsi/esp_scsi.h #define ESP_NEG_DEFP(mhz, cfact) \
mhz               240 drivers/scsi/esp_scsi.h         ((ESP_BUS_TIMEOUT * ((mhz) / 1000)) / (8192 * (cfact)))
mhz              1864 drivers/scsi/wd33c93.c calc_sx_table(unsigned int mhz, struct sx_period sx_table[9])
mhz              1867 drivers/scsi/wd33c93.c 	if (mhz < 11)
mhz              1869 drivers/scsi/wd33c93.c 	else if (mhz < 16)
mhz              1874 drivers/scsi/wd33c93.c 	d = (100000 * d) / 2 / mhz; /* 100 x DTCC / nanosec */
mhz              1891 drivers/scsi/wd33c93.c set_clk_freq(int freq, int *mhz)
mhz              1911 drivers/scsi/wd33c93.c 	*mhz = freq;
mhz               149 drivers/scsi/wd33c93.h #define WD33C93_FS_MHZ(mhz) (mhz)
mhz               820 sound/synth/emux/soundfont.c freq_to_note(int mhz)
mhz               822 sound/synth/emux/soundfont.c 	return snd_sf_linear_to_log(mhz, OFFSET_ABSCENT, ABSCENT_RATIO);