Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp.h131 u8 slot_power; /* 0x2d */ member
162 SLOT_POWER = offsetof(struct ctrl_reg, slot_power),
635 u8 slot_power; in enable_slot_power() local
637 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
638 slot_power |= (0x01 << slot); in enable_slot_power()
639 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
644 u8 slot_power; in disable_slot_power() local
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
647 slot_power &= ~(0x01 << slot); in disable_slot_power()
648 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
H A Dcpqphp_ctrl.c1119 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed() local
1224 writeb(slot_power, ctrl->hpc_reg + SLOT_ENABLE); in set_controller_speed()