Lines Matching defs:nhi
1791 struct tb_port *nhi, *port;
1807 nhi = &host->ports[7];
1810 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 8, 1, 8, 1);
1813 KUNIT_EXPECT_PTR_EQ(test, tunnel->src_port, nhi);
1820 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[0].out_port, nhi);
1824 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[0].in_port, nhi);
1834 struct tb_port *nhi, *port;
1850 nhi = &host->ports[7];
1853 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, -1, -1, 15, 2);
1856 KUNIT_EXPECT_PTR_EQ(test, tunnel->src_port, nhi);
1863 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[0].out_port, nhi);
1871 struct tb_port *nhi, *port;
1887 nhi = &host->ports[7];
1890 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 15, 2, -1, -1);
1893 KUNIT_EXPECT_PTR_EQ(test, tunnel->src_port, nhi);
1898 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[0].in_port, nhi);
1909 struct tb_port *nhi, *port;
1934 nhi = &host->ports[7];
1936 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 8, 1, 8, 1);
1939 KUNIT_EXPECT_PTR_EQ(test, tunnel->src_port, nhi);
1954 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[2].out_port, nhi);
1958 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[0].in_port, nhi);
1974 struct tb_port *nhi, *port;
1979 nhi = &host->ports[7];
1982 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 15, 1, 15, 1);
1998 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 15, 1, -1, -1);
2010 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, -1, -1, 15, 11);
2252 struct tb_port *nhi, *port;
2259 nhi = &host->ports[7];
2262 tunnel = tb_tunnel_alloc_dma(NULL, nhi, port, 8, 1, 8, 1);
2289 struct tb_port *nhi, *port;
2295 nhi = &host->ports[7];
2316 tunnel1 = tb_tunnel_alloc_dma(NULL, nhi, port, 8, 1, 8, 1);
2334 tunnel2 = tb_tunnel_alloc_dma(NULL, nhi, port, 9, 2, 9, 2);
2352 tunnel3 = tb_tunnel_alloc_dma(NULL, nhi, port, 10, 3, 10, 3);
2361 tunnel3 = tb_tunnel_alloc_dma(NULL, nhi, port, 10, 3, 10, 3);
2519 struct tb_port *nhi, *port;
2523 nhi = &host->ports[7];
2525 dma_tunnel1 = tb_tunnel_alloc_dma(NULL, nhi, port, 8, 1, 8, 1);
2549 struct tb_port *nhi, *port;
2553 nhi = &host->ports[7];
2555 dma_tunnel2 = tb_tunnel_alloc_dma(NULL, nhi, port, 9, 2, 9, 2);