Lines Matching full:fps
15 * Flexible Power Sequence (FPS):
16 * The Flexible Power Sequencer (FPS) allows each regulator to power up under
23 * There is 3 FPS confguration registers and all resources are configured to
24 * any of these FPS or no FPS.
267 /* max77620_get_fps_period_reg_value: Get FPS bit field value from
269 * MAX77620 supports the FPS period of 40, 80, 160, 320, 540, 1280, 2560
270 * and 5120 microseconds. MAX20024 supports the FPS period of 20, 40, 80,
272 * The FPS register has 3 bits field to set the FPS period as
307 /* max77620_config_fps: Configure FPS configuration registers
336 sprintf(fps_name, "fps%d", fps_id); in max77620_config_fps()
342 dev_err(dev, "FPS node name %pOFn is not valid\n", fps_np); in max77620_config_fps()
346 ret = of_property_read_u32(fps_np, "maxim,shutdown-fps-time-period-us", in max77620_config_fps()
357 ret = of_property_read_u32(fps_np, "maxim,suspend-fps-time-period-us", in max77620_config_fps()
363 ret = of_property_read_u32(fps_np, "maxim,fps-event-source", in max77620_config_fps()
367 dev_err(dev, "FPS%d event-source invalid\n", fps_id); in max77620_config_fps()
393 dev_err(dev, "Failed to update FPS CFG: %d\n", ret); in max77620_config_fps()
413 fps_np = of_get_child_by_name(dev->of_node, "fps"); in max77620_initialise_fps()
587 dev_err(chip->dev, "Failed to update FPS period: %d\n", ret); in max77620_set_fps_period()
599 int fps; in max77620_i2c_suspend() local
602 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend()
603 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend()
606 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend()
607 chip->suspend_fps_period[fps]); in max77620_i2c_suspend()
650 int fps; in max77620_i2c_resume() local
652 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume()
653 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume()
656 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume()
657 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()