Searched refs:slot_cur (Results 1 – 4 of 4) sorted by relevance
77 struct slot *slot_cur = *sl; in get_cur_bus_info() local79 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()80 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()82 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info()83 rc = ibmphp_hpc_readslot(slot_cur, READ_BUSSTATUS, NULL); in get_cur_bus_info()88 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); in get_cur_bus_info()89 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info()90 slot_cur->bus_on->current_bus_mode = in get_cur_bus_info()91 CURRENT_BUS_MODE(slot_cur->busstatus); in get_cur_bus_info()93 slot_cur->bus_on->current_bus_mode = 0xFF; in get_cur_bus_info()[all …]
595 struct slot *slot_cur; in calculate_first_slot() local597 list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) { in calculate_first_slot()598 if (slot_cur->ctrl) { in calculate_first_slot()599 …if ((slot_cur->ctrl->ctlr_type != 4) && (slot_cur->ctrl->ending_slot_num > first_slot) && (slot_nu… in calculate_first_slot()600 first_slot = slot_cur->ctrl->ending_slot_num; in calculate_first_slot()609 static char *create_file_name (struct slot *slot_cur) in create_file_name() argument620 if (!slot_cur) { in create_file_name()625 slot_num = slot_cur->number; in create_file_name()664 if (slot_cur->ctrl->ctlr_type == 4) { in create_file_name()
1444 static int unconfigure_boot_card (struct slot *slot_cur) in unconfigure_boot_card() argument1458 device = slot_cur->device; in unconfigure_boot_card()1459 busno = slot_cur->bus; in unconfigure_boot_card()1561 int ibmphp_unconfigure_card (struct slot **slot_cur, int the_end) in ibmphp_unconfigure_card() argument1566 struct slot *sl = *slot_cur; in ibmphp_unconfigure_card()1620 *slot_cur = sl; in ibmphp_unconfigure_card()
753 int ibmphp_do_disable_slot(struct slot *slot_cur);