Searched refs:max_hopid (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/thunderbolt/
H A Dswitch.c758 int max_hopid)
778 if (max_hopid < 0 || max_hopid > port_max_hopid)
779 max_hopid = port_max_hopid;
781 return ida_alloc_range(ida, min_hopid, max_hopid, GFP_KERNEL);
788 * @max_hopid: Maximum acceptable input HopID
790 * Return: HopID between @min_hopid and @max_hopid or negative errno in
793 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) argument
795 return tb_port_alloc_hopid(port, true, min_hopid, max_hopid);
802 * @max_hopid
757 tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, int max_hopid) argument
807 tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) argument
[all...]
H A Dtb.h1072 int tb_port_alloc_in_hopid(struct tb_port *port, int hopid, int max_hopid);
1074 int tb_port_alloc_out_hopid(struct tb_port *port, int hopid, int max_hopid);

Completed in 303 milliseconds