Searched defs:divs (Results 1 - 4 of 4) sorted by relevance

/drivers/gpu/drm/nouveau/
H A Dnv40_pm.c354 nv40_pm_pwm_get(struct drm_device *dev, int line, u32 *divs, u32 *duty) argument
360 *divs = (reg & 0x00007fff);
367 *divs = nv_rd32(dev, 0x0015f8);
380 nv40_pm_pwm_set(struct drm_device *dev, int line, u32 divs, u32 duty) argument
383 nv_wr32(dev, 0x0010f0, 0x80000000 | (duty << 16) | divs);
386 nv_wr32(dev, 0x0015f8, divs);
H A Dnouveau_pm.c44 u32 divs, duty; local
52 ret = pm->pwm_get(dev, gpio.line, &divs, &duty);
54 divs = max(divs, duty);
56 duty = divs - duty;
57 return (duty * 100) / divs;
72 u32 divs, duty; local
80 divs = pm->pwm_divisor;
83 divs = 135000 / pm->fan.pwm_freq;
85 divs /
[all...]
H A Dnv50_pm.c743 nv50_pm_pwm_get(struct drm_device *dev, int line, u32 *divs, u32 *duty) argument
750 *divs = nv_rd32(dev, 0x00e114 + (id * 8));
759 nv50_pm_pwm_set(struct drm_device *dev, int line, u32 divs, u32 duty) argument
766 nv_wr32(dev, 0x00e114 + (id * 8), divs);
/drivers/i2c/busses/
H A Di2c-s3c2410.c606 unsigned int *div1, unsigned int *divs)
624 *divs = calc_divs;
641 unsigned int divs, div1; local
655 freq = s3c24xx_i2c_calcdivisor(clkin, target_frequency, &div1, &divs);
668 iiccon |= (divs-1);
605 s3c24xx_i2c_calcdivisor(unsigned long clkin, unsigned int wanted, unsigned int *div1, unsigned int *divs) argument

Completed in 335 milliseconds