Lines Matching refs:topology_kref
1368 kref_init(&mstb->topology_kref); in drm_dp_add_mst_branch_device()
1733 container_of(kref, struct drm_dp_mst_branch, topology_kref); in drm_dp_destroy_mst_branch_device()
1778 ret = kref_get_unless_zero(&mstb->topology_kref); in drm_dp_mst_topology_try_get_mstb()
1781 mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_try_get_mstb()
1809 WARN_ON(kref_read(&mstb->topology_kref) == 0); in drm_dp_mst_topology_get_mstb()
1810 kref_get(&mstb->topology_kref); in drm_dp_mst_topology_get_mstb()
1811 DRM_DEBUG("mstb %p (%d)\n", mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_get_mstb()
1834 mstb, kref_read(&mstb->topology_kref) - 1); in drm_dp_mst_topology_put_mstb()
1838 kref_put(&mstb->topology_kref, drm_dp_destroy_mst_branch_device); in drm_dp_mst_topology_put_mstb()
1844 container_of(kref, struct drm_dp_mst_port, topology_kref); in drm_dp_destroy_port()
1895 ret = kref_get_unless_zero(&port->topology_kref); in drm_dp_mst_topology_try_get_port()
1898 port, kref_read(&port->topology_kref)); in drm_dp_mst_topology_try_get_port()
1923 WARN_ON(kref_read(&port->topology_kref) == 0); in drm_dp_mst_topology_get_port()
1924 kref_get(&port->topology_kref); in drm_dp_mst_topology_get_port()
1925 DRM_DEBUG("port %p (%d)\n", port, kref_read(&port->topology_kref)); in drm_dp_mst_topology_get_port()
1947 port, kref_read(&port->topology_kref) - 1); in drm_dp_mst_topology_put_port()
1951 kref_put(&port->topology_kref, drm_dp_destroy_port); in drm_dp_mst_topology_put_port()
2343 kref_init(&port->topology_kref); in drm_dp_mst_add_port()