Lines Matching refs:total_credits
90 sw->ports[1].total_credits = 60; in alloc_host()
97 sw->ports[2].total_credits = 60; in alloc_host()
105 sw->ports[3].total_credits = 60; in alloc_host()
112 sw->ports[4].total_credits = 60; in alloc_host()
211 sw->ports[1].total_credits = 60; in alloc_dev_default()
218 sw->ports[2].total_credits = 60; in alloc_dev_default()
226 sw->ports[3].total_credits = 60; in alloc_dev_default()
233 sw->ports[4].total_credits = 60; in alloc_dev_default()
241 sw->ports[5].total_credits = 60; in alloc_dev_default()
248 sw->ports[6].total_credits = 60; in alloc_dev_default()
256 sw->ports[7].total_credits = 60; in alloc_dev_default()
263 sw->ports[8].total_credits = 60; in alloc_dev_default()
327 port->total_credits *= 2; in alloc_dev_default()
329 port->dual_link_port->total_credits = 0; in alloc_dev_default()
331 upstream_port->total_credits *= 2; in alloc_dev_default()
333 upstream_port->dual_link_port->total_credits = 0; in alloc_dev_default()