Lines Matching defs:hpc_reg
295 void __iomem *hpc_reg; /* cookie for our pci controller location */
489 misc = readw(ctrl->hpc_reg + MISC);
491 writew(misc, ctrl->hpc_reg + MISC);
499 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
501 writel(led_control, ctrl->hpc_reg + LED_CONTROL);
509 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
511 writel(led_control, ctrl->hpc_reg + LED_CONTROL);
519 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
530 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
532 writel(led_control, ctrl->hpc_reg + LED_CONTROL);
539 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
541 writel(led_control, ctrl->hpc_reg + LED_CONTROL);
549 led_control = readl(ctrl->hpc_reg + LED_CONTROL);
552 writel(led_control, ctrl->hpc_reg + LED_CONTROL);
560 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
562 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE);
570 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
572 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE);
580 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
588 return readb(ctrl->hpc_reg + SLOT_ENABLE);
605 curr_freq = readb(ctrl->hpc_reg + NEXT_CURR_FREQ);
618 misc = readw(ctrl->hpc_reg + MISC);
633 u32 temp_dword = readl(ctrl->hpc_reg + NON_INT_INPUT);
652 slot_power = readb(ctrl->hpc_reg + SLOT_POWER);
654 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER);
661 slot_power = readb(ctrl->hpc_reg + SLOT_POWER);
663 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER);
697 status = (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot));
712 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR);