Home
last modified time | relevance | path

Searched refs:SLOT_POWER (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/pci/hotplug/
Dcpqphp.h176 SLOT_POWER = offsetof(struct ctrl_reg, slot_power), enumerator
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
648 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
655 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
657 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
Dibmphp_core.c536 debug("SLOT_POWER = %x\n", SLOT_POWER(slot_cur->status)); in init_ops()
1071 if ((SLOT_POWER(slot_cur->status)) && in enable_slot()
1096 if (SLOT_POWER(slot_cur->status) && !(SLOT_PWRGD(slot_cur->status))) { in enable_slot()
1100 if (SLOT_POWER(slot_cur->status) && (SLOT_BUS_SPEED(slot_cur->status))) { in enable_slot()
1107 if (!(SLOT_POWER(slot_cur->status))) { in enable_slot()
Dcpqphp_ctrl.c1134 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed()
1303 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1304 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1305 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1451 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1452 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1453 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
Dibmphp.h600 #define SLOT_POWER(s) ((u8) ((s & HPC_SLOT_POWER) \ macro
Dibmphp_ebda.c692 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()