Lines Matching refs:ctrl
584 if (slot_cur->ctrl) { in calculate_first_slot()
585 …if ((slot_cur->ctrl->ctlr_type != 4) && (slot_cur->ctrl->ending_slot_num > first_slot) && (slot_nu… in calculate_first_slot()
586 first_slot = slot_cur->ctrl->ending_slot_num; in calculate_first_slot()
650 if (slot_cur->ctrl->ctlr_type == 4) { in create_file_name()
874 tmp_slot->ctrl = hpc_ptr; in ebda_rsrc_controller()
1090 struct controller *ctrl; in ibmphp_register_pci() local
1093 list_for_each_entry(ctrl, &ebda_hpc_head, ebda_hpc_list) { in ibmphp_register_pci()
1094 if (ctrl->ctlr_type == 1) { in ibmphp_register_pci()
1103 struct controller *ctrl; in ibmphp_probe() local
1107 list_for_each_entry(ctrl, &ebda_hpc_head, ebda_hpc_list) { in ibmphp_probe()
1108 if (ctrl->ctlr_type == 1) { in ibmphp_probe()
1109 if ((dev->devfn == ctrl->u.pci_ctlr.dev_fun) && (dev->bus->number == ctrl->u.pci_ctlr.bus)) { in ibmphp_probe()
1110 ctrl->ctrl_dev = dev; in ibmphp_probe()