Lines Matching refs:unit_id
798 enum unit_id unit_id;
806 unit_id = serdes_type_to_unit_info[serdes_type].serdes_unit_id;
808 serd_max_num = sys_env_unit_max_num_get(unit_id);
811 if (serdes_lane_in_use_count[unit_id][unit_numb] != 0) {
813 serdes_lane_in_use_count[unit_id][unit_numb]--;
819 if (serdes_lane_in_use_count[unit_id][unit_numb] == 0) {
826 serdes_unit_count[unit_id]++;
830 if (serdes_unit_count[unit_id] > serd_max_num) {