Home
last modified time | relevance | path

Searched refs:slot_cur (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dibmphp_core.c64 struct slot *slot_cur = *sl; in get_cur_bus_info() local
66 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()
67 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()
69 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info()
70 rc = ibmphp_hpc_readslot(slot_cur, READ_BUSSTATUS, NULL); in get_cur_bus_info()
75 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); in get_cur_bus_info()
76 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info()
77 slot_cur->bus_on->current_bus_mode = in get_cur_bus_info()
78 CURRENT_BUS_MODE(slot_cur in get_cur_bus_info()
104 struct slot *slot_cur; get_max_slots() local
186 power_on(struct slot *slot_cur) power_on() argument
204 power_off(struct slot *slot_cur) power_off() argument
474 struct slot *slot_cur; init_ops() local
529 validate(struct slot *slot_cur, int opn) validate() argument
570 ibmphp_update_slot_info(struct slot *slot_cur) ibmphp_update_slot_info() argument
613 struct slot *slot_cur; ibm_slot_find() local
636 struct slot *slot_cur, *next; free_slots() local
778 is_bus_empty(struct slot *slot_cur) is_bus_empty() argument
809 set_bus(struct slot *slot_cur) set_bus() argument
906 check_limitations(struct slot *slot_cur) check_limitations() argument
945 print_card_capability(struct slot *slot_cur) print_card_capability() argument
967 struct slot *slot_cur; enable_slot() local
1144 ibmphp_do_disable_slot(struct slot *slot_cur) ibmphp_do_disable_slot() argument
[all...]
H A 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_num > slot_cur->ctrl->ending_slot_num)) 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 in create_file_name()
[all...]
H A Dibmphp_pci.c1416 static int unconfigure_boot_card(struct slot *slot_cur) in unconfigure_boot_card() argument
1430 device = slot_cur->device; in unconfigure_boot_card()
1431 busno = slot_cur->bus; in unconfigure_boot_card()
1533 int ibmphp_unconfigure_card(struct slot **slot_cur, int the_end) in ibmphp_unconfigure_card() argument
1538 struct slot *sl = *slot_cur; in ibmphp_unconfigure_card()
1592 *slot_cur = sl; in ibmphp_unconfigure_card()
H A Dibmphp.h738 int ibmphp_do_disable_slot(struct slot *slot_cur);
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A 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 in get_cur_bus_info()
96 struct slot *slot_cur; get_max_slots() local
178 power_on(struct slot *slot_cur) power_on() argument
196 power_off(struct slot *slot_cur) power_off() argument
403 struct slot *slot_cur; init_ops() local
458 validate(struct slot *slot_cur, int opn) validate() argument
499 ibmphp_update_slot_info(struct slot *slot_cur) ibmphp_update_slot_info() argument
542 struct slot *slot_cur; ibm_slot_find() local
565 struct slot *slot_cur, *next; free_slots() local
707 is_bus_empty(struct slot *slot_cur) is_bus_empty() argument
738 set_bus(struct slot *slot_cur) set_bus() argument
835 check_limitations(struct slot *slot_cur) check_limitations() argument
874 print_card_capability(struct slot *slot_cur) print_card_capability() argument
896 struct slot *slot_cur; enable_slot() local
1073 ibmphp_do_disable_slot(struct slot *slot_cur) ibmphp_do_disable_slot() argument
[all...]
H A 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_num > slot_cur->ctrl->ending_slot_num)) 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 in create_file_name()
[all...]
H A 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()
H A Dibmphp.h736 int ibmphp_do_disable_slot(struct slot *slot_cur);

Completed in 11 milliseconds