Lines Matching defs:hp_slot

363 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
387 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
412 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
422 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
443 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
495 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
519 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
525 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
530 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
535 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLINK);
582 retval = shpc_write_cmd(slot, slot->hp_slot, SET_SLOT_PWR);
594 retval = shpc_write_cmd(slot, slot->hp_slot,
607 retval = shpc_write_cmd(slot, slot->hp_slot,
754 int hp_slot;
793 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
795 if (!(intr_loc & SLOT_INTR_PENDING(hp_slot)))
798 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
800 hp_slot, slot_reg);
803 shpchp_handle_switch_change(hp_slot, ctrl);
806 shpchp_handle_attention_button(hp_slot, ctrl);
809 shpchp_handle_presence_change(hp_slot, ctrl);
812 shpchp_handle_power_fault(hp_slot, ctrl);
816 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
899 u8 hp_slot;
1003 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1004 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1006 hp_slot, slot_reg);
1012 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
1047 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1048 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1050 hp_slot, slot_reg);
1054 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);