Lines Matching refs:hp_slot
60 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl)
68 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
83 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl)
92 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
121 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl)
129 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
156 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl)
164 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
182 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
245 u8 hp_slot;
252 hp_slot = p_slot->device - ctrl->slot_device_offset;
255 "%s: p_slot->device, slot_offset, hp_slot = %d, %d ,%d\n",
256 __func__, p_slot->device, ctrl->slot_device_offset, hp_slot);
357 u8 hp_slot;
363 hp_slot = p_slot->device - ctrl->slot_device_offset;
364 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
366 ctrl_dbg(ctrl, "%s: hp_slot = %d\n", __func__, hp_slot);