Lines Matching refs:hpc_reg
189 p_slot = cpqhp_find_slot(ctrl, hp_slot + (readb(ctrl->hpc_reg + SLOT_MASK) >> 4)); in handle_presence_change()
925 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
940 writew(misc, ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
943 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
951 Diff = readl(ctrl->hpc_reg + INT_INPUT_CLEAR) ^ ctrl->ctrl_int_comp; in cpqhp_ctrl_intr()
953 ctrl->ctrl_int_comp = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
956 writel(Diff, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
959 temp_dword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
963 writel(0xFFFFFFFF, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
971 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
975 writeb(reset, ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
976 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
1189 if (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)) { in board_replaced()
1213 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1214 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1215 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1413 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1414 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1415 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1654 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1656 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
2021 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_process_SI()
2180 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test()
2187 save_LED = readl(ctrl->hpc_reg + LED_CONTROL); // so we can restore them later in cpqhp_hardware_test()
2189 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2198 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2203 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2215 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2227 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2239 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2248 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2253 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2264 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2267 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2279 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2292 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2302 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2312 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2314 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2317 writel (save_LED, ctrl->hpc_reg + LED_CONTROL); // put it back the way it was in cpqhp_hardware_test()