Searched refs:modeval (Results 1 – 2 of 2) sorted by relevance
41 unsigned int modeval; in rt4803_set_mode() local45 modeval = RT4803_AUTO_MODE; in rt4803_set_mode()48 modeval = RT4803_FPWM_MODE; in rt4803_set_mode()54 modeval <<= ffs(RT4803_MODE_MASK) - 1; in rt4803_set_mode()56 return regmap_update_bits(regmap, RT4803_REG_CONFIG, RT4803_MODE_MASK, modeval); in rt4803_set_mode()62 unsigned int modeval; in rt4803_get_mode() local65 ret = regmap_read(regmap, RT4803_REG_CONFIG, &modeval); in rt4803_get_mode()69 modeval >>= ffs(RT4803_MODE_MASK) - 1; in rt4803_get_mode()71 switch (modeval) { in rt4803_get_mode()
673 const struct bond_opt_value *modeval; in bond_opt_dep_print() local677 modeval = bond_opt_get_val(BOND_OPT_MODE, params->mode); in bond_opt_dep_print()680 opt->name, modeval->string, modeval->value); in bond_opt_dep_print()