Home
last modified time | relevance | path

Searched refs:hpc_reg (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/pci/hotplug/
H A Dcpqphp.h474 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()
573 return readb(ctrl->hpc_reg + SLOT_ENABLE); in read_slot_enable()
603 misc = readw(ctrl->hpc_reg + MISC); in get_controller_speed()
637 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
639 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
[all …]
H A Dcpqphp_core.c133 writeb(0, ctrl->hpc_reg + SLOT_SERR); in init_SERR()
285 iounmap(ctrl->hpc_reg); in ctrl_slot_cleanup()
1055 if (!ctrl->hpc_reg) { in cpqhpc_probe()
1153 temp_word = readw(ctrl->hpc_reg + MISC); in cpqhpc_probe()
1155 writew(temp_word, ctrl->hpc_reg + MISC); in cpqhpc_probe()
1162 writel(0x0L, ctrl->hpc_reg + INT_MASK); in cpqhpc_probe()
1234 iounmap(ctrl->hpc_reg); in cpqhpc_probe()
1262 if (ctrl->hpc_reg) { in unload_cpqphpd()
1266 writeb(0, ctrl->hpc_reg + SLOT_SERR); in unload_cpqphpd()
1269 misc = readw(ctrl->hpc_reg + MISC); in unload_cpqphpd()
[all …]
H A Dcpqphp_ctrl.c886 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()
919 readl(ctrl->hpc_reg + INT_INPUT_CLEAR); in cpqhp_ctrl_intr()
1163 writel(0x0L, ctrl->hpc_reg + LED_CONTROL); in set_controller_speed()
1164 writeb(0x00, ctrl->hpc_reg + SLOT_ENABLE); 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()
1287 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1434 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
[all …]