Lines Matching refs:opt_rio_lo_ptr
496 struct opt_rio_lo *opt_rio_lo_ptr = NULL; in combine_wpg_for_expansion() local
500 opt_rio_lo_ptr = search_opt_lo(rio_detail_ptr->chassis_num); in combine_wpg_for_expansion()
501 if (!opt_rio_lo_ptr) { in combine_wpg_for_expansion()
502 opt_rio_lo_ptr = kzalloc(sizeof(struct opt_rio_lo), GFP_KERNEL); in combine_wpg_for_expansion()
503 if (!opt_rio_lo_ptr) in combine_wpg_for_expansion()
505 opt_rio_lo_ptr->rio_type = rio_detail_ptr->rio_type; in combine_wpg_for_expansion()
506 opt_rio_lo_ptr->chassis_num = rio_detail_ptr->chassis_num; in combine_wpg_for_expansion()
507 opt_rio_lo_ptr->first_slot_num = rio_detail_ptr->first_slot_num; in combine_wpg_for_expansion()
508 opt_rio_lo_ptr->middle_num = rio_detail_ptr->first_slot_num; in combine_wpg_for_expansion()
509 opt_rio_lo_ptr->pack_count = 1; in combine_wpg_for_expansion()
511 list_add(&opt_rio_lo_ptr->opt_rio_lo_list, &opt_lo_head); in combine_wpg_for_expansion()
513 …opt_rio_lo_ptr->first_slot_num = min(opt_rio_lo_ptr->first_slot_num, rio_detail_ptr->first_slot_nu… in combine_wpg_for_expansion()
514 opt_rio_lo_ptr->middle_num = max(opt_rio_lo_ptr->middle_num, rio_detail_ptr->first_slot_num); in combine_wpg_for_expansion()
515 opt_rio_lo_ptr->pack_count = 2; in combine_wpg_for_expansion()