Lines Matching refs:slew_rate
268 int slew_rate; in max77620_read_slew_rate() local
280 slew_rate = (rval >> MAX77620_SD_SR_SHIFT) & 0x3; in max77620_read_slew_rate()
281 switch (slew_rate) { in max77620_read_slew_rate()
283 slew_rate = 13750; in max77620_read_slew_rate()
286 slew_rate = 27500; in max77620_read_slew_rate()
289 slew_rate = 55000; in max77620_read_slew_rate()
292 slew_rate = 100000; in max77620_read_slew_rate()
295 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate()
298 slew_rate = rval & 0x1; in max77620_read_slew_rate()
299 switch (slew_rate) { in max77620_read_slew_rate()
301 slew_rate = 100000; in max77620_read_slew_rate()
304 slew_rate = 5000; in max77620_read_slew_rate()
307 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate()
315 int slew_rate) in max77620_set_slew_rate() argument
323 if (slew_rate <= 13750) in max77620_set_slew_rate()
325 else if (slew_rate <= 27500) in max77620_set_slew_rate()
327 else if (slew_rate <= 55000) in max77620_set_slew_rate()
334 if (slew_rate <= 5000) in max77620_set_slew_rate()