Searched refs:hr_index (Results 1 – 2 of 2) sorted by relevance
192 static int get_host_router_total_dp_tunnel_bw(const struct dc *dc, uint8_t hr_index) in get_host_router_total_dp_tunnel_bw() argument206 if (hr_index_temp == hr_index) { in get_host_router_total_dp_tunnel_bw()500 uint8_t lowest_dpia_index, i, hr_index; in dpia_validate_usb4_bw() local522 hr_index = (link[i]->link_index - lowest_dpia_index) / 2; in dpia_validate_usb4_bw()523 bw_needed_per_hr[hr_index] += bw_granularity; in dpia_validate_usb4_bw()527 for (hr_index = 0; hr_index < MAX_HR_NUM; ++hr_index) { in dpia_validate_usb4_bw()528 if (bw_needed_per_hr[hr_index]) { in dpia_validate_usb4_bw()529 host_router_total_dp_bw = get_host_router_total_dp_tunnel_bw(link[0]->dc, hr_index); in dpia_validate_usb4_bw()530 if (bw_needed_per_hr[hr_index] > host_router_total_dp_bw) { in dpia_validate_usb4_bw()
280 unsigned int hr_index = 0; in dcn35_notify_host_router_bw() local289 hr_index = (link->link_index - lowest_dpia_index) / 2; in dcn35_notify_host_router_bw()290 if (hr_index >= MAX_HOST_ROUTERS_NUM) in dcn35_notify_host_router_bw()292 host_router_bw_kbps[hr_index] += dc_bandwidth_in_kbps_from_timing( in dcn35_notify_host_router_bw()