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