Lines Matching refs:hp_slot

368 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
392 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
417 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
427 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
448 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
517 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
541 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
547 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
552 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
557 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLINK);
604 retval = shpc_write_cmd(slot, slot->hp_slot, SET_SLOT_PWR);
616 retval = shpc_write_cmd(slot, slot->hp_slot,
629 retval = shpc_write_cmd(slot, slot->hp_slot,
776 int hp_slot;
815 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
817 if (!(intr_loc & SLOT_INTR_PENDING(hp_slot)))
820 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
822 hp_slot, slot_reg);
825 shpchp_handle_switch_change(hp_slot, ctrl);
828 shpchp_handle_attention_button(hp_slot, ctrl);
831 shpchp_handle_presence_change(hp_slot, ctrl);
834 shpchp_handle_power_fault(hp_slot, ctrl);
838 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
922 u8 hp_slot;
1026 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1027 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1029 hp_slot, slot_reg);
1035 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
1070 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) {
1071 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1073 hp_slot, slot_reg);
1077 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);