Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c171 static int dcon_set_mono_mode(struct dcon_priv *dcon, bool enable_mono) in dcon_set_mono_mode() argument
173 if (dcon->mono == enable_mono) in dcon_set_mono_mode()
176 dcon->mono = enable_mono; in dcon_set_mono_mode()
178 if (enable_mono) { in dcon_set_mono_mode()
436 unsigned long enable_mono; in dcon_mono_store() local
439 rc = kstrtoul(buf, 10, &enable_mono); in dcon_mono_store()
443 dcon_set_mono_mode(dev_get_drvdata(dev), enable_mono ? true : false); in dcon_mono_store()