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()
887 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
901 writew(misc, ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
904 misc = readw(ctrl->hpc_reg + MISC); in cpqhp_ctrl_intr()
912 Diff = readl(ctrl->hpc_reg + INT_INPUT_CLEAR) ^ ctrl->ctrl_int_comp; in cpqhp_ctrl_intr()
914 ctrl->ctrl_int_comp = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
917 writel(Diff, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
920 temp_dword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
924 writel(0xFFFFFFFF, ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
931 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
935 writeb(reset, ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
936 reset = readb(ctrl->hpc_reg + RESET_FREQ_MODE); in cpqhp_ctrl_intr()
1120 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed()
1122 u32 leds = readl(ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1166 writel(0x0L, ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1167 writeb(0x00, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()
1178 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
1203 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
1208 writel(0, ctrl->hpc_reg + INT_MASK); in set_controller_speed()
1226 writel(leds, ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1227 writeb(slot_power, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()
1269 if (readl(ctrl->hpc_reg + INT_INPUT_CLEAR) & (0x01L << hp_slot)) in board_replaced()
1289 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1290 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1291 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1437 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1438 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1439 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1667 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1669 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
1992 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_process_SI()
2151 writel(*work_LED, ctrl->hpc_reg + LED_CONTROL); in switch_leds()
2177 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test()
2185 save_LED = readl(ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2193 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2197 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2202 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2212 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2222 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2224 writel(work_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()
2228 writel(save_LED, ctrl->hpc_reg + LED_CONTROL); in cpqhp_hardware_test()