D | test.c | 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 147 u64 route, bool bonded) in alloc_dev_default() argument 152 sw = alloc_switch(test, route, 1, 19); in alloc_dev_default() 256 port = tb_port_at(route, parent); in alloc_dev_default() 277 u64 route, bool bonded) in alloc_dev_with_dpin() argument 281 sw = alloc_dev_default(test, parent, route, bonded); in alloc_dev_with_dpin() 347 u64 route; member [all …]
|