Home
last modified time | relevance | path

Searched refs:div_factor (Results 1 – 1 of 1) sorted by relevance

/drivers/ide/
Dide-proc.c256 int len, rc, mul_factor, div_factor; in proc_ide_read_settings() local
277 div_factor = setting->divf ? setting->divf(drive) : 1; in proc_ide_read_settings()
281 out += sprintf(out, "%-16d", rc * mul_factor / div_factor); in proc_ide_read_settings()
284 …%-16d%-16d", (setting->min * mul_factor + div_factor - 1) / div_factor, setting->max * mul_factor … in proc_ide_read_settings()
304 int for_real = 0, mul_factor, div_factor; in proc_ide_write_settings() local
387 div_factor = setting->divf ? setting->divf(drive) : 1; in proc_ide_write_settings()
388 ide_write_setting(drive, setting, val * div_factor / mul_factor); in proc_ide_write_settings()