Home
last modified time | relevance | path

Searched refs:slot_power (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/pci/hotplug/
Dcpqphp.h131 u8 slot_power; /* 0x2d */ member
162 SLOT_POWER = offsetof(struct ctrl_reg, slot_power),
630 u8 slot_power; in enable_slot_power() local
632 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
633 slot_power |= (0x01 << slot); in enable_slot_power()
634 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
639 u8 slot_power; in disable_slot_power() local
641 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
642 slot_power &= ~(0x01 << slot); in disable_slot_power()
643 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
Dcpqphp_ctrl.c1120 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed() local
1227 writeb(slot_power, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()