Searched refs:min_hopid (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.10/drivers/thunderbolt/ |
| D | switch.c | 775 static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in tb_port_alloc_hopid() argument 793 if (!tb_port_is_nhi(port) && min_hopid < TB_PATH_MIN_HOPID) in tb_port_alloc_hopid() 794 min_hopid = TB_PATH_MIN_HOPID; in tb_port_alloc_hopid() 799 return ida_simple_get(ida, min_hopid, max_hopid + 1, GFP_KERNEL); in tb_port_alloc_hopid() 811 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid() argument 813 return tb_port_alloc_hopid(port, true, min_hopid, max_hopid); in tb_port_alloc_in_hopid() 825 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid() argument 827 return tb_port_alloc_hopid(port, false, min_hopid, max_hopid); in tb_port_alloc_out_hopid()
|