Lines Matching refs:hpc_reg
295 void __iomem *hpc_reg; /* cookie for our pci controller location */ member
483 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO()
485 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO()
493 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
495 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
503 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
505 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
513 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in read_amber_LED()
524 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
526 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
533 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
535 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
543 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
546 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
554 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
556 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
564 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
566 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
574 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in is_slot_enabled()
582 return readb(ctrl->hpc_reg + SLOT_ENABLE); in read_slot_enable()
599 curr_freq = readb(ctrl->hpc_reg + NEXT_CURR_FREQ); in get_controller_speed()
612 misc = readw(ctrl->hpc_reg + MISC); in get_controller_speed()
627 u32 temp_dword = readl(ctrl->hpc_reg + NON_INT_INPUT); in get_adapter_speed()
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
648 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
655 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
657 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
691 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
706 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in get_presence_status()