Lines Matching refs:hpc_reg
160 p_slot = cpqhp_find_slot(ctrl, hp_slot + (readb(ctrl->hpc_reg + SLOT_MASK) >> 4)); in handle_presence_change()
886 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
900 writew(misc, ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
903 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
911 Diff = readl(ctrl->hpc_reg + INT_INPUT_CLEAR) ^ ctrl->ctrl_int_comp; in cpqhp_ctrl_intr()
913 ctrl->ctrl_int_comp = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
916 writel(Diff, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
919 readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
923 writel(0xFFFFFFFF, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
930 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
934 writeb(reset, ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
935 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
1119 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed()
1121 u32 leds = readl(ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1163 writel(0x0L, ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1164 writeb(0x00, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()
1175 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
1200 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
1205 writel(0, ctrl->hpc_reg + INT_MASK); in set_controller_speed()
1223 writel(leds, ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1224 writeb(slot_power, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()
1266 if (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)) in board_replaced()
1286 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1287 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1288 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1433 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1434 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1435 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1662 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1664 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
1956 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_process_SI()
2106 writel(*work_LED, ctrl->hpc_reg + LED_CONTROL); in switch_leds()
2132 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test()
2140 save_LED = readl(ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2148 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2152 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2157 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2167 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2177 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2179 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2183 writel(save_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()