Lines Matching refs:hpc_reg
281 void __iomem *hpc_reg; /* cookie for our pci controller location */ member
469 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO()
471 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO()
479 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
481 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
489 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
491 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
499 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in read_amber_LED()
510 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
512 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
519 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
521 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
529 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
532 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
540 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
542 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
550 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
552 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
560 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in is_slot_enabled()
568 return readb(ctrl->hpc_reg + SLOT_ENABLE); in read_slot_enable()
585 curr_freq = readb(ctrl->hpc_reg + NEXT_CURR_FREQ); in get_controller_speed()
598 misc = readw(ctrl->hpc_reg + MISC); in get_controller_speed()
613 u32 temp_dword = readl(ctrl->hpc_reg + NON_INT_INPUT); in get_adapter_speed()
632 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
634 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
641 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
643 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
677 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
692 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in get_presence_status()