Lines Matching refs:hp_slot
59 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button() argument
67 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button()
82 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change() argument
91 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_switch_change()
120 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_presence_change() argument
128 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_presence_change()
155 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) in shpchp_handle_power_fault() argument
163 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_power_fault()
181 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot); in shpchp_handle_power_fault()
245 u8 hp_slot; in board_added() local
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()
355 u8 hp_slot; in remove_board() local
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()
364 ctrl_dbg(ctrl, "%s: hp_slot = %d\n", __func__, hp_slot); in remove_board()