/linux-2.4.37.9/drivers/hotplug/ |
D | cpqphp.h | 312 u8 slot_device_offset; member 722 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status() 735 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled() 749 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status() 750 …ice = %d, ctrl->slot_device_offset = %d \n", __FUNCTION__, slot->device, ctrl->slot_device_offset); in cpq_get_latch_status() 767 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status() 828 if (slot->device == (hp_slot + ctrl->slot_device_offset)) in set_controller_speed() 927 slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in set_controller_speed()
|
D | pciehp_core.c | 105 slot_device = ctrl->slot_device_offset; in init_slots() 143 new_slot->hp_slot = slot_device - ctrl->slot_device_offset; in init_slots() 156 new_slot->bus, new_slot->device, new_slot->hp_slot, new_slot->number, ctrl->slot_device_offset); in init_slots() 216 ctrl->slot_device_offset = first_device_num; in get_ctlr_slot_config() 440 first_device_num = ctrl->slot_device_offset; in pcie_probe()
|
D | shpchp_core.c | 105 slot_device = ctrl->slot_device_offset; in init_slots() 150 new_slot->hp_slot = slot_device - ctrl->slot_device_offset; in init_slots() 162 …", new_slot->bus, new_slot->device, new_slot->hp_slot, new_slot->number, ctrl->slot_device_offset); in init_slots() 223 ctrl->slot_device_offset = first_device_num; in get_ctlr_slot_config() 444 first_device_num = ctrl->slot_device_offset; in shpc_probe()
|
D | pciehp_ctrl.c | 67 func = pciehp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in pciehp_handle_attention_button() 71 p_slot = pciehp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in pciehp_handle_attention_button() 123 func = pciehp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in pciehp_handle_switch_change() 133 p_slot = pciehp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in pciehp_handle_switch_change() 169 func = pciehp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in pciehp_handle_presence_change() 179 p_slot = pciehp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in pciehp_handle_presence_change() 215 func = pciehp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in pciehp_handle_power_fault() 225 p_slot = pciehp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in pciehp_handle_power_fault() 1103 hp_slot = func->device - ctrl->slot_device_offset; in board_added() 1106 __FUNCTION__, func->device, ctrl->slot_device_offset, hp_slot); in board_added() [all …]
|
D | shpchp_ctrl.c | 70 func = shpchp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in shpchp_handle_attention_button() 74 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button() 127 func = shpchp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in shpchp_handle_switch_change() 137 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_switch_change() 180 func = shpchp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in shpchp_handle_presence_change() 190 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_presence_change() 227 func = shpchp_slot_find(ctrl->slot_bus, (hp_slot + ctrl->slot_device_offset), 0); in shpchp_handle_power_fault() 237 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_power_fault() 1079 hp_slot = func->device - ctrl->slot_device_offset; in board_added() 1082 func->device, ctrl->slot_device_offset, hp_slot); in board_added() [all …]
|
D | cpqphp_ctrl.c | 99 func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0); in handle_switch_change() 181 func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0); in handle_presence_change() 271 func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0); in handle_power_fault() 1187 hp_slot = func->device - ctrl->slot_device_offset; in board_replaced() 1396 hp_slot = func->device - ctrl->slot_device_offset; in board_added() 1398 __FUNCTION__, func->device, ctrl->slot_device_offset, hp_slot); in board_added() 1442 p_slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in board_added() 1614 hp_slot = func->device - ctrl->slot_device_offset; in remove_board() 1823 func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0); in interrupt_event_handler() 1825 p_slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in interrupt_event_handler() [all …]
|
D | cpqphp_core.c | 410 new_slot->bus, new_slot->device, new_slot->number, ctrl->slot_device_offset, slot_number); in ctrl_slot_setup() 554 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status() 1163 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe() 1164 dbg("NumSlots %d \n", ctrl->slot_device_offset); in cpqhpc_probe() 1224 hp_slot = func->device - ctrl->slot_device_offset; in cpqhpc_probe()
|
D | shpchp.h | 131 u8 slot_device_offset; member 307 u32 slot_device_offset; member
|
D | shpchp_hpc.c | 763 *first_device_num = php_ctlr->slot_device_offset; /* Obtained in shpc_init() */ in shpc_get_ctlr_slot_config() 1520 php_ctlr->slot_device_offset = (readl(php_ctlr->creg + SLOT_CONFIG) & FIRST_DEV_NUM ) >> 8; in shpc_init() 1522 dbg("%s: slot_device_offset %x\n", __FUNCTION__, php_ctlr->slot_device_offset); in shpc_init()
|
D | pciehp.h | 130 u8 slot_device_offset; member
|
D | shpchprm_nonacpi.c | 61 int offset = devnum - ctrl->slot_device_offset; in shpchprm_get_physical_slot_number()
|
D | shpchprm_legacy.c | 66 int offset = devnum - ctrl->slot_device_offset; in shpchprm_get_physical_slot_number()
|
D | pciehp_hpc.c | 224 u32 slot_device_offset; member 1362 php_ctlr->slot_device_offset = 0; in pcie_init()
|
D | shpchprm_acpi.c | 1561 int offset = devnum - ctrl->slot_device_offset; in shpchprm_get_physical_slot_number()
|