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()
194 sw->ports[1].total_credits = 60; in alloc_dev_default()
201 sw->ports[2].total_credits = 60; in alloc_dev_default()
209 sw->ports[3].total_credits = 60; in alloc_dev_default()
216 sw->ports[4].total_credits = 60; in alloc_dev_default()
224 sw->ports[5].total_credits = 60; in alloc_dev_default()
231 sw->ports[6].total_credits = 60; in alloc_dev_default()
239 sw->ports[7].total_credits = 60; in alloc_dev_default()
246 sw->ports[8].total_credits = 60; in alloc_dev_default()
310 port->total_credits *= 2; in alloc_dev_default()
312 port->dual_link_port->total_credits = 0; in alloc_dev_default()
314 upstream_port->total_credits *= 2; in alloc_dev_default()
316 upstream_port->dual_link_port->total_credits = 0; in alloc_dev_default()