Merge tag 'mips_5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git] / drivers / thunderbolt / tunnel.h
index 1d2a64e..a66994f 100644 (file)
@@ -70,9 +70,11 @@ struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in,
                                     struct tb_port *out, int max_up,
                                     int max_down);
 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi,
-                                     struct tb_port *dst, int transmit_ring,
-                                     int transmit_path, int receive_ring,
-                                     int receive_path);
+                                     struct tb_port *dst, int transmit_path,
+                                     int transmit_ring, int receive_path,
+                                     int receive_ring);
+bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path,
+                        int transmit_ring, int receive_path, int receive_ring);
 struct tb_tunnel *tb_tunnel_discover_usb3(struct tb *tb, struct tb_port *down);
 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up,
                                       struct tb_port *down, int max_up,