Lines Matching refs:fps_id
318 int tperiod, fps_id; in max77620_config_fps() local
336 for (fps_id = 0; fps_id < MAX77620_FPS_COUNT; fps_id++) { in max77620_config_fps()
337 sprintf(fps_name, "fps%d", fps_id); in max77620_config_fps()
342 if (fps_id == MAX77620_FPS_COUNT) { in max77620_config_fps()
351 chip->shutdown_fps_period[fps_id] = min(param_val, in max77620_config_fps()
354 chip->shutdown_fps_period[fps_id]); in max77620_config_fps()
361 chip->suspend_fps_period[fps_id] = min(param_val, in max77620_config_fps()
368 dev_err(dev, "FPS%d event-source invalid\n", fps_id); in max77620_config_fps()
391 ret = regmap_update_bits(chip->rmap, MAX77620_REG_FPS_CFG0 + fps_id, in max77620_config_fps()
406 int fps_id; in max77620_initialise_fps() local
409 for (fps_id = 0; fps_id < MAX77620_FPS_COUNT; fps_id++) { in max77620_initialise_fps()
410 chip->shutdown_fps_period[fps_id] = -1; in max77620_initialise_fps()
411 chip->suspend_fps_period[fps_id] = -1; in max77620_initialise_fps()
579 int fps_id, int time_period) in max77620_set_fps_period() argument
584 ret = regmap_update_bits(chip->rmap, MAX77620_REG_FPS_CFG0 + fps_id, in max77620_set_fps_period()