Lines Matching refs:hp_slot
274 u8 hp_slot; member
288 u8 hp_slot; member
625 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) in get_adapter_speed() argument
628 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword); in get_adapter_speed()
630 if (temp_dword & (0x10000 << hp_slot)) in get_adapter_speed()
632 if (temp_dword & (0x100 << hp_slot)) in get_adapter_speed()
636 if (temp_dword & (0x01 << hp_slot)) in get_adapter_speed()
663 u8 hp_slot; in cpq_get_attention_status() local
665 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
667 return read_amber_LED(ctrl, hp_slot); in cpq_get_attention_status()
673 u8 hp_slot; in get_slot_enabled() local
675 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
677 return is_slot_enabled(ctrl, hp_slot); in get_slot_enabled()
685 u8 hp_slot; in cpq_get_latch_status() local
687 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
691 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
701 u8 hp_slot; in get_presence_status() local
704 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
708 >> hp_slot) & 0x02; in get_presence_status()