Searched refs:slot_device_offset (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/pci/hotplug/ |
D | shpchp_ctrl.c | 67 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()
|
D | cpqphp.h | 309 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()
|
D | cpqphp_ctrl.c | 87 (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 …]
|
D | shpchp_core.c | 127 slot->device = ctrl->slot_device_offset + i; in init_slots() 149 ctrl->slot_device_offset); in init_slots()
|
D | cpqphp_core.c | 410 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()
|
D | shpchp.h | 111 u8 slot_device_offset; member
|
D | shpchp_hpc.c | 1025 ctrl->slot_device_offset = (slot_config & FIRST_DEV_NUM) >> 8; in shpc_init()
|