Lines Matching refs:load_state
596 struct vc4_load_tracker_state *load_state; in vc4_load_tracker_atomic_check() local
606 load_state = to_vc4_load_tracker_state(priv_state); in vc4_load_tracker_atomic_check()
613 load_state->membus_load -= vc4_plane_state->membus_load; in vc4_load_tracker_atomic_check()
614 load_state->hvs_load -= vc4_plane_state->hvs_load; in vc4_load_tracker_atomic_check()
619 load_state->membus_load += vc4_plane_state->membus_load; in vc4_load_tracker_atomic_check()
620 load_state->hvs_load += vc4_plane_state->hvs_load; in vc4_load_tracker_atomic_check()
631 if (load_state->membus_load > SZ_1G + SZ_512M) in vc4_load_tracker_atomic_check()
637 if (load_state->hvs_load > 240000000ULL) in vc4_load_tracker_atomic_check()
660 struct vc4_load_tracker_state *load_state; in vc4_load_tracker_destroy_state() local
662 load_state = to_vc4_load_tracker_state(state); in vc4_load_tracker_destroy_state()
663 kfree(load_state); in vc4_load_tracker_destroy_state()
680 struct vc4_load_tracker_state *load_state; in vc4_load_tracker_obj_init() local
682 load_state = kzalloc(sizeof(*load_state), GFP_KERNEL); in vc4_load_tracker_obj_init()
683 if (!load_state) in vc4_load_tracker_obj_init()
687 &load_state->base, in vc4_load_tracker_obj_init()
905 struct vc4_load_tracker_state *load_state; in vc4_core_clock_atomic_check() local
918 load_state = to_vc4_load_tracker_state(priv_state); in vc4_core_clock_atomic_check()
958 pixel_rate = load_state->hvs_load; in vc4_core_clock_atomic_check()