Lines Matching defs:hp_slot
45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl)
53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl)
77 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
106 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl)
114 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl)
149 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
167 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
231 u8 hp_slot;
238 hp_slot = p_slot->device - ctrl->slot_device_offset;
240 ctrl_dbg(ctrl, "%s: p_slot->device, slot_offset, hp_slot = %d, %d ,%d\n",
241 __func__, p_slot->device, ctrl->slot_device_offset, hp_slot);
340 u8 hp_slot;
345 hp_slot = p_slot->device - ctrl->slot_device_offset;
346 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
348 ctrl_dbg(ctrl, "%s: hp_slot = %d\n", __func__, hp_slot);