tb_switch_alloc_dp_resource
if (tb_switch_alloc_dp_resource(in->sw, in)) {
int tb_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in);