Home
last modified time | relevance | path

Searched refs:opt_rio_ptr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_ebda.c458 struct opt_rio *opt_rio_ptr = NULL; in combine_wpg_for_chassis() local
462 opt_rio_ptr = search_opt_vg(rio_detail_ptr->chassis_num); in combine_wpg_for_chassis()
463 if (!opt_rio_ptr) { in combine_wpg_for_chassis()
464 opt_rio_ptr = kzalloc(sizeof(struct opt_rio), GFP_KERNEL); in combine_wpg_for_chassis()
465 if (!opt_rio_ptr) in combine_wpg_for_chassis()
467 opt_rio_ptr->rio_type = rio_detail_ptr->rio_type; in combine_wpg_for_chassis()
468 opt_rio_ptr->chassis_num = rio_detail_ptr->chassis_num; in combine_wpg_for_chassis()
470 opt_rio_ptr->middle_num = rio_detail_ptr->first_slot_num; in combine_wpg_for_chassis()
471 list_add(&opt_rio_ptr->opt_rio_list, &opt_vg_head); in combine_wpg_for_chassis()
473 opt_rio_ptr->first_slot_num = min(opt_rio_ptr->first_slot_num, rio_detail_ptr->first_slot_num); in combine_wpg_for_chassis()
[all …]