/drivers/cpufreq/ |
D | cppc_cpufreq.c | 105 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()
|
D | speedstep-centrino.c | 85 #define OP(mhz, mv) \ argument 87 .frequency = (mhz) * 1000, \ 88 .driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16) \
|
/drivers/gpu/drm/amd/display/dc/ |
D | dm_pp_smu.h | 124 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/ |
D | amdgpu_dm_pp_smu.c | 651 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/ |
D | wd33c93.h | 149 #define WD33C93_FS_MHZ(mhz) (mhz) argument
|
D | esp_scsi.h | 239 #define ESP_NEG_DEFP(mhz, cfact) \ argument 240 ((ESP_BUS_TIMEOUT * ((mhz) / 1000)) / (8192 * (cfact)))
|
D | wd33c93.c | 1864 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/ |
D | rammap.c | 133 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/ |
D | oid_mgt.c | 300 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()
|
D | isl_oid.h | 76 u16 mhz[0]; member
|
D | isl_ioctl.c | 497 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/ |
D | rammap.h | 15 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 966 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/ |
D | sdhci-of-arasan.c | 596 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/ |
D | wmi.h | 2026 __le32 mhz; member
|
D | wmi.c | 1704 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
|