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.
268 /* max77620_get_fps_period_reg_value: Get FPS bit field value from
270 * MAX77620 supports the FPS period of 40, 80, 160, 320, 540, 1280, 2560
271 * and 5120 microseconds. MAX20024 supports the FPS period of 20, 40, 80,
273 * The FPS register has 3 bits field to set the FPS period as
308 /* max77620_config_fps: Configure FPS configuration registers
337 sprintf(fps_name, "fps%d", fps_id); in max77620_config_fps()
343 dev_err(dev, "FPS node name %pOFn is not valid\n", fps_np); in max77620_config_fps()
347 ret = of_property_read_u32(fps_np, "maxim,shutdown-fps-time-period-us", in max77620_config_fps()
358 ret = of_property_read_u32(fps_np, "maxim,suspend-fps-time-period-us", in max77620_config_fps()
364 ret = of_property_read_u32(fps_np, "maxim,fps-event-source", in max77620_config_fps()
368 dev_err(dev, "FPS%d event-source invalid\n", fps_id); in max77620_config_fps()
394 dev_err(dev, "Failed to update FPS CFG: %d\n", ret); in max77620_config_fps()
414 fps_np = of_get_child_by_name(dev->of_node, "fps"); in max77620_initialise_fps()
590 dev_err(chip->dev, "Failed to update FPS period: %d\n", ret); in max77620_set_fps_period()
602 int fps; in max77620_i2c_suspend() local
605 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend()
606 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend()
609 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend()
610 chip->suspend_fps_period[fps]); in max77620_i2c_suspend()
653 int fps; in max77620_i2c_resume() local
655 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume()
656 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume()
659 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume()
660 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()