Searched refs:mhz (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/phy/intel/
H A Dphy-intel-keembay-emmc.c59 unsigned int mhz; local
84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000);
85 if (mhz <= 200 && mhz >= 170)
87 else if (mhz <= 170 && mhz >= 140)
89 else if (mhz <= 140 && mhz >= 110)
91 else if (mhz <= 110 && mhz >
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h118 void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz);
124 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz);
129 void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz);
134 void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz);
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Drammap.h15 u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
/linux-master/arch/s390/kernel/
H A Dprocessor.c51 unsigned long mhz; local
54 mhz = __ecag(ECAG_CPU_ATTRIBUTE, 0);
56 c->cpu_mhz_dynamic = mhz >> 32;
57 c->cpu_mhz_static = mhz & 0xffffffff;
H A Dperf_cpum_cf.c1899 unsigned long mhz; local
1914 mhz = __ecag(ECAG_CPU_ATTRIBUTE, 0);
1915 if (mhz != -1UL)
1916 cfdiag_cpu_speed = mhz & 0xffffffff;
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_pp_smu.c545 static void pp_rv_set_hard_min_fclk_by_freq(struct pp_smu *pp, int mhz) argument
550 amdgpu_dpm_set_hard_min_fclk_by_freq(adev, mhz);
581 pp_nv_set_min_deep_sleep_dcfclk(struct pp_smu *pp, int mhz) argument
588 ret = amdgpu_dpm_set_min_deep_sleep_dcefclk(adev, mhz);
598 struct pp_smu *pp, int mhz)
606 clock_req.clock_freq_in_khz = mhz * 1000;
621 pp_nv_set_hard_min_uclk_by_freq(struct pp_smu *pp, int mhz) argument
629 clock_req.clock_freq_in_khz = mhz * 1000;
657 enum pp_smu_nv_clock_id clock_id, int mhz)
677 clock_req.clock_freq_in_khz = mhz * 100
597 pp_nv_set_hard_min_dcefclk_by_freq( struct pp_smu *pp, int mhz) argument
656 pp_nv_set_voltage_by_freq(struct pp_smu *pp, enum pp_smu_nv_clock_id clock_id, int mhz) argument
[all...]
/linux-master/net/wireless/
H A Dchan.c79 .len = ARRAY_SIZE(puncturing_values_ ## _bw ## mhz), \
80 .valid_values = puncturing_values_ ## _bw ## mhz \
212 int mhz; local
216 mhz = 1;
219 mhz = 2;
222 mhz = 4;
225 mhz = 8;
228 mhz = 16;
231 mhz = 5;
234 mhz
[all...]
/linux-master/drivers/mmc/host/
H A Dsdhci-of-arasan.c1189 u32 mhz = DIV_ROUND_CLOSEST_ULL(clk_get_rate(pltfm_host->clk), 1000000); local
1202 sdhci_arasan_syscon_write(host, &soc_ctl_map->baseclkfreq, mhz);
1739 u32 mhz, node_id = !strcmp(clk_name, "clk_out_sd0") ? NODE_SD_0 : NODE_SD_1; local
1763 mhz = DIV_ROUND_CLOSEST_ULL(clk_get_rate(pltfm_host->clk), 1000000);
1764 if (mhz > 100 && mhz <= 200)
1765 mhz = 200;
1766 else if (mhz > 50 && mhz <= 100)
1767 mhz
[all...]
/linux-master/drivers/cpufreq/
H A Dspeedstep-centrino.c85 #define OP(mhz, mv) \
87 .frequency = (mhz) * 1000, \
88 .driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16) \
/linux-master/drivers/scsi/
H A Dwd33c93.h148 /* pass input-clock explicitly. accepted mhz values are 8-10,12-20 */
149 #define WD33C93_FS_MHZ(mhz) (mhz)
H A Desp_scsi.h246 #define ESP_NEG_DEFP(mhz, cfact) \
247 ((ESP_BUS_TIMEOUT * ((mhz) / 1000)) / (8192 * (cfact)))
H A Dwd33c93.c1810 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) argument
1813 if (mhz < 11)
1815 else if (mhz < 16)
1820 d = (100000 * d) / 2 / mhz; /* 100 x DTCC / nanosec */
1837 set_clk_freq(int freq, int *mhz) argument
1857 *mhz = freq;
/linux-master/drivers/acpi/
H A Dcppc_acpi.c1832 u16 *mhz = (u16 *)private; local
1838 *mhz = val > *mhz ? val : *mhz;
1845 u16 mhz = 0; local
1847 dmi_walk(cppc_find_dmi_mhz, &mhz);
1853 mhz = mhz ? mhz : 1;
1855 return KHZ_PER_MHZ * mhz;
[all...]
/linux-master/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c33 const u32 mhz = 1000000; local
66 tmp = pll->fvco * factor * mhz;
68 tmp = tmp - pll->nint * factor * mhz;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Drammap.c133 nvbios_rammapEm(struct nvkm_bios *bios, u16 mhz, argument
139 if (mhz >= info->rammap_min && mhz <= info->rammap_max)
/linux-master/drivers/clk/
H A Dclk-lmk04832.c427 unsigned long mhz = rate / 1000000; local
431 if (mhz >= info->vco0_range[0] && mhz <= info->vco0_range[1])
434 if (mhz >= info->vco1_range[0] && mhz <= info->vco1_range[1])
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dreg.c152 ch->mhz = channel->center_freq;
172 ch->mhz, ch->maxpower, ch->maxregpower,
H A Dwmi.c979 chan->mhz = cpu_to_le32(arg->freq);
2568 chan_info->mhz = cpu_to_le32(channel_arg->mhz);
2607 i, chan_info->mhz, chan_info->info);
H A Dwmi.h2807 u32 mhz; member in struct:ath12k_wmi_channel_arg
3450 __le32 mhz; member in struct:ath12k_wmi_channel_params
/linux-master/arch/arm/boot/dts/ti/omap/
H A DMakefile62 omap3-pandora-600mhz.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/ti/omap/
H A DMakefile62 omap3-pandora-600mhz.dtb \
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c966 u32 mhz = khz / 1000; local
969 if (mhz >= cfg->bios.rammap_min &&
970 mhz <= cfg->bios.rammap_max) {
977 nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz);
1159 u32 mhz = freq / 1000; local
1163 if (mhz >= cfg->bios.rammap_min &&
1164 mhz <= cfg->bios.rammap_max)
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dreg.c193 ch->mhz = channel->center_freq;
213 ch->mhz, ch->maxpower, ch->maxregpower,
/linux-master/sound/synth/emux/
H A Dsoundfont.c826 freq_to_note(int mhz) argument
828 return snd_sf_linear_to_log(mhz, OFFSET_ABSCENT, ABSCENT_RATIO);
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Dsmd.c957 param->mhz = req->channels[i]->center_freq;
994 __func__, param->mhz, param->channel_info, param->reg_info_1,

Completed in 574 milliseconds

12