Searched refs:hpc_reg (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/pci/hotplug/ |
D | cpqphp.h | 281 void __iomem *hpc_reg; /* cookie for our pci controller location */ member 474 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO() 476 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO() 484 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_on() 486 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_on() 494 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in amber_LED_off() 496 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in amber_LED_off() 504 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in read_amber_LED() 515 led_control = readl(ctrl->hpc_reg + LED_CONTROL); in green_LED_on() 517 writel(led_control, ctrl->hpc_reg + LED_CONTROL); in green_LED_on() [all …]
|
D | cpqphp_core.c | 130 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR() 133 writeb(0, ctrl->hpc_reg + SLOT_SERR); in init_SERR() 285 iounmap(ctrl->hpc_reg); in ctrl_slot_cleanup() 589 tempdword = readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in ctrl_slot_setup() 591 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in ctrl_slot_setup() 592 slot_device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in ctrl_slot_setup() 636 slot_device - (readb(ctrl->hpc_reg + SLOT_MASK) >> 4); in ctrl_slot_setup() 1053 ctrl->hpc_reg = ioremap(pci_resource_start(pdev, 0), in cpqhpc_probe() 1055 if (!ctrl->hpc_reg) { in cpqhpc_probe() 1082 (readb(ctrl->hpc_reg + SLOT_MASK) >> 4), in cpqhpc_probe() [all …]
|
D | cpqphp_ctrl.c | 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() [all …]
|