Searched refs:mhz (Results 1 – 14 of 14) sorted by relevance
/drivers/cpufreq/ |
D | cppc_cpufreq.c | 51 u16 *mhz = (u16 *)private; in cppc_find_dmi_mhz() local 57 *mhz = val > *mhz ? val : *mhz; in cppc_find_dmi_mhz() 64 u16 mhz = 0; in cppc_get_dmi_max_khz() local 66 dmi_walk(cppc_find_dmi_mhz, &mhz); in cppc_get_dmi_max_khz() 72 mhz = mhz ? mhz : 1; in cppc_get_dmi_max_khz() 74 return (1000 * mhz); in cppc_get_dmi_max_khz()
|
D | speedstep-centrino.c | 84 #define OP(mhz, mv) \ argument 86 .frequency = (mhz) * 1000, \ 87 .driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16) \
|
/drivers/scsi/ |
D | wd33c93.h | 159 #define WD33C93_FS_MHZ(mhz) (mhz) argument
|
D | esp_scsi.h | 238 #define ESP_NEG_DEFP(mhz, cfact) \ argument 239 ((ESP_BUS_TIMEOUT * ((mhz) / 1000)) / (8192 * (cfact)))
|
D | wd33c93.c | 1870 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) in calc_sx_table() argument 1873 if (mhz < 11) in calc_sx_table() 1875 else if (mhz < 16) in calc_sx_table() 1880 d = (100000 * d) / 2 / mhz; /* 100 x DTCC / nanosec */ in calc_sx_table() 1897 set_clk_freq(int freq, int *mhz) in set_clk_freq() argument 1917 *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 | 312 freq->mhz[i] = le16_to_cpu(freq->mhz[i]); in mgt_le_to_cpu() 381 freq->mhz[i] = cpu_to_le16(freq->mhz[i]); in mgt_cpu_to_le() 837 "mhz[%u]=%u\n", i, freq->mhz[i]); in mgt_response_to_str()
|
D | isl_oid.h | 88 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 | 14 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 958 u32 mhz = khz / 1000; in gk104_ram_calc_data() local 961 if (mhz >= cfg->bios.rammap_min && in gk104_ram_calc_data() 962 mhz <= cfg->bios.rammap_max) { in gk104_ram_calc_data() 969 nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz); in gk104_ram_calc_data() 1153 u32 mhz = freq / 1000; in gk104_ram_prog_0() local 1157 if (mhz >= cfg->bios.rammap_min && in gk104_ram_prog_0() 1158 mhz <= cfg->bios.rammap_max) in gk104_ram_prog_0()
|
/drivers/mmc/host/ |
D | sdhci-of-arasan.c | 484 u32 mhz = DIV_ROUND_CLOSEST(clk_get_rate(pltfm_host->clk), 1000000); in sdhci_arasan_update_baseclkfreq() local 497 sdhci_arasan_syscon_write(host, &soc_ctl_map->baseclkfreq, mhz); in sdhci_arasan_update_baseclkfreq()
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.h | 1783 __le32 mhz; member
|
D | wmi.c | 1637 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
|