Searched refs:slot_device_offset (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/pci/hotplug/ |
H A D | shpchp_ctrl.c | 53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button() 77 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_switch_change() 114 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_presence_change() 149 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_power_fault() 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() 345 hp_slot = p_slot->device - ctrl->slot_device_offset; in remove_board() 346 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in remove_board()
|
H A D | cpqphp.h | 295 u8 slot_device_offset; member 656 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status() 666 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled() 678 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status() 680 __func__, slot->device, ctrl->slot_device_offset); in cpq_get_latch_status() 695 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
|
H A D | cpqphp_ctrl.c | 73 (hp_slot + ctrl->slot_device_offset), 0); in handle_switch_change() 152 (hp_slot + ctrl->slot_device_offset), 0); in handle_presence_change() 243 (hp_slot + ctrl->slot_device_offset), 0); in handle_power_fault() 1130 if (slot->device == (hp_slot + ctrl->slot_device_offset)) in set_controller_speed() 1230 slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in set_controller_speed() 1261 hp_slot = func->device - ctrl->slot_device_offset; in board_replaced() 1416 hp_slot = func->device - ctrl->slot_device_offset; in board_added() 1418 __func__, func->device, ctrl->slot_device_offset, hp_slot); in board_added() 1460 cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in board_added() 1623 hp_slot = func->device - ctrl->slot_device_offset; in remove_board() [all …]
|
H A D | shpchp_core.c | 83 slot->device = ctrl->slot_device_offset + i; in init_slots() 103 ctrl->slot_device_offset); in init_slots()
|
H A D | cpqphp_core.c | 383 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status() 655 slot->number, ctrl->slot_device_offset, in ctrl_slot_setup() 1123 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe() 1124 dbg("NumSlots %d\n", ctrl->slot_device_offset); in cpqhpc_probe() 1188 hp_slot = func->device - ctrl->slot_device_offset; in cpqhpc_probe()
|
H A D | shpchp.h | 99 u8 slot_device_offset; member
|
H A D | shpchp_hpc.c | 985 ctrl->slot_device_offset = (slot_config & FIRST_DEV_NUM) >> 8; in shpc_init()
|