Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pci/hotplug/
Dshpchp_ctrl.c67 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button()
91 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_switch_change()
128 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_presence_change()
163 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_power_fault()
252 hp_slot = p_slot->device - ctrl->slot_device_offset; in board_added()
255 __func__, p_slot->device, ctrl->slot_device_offset, hp_slot); in board_added()
361 hp_slot = p_slot->device - ctrl->slot_device_offset; in remove_board()
362 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in remove_board()
Dcpqphp.h309 u8 slot_device_offset; member
665 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
675 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
687 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
689 __func__, slot->device, ctrl->slot_device_offset); in cpq_get_latch_status()
704 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
Dcpqphp_ctrl.c87 (hp_slot + ctrl->slot_device_offset), 0); in handle_switch_change()
166 (hp_slot + ctrl->slot_device_offset), 0); in handle_presence_change()
257 (hp_slot + ctrl->slot_device_offset), 0); in handle_power_fault()
1145 if (slot->device == (hp_slot + ctrl->slot_device_offset)) in set_controller_speed()
1247 slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in set_controller_speed()
1278 hp_slot = func->device - ctrl->slot_device_offset; in board_replaced()
1434 hp_slot = func->device - ctrl->slot_device_offset; in board_added()
1436 __func__, func->device, ctrl->slot_device_offset, hp_slot); in board_added()
1478 p_slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in board_added()
1642 hp_slot = func->device - ctrl->slot_device_offset; in remove_board()
[all …]
Dshpchp_core.c127 slot->device = ctrl->slot_device_offset + i; in init_slots()
149 ctrl->slot_device_offset); in init_slots()
Dcpqphp_core.c410 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status()
711 slot->number, ctrl->slot_device_offset, in ctrl_slot_setup()
1183 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()
1184 dbg("NumSlots %d \n", ctrl->slot_device_offset); in cpqhpc_probe()
1248 hp_slot = func->device - ctrl->slot_device_offset; in cpqhpc_probe()
Dshpchp.h111 u8 slot_device_offset; member
Dshpchp_hpc.c1025 ctrl->slot_device_offset = (slot_config & FIRST_DEV_NUM) >> 8; in shpc_init()