/kernel/linux/linux-5.10/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() 679 dbg("%s: slot->device = %d, ctrl->slot_device_offset = %d\n", 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() 1131 if (slot->device == (hp_slot + ctrl->slot_device_offset)) in set_controller_speed() 1231 slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in set_controller_speed() 1262 hp_slot = func->device - ctrl->slot_device_offset; in board_replaced() 1418 hp_slot = func->device - ctrl->slot_device_offset; in board_added() 1420 __func__, func->device, ctrl->slot_device_offset, hp_slot); in board_added() 1462 p_slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in board_added() 1626 hp_slot = func->device - ctrl->slot_device_offset; in remove_board() [all...] |
H A D | shpchp_core.c | 84 slot->device = ctrl->slot_device_offset + i; in init_slots() 101 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x hp_slot=%x sun=%x slot_device_offset=%x\n", in init_slots() 104 ctrl->slot_device_offset); in init_slots()
|
H A D | cpqphp_core.c | 382 hp_slot = func->device - ctrl->slot_device_offset; in cpqhp_set_attention_status() 652 dbg("registering bus %d, dev %d, number %d, ctrl->slot_device_offset %d, slot %d\n", in ctrl_slot_setup() 654 slot->number, ctrl->slot_device_offset, in ctrl_slot_setup() 1122 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe() 1123 dbg("NumSlots %d\n", ctrl->slot_device_offset); in cpqhpc_probe() 1187 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 | 1008 ctrl->slot_device_offset = (slot_config & FIRST_DEV_NUM) >> 8; in shpc_init()
|
/kernel/linux/linux-6.6/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() 679 dbg("%s: slot->device = %d, ctrl->slot_device_offset = %d\n", 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() 100 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x hp_slot=%x sun=%x slot_device_offset=%x\n", 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() 653 dbg("registering bus %d, dev %d, number %d, ctrl->slot_device_offset %d, slot %d\n", in ctrl_slot_setup() 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()
|