Searched refs:div_factor (Results 1 - 2 of 2) sorted by relevance
/drivers/ide/ |
H A D | ide-proc.c | 286 int rc, mul_factor, div_factor; local 307 div_factor = setting->divf ? setting->divf(drive) : 1; 311 seq_printf(m, "%-16d", rc * mul_factor / div_factor); 314 seq_printf(m, "%-16d%-16d", (setting->min * mul_factor + div_factor - 1) / div_factor, setting->max * mul_factor / div_factor); 338 int for_real = 0, mul_factor, div_factor; local 421 div_factor = setting->divf ? setting->divf(drive) : 1; 422 ide_write_setting(drive, setting, val * div_factor / mul_factor);
|
/drivers/media/dvb-frontends/ |
H A D | ix2505v.c | 138 u32 div_factor, N , A, x; local 161 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ 162 x = div_factor / psc;
|
Completed in 98 milliseconds