Searched refs:hpc_reg (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/hotplug/ |
D | cpqphp.h | 295 void *hpc_reg; /* cookie for our pci controller location */ member 536 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO() 538 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO() 546 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_on() 548 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_on() 556 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_off() 558 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_off() 566 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in read_amber_LED() 577 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_on() 579 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_on() [all …]
|
D | cpqphp_core.c | 181 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR() 185 writeb(0, ctrl->hpc_reg + SLOT_SERR); in init_SERR() 325 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in ctrl_slot_setup() 327 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in ctrl_slot_setup() 328 slot_device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in ctrl_slot_setup() 390 ctrl_slot = slot_device - (readb(ctrl->hpc_reg + SLOT_MASK) >> 4); in ctrl_slot_setup() 453 iounmap(ctrl->hpc_reg); in ctrl_slot_cleanup() 1109 ctrl->hpc_reg = ioremap(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in cpqhpc_probe() 1110 if (!ctrl->hpc_reg) { in cpqhpc_probe() 1132 …rc = get_slot_mapping(ctrl->pci_ops, pdev->bus->number, (readb(ctrl->hpc_reg + SLOT_MASK) >> 4), &… in cpqhpc_probe() [all …]
|
D | cpqphp_ctrl.c | 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() [all …]
|