Searched defs:khz (Results 1 - 12 of 12) sorted by relevance

/drivers/gpu/drm/nouveau/core/subdev/bios/
H A Ddisp.c170 nvbios_oclk_match(struct nouveau_bios *bios, u16 cmp, u32 khz) argument
173 if (khz / 10 >= nv_ro16(bios, cmp + 0x00))
/drivers/cpufreq/
H A Dpowernow-k6.c157 unsigned khz; local
163 khz = cpu_khz;
165 if (khz >= usual_frequency_table[i].freq - FREQ_RANGE &&
166 khz <= usual_frequency_table[i].freq + FREQ_RANGE) {
167 khz = usual_frequency_table[i].freq;
183 printk(KERN_WARNING "powernow-k6: unknown frequency %u, cannot determine current multiplier\n", khz);
200 busfreq = khz / max_multiplier;
H A Dsa1110-cpufreq.c121 * Given a period in ns and frequency in khz, calculate the number of
125 static inline u_int ns_to_cycles(u_int ns, u_int khz) argument
127 return (ns * khz + 999999) / 1000000;
H A Dgx-suspmod.c221 static unsigned int gx_validate_speed(unsigned int khz, u8 *on_duration, argument
233 tmp_off = ((khz * i) / stock_freq) & 0xff;
236 /* if this relation is closer to khz, use this. If it's equal,
238 if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) {
251 * set cpu speed in khz.
254 static void gx_set_cpuspeed(struct cpufreq_policy *policy, unsigned int khz) argument
263 new_khz = gx_validate_speed(khz, &gx_params->on_duration,
272 /* if new khz == 100% of CPU speed, it is special case */
H A Dpxa2xx-cpufreq.c60 unsigned int khz; member in struct:__anon483
282 new_freq_cpu = pxa_freq_settings[idx].khz;
379 pxa255_run_freq_table[i].frequency = pxa255_run_freqs[i].khz;
387 pxa255_turbo_freqs[i].khz;
396 freq = pxa27x_freqs[i].khz;
H A Dlonghaul.c110 int khz; local
111 khz = (mult/10)*fsb;
113 khz += fsb/2;
114 khz *= 1000;
115 return khz;
H A Dpowernow-k8.c1151 unsigned int khz = 0; local
1161 khz = find_khz_freq_from_fid(data->currfid);
1165 return khz;
/drivers/atm/
H A Dzatm.h83 int khz; /* timer clock */ member in struct:zatm_dev
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dnva3.c179 nva3_clk_info(struct nouveau_clock *clock, int clk, u32 khz, argument
187 switch (khz) {
190 return khz;
193 return khz;
196 return khz;
199 sdiv = min((sclk * 2) / khz, (u32)65);
201 diff = ((khz + 3000) - oclk);
226 nva3_pll_info(struct nouveau_clock *clock, int clk, u32 pll, u32 khz, argument
239 ret = nva3_clk_info(clock, clk, khz, info);
240 diff = khz
[all...]
H A Dbase.c193 int khz = pstate->base.domain[nv_clk_src_mem]; local
195 ret = pfb->ram->calc(pfb, khz);
/drivers/ata/
H A Dpata_legacy.c465 int khz[4] = { 50000, 40000, 33000, 25000 }; local
474 clock = 1000000000 / khz[ioread8(ap->ioaddr.lbah_addr) & 0x03];
540 int khz[4] = { 50000, 40000, 33000, 25000 }; local
553 clock = 1000000000 / khz[sysclk];
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dramnve0.c935 nve0_ram_calc_data(struct nouveau_fb *pfb, u32 khz, argument
940 u32 mhz = khz / 1000;
946 data->freq = khz;

Completed in 240 milliseconds