Home
last modified time | relevance | path

Searched refs:mhz (Results 1 – 16 of 16) sorted by relevance

/drivers/cpufreq/
Dcppc_cpufreq.c105 u16 *mhz = (u16 *)private; in cppc_find_dmi_mhz() local
111 *mhz = val > *mhz ? val : *mhz; in cppc_find_dmi_mhz()
118 u16 mhz = 0; in cppc_get_dmi_max_khz() local
120 dmi_walk(cppc_find_dmi_mhz, &mhz); in cppc_get_dmi_max_khz()
126 mhz = mhz ? mhz : 1; in cppc_get_dmi_max_khz()
128 return (1000 * mhz); in cppc_get_dmi_max_khz()
Dspeedstep-centrino.c85 #define OP(mhz, mv) \ argument
87 .frequency = (mhz) * 1000, \
88 .driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16) \
/drivers/gpu/drm/amd/display/dc/
Ddm_pp_smu.h124 void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz);
130 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz);
135 void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz);
140 void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz);
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c651 void pp_rv_set_hard_min_fclk_by_freq(struct pp_smu *pp, int mhz) in pp_rv_set_hard_min_fclk_by_freq() argument
661 pp_funcs->set_hard_min_fclk_by_freq(pp_handle, mhz); in pp_rv_set_hard_min_fclk_by_freq()
757 enum pp_smu_status pp_nv_set_min_deep_sleep_dcfclk(struct pp_smu *pp, int mhz) in pp_nv_set_min_deep_sleep_dcfclk() argument
767 if (smu_set_deep_sleep_dcefclk(smu, mhz)) in pp_nv_set_min_deep_sleep_dcfclk()
774 struct pp_smu *pp, int mhz) in pp_nv_set_hard_min_dcefclk_by_freq() argument
785 clock_req.clock_freq_in_khz = mhz * 1000; in pp_nv_set_hard_min_dcefclk_by_freq()
796 enum pp_smu_status pp_nv_set_hard_min_uclk_by_freq(struct pp_smu *pp, int mhz) in pp_nv_set_hard_min_uclk_by_freq() argument
807 clock_req.clock_freq_in_khz = mhz * 1000; in pp_nv_set_hard_min_uclk_by_freq()
832 enum pp_smu_nv_clock_id clock_id, int mhz) in pp_nv_set_voltage_by_freq() argument
855 clock_req.clock_freq_in_khz = mhz * 1000; in pp_nv_set_voltage_by_freq()
/drivers/scsi/
Dwd33c93.h149 #define WD33C93_FS_MHZ(mhz) (mhz) argument
Desp_scsi.h239 #define ESP_NEG_DEFP(mhz, cfact) \ argument
240 ((ESP_BUS_TIMEOUT * ((mhz) / 1000)) / (8192 * (cfact)))
Dwd33c93.c1864 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) in calc_sx_table() argument
1867 if (mhz < 11) in calc_sx_table()
1869 else if (mhz < 16) in calc_sx_table()
1874 d = (100000 * d) / 2 / mhz; /* 100 x DTCC / nanosec */ in calc_sx_table()
1891 set_clk_freq(int freq, int *mhz) in set_clk_freq() argument
1911 *mhz = freq; in set_clk_freq()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Drammap.c133 nvbios_rammapEm(struct nvkm_bios *bios, u16 mhz, in nvbios_rammapEm() argument
139 if (mhz >= info->rammap_min && mhz <= info->rammap_max) in nvbios_rammapEm()
/drivers/net/wireless/intersil/prism54/
Doid_mgt.c300 freq->mhz[i] = le16_to_cpu(freq->mhz[i]); in mgt_le_to_cpu()
369 freq->mhz[i] = cpu_to_le16(freq->mhz[i]); in mgt_cpu_to_le()
825 "mhz[%u]=%u\n", i, freq->mhz[i]); in mgt_response_to_str()
Disl_oid.h76 u16 mhz[0]; member
Disl_ioctl.c497 range->freq[i].m = freq->mhz[i]; in prism54_get_range()
499 range->freq[i].i = channel_of_freq(freq->mhz[i]); in prism54_get_range()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Drammap.h15 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c966 u32 mhz = khz / 1000; in gk104_ram_calc_data() local
969 if (mhz >= cfg->bios.rammap_min && in gk104_ram_calc_data()
970 mhz <= cfg->bios.rammap_max) { in gk104_ram_calc_data()
977 nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz); in gk104_ram_calc_data()
1159 u32 mhz = freq / 1000; in gk104_ram_prog_0() local
1163 if (mhz >= cfg->bios.rammap_min && in gk104_ram_prog_0()
1164 mhz <= cfg->bios.rammap_max) in gk104_ram_prog_0()
/drivers/mmc/host/
Dsdhci-of-arasan.c596 u32 mhz = DIV_ROUND_CLOSEST(clk_get_rate(pltfm_host->clk), 1000000); in sdhci_arasan_update_baseclkfreq() local
609 sdhci_arasan_syscon_write(host, &soc_ctl_map->baseclkfreq, mhz); in sdhci_arasan_update_baseclkfreq()
/drivers/net/wireless/ath/ath10k/
Dwmi.h2026 __le32 mhz; member
Dwmi.c1704 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()