Lines Matching refs:hp_slot
260 u8 hp_slot; member
274 u8 hp_slot; member
616 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) in get_adapter_speed() argument
619 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword); in get_adapter_speed()
621 if (temp_dword & (0x10000 << hp_slot)) in get_adapter_speed()
623 if (temp_dword & (0x100 << hp_slot)) in get_adapter_speed()
627 if (temp_dword & (0x01 << hp_slot)) in get_adapter_speed()
654 u8 hp_slot; in cpq_get_attention_status() local
656 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
658 return read_amber_LED(ctrl, hp_slot); in cpq_get_attention_status()
664 u8 hp_slot; in get_slot_enabled() local
666 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
668 return is_slot_enabled(ctrl, hp_slot); in get_slot_enabled()
676 u8 hp_slot; in cpq_get_latch_status() local
678 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
682 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
692 u8 hp_slot; in get_presence_status() local
695 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()
699 >> hp_slot) & 0x02; in get_presence_status()