Lines Matching refs:mapped_value
815 int mapped_value; in vc5_map_cap_value() local
833 mapped_value = DIV_ROUND_CLOSEST(femtofarads - 9000, 430); in vc5_map_cap_value()
841 if (mapped_value > 31) in vc5_map_cap_value()
842 mapped_value = 0x3f; in vc5_map_cap_value()
844 mapped_value <<= 1; in vc5_map_cap_value()
846 return mapped_value; in vc5_map_cap_value()
851 int mapped_value; in vc5_update_cap_load() local
857 mapped_value = vc5_map_cap_value(value); in vc5_update_cap_load()
858 if (mapped_value < 0) in vc5_update_cap_load()
859 return mapped_value; in vc5_update_cap_load()
867 mapped_value << 2); in vc5_update_cap_load()
872 mapped_value << 2); in vc5_update_cap_load()