Lines Matching refs:mapped_value
815 int mapped_value;
833 mapped_value = DIV_ROUND_CLOSEST(femtofarads - 9000, 430);
837 * special case where mapped_value = 32. In reality, this means
839 * the mapped_value needs to be shifted 1 to the left.
841 if (mapped_value > 31)
842 mapped_value = 0x3f;
844 mapped_value <<= 1;
846 return mapped_value;
851 int mapped_value;
857 mapped_value = vc5_map_cap_value(value);
858 if (mapped_value < 0)
859 return mapped_value;
862 * The mapped_value is really the high 6 bits of
867 mapped_value << 2);
872 mapped_value << 2);