Lines Matching refs:hp_slot

386 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
410 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
435 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
445 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
466 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
534 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
558 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
564 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
569 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
574 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLINK);
621 retval = shpc_write_cmd(slot, slot->hp_slot, SET_SLOT_PWR);
633 retval = shpc_write_cmd(slot, slot->hp_slot,
646 retval = shpc_write_cmd(slot, slot->hp_slot,
793 int hp_slot;
832 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
834 if (!(intr_loc & SLOT_INTR_PENDING(hp_slot)))
837 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
839 hp_slot, slot_reg);
842 shpchp_handle_switch_change(hp_slot, ctrl);
845 shpchp_handle_attention_button(hp_slot, ctrl);
848 shpchp_handle_presence_change(hp_slot, ctrl);
851 shpchp_handle_power_fault(hp_slot, ctrl);
855 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
939 u8 hp_slot;
1043 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1044 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1046 hp_slot, slot_reg);
1052 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
1087 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1088 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1090 hp_slot, slot_reg);
1094 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);