Lines Matching refs:hpc_reg
281 void __iomem *hpc_reg; /* cookie for our pci controller location */ member
474 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO()
476 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO()
484 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
486 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_on()
494 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
496 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_off()
504 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in read_amber_LED()
515 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
517 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_on()
524 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
526 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_off()
534 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
537 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_blink()
545 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
547 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
555 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
557 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
565 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in is_slot_enabled()
573 return readb(ctrl->hpc_reg + SLOT_ENABLE); in read_slot_enable()
590 curr_freq = readb(ctrl->hpc_reg + NEXT_CURR_FREQ); in get_controller_speed()
603 misc = readw(ctrl->hpc_reg + MISC); in get_controller_speed()
618 u32 temp_dword = readl(ctrl->hpc_reg + NON_INT_INPUT); in get_adapter_speed()
637 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
639 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
648 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
682 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)); in cpq_get_latch_status()
697 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in get_presence_status()