Lines Matching refs:con

523 generate_err_msg(DBusConnection *con,  in generate_err_msg()  argument
545 if (!dbus_connection_send (con, err_msg, NULL)) { in generate_err_msg()
548 dbus_connection_flush (con); in generate_err_msg()
553 gen_unknown_gov_err(DBusConnection *con, in gen_unknown_gov_err() argument
558 generate_err_msg (con, in gen_unknown_gov_err()
566 gen_no_suitable_gov_err(DBusConnection *con, in gen_no_suitable_gov_err() argument
571 generate_err_msg (con, in gen_no_suitable_gov_err()
579 gen_cpufreq_err(DBusConnection *con, in gen_cpufreq_err() argument
583 generate_err_msg (con, in gen_cpufreq_err()
652 check_authorization(DBusConnection *con, DBusMessage *msg) in check_authorization() argument
676 gen_cpufreq_err (con, msg, "Cannot connect to the system bus"); in check_authorization()
686 gen_cpufreq_err (con, msg, in check_authorization()
697 gen_cpufreq_err (con, msg, in check_authorization()
709 gen_cpufreq_err (con, msg, in check_authorization()
724 gen_cpufreq_err (con, msg, in check_authorization()
733 gen_cpufreq_err (con, msg, in check_authorization()
753 set_cpufreq_gov(DBusConnection *con, DBusMessage *msg, void *udata) in set_cpufreq_gov() argument
777 gen_unknown_gov_err (con, msg, "No governor specified"); in set_cpufreq_gov()
785 gen_unknown_gov_err (con, msg, in set_cpufreq_gov()
799 adt_res = check_authorization (con, msg); in set_cpufreq_gov()
818 gen_cpufreq_err (con, msg, in set_cpufreq_gov()
832 gen_cpufreq_err (con, msg, "Error in executing pmconfig"); in set_cpufreq_gov()
847 gen_cpufreq_err (con, msg, in set_cpufreq_gov()
853 if (!dbus_connection_send (con, msg_reply, NULL)) { in set_cpufreq_gov()
855 gen_cpufreq_err (con, msg, in set_cpufreq_gov()
861 dbus_connection_flush (con); in set_cpufreq_gov()
900 set_cpufreq_performance(DBusConnection *con, DBusMessage *msg, void *udata) in set_cpufreq_performance() argument
922 adt_res = check_authorization (con, msg); in set_cpufreq_performance()
938 gen_cpufreq_err (con, msg, "Internal error while " in set_cpufreq_performance()
949 gen_no_suitable_gov_err (con, msg, "Cannot set performance " in set_cpufreq_performance()
957 gen_no_suitable_gov_err(con, msg, "No performance specified"); in set_cpufreq_performance()
965 gen_no_suitable_gov_err (con, msg, in set_cpufreq_performance()
974 gen_no_suitable_gov_err (con, msg, in set_cpufreq_performance()
996 gen_cpufreq_err (con, msg, in set_cpufreq_performance()
1010 gen_cpufreq_err (con, msg, in set_cpufreq_performance()
1026 gen_cpufreq_err (con, msg, in set_cpufreq_performance()
1032 if (!dbus_connection_send (con, msg_reply, NULL)) { in set_cpufreq_performance()
1034 gen_cpufreq_err (con, msg, in set_cpufreq_performance()
1040 dbus_connection_flush (con); in set_cpufreq_performance()
1072 get_cpufreq_gov(DBusConnection *con, DBusMessage *msg, void *udata) in get_cpufreq_gov() argument
1087 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_gov()
1097 gen_cpufreq_err (con, msg, in get_cpufreq_gov()
1108 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_gov()
1118 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_gov()
1124 if (!dbus_connection_send (con, msg_reply, NULL)) { in get_cpufreq_gov()
1126 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_gov()
1131 dbus_connection_flush (con); in get_cpufreq_gov()
1139 get_cpufreq_performance(DBusConnection *con, DBusMessage *msg, void *udata) in get_cpufreq_performance() argument
1154 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_performance()
1164 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_performance()
1185 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_performance()
1190 if (!dbus_connection_send (con, msg_reply, NULL)) { in get_cpufreq_performance()
1192 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_performance()
1196 dbus_connection_flush (con); in get_cpufreq_performance()
1205 get_cpufreq_avail_gov(DBusConnection *con, DBusMessage *msg, void *udata) in get_cpufreq_avail_gov() argument
1216 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_avail_gov()
1231 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_avail_gov()
1245 if (!dbus_connection_send (con, msg_reply, NULL)) { in get_cpufreq_avail_gov()
1247 gen_cpufreq_err (con, msg, "Internal error while getting" in get_cpufreq_avail_gov()
1251 dbus_connection_flush (con); in get_cpufreq_avail_gov()
1255 hald_dbus_cpufreq_filter(DBusConnection *con, DBusMessage *msg, void *udata) in hald_dbus_cpufreq_filter() argument
1261 if (!dbus_connection_get_is_connected (con)) in hald_dbus_cpufreq_filter()
1269 set_cpufreq_gov (con, msg, udata); in hald_dbus_cpufreq_filter()
1276 get_cpufreq_gov (con, msg, udata); in hald_dbus_cpufreq_filter()
1282 get_cpufreq_avail_gov (con, msg, udata); in hald_dbus_cpufreq_filter()
1288 set_cpufreq_performance (con, msg, udata); in hald_dbus_cpufreq_filter()
1294 get_cpufreq_performance (con, msg, udata); in hald_dbus_cpufreq_filter()