Searched refs:max_hopid (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | switch.c | 770 int max_hopid) in tb_port_alloc_hopid() argument 790 if (max_hopid < 0 || max_hopid > port_max_hopid) in tb_port_alloc_hopid() 791 max_hopid = port_max_hopid; in tb_port_alloc_hopid() 793 return ida_simple_get(ida, min_hopid, max_hopid + 1, GFP_KERNEL); in tb_port_alloc_hopid() 805 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid() argument 807 return tb_port_alloc_hopid(port, true, min_hopid, max_hopid); in tb_port_alloc_in_hopid() 819 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid() argument 821 return tb_port_alloc_hopid(port, false, min_hopid, max_hopid); in tb_port_alloc_out_hopid()
|
| H A D | tb.h | 847 int tb_port_alloc_in_hopid(struct tb_port *port, int hopid, int max_hopid); 849 int tb_port_alloc_out_hopid(struct tb_port *port, int hopid, int max_hopid);
|