Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pci/hotplug/
Dibmphp_core.c56 struct slot *slot_cur = *sl; in get_cur_bus_info() local
58 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()
59 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()
61 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info()
62 rc = ibmphp_hpc_readslot(slot_cur, READ_BUSSTATUS, NULL); in get_cur_bus_info()
67 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); in get_cur_bus_info()
68 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info()
69 slot_cur->bus_on->current_bus_mode = in get_cur_bus_info()
70 CURRENT_BUS_MODE(slot_cur->busstatus); in get_cur_bus_info()
72 slot_cur->bus_on->current_bus_mode = 0xFF; in get_cur_bus_info()
[all …]
Dibmphp_ebda.c581 struct slot *slot_cur; in calculate_first_slot() local
583 list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) { in calculate_first_slot()
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()
595 static char *create_file_name(struct slot *slot_cur) in create_file_name() argument
606 if (!slot_cur) { in create_file_name()
611 slot_num = slot_cur->number; in create_file_name()
650 if (slot_cur->ctrl->ctlr_type == 4) { in create_file_name()
Dibmphp_pci.c1415 static int unconfigure_boot_card(struct slot *slot_cur) in unconfigure_boot_card() argument
1429 device = slot_cur->device; in unconfigure_boot_card()
1430 busno = slot_cur->bus; in unconfigure_boot_card()
1531 int ibmphp_unconfigure_card(struct slot **slot_cur, int the_end) in ibmphp_unconfigure_card() argument
1536 struct slot *sl = *slot_cur; in ibmphp_unconfigure_card()
1590 *slot_cur = sl; in ibmphp_unconfigure_card()
Dibmphp.h736 int ibmphp_do_disable_slot(struct slot *slot_cur);