Lines Matching refs:control_power
32 ControlPower *control_power = object_get_control_power((Object*)user_data); in poll_pgood() local
44 if(difftime(current_time,pgood_timeout_start) > control_power_get_pgood_timeout(control_power) in poll_pgood()
49 control_power_set_pgood_timeout(control_power,0); in poll_pgood()
67 if(pgood_state != control_power_get_pgood(control_power)) in poll_pgood()
71 control_power_set_pgood(control_power, pgood_state); in poll_pgood()
74 control_power_emit_power_lost(control_power); in poll_pgood()
79 control_power_emit_power_good(control_power); in poll_pgood()
139 if(pgood_state != control_power_get_state(control_power) && in poll_pgood()
140 control_power_get_pgood_timeout(control_power) > 0) in poll_pgood()
366 set_up_gpio(PowerGpio *power_gpio, ControlPower* control_power) in set_up_gpio() argument
416 control_power_set_pgood(control_power, pgood_state); in set_up_gpio()
417 control_power_set_state(control_power, pgood_state); in set_up_gpio()
442 ControlPower* control_power = control_power_skeleton_new(); in on_bus_acquired() local
443 object_skeleton_set_control_power(object, control_power); in on_bus_acquired()
444 g_object_unref(control_power); in on_bus_acquired()
451 g_signal_connect(control_power, in on_bus_acquired()
456 g_signal_connect(control_power, in on_bus_acquired()
488 int rc = set_up_gpio(&g_gpio_configs.power_gpio, control_power); in on_bus_acquired()
502 control_power_set_pgood_timeout(control_power,pgood_timeout); in on_bus_acquired()