Lines Matching refs:hp_slot
260 u8 hp_slot; member
274 u8 hp_slot; member
611 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) in get_adapter_speed() argument
614 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword); in get_adapter_speed()
616 if (temp_dword & (0x10000 << hp_slot)) in get_adapter_speed()
618 if (temp_dword & (0x100 << hp_slot)) in get_adapter_speed()
622 if (temp_dword & (0x01 << hp_slot)) in get_adapter_speed()
649 u8 hp_slot; in cpq_get_attention_status() local
651 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
653 return read_amber_LED(ctrl, hp_slot); in cpq_get_attention_status()
659 u8 hp_slot; in get_slot_enabled() local
661 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
663 return is_slot_enabled(ctrl, hp_slot); in get_slot_enabled()
671 u8 hp_slot; in cpq_get_latch_status() local
673 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
677 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
687 u8 hp_slot; in get_presence_status() local
690 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
694 >> hp_slot) & 0x02; in get_presence_status()