Lines Matching refs:resman
81 static void get_connector(ResourceManager& resman, OutputInfo& output, const string& str = "") in get_connector() argument
83 Connector* conn = resman.reserve_connector(str); in get_connector()
95 static void get_default_crtc(ResourceManager& resman, OutputInfo& output) in get_default_crtc() argument
97 output.crtc = resman.reserve_crtc(output.connector); in get_default_crtc()
113 static void parse_crtc(ResourceManager& resman, Card& card, const string& crtc_str, OutputInfo& out… in parse_crtc() argument
237 if (!resman.reserve_crtc(output.crtc)) in parse_crtc()
241 static void parse_plane(ResourceManager& resman, Card& card, const string& plane_str, const OutputI… in parse_plane() argument
271 auto plane = resman.reserve_plane(pinfo.plane); in parse_plane()
528 static vector<OutputInfo> setups_to_outputs(Card& card, ResourceManager& resman, const vector<Arg>&… in setups_to_outputs() argument
542 get_connector(resman, *current_output, arg.arg); in setups_to_outputs()
556 get_connector(resman, *current_output); in setups_to_outputs()
558 parse_crtc(resman, card, arg.arg, *current_output); in setups_to_outputs()
573 get_connector(resman, *current_output); in setups_to_outputs()
576 get_default_crtc(resman, *current_output); in setups_to_outputs()
580 parse_plane(resman, card, arg.arg, *current_output, *current_plane); in setups_to_outputs()
593 get_connector(resman, *current_output); in setups_to_outputs()
596 get_default_crtc(resman, *current_output); in setups_to_outputs()
641 output.connector = resman.reserve_connector(conn); in setups_to_outputs()
643 output.crtc = resman.reserve_crtc(conn); in setups_to_outputs()
655 get_default_crtc(resman, o); in setups_to_outputs()
675 p.plane = resman.reserve_generic_plane(o.crtc, p.fbs[0]->format()); in setups_to_outputs()
677 p.plane = resman.reserve_overlay_plane(o.crtc, p.fbs[0]->format()); in setups_to_outputs()
1091 ResourceManager resman(card); in main() local
1093 vector<OutputInfo> outputs = setups_to_outputs(card, resman, output_args); in main()