Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp.h162 SLOT_POWER = offsetof(struct ctrl_reg, slot_power), enumerator
632 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
634 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
641 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
643 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
Dibmphp_core.c514 debug("SLOT_POWER = %x\n", SLOT_POWER(slot_cur->status)); in init_ops()
1055 if ((SLOT_POWER(slot_cur->status)) && in enable_slot()
1080 if (SLOT_POWER(slot_cur->status) && !(SLOT_PWRGD(slot_cur->status))) { in enable_slot()
1084 if (SLOT_POWER(slot_cur->status) && (SLOT_BUS_SPEED(slot_cur->status))) { in enable_slot()
1091 if (!(SLOT_POWER(slot_cur->status))) { in enable_slot()
Dcpqphp_ctrl.c1120 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed()
1289 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1290 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1291 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1437 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1438 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1439 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
Dibmphp.h586 #define SLOT_POWER(s) ((u8) ((s & HPC_SLOT_POWER) \ macro
Dibmphp_ebda.c678 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()