Searched refs:hp_slot (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 55 int hp_slot; in handle_switch_change() local 67 for (hp_slot = 0; hp_slot < 6; hp_slot++) { in handle_switch_change() 80 taskInfo->hp_slot = hp_slot; in handle_switch_change() 129 int hp_slot; in handle_presence_change() local 146 for (hp_slot = 0; hp_slot < 6; hp_slot++) { in handle_presence_change() 156 taskInfo->hp_slot = hp_slot; in handle_presence_change() 237 for (hp_slot = 0; hp_slot < 6; hp_slot++) { in handle_power_fault() 247 taskInfo->hp_slot = hp_slot; in handle_power_fault() 1779 hp_slot = ctrl->event_queue[loop].hp_slot; in interrupt_event_handler() 1853 p_slot->hp_slot = hp_slot; in interrupt_event_handler() [all …]
|
H A D | shpchp_hpc.c | 594 retval = shpc_write_cmd(slot, slot->hp_slot, in hpc_slot_enable() 607 retval = shpc_write_cmd(slot, slot->hp_slot, in hpc_slot_disable() 754 int hp_slot; in shpc_isr() local 793 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_isr() 800 hp_slot, slot_reg); in shpc_isr() 812 shpchp_handle_power_fault(hp_slot, ctrl); in shpc_isr() 899 u8 hp_slot; in shpc_init() local 1003 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init() 1006 hp_slot, slot_reg); in shpc_init() 1047 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init() [all …]
|
H A D | cpqphp.h | 260 u8 hp_slot; member 274 u8 hp_slot; member 623 if (temp_dword & (0x100 << hp_slot)) in get_adapter_speed() 627 if (temp_dword & (0x01 << hp_slot)) in get_adapter_speed() 654 u8 hp_slot; in cpq_get_attention_status() local 658 return read_amber_LED(ctrl, hp_slot); in cpq_get_attention_status() 664 u8 hp_slot; in get_slot_enabled() local 668 return is_slot_enabled(ctrl, hp_slot); in get_slot_enabled() 676 u8 hp_slot; in cpq_get_latch_status() local 692 u8 hp_slot; in get_presence_status() local [all …]
|
H A D | shpchp_ctrl.c | 45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button() argument 53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button() 68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change() argument 141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault() argument 167 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot); in shpchp_handle_power_fault() 231 u8 hp_slot; in board_added() local 238 hp_slot = p_slot->device - ctrl->slot_device_offset; in board_added() 241 __func__, p_slot->device, ctrl->slot_device_offset, hp_slot); in board_added() 340 u8 hp_slot; in remove_board() local 345 hp_slot = p_slot->device - ctrl->slot_device_offset; in remove_board() [all …]
|
H A D | shpchp.h | 81 u8 hp_slot; member 162 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl); 163 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl); 164 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl); 165 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
|
H A D | cpqphp_core.c | 378 u8 hp_slot; in cpqhp_set_attention_status() local 383 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status() 389 amber_LED_on(ctrl, hp_slot); in cpqhp_set_attention_status() 391 amber_LED_off(ctrl, hp_slot); in cpqhp_set_attention_status() 757 u8 hp_slot = 0; in cpqhpc_probe() local 1188 hp_slot = func->device - ctrl->slot_device_offset; in cpqhpc_probe() 1189 dbg("hp_slot: %d\n", hp_slot); in cpqhpc_probe() 1193 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe() 1196 if (ctrl->ctrl_int_comp & (0x1L << hp_slot)) in cpqhpc_probe() 1203 green_LED_off(ctrl, hp_slot); in cpqhpc_probe() [all …]
|
H A D | shpchp_core.c | 80 slot->hp_slot = i; in init_slots() 102 slot->bus, slot->device, slot->hp_slot, slot->number, in init_slots()
|