Home | History | Annotate | Download | only in health

Lines Matching refs:hdp_dev

2178 	struct hdp_device *hdp_dev;
2186 hdp_dev = l->data;
2187 path = device_get_path(hdp_dev->dev);
2188 g_dbus_unregister_interface(hdp_dev->conn, path, HEALTH_DEVICE);
2216 struct hdp_device *health_device_ref(struct hdp_device *hdp_dev)
2218 hdp_dev->ref++;
2220 DBG("health_device_ref(%p): ref=%d", hdp_dev, hdp_dev->ref);
2222 return hdp_dev;
2225 void health_device_unref(struct hdp_device *hdp_dev)
2227 hdp_dev->ref--;
2229 DBG("health_device_unref(%p): ref=%d", hdp_dev, hdp_dev->ref);
2231 if (hdp_dev->ref > 0)
2234 free_health_device(hdp_dev);