Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dwm8741.c420 switch (wm8741->pdata.diff_mode) { in wm8741_configure()
427 wm8741->pdata.diff_mode << WM8741_DIFF_SHIFT); in wm8741_configure()
450 switch (wm8741->pdata.diff_mode) { in wm8741_add_controls()
552 u32 diff_mode; in wm8741_set_pdata() local
555 if (of_property_read_u32(dev->of_node, "diff-mode", &diff_mode) in wm8741_set_pdata()
557 wm8741->pdata.diff_mode = diff_mode; in wm8741_set_pdata()
H A Dwm8741.h215 u32 diff_mode; /* Differential Output Mode */ member
/openbmc/linux/drivers/iio/light/
H A Dgp2ap020a00f.c469 enum gp2ap020a00f_opmode diff_mode, int add_sub) in gp2ap020a00f_alter_opmode() argument
473 if (diff_mode != GP2AP020A00F_OPMODE_ALS && in gp2ap020a00f_alter_opmode()
474 diff_mode != GP2AP020A00F_OPMODE_PS) in gp2ap020a00f_alter_opmode()
479 new_mode = diff_mode; in gp2ap020a00f_alter_opmode()
484 new_mode = (diff_mode == GP2AP020A00F_OPMODE_ALS) ? in gp2ap020a00f_alter_opmode()