Home
last modified time | relevance | path

Searched refs:slot_device_offset (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/pci/hotplug/
Dshpchp_ctrl.c53 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()
347 hp_slot = p_slot->device - ctrl->slot_device_offset; in remove_board()
348 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in remove_board()
Dcpqphp.h295 u8 slot_device_offset; member
651 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
661 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
673 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
675 __func__, slot->device, ctrl->slot_device_offset); in cpq_get_latch_status()
690 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
Dcpqphp_ctrl.c73 (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()
1131 if (slot->device == (hp_slot + ctrl->slot_device_offset)) in set_controller_speed()
1233 slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in set_controller_speed()
1264 hp_slot = func->device - ctrl->slot_device_offset; in board_replaced()
1420 hp_slot = func->device - ctrl->slot_device_offset; in board_added()
1422 __func__, func->device, ctrl->slot_device_offset, hp_slot); in board_added()
1464 p_slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in board_added()
1628 hp_slot = func->device - ctrl->slot_device_offset; in remove_board()
[all …]
Dshpchp_core.c97 slot->device = ctrl->slot_device_offset + i; in init_slots()
118 ctrl->slot_device_offset); in init_slots()
Dcpqphp_core.c387 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status()
686 slot->number, ctrl->slot_device_offset, in ctrl_slot_setup()
1158 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()
1159 dbg("NumSlots %d\n", ctrl->slot_device_offset); in cpqhpc_probe()
1223 hp_slot = func->device - ctrl->slot_device_offset; in cpqhpc_probe()
Dshpchp.h97 u8 slot_device_offset; member
Dshpchp_hpc.c1008 ctrl->slot_device_offset = (slot_config & FIRST_DEV_NUM) >> 8; in shpc_init()