Lines Matching refs:xd
94 struct tb_xdomain *xd; member
125 tb_xdomain_release_in_hopid(dt->xd, dt->rx_hopid); in dma_test_free_rings()
130 tb_xdomain_release_out_hopid(dt->xd, dt->tx_hopid); in dma_test_free_rings()
139 struct tb_xdomain *xd = dt->xd; in dma_test_start_rings() local
152 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, DMA_TEST_TX_RING_SIZE, in dma_test_start_rings()
160 ret = tb_xdomain_alloc_out_hopid(xd, -1); in dma_test_start_rings()
175 ring = tb_ring_alloc_rx(xd->tb->nhi, -1, DMA_TEST_RX_RING_SIZE, in dma_test_start_rings()
185 ret = tb_xdomain_alloc_in_hopid(xd, -1); in dma_test_start_rings()
194 ret = tb_xdomain_enable_paths(dt->xd, dt->tx_hopid, in dma_test_start_rings()
220 ret = tb_xdomain_disable_paths(dt->xd, dt->tx_hopid, in dma_test_stop_rings()
469 return tb_xdomain_lane_bonding_enable(dt->xd); in dma_test_set_bonding()
471 tb_xdomain_lane_bonding_disable(dt->xd); in dma_test_set_bonding()
491 if (dt->link_speed && dt->xd->link_speed != dt->link_speed) { in dma_test_check_errors()
494 const struct tb_xdomain *xd = dt->xd; in dma_test_check_errors() local
496 if ((dt->link_width == 1 && xd->link_width != TB_LINK_WIDTH_SINGLE) || in dma_test_check_errors()
497 (dt->link_width == 2 && xd->link_width < TB_LINK_WIDTH_DUAL)) in dma_test_check_errors()
642 struct tb_xdomain *xd = tb_service_parent(svc); in dma_test_probe() local
650 dt->xd = xd; in dma_test_probe()