Lines Matching +full:7 +full:b
104 * 00b - 6.25mV/LSB, 01b - 5mV/LSB, 10b - 2mV/LSB, 11b - 1mV in mp2891_identify_vout_scale()
143 * 000b - 1A/LSB, 001b - (1/32)A/LSB, 010b - (1/16)A/LSB, in mp2891_identify_iout_scale()
144 * 011b - (1/8)A/LSB, 100b - (1/4)A/LSB, 101b - (1/2)A/LSB in mp2891_identify_iout_scale()
145 * 110b - 1A/LSB, 111b - 2A/LSB in mp2891_identify_iout_scale()
242 * r/m/b scale). As a result, the iin read from MP2891 should be in mp2891_read_word_data()
257 * format, But the pout scale is set to 1W/Lsb(using r/m/b scale). in mp2891_read_word_data()
271 * 1W/Lsb(using r/m/b scale). As a result, the pout read from MP2891 in mp2891_read_word_data()
306 ret = (ret & GENMASK(7, 0)) - MP2891_TEMP_LIMIT_OFFSET; in mp2891_read_word_data()
311 * but the vin scale is set to 31.25mV/Lsb(using r/m/b scale). in mp2891_read_word_data()
318 ret = (ret & GENMASK(7, 0)) * 4; in mp2891_read_word_data()
326 ret = FIELD_GET(GENMASK(7, 0), ret) * MP2891_UV_LIMIT_SCALE - in mp2891_read_word_data()
329 ret = FIELD_GET(GENMASK(7, 0), ret) * MP2891_UV_LIMIT_SCALE; in mp2891_read_word_data()
339 ret = FIELD_GET(GENMASK(7, 0), ret) * MP2891_OV_LIMIT_SCALE + in mp2891_read_word_data()
342 ret = FIELD_GET(GENMASK(7, 0), ret) * MP2891_OV_LIMIT_SCALE; in mp2891_read_word_data()
350 ret = DIV_ROUND_CLOSEST((ret & GENMASK(7, 0)) * data->iout_scale[page] * in mp2891_read_word_data()
356 * is set to 1A/Lsb(using r/m/b scale), so the word data should be in mp2891_read_word_data()
368 * is set to 1W/Lsb(using r/m/b scale), so the word data should be in mp2891_read_word_data()
405 * The PMBUS_VOUT_UV_FAULT_LIMIT[7:0] is the limit value, and bit8-bit15 in mp2891_write_word_data()
414 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
415 FIELD_PREP(GENMASK(7, 0), in mp2891_write_word_data()
422 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
423 FIELD_PREP(GENMASK(7, 0), in mp2891_write_word_data()
429 * The PMBUS_VOUT_OV_FAULT_LIMIT[7:0] is the limit value, and bit8-bit15 in mp2891_write_word_data()
438 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
439 FIELD_PREP(GENMASK(7, 0), in mp2891_write_word_data()
446 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
447 FIELD_PREP(GENMASK(7, 0), in mp2891_write_word_data()
453 * The PMBUS_VIN_OV_FAULT_LIMIT[7:0] is the limit value, and bit8-bit15 in mp2891_write_word_data()
455 * but the vin scale is set to 31.25mV/Lsb(using r/m/b scale), so the word data in mp2891_write_word_data()
463 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
464 FIELD_PREP(GENMASK(7, 0), in mp2891_write_word_data()
479 (ret & ~GENMASK(7, 0)) | in mp2891_write_word_data()
480 FIELD_PREP(GENMASK(7, 0), word + MP2891_TEMP_LIMIT_OFFSET)); in mp2891_write_word_data()
492 * is set to 1A/Lsb(using r/m/b scale), so the word data should be in mp2891_write_word_data()
500 * is set to 1W/Lsb(using r/m/b scale), so the word data should be in mp2891_write_word_data()
530 .b[PSC_VOLTAGE_IN] = 0,
535 .b[PSC_TEMPERATURE] = 0,
539 .b[PSC_CURRENT_IN] = 0,
543 .b[PSC_CURRENT_OUT] = 0,
547 .b[PSC_POWER] = 0,
551 .b[PSC_VOLTAGE_OUT] = 0,