Home | History | Annotate | Download | only in plugins

Lines Matching full:adapter

32 #include "adapter.h"
60 struct btd_adapter *adapter = user_data;
72 /* set the adapter according to the mce signal
78 btd_adapter_switch_online(adapter);
80 btd_adapter_switch_offline(adapter);
91 struct btd_adapter *adapter = user_data;
117 /* check if the adapter has not completed the initial power
119 collision = mce_bt_set && adapter_powering_down(adapter);
125 btd_adapter_switch_online(adapter);
127 btd_adapter_switch_offline(adapter);
133 static void adapter_powered(struct btd_adapter *adapter, gboolean powered)
148 * mce when the adapter was not yet down during the power
155 btd_adapter_switch_online(adapter);
164 /* set the mce value according to the state of the adapter */
183 static int mce_probe(struct btd_adapter *adapter)
188 DBG("path %s", adapter_get_path(adapter));
199 dbus_pending_call_set_notify(call, read_radio_states_cb, adapter, NULL);
205 mce_signal_callback, adapter, NULL);
207 btd_adapter_register_powered_callback(adapter, adapter_powered);
212 static void mce_remove(struct btd_adapter *adapter)
214 DBG("path %s", adapter_get_path(adapter));
219 btd_adapter_unregister_powered_callback(adapter, adapter_powered);